Shuxia Ning
2024-11-08 0cd48df8ccca96a8a0117a508c342a90dc2eacb8
WinFrmUI/Yw.WinFrmUI.Hydro.Core/05-property/HydroParterPropertyDescriptionCtrl.cs
@@ -29,7 +29,7 @@
            this.labText.Text = string.Empty;
            this.labCaption.Text = caption;
            if (string.IsNullOrEmpty(description))
            if (!string.IsNullOrEmpty(description))
            {
                this.labText.AppendLine(description);
            }
@@ -40,25 +40,29 @@
                    case Yw.Hydro.ePropStatus.Error:
                        {
                            this.labCaption.Text += "(错误)";
                            this.labCaption.ImageOptions.ImageIndex = 0;
                        }
                        break;
                    case Yw.Hydro.ePropStatus.Normal:
                        {
                            this.labCaption.ImageOptions.ImageIndex = 1;
                        }
                        break;
                    case Yw.Hydro.ePropStatus.Lack:
                        {
                            this.labCaption.Text += "(缺省)";
                            this.labCaption.ImageOptions.ImageIndex = 2;
                        }
                        break;
                    case Yw.Hydro.ePropStatus.Abnormal:
                        {
                            this.labCaption.Text += "(异常)";
                            this.labCaption.ImageOptions.ImageIndex = 3;
                        }
                        break;
                    default: break;
                }
                if (!string.IsNullOrEmpty(propStatus.StatusInfo))
                {
                    this.labText.AppendLine(propStatus.StatusInfo);