using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using BPA.Helper; namespace BPASmartClient.DosingSystem { public class DeviceCurrentStatus : NotifyBase { /// /// 当前料仓重量反馈 /// public double Weight { get { return _mWeight; } set { _mWeight = value; OnPropertyChanged(); } } private double _mWeight; /// /// 重量设置 /// public float SetWeight { get { return _mSetWeight; } set { _mSetWeight = value; OnPropertyChanged(); } } private float _mSetWeight; ///// ///// 下料控制 ///// //public bool IsLayOff { get { return _mIsLayOff; } set { _mIsLayOff = value; OnPropertyChanged(); } } //private bool _mIsLayOff; /// /// 下料控制 /// public bool BaitingControl { get { return _mBaitingControl; } set { _mBaitingControl = value; OnPropertyChanged(); } } private bool _mBaitingControl; /// /// 设备运行状态 /// public bool RunStatus { get { return _mRunStatus; } set { _mRunStatus = value; OnPropertyChanged(); } } private bool _mRunStatus; /// /// 设备编号 /// public int DeviceNum { get { return _mDeviceNum; } set { _mDeviceNum = value; OnPropertyChanged(); } } private int _mDeviceNum; /// /// 设备名称 /// public string DeviceName { get { return _mDeviceName; } set { _mDeviceName = value; OnPropertyChanged(); } } private string _mDeviceName; /// /// 仓盖是否被打开 /// public bool IsOpen { get { return _mIsOpen; } set { _mIsOpen = value; OnPropertyChanged(); } } private bool _mIsOpen; /// /// 料仓时候有报警 /// public bool IsFault { get { return _mIsFault; } set { _mIsFault = value; OnPropertyChanged(); } } private bool _mIsFault; /// /// 桶到位检测 /// public bool BucketFlagbit { get { return _mBucketFlagbit; } set { _mBucketFlagbit = value; OnPropertyChanged(); } } private bool _mBucketFlagbit; } }