|
|
@@ -118,11 +118,15 @@ namespace BPASmartClient.MorkF.ViewModel |
|
|
|
public RelayCommand HBOTGoWork { get; set; } |
|
|
|
public RelayCommand OutMeal { get; set; } |
|
|
|
public RelayCommand SetFire { get; set; } |
|
|
|
public RelayCommand SetFry { get; set; } |
|
|
|
public RelayCommand SetStir { get; set; } |
|
|
|
public List<int> lstFire { get; set; } = new List<int>() { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; |
|
|
|
public List<int> lstFry { get; set; } = new List<int>() { 1, 2 }; |
|
|
|
public List<int> lstStir { get; set; } = new List<int>() { 1, 2, 3 }; |
|
|
|
public int FireGear { get { return _fireGear; } set { _fireGear = value; OnPropertyChanged(); } } |
|
|
|
private int _fireGear; |
|
|
|
public int FryGear { get { return _fryeGear; } set { _fryeGear = value; OnPropertyChanged(); } } |
|
|
|
private int _fryeGear; |
|
|
|
public int StirGear { get { return _stirGear; } set { _stirGear = value; OnPropertyChanged(); } } |
|
|
|
private int _stirGear; |
|
|
|
#region 模拟 |
|
|
@@ -193,7 +197,7 @@ namespace BPASmartClient.MorkF.ViewModel |
|
|
|
#endregion |
|
|
|
|
|
|
|
#region 配料仓控制 |
|
|
|
OutMaterials = new RelayCommand(() => { ActionManage.GetInstance.Send("OutMaterials" ,new List<int> { PassagePosition,Weight } ); }); |
|
|
|
OutMaterials = new RelayCommand(() => { ActionManage.GetInstance.Send("OutMaterials" ,new List<int> { PassagePosition + 1,Weight } ); }); |
|
|
|
#endregion |
|
|
|
|
|
|
|
#region 炒锅1 |
|
|
@@ -210,6 +214,7 @@ namespace BPASmartClient.MorkF.ViewModel |
|
|
|
OutMeal = new RelayCommand(() => { ActionManage.GetInstance.Send("OutMeal"); });//出餐启动 |
|
|
|
SetFire = new RelayCommand(() => { ActionManage.GetInstance.Send("SetFire", new List<int> { FireGear }); });//加热挡位设定 |
|
|
|
SetStir = new RelayCommand(() => { ActionManage.GetInstance.Send("SetStir", new List<int> { StirGear }); });//搅拌挡位设定 |
|
|
|
SetFry = new RelayCommand(() => { ActionManage.GetInstance.Send("SetFry", new List<int> { FryGear }); });//炒锅选择 |
|
|
|
#endregion |
|
|
|
|
|
|
|
#region 炒锅2 |
|
|
|