|
|
@@ -117,7 +117,7 @@ namespace HBLConsole.MORKIC |
|
|
|
MessageLog.GetInstance.Show("当前非自嗨模式,允许开工"); |
|
|
|
working = true; |
|
|
|
if (morkOrderPushes.TryDequeue(out MorkOrderPush order)) |
|
|
|
{ |
|
|
|
{ |
|
|
|
MessageLog.GetInstance.Show($"开始制作订单[{order.SortNum}]"); |
|
|
|
|
|
|
|
//Thread.Sleep(5000); |
|
|
@@ -201,7 +201,7 @@ namespace HBLConsole.MORKIC |
|
|
|
} |
|
|
|
//LebaiHelper.GetInstance.Scene(LebaiHelper.SENCE_欢迎); |
|
|
|
}), "MORK-IC欢迎"); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
public void DataParse<T>(T order) |
|
|
@@ -256,7 +256,7 @@ namespace HBLConsole.MORKIC |
|
|
|
LebaiHelper.GetInstance.Scene(LebaiHelper.SENCE_咖啡杯检测); |
|
|
|
Wait(); |
|
|
|
LebaiHelper.GetInstance.SetValue(1); |
|
|
|
|
|
|
|
|
|
|
|
if (!LebaiHelper.GetInstance.GetTcpInput()) |
|
|
|
{ |
|
|
|
MessageLog.GetInstance.Show("执行二次取咖啡杯"); |
|
|
@@ -300,7 +300,7 @@ namespace HBLConsole.MORKIC |
|
|
|
int checkeNum = 0; |
|
|
|
are.Reset(); |
|
|
|
LebaiHelper.GetInstance.SetValue(0); |
|
|
|
// SimpleFactory.GetInstance.OrderChanged(subOrderId, BPA.Message.Enum.ORDER_STATUS.COOKING); |
|
|
|
// SimpleFactory.GetInstance.OrderChanged(subOrderId, BPA.Message.Enum.ORDER_STATUS.COOKING); |
|
|
|
LebaiHelper.GetInstance.Scene(LebaiHelper.SENCE_取冰淇淋杯); |
|
|
|
|
|
|
|
Wait(); |
|
|
@@ -340,7 +340,7 @@ namespace HBLConsole.MORKIC |
|
|
|
//LebaiHelper.GetInstance.SetValue(1); |
|
|
|
|
|
|
|
#region 通讯冰淇淋机 |
|
|
|
|
|
|
|
|
|
|
|
//制冷模式 |
|
|
|
new ModeSetEvent() { Mode = MORKI_MODE.制冷模式 }.Publish(); |
|
|
|
LebaiHelper.GetInstance.SetValue(0); |
|
|
@@ -394,7 +394,7 @@ namespace HBLConsole.MORKIC |
|
|
|
LebaiHelper.GetInstance.SetValue(1); |
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
@@ -419,7 +419,7 @@ namespace HBLConsole.MORKIC |
|
|
|
|
|
|
|
public void SimOrder<T>(T simOrder) |
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
/// <summary> |
|
|
|