using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MECF.Framework.Common.CommonData { public class CounterFlowData : NotifiableItem { #region 内部变量 private bool _start; private bool _stop; private uint _reset; private double _conterValue; private int _period; private string _status="Unkown"; #endregion #region 属性 public bool Start { get { return _start; } set { _start = value; InvokePropertyChanged(nameof(Start)); } } public bool Stop { get { return _stop; } set { _stop = value; InvokePropertyChanged(nameof(Stop)); } } public uint Reset { get { return _reset; } set { _reset = value; InvokePropertyChanged(nameof(Reset)); } } public int Period { get { return _period; } set { _period = value; InvokePropertyChanged(nameof(Period)); } } /// /// 流量计数(L/Min) /// public double CounterValue { get { return _conterValue; } set { _conterValue = value; InvokePropertyChanged(nameof(CounterValue)); } } public string Status { get { return _status; } set { _status = value; InvokePropertyChanged(nameof(Status)); } } #endregion } }