|
|
@@ -608,16 +608,10 @@ namespace BPASmartClient.MorkS |
|
|
|
OrderChange(orderLocInfo.SuborderId, ORDER_STATUS.COOKING); |
|
|
|
DeviceProcessLogShow($"订单【{orderLocInfo.SuborderId}】,机器人倒面至【{loc + 1}】号煮面栏"); |
|
|
|
//写入煮面时间 |
|
|
|
if (mORKS.TurntableFeedbackloc>=1 && mORKS.TurntableFeedbackloc<=5) { |
|
|
|
var x = Json<MorksPar>.Data.parSets.FirstOrDefault(p => p.TextBlockContext == mORKS.TurntableFeedbackloc.ToString()); |
|
|
|
if (x != null) { |
|
|
|
List<ushort> values = new List<ushort>(); |
|
|
|
values.Add(x.Minute); |
|
|
|
values.Add(x.Second); |
|
|
|
WriteData($"VW{372 + (loc * 6)}", values.ToArray()); |
|
|
|
DeviceProcessLogShow($"转盘位置{mORKS.TurntableFeedbackloc}:写入煮面时间{x.Minute}分{x.Second}秒。"); |
|
|
|
} |
|
|
|
} |
|
|
|
List<ushort> values = new List<ushort>(); |
|
|
|
values.Add(Json<MorksPar>.Data.parSets.ElementAt(loc).Minute); |
|
|
|
values.Add(Json<MorksPar>.Data.parSets.ElementAt(loc).Second); |
|
|
|
WriteData($"VW{116 + (loc * 6)}", values.ToArray()); |
|
|
|
mORKS.TakeNoodleInterlock = true; |
|
|
|
} |
|
|
|
} |
|
|
|