|
|
@@ -320,7 +320,7 @@ namespace BPASmartClient.MorkBF |
|
|
|
{ |
|
|
|
Thread.Sleep(300); |
|
|
|
} |
|
|
|
if((int)robotAction.subTask1>0)//任务1 |
|
|
|
if((int)robotAction.subTask1>0&& (int)robotAction.subTask1<16)//任务1 |
|
|
|
{ |
|
|
|
Robot_Write("GI1", (int)robotAction.subTask1); |
|
|
|
Thread.Sleep(1000); |
|
|
@@ -329,6 +329,11 @@ namespace BPASmartClient.MorkBF |
|
|
|
Thread.Sleep(300); |
|
|
|
} |
|
|
|
} |
|
|
|
if((int)robotAction.subTask1>15) //出餐 |
|
|
|
{ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if ((int)robotAction.subTask2 > 0)//任务2 |
|
|
|
{ |
|
|
|
Robot_Write("GI2", (int)robotAction.subTask2); |
|
|
@@ -337,6 +342,10 @@ namespace BPASmartClient.MorkBF |
|
|
|
{ |
|
|
|
Thread.Sleep(300); |
|
|
|
} |
|
|
|
while (morkBF.Robot_OutMaterialCompleted)//等待子程序2完成反馈 |
|
|
|
{ |
|
|
|
Thread.Sleep(300); |
|
|
|
} |
|
|
|
} |
|
|
|
if ((int)robotAction.subTask3 > 0)//任务3 |
|
|
|
{ |
|
|
|