using CyberX8_Core; using MECF.Framework.Common.CommonData; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MECF.Framework.Common.Persistent.Reservoirs { public class ReplenPersistentValue : NotifiableItem { #region 内部变量 /// /// ReplenName /// private string _replenName; /// /// Recipe /// //private string _replenRecipe; /// /// PumpFactor /// private double _replenPumpFactor; /// /// 当前已补液的体积 /// private double _currentDosingVolume; /// /// 目标累计要补的体积 /// private double _targetDosingVolume; /// /// 当前Bottle剩余液体体积 /// private double _remainDosingVolume; /// /// 补液是否在Running /// private bool _isDosingRunning; /// /// AutoDosing开始时间 /// private DateTime _autoDosingStartTime; /// /// AutoDosing开始电量 /// private double _autoDosingStartAmpHour; /// /// 操作模式 /// private string _operatingMode; #endregion #region 属性 /// /// ReplenName /// public string ReplenName { get { return _replenName; } set { _replenName = value; InvokePropertyChanged(nameof(ReplenName)); } } /// /// Recipe /// //public string ReplenRecipe { get { return _replenRecipe; } set { _replenRecipe = value; InvokePropertyChanged(nameof(ReplenRecipe)); } } /// /// Recipe /// public double ReplenPumpFactor { get { return _replenPumpFactor; } set { _replenPumpFactor = value; InvokePropertyChanged(nameof(ReplenPumpFactor)); } } /// /// 当前已补液的体积 /// public double CurrentDosingVolume { get { return _currentDosingVolume; } set { _currentDosingVolume = value; InvokePropertyChanged(nameof(CurrentDosingVolume)); } } /// /// 目标累计要补的体积 /// public double TargetDosingVolume { get { return _targetDosingVolume; } set { _targetDosingVolume = value; InvokePropertyChanged(nameof(TargetDosingVolume)); } } /// /// 当前Bottle剩余液体体积 /// public double RemainDosingVolume { get { return _remainDosingVolume; } set { _remainDosingVolume = value; InvokePropertyChanged(nameof(RemainDosingVolume)); } } /// /// 补液是否在Running /// public bool IsDosingRunning { get { return _isDosingRunning; } set { _isDosingRunning = value; InvokePropertyChanged(nameof(IsDosingRunning)); } } /// /// AutoDosing开始时间 /// public DateTime AutoDosingStartTime { get { return _autoDosingStartTime; } set { _autoDosingStartTime = value; InvokePropertyChanged(nameof(AutoDosingStartTime)); } } /// /// AutoDosing开始总电量 /// public double AutoDosingStartAmpHour { get { return _autoDosingStartAmpHour; } set { _autoDosingStartAmpHour = value; InvokePropertyChanged(nameof(AutoDosingStartAmpHour)); } } /// /// 操作模式 /// public string OperatingMode { get { return _operatingMode; } set { _operatingMode = value; InvokePropertyChanged(nameof(OperatingMode)); } } #endregion } }