终端一体化运控平台
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

48 lines
1.9 KiB

  1. using Microsoft.Toolkit.Mvvm.ComponentModel;
  2. namespace BPASmartClient.FoodStationTest.Model.Par
  3. {
  4. /// <summary>
  5. /// 连接参数设置。
  6. /// </summary>
  7. public class ConnectParMode : ObservableObject
  8. {
  9. /// <summary>
  10. /// 海科PLC是否连接
  11. /// </summary>
  12. public bool HKPlcConnect { get { return _mHKPlcConnect; } set { _mHKPlcConnect = value; OnPropertyChanged(); } }
  13. private bool _mHKPlcConnect;
  14. /// <summary>
  15. /// 是否屏蔽料仓报警
  16. /// </summary>
  17. public bool ShieldStockbinAlarm { get { return _mShieldStockbinAlarm; } set { _mShieldStockbinAlarm = value; OnPropertyChanged(); } }
  18. private bool _mShieldStockbinAlarm;
  19. /// <summary>
  20. /// 进桶侧调速电机速度
  21. /// </summary>
  22. public short AxisLoadSpeed { get { return _mAxisLoadSpeed; } set { _mAxisLoadSpeed = value; OnPropertyChanged(); } }
  23. private short _mAxisLoadSpeed;
  24. /// <summary>
  25. /// 过度侧调速电机速度
  26. /// </summary>
  27. public short AxisMidSpeed { get { return _mAxisMidSpeed; } set { _mAxisMidSpeed = value; OnPropertyChanged(); } }
  28. private short _mAxisMidSpeed;
  29. /// <summary>
  30. /// 出桶侧调速电机速度
  31. /// </summary>
  32. public short AxisUnLoadSpeed { get { return _mAxisUnLoadSpeed; } set { _mAxisUnLoadSpeed = value; OnPropertyChanged(); } }
  33. private short _mAxisUnLoadSpeed;
  34. /// <summary>
  35. /// 进桶侧伺服电机速度
  36. /// </summary>
  37. public float Axis1Speed { get { return _mAxis1Speed; } set { _mAxis1Speed = value; OnPropertyChanged(); } }
  38. private float _mAxis1Speed;
  39. /// <summary>
  40. /// 出桶侧伺服电机速度
  41. /// </summary>
  42. public float Axis2Speed { get { return _mAxis2Speed; } set { _mAxis2Speed = value; OnPropertyChanged(); } }
  43. private float _mAxis2Speed;
  44. }
  45. }