lixiaojun
2024-11-06 278e94cb1b045288d1205f36b67f60cb5224754c
WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-viewmodel/03-node/03-junction/02-emitter/00-core/HydroEmitterViewModel.cs
@@ -39,14 +39,22 @@
        /// <summary>
        /// 
        /// </summary>
        public override void Update()
        public override void UpdateProperty()
        {
            base.Update();
            base.UpdateProperty();
            this.Coefficient = this.Vmo.Coefficient;
            this.UpdatePropStatus(nameof(this.Coefficient), this.Vmo, nameof(this.Vmo.Coefficient));
        }
        /// <summary>
        ///
        /// </summary>
        public override void UpdateVmoProperty()
        {
            base.UpdateVmoProperty();
            this.Vmo.Coefficient = this.Coefficient;
            this.Vmo.UpdatePropStatus(nameof(this.Vmo.Coefficient), this, nameof(this.Coefficient));
        }
    }
}