终端一体化运控平台
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

StockStatusModel.cs 1.4 KiB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. }