| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 | 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 内部变量        /// <summary>        /// ReplenName        /// </summary>        private string _replenName;        /// <summary>        /// Recipe        /// </summary>        //private string _replenRecipe;        /// <summary>        /// PumpFactor        /// </summary>        private double _replenPumpFactor;        /// <summary>        /// 当前已补液的体积        /// </summary>        private double _currentDosingVolume;        /// <summary>        /// 目标累计要补的体积        /// </summary>        private double _targetDosingVolume;        /// <summary>        /// 当前Bottle剩余液体体积        /// </summary>        private double _remainDosingVolume;        /// <summary>        /// 补液是否在Running        /// </summary>        private bool _isDosingRunning;        /// <summary>        /// AutoDosing开始时间        /// </summary>        private DateTime _autoDosingStartTime;        /// <summary>        /// AutoDosing开始电量        /// </summary>        private double _autoDosingStartAmpHour;        /// <summary>        /// 操作模式        /// </summary>        private string _operatingMode;        #endregion        #region 属性        /// <summary>        /// ReplenName        /// </summary>        public string ReplenName { get { return _replenName; } set { _replenName = value; InvokePropertyChanged(nameof(ReplenName)); } }        /// <summary>        /// Recipe        /// </summary>        //public string ReplenRecipe { get { return _replenRecipe; } set { _replenRecipe = value; InvokePropertyChanged(nameof(ReplenRecipe)); } }        /// <summary>        /// Recipe        /// </summary>        public double ReplenPumpFactor { get { return _replenPumpFactor; } set { _replenPumpFactor = value; InvokePropertyChanged(nameof(ReplenPumpFactor)); } }        /// <summary>        /// 当前已补液的体积        /// </summary>        public double CurrentDosingVolume { get { return _currentDosingVolume; } set { _currentDosingVolume = value; InvokePropertyChanged(nameof(CurrentDosingVolume)); } }        /// <summary>        /// 目标累计要补的体积        /// </summary>        public double TargetDosingVolume { get { return _targetDosingVolume; } set { _targetDosingVolume = value; InvokePropertyChanged(nameof(TargetDosingVolume)); } }        /// <summary>        /// 当前Bottle剩余液体体积        /// </summary>        public double RemainDosingVolume { get { return _remainDosingVolume; } set { _remainDosingVolume = value; InvokePropertyChanged(nameof(RemainDosingVolume)); } }        /// <summary>        /// 补液是否在Running        /// </summary>        public bool IsDosingRunning { get { return _isDosingRunning; } set { _isDosingRunning = value; InvokePropertyChanged(nameof(IsDosingRunning)); } }        /// <summary>        /// AutoDosing开始时间        /// </summary>        public DateTime AutoDosingStartTime { get { return _autoDosingStartTime; } set { _autoDosingStartTime = value; InvokePropertyChanged(nameof(AutoDosingStartTime)); } }        /// <summary>        /// AutoDosing开始总电量        /// </summary>        public double AutoDosingStartAmpHour { get { return _autoDosingStartAmpHour; } set { _autoDosingStartAmpHour = value; InvokePropertyChanged(nameof(AutoDosingStartAmpHour)); } }        /// <summary>        /// 操作模式        /// </summary>        public string OperatingMode { get { return _operatingMode; } set { _operatingMode = value; InvokePropertyChanged(nameof(OperatingMode)); } }        #endregion    }}
 |