终端一体化运控平台
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.
 
 
 

47 line
1.6 KiB

  1. using Microsoft.Toolkit.Mvvm.ComponentModel;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace BPASmartClient.DosingSystem
  8. {
  9. public class StockStatusModel : ObservableObject
  10. {
  11. /// <summary>
  12. /// 料仓物料重量
  13. /// </summary>
  14. private double _materialWeight;
  15. public double MaterialWeight { get { return _materialWeight; } set { _materialWeight = value; OnPropertyChanged(); } }
  16. /// <summary>
  17. /// 料仓物料名称
  18. /// </summary>
  19. private string _materialName;
  20. public string MaterialName { get { return _materialName; } set { _materialName = value; OnPropertyChanged(); } }
  21. /// <summary>
  22. /// 是否真在运行
  23. /// </summary>
  24. private bool _isRunning;
  25. public bool IsRunning { get { return _isRunning; } set { _isRunning = value; OnPropertyChanged(); } }
  26. /// <summary>
  27. /// 是否正在下料
  28. /// </summary>
  29. private bool _isLayOff;
  30. public bool IsLayOff { get { return _isLayOff; } set { _isLayOff = value; OnPropertyChanged(); } }
  31. /// <summary>
  32. /// 打开状态
  33. /// </summary>
  34. public bool IsOpen { get { return _mIsOpen; } set { _mIsOpen = value; OnPropertyChanged(); } }
  35. private bool _mIsOpen;
  36. /// <summary>
  37. /// 是否故障报警
  38. /// </summary>
  39. private bool _isFault;
  40. public bool IsFault { get { return _isFault; } set { _isFault = value; OnPropertyChanged(); } }
  41. }
  42. }