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

RollerLineBarrelSerialModel.cs 2.1 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. using System.Windows.Media;
  8. namespace FryPot_DosingSystem.Model
  9. {
  10. internal class RollerLineBarrelSerialModel:ObservableObject
  11. {
  12. private ushort _locOneRollerSerial;
  13. public ushort LocOneRollerSerial { get { return _locOneRollerSerial; } set { _locOneRollerSerial = value;OnPropertyChanged(); } }
  14. private ushort _locTwoRollerSerial;
  15. public ushort LocTwoRollerSerial { get { return _locTwoRollerSerial; } set { _locTwoRollerSerial = value; OnPropertyChanged(); } }
  16. private ushort _locThreeRollerSerial;
  17. public ushort LocThreeRollerSerial { get { return _locThreeRollerSerial; } set { _locThreeRollerSerial = value; OnPropertyChanged(); } }
  18. private ushort _locFourRollerSerial;
  19. public ushort LocFourRollerSerial { get { return _locFourRollerSerial; } set { _locFourRollerSerial = value; OnPropertyChanged(); } }
  20. private ushort _locFiveRollerSerial;
  21. public ushort LocFiveRollerSerial { get { return _locFiveRollerSerial; } set { _locFiveRollerSerial = value; OnPropertyChanged(); } }
  22. private ushort _locSixRollerSerial;
  23. public ushort LocSixRollerSerial { get { return _locSixRollerSerial; } set { _locSixRollerSerial = value; OnPropertyChanged(); } }
  24. private ushort _locSevenRollerSerial;
  25. public ushort LocSevenRollerSerial { get { return _locSevenRollerSerial; } set { _locSevenRollerSerial = value; OnPropertyChanged(); } }
  26. private ushort _locEightRollerSerial;
  27. public ushort LocEightRollerSerial { get { return _locEightRollerSerial; } set { _locEightRollerSerial = value; OnPropertyChanged(); } }
  28. private Color _rollerRunState;
  29. public Color RollerRunState { get { return _rollerRunState; } set { _rollerRunState = value; OnPropertyChanged(); } }
  30. private Color _rollerAlarmState;
  31. public Color RollerAlarmState { get { return _rollerAlarmState; } set { _rollerAlarmState = value; OnPropertyChanged(); } }
  32. }
  33. }