Du kannst nicht mehr als 25 Themen auswählen
Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
|
- using BPA.Helper;
- using BPA.Helper;
-
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace BPASmartClient.ViewModel
- {
- public class DebugViewModel : NotifyBase
- {
- public BPARelayCommand PlcInite { get; set; }
- public BPARelayCommand SimulateOrder { get; set; }
- public BPARelayCommand TakePot { get; set; }
- public BPARelayCommand TakePotReset { get; set; }
- public BPARelayCommand TempTurnOff { get; set; }
- public BPARelayCommand OneBlock { get; set; }
- public BPARelayCommand TwoBlock { get; set; }
- public BPARelayCommand ThreeBlock { get; set; }
-
- public BPARelayCommand OverTurnOff { get; set; }
- public BPARelayCommand OverOneBlock { get; set; }
- public BPARelayCommand OverTwoBlock { get; set; }
- public BPARelayCommand OverThreeBlock { get; set; }
- public BPARelayCommand OverGoOn { get; set; }
- public BPARelayCommand OverGoDown { get; set; }
- public BPARelayCommand ShreddCabbage { get; set; }
- public BPARelayCommand FryPork { get; set; }
- public BPARelayCommand XingBaoGu { get; set; }
- public DebugViewModel()
- {
- PlcInite = new BPARelayCommand(() => { ActionManage.GetInstance.Send("InitCommand"); });
- SimulateOrder = new BPARelayCommand(() => { ActionManage.GetInstance.Send("SimultaorOrder"); });
- TakePot = new BPARelayCommand(() => { ActionManage.GetInstance.Send("TakePot"); });
- TakePotReset = new BPARelayCommand(() => { ActionManage.GetInstance.Send("TakePotReset"); });
- TempTurnOff = new BPARelayCommand(() => { ActionManage.GetInstance.Send("TakeOff"); });
- OneBlock = new BPARelayCommand(() => { ActionManage.GetInstance.Send("OneBlock"); });
- TwoBlock = new BPARelayCommand(() => { ActionManage.GetInstance.Send("TwoBlock"); });
- ThreeBlock = new BPARelayCommand(() => { ActionManage.GetInstance.Send("ThreeBlock"); });
- OverTurnOff = new BPARelayCommand(() => { ActionManage.GetInstance.Send("OverTurnOff"); });
- OverOneBlock = new BPARelayCommand(() => { ActionManage.GetInstance.Send("OverOneBlock"); });
- OverTwoBlock = new BPARelayCommand(() => { ActionManage.GetInstance.Send("OverTwoBlock"); });
- OverThreeBlock = new BPARelayCommand(() => { ActionManage.GetInstance.Send("OverThreeBlock"); });
- OverGoOn = new BPARelayCommand(() => { ActionManage.GetInstance.Send("OverGoOn"); });
- OverGoDown = new BPARelayCommand(() => { ActionManage.GetInstance.Send("OverGoDown"); });
- ShreddCabbage = new BPARelayCommand(() => { ActionManage.GetInstance.Send("ShreddCabbage"); });
- FryPork = new BPARelayCommand(() => { ActionManage.GetInstance.Send("FryPork"); });
- XingBaoGu = new BPARelayCommand(() => { ActionManage.GetInstance.Send("XingBaoGu"); });
- }
- }
- }
|