|
|
@@ -56,7 +56,6 @@ namespace HBLConsole.MORKD |
|
|
|
public void Init() |
|
|
|
{ |
|
|
|
ActionOperate.GetInstance.Register(new Action(() => { mORKD.InitControl(); }), "InitCommand"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
bool Initing = false; |
|
|
@@ -76,6 +75,7 @@ namespace HBLConsole.MORKD |
|
|
|
{ |
|
|
|
mORKD = null; |
|
|
|
mORKD = new GVL_MORKD(); |
|
|
|
ActionOperate.GetInstance.Send("ResetProgram"); |
|
|
|
ReadData(); |
|
|
|
Main(); |
|
|
|
})); |
|
|
@@ -141,7 +141,6 @@ namespace HBLConsole.MORKD |
|
|
|
mORKD.TakeSoupComplete = bools[27]; |
|
|
|
mORKD.PutNoodleTakeMealComplete = bools[28]; |
|
|
|
Initing = bools[29]; |
|
|
|
if (Initing) MessageLog.GetInstance.Show("初始化中....."); |
|
|
|
})); |
|
|
|
|
|
|
|
|
|
|
@@ -346,7 +345,7 @@ namespace HBLConsole.MORKD |
|
|
|
{ |
|
|
|
if (mORKD.RBTakeNoodleTask.TryDequeue(out OrderLocInfo orderLocInfo)) |
|
|
|
{ |
|
|
|
mORKD.RBTakeNoodleStart((ushort)(loc + 1), orderLocInfo.Loc); |
|
|
|
//mORKD.RBTakeNoodleStart((ushort)(loc + 1), orderLocInfo.Loc); |
|
|
|
mORKD.CookNodelId[loc] = orderLocInfo.SuborderId; |
|
|
|
SimpleFactory.GetInstance.OrderChanged(orderLocInfo.SuborderId, ORDER_STATUS.COOKING); |
|
|
|
MessageLog.GetInstance.Show($"订单【{orderLocInfo.SuborderId}】,煮面栏:[{loc + 1}]"); |
|
|
|