终端一体化运控平台
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 

79 rader
2.4 KiB

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