终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

73 lines
2.3 KiB

  1. using BPA.Helper;
  2. namespace BPASmartClient.DosingSystem
  3. {
  4. public class DeviceCurrentStatus : NotifyBase
  5. {
  6. /// <summary>
  7. /// 当前料仓重量反馈
  8. /// </summary>
  9. public double Weight { get { return _mWeight; } set { _mWeight = value; OnPropertyChanged(); } }
  10. private double _mWeight;
  11. /// <summary>
  12. /// 重量设置
  13. /// </summary>
  14. public float SetWeight { get { return _mSetWeight; } set { _mSetWeight = value; OnPropertyChanged(); } }
  15. private float _mSetWeight;
  16. ///// <summary>
  17. ///// 下料控制
  18. ///// </summary>
  19. //public bool IsLayOff { get { return _mIsLayOff; } set { _mIsLayOff = value; OnPropertyChanged(); } }
  20. //private bool _mIsLayOff;
  21. /// <summary>
  22. /// 下料控制
  23. /// </summary>
  24. public bool BaitingControl { get { return _mBaitingControl; } set { _mBaitingControl = value; OnPropertyChanged(); } }
  25. private bool _mBaitingControl;
  26. /// <summary>
  27. /// 设备运行状态
  28. /// </summary>
  29. public bool RunStatus { get { return _mRunStatus; } set { _mRunStatus = value; OnPropertyChanged(); } }
  30. private bool _mRunStatus;
  31. /// <summary>
  32. /// 设备编号
  33. /// </summary>
  34. public int DeviceNum { get { return _mDeviceNum; } set { _mDeviceNum = value; OnPropertyChanged(); } }
  35. private int _mDeviceNum;
  36. /// <summary>
  37. /// 设备名称
  38. /// </summary>
  39. public string DeviceName { get { return _mDeviceName; } set { _mDeviceName = value; OnPropertyChanged(); } }
  40. private string _mDeviceName;
  41. /// <summary>
  42. /// 仓盖是否被打开
  43. /// </summary>
  44. public bool IsOpen { get { return _mIsOpen; } set { _mIsOpen = value; OnPropertyChanged(); } }
  45. private bool _mIsOpen;
  46. /// <summary>
  47. /// 料仓时候有报警
  48. /// </summary>
  49. public bool IsFault { get { return _mIsFault; } set { _mIsFault = value; OnPropertyChanged(); } }
  50. private bool _mIsFault;
  51. /// <summary>
  52. /// 桶到位检测
  53. /// </summary>
  54. public bool BucketFlagbit { get { return _mBucketFlagbit; } set { _mBucketFlagbit = value; OnPropertyChanged(); } }
  55. private bool _mBucketFlagbit;
  56. }
  57. }