qin
2025-03-20 00ab1b5282ada6ffdc78b3dd46f0ce08726a51e6
WinFrmUI/Yw.WinFrmUI.Hydro.Core/05-property/HydroVisualPropertyDescriptionCtrl.cs
@@ -11,7 +11,7 @@
        /// <summary>
        /// 绑定数据
        /// </summary>
        public void SetBindingData(string caption, string description, HydroParterPropStatusViewModel propStatus)
        public void SetBindingData(string caption, string description, Yw.Model.HydroParterPropStatusInfo propStatusInfo)
        {
            this.labCaption.ImageOptions.ImageIndex = -1;
            this.labCaption.Text = string.Empty;
@@ -22,9 +22,9 @@
            {
                this.labText.AppendLine(description);
            }
            if (propStatus != null)
            if (propStatusInfo != null)
            {
                switch (propStatus.PropStatus)
                switch (propStatusInfo.PropStatus)
                {
                    case Yw.Hydro.ePropStatus.Error:
                        {
@@ -52,9 +52,9 @@
                    default: break;
                }
                if (!string.IsNullOrEmpty(propStatus.StatusInfo))
                if (!string.IsNullOrEmpty(propStatusInfo.StatusInfo))
                {
                    this.labText.AppendLine(propStatus.StatusInfo);
                    this.labText.AppendLine(propStatusInfo.StatusInfo);
                }
            }