|
|
@@ -191,6 +191,7 @@ namespace BPA.SingleDevice.Business |
|
|
|
break; |
|
|
|
|
|
|
|
case BatchStep.StartBatch: |
|
|
|
Task.Delay(500).Wait(); |
|
|
|
if (Batchers[stationNum].StartBatching()) |
|
|
|
{ |
|
|
|
recipe.BatchStatus[stationNum] = BatchStep.WaitBatchComplete; |
|
|
@@ -204,6 +205,7 @@ namespace BPA.SingleDevice.Business |
|
|
|
break; |
|
|
|
|
|
|
|
case BatchStep.WaitBatchComplete: |
|
|
|
Task.Delay(500).Wait(); |
|
|
|
if (completeTrig) |
|
|
|
{ |
|
|
|
logService.LogRunInfo($"配方【{recipe.Name}】工位【{stationNum}】的配料完成。"); |
|
|
@@ -234,6 +236,8 @@ namespace BPA.SingleDevice.Business |
|
|
|
switch (global.MoveConveyerStep) |
|
|
|
{ |
|
|
|
case MoveConveyerStep.WaitMove: |
|
|
|
var delayTime = Json<ConnectConfig>.Data.MoveDelay; |
|
|
|
Task.Delay(TimeSpan.FromSeconds(delayTime)).Wait(); |
|
|
|
Conveyer.InitalMoveParam(); |
|
|
|
Task.Delay(500).Wait(); |
|
|
|
if (Conveyer.MoveOnce()) |
|
|
|