终端一体化运控平台
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

1 год назад
1 год назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1 год назад
2 лет назад
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. using BPA.Helper;
  2. using BPA.Helper;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace BPASmartClient.ViewModel
  9. {
  10. public class DebugViewModel : NotifyBase
  11. {
  12. public BPARelayCommand PlcInite { get; set; }
  13. public BPARelayCommand SimulateOrder { get; set; }
  14. public BPARelayCommand TakePot { get; set; }
  15. public BPARelayCommand TakePotReset { get; set; }
  16. public BPARelayCommand TempTurnOff { get; set; }
  17. public BPARelayCommand OneBlock { get; set; }
  18. public BPARelayCommand TwoBlock { get; set; }
  19. public BPARelayCommand ThreeBlock { get; set; }
  20. public BPARelayCommand OverTurnOff { get; set; }
  21. public BPARelayCommand OverOneBlock { get; set; }
  22. public BPARelayCommand OverTwoBlock { get; set; }
  23. public BPARelayCommand OverThreeBlock { get; set; }
  24. public BPARelayCommand OverGoOn { get; set; }
  25. public BPARelayCommand OverGoDown { get; set; }
  26. public BPARelayCommand ShreddCabbage { get; set; }
  27. public BPARelayCommand FryPork { get; set; }
  28. public BPARelayCommand XingBaoGu { get; set; }
  29. public DebugViewModel()
  30. {
  31. PlcInite = new BPARelayCommand(() => { ActionManage.GetInstance.Send("InitCommand"); });
  32. SimulateOrder = new BPARelayCommand(() => { ActionManage.GetInstance.Send("SimultaorOrder"); });
  33. TakePot = new BPARelayCommand(() => { ActionManage.GetInstance.Send("TakePot"); });
  34. TakePotReset = new BPARelayCommand(() => { ActionManage.GetInstance.Send("TakePotReset"); });
  35. TempTurnOff = new BPARelayCommand(() => { ActionManage.GetInstance.Send("TakeOff"); });
  36. OneBlock = new BPARelayCommand(() => { ActionManage.GetInstance.Send("OneBlock"); });
  37. TwoBlock = new BPARelayCommand(() => { ActionManage.GetInstance.Send("TwoBlock"); });
  38. ThreeBlock = new BPARelayCommand(() => { ActionManage.GetInstance.Send("ThreeBlock"); });
  39. OverTurnOff = new BPARelayCommand(() => { ActionManage.GetInstance.Send("OverTurnOff"); });
  40. OverOneBlock = new BPARelayCommand(() => { ActionManage.GetInstance.Send("OverOneBlock"); });
  41. OverTwoBlock = new BPARelayCommand(() => { ActionManage.GetInstance.Send("OverTwoBlock"); });
  42. OverThreeBlock = new BPARelayCommand(() => { ActionManage.GetInstance.Send("OverThreeBlock"); });
  43. OverGoOn = new BPARelayCommand(() => { ActionManage.GetInstance.Send("OverGoOn"); });
  44. OverGoDown = new BPARelayCommand(() => { ActionManage.GetInstance.Send("OverGoDown"); });
  45. ShreddCabbage = new BPARelayCommand(() => { ActionManage.GetInstance.Send("ShreddCabbage"); });
  46. FryPork = new BPARelayCommand(() => { ActionManage.GetInstance.Send("FryPork"); });
  47. XingBaoGu = new BPARelayCommand(() => { ActionManage.GetInstance.Send("XingBaoGu"); });
  48. }
  49. }
  50. }