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

41 lines
1.4 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.Model
  8. {
  9. internal 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. private bool _isFault;
  35. public bool IsFault { get { return _isFault; } set { _isFault = value; OnPropertyChanged(); } }
  36. }
  37. }