qin
2025-03-20 00ab1b5282ada6ffdc78b3dd46f0ce08726a51e6
WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-viewmodel/03-node/03-junction/01-coupling/00-core/HydroCouplingViewModel.cs
@@ -16,9 +16,7 @@
        public HydroCouplingViewModel(Yw.Model.HydroCouplingInfo rhs, Yw.Model.HydroModelInfo hydroInfo) : base(rhs, hydroInfo)
        {
            this.Material = rhs.Material;
            this.UpdatePropStatus(nameof(this.Material), rhs, nameof(rhs.Material));
            this.Caliber = rhs.Caliber;
            this.UpdatePropStatus(nameof(this.Caliber), rhs, nameof(rhs.Caliber));
        }
@@ -41,7 +39,7 @@
        [DisplayUnit("mm")]
        [PropertyOrder(3002)]
        [Browsable(true)]
        public double? Caliber { get; set; }
        public double Caliber { get; set; }
        /// <summary>
        /// 局部损失
@@ -73,9 +71,7 @@
        {
            base.UpdateProperty();
            this.Material = this.Vmo.Material;
            this.UpdatePropStatus(nameof(this.Material), this.Vmo, nameof(this.Vmo.Material));
            this.Caliber = this.Vmo.Caliber;
            this.UpdatePropStatus(nameof(this.Caliber), this.Vmo, nameof(this.Vmo.Caliber));
        }
        /// <summary>
@@ -85,9 +81,7 @@
        {
            base.UpdateVmoProperty();
            this.Vmo.Material = this.Material;
            this.Vmo.UpdatePropStatus(nameof(this.Vmo.Material), this, nameof(this.Material));
            this.Vmo.Caliber = this.Caliber;
            this.Vmo.UpdatePropStatus(nameof(this.Vmo.Caliber), this, nameof(this.Caliber));
        }