Browse Source

BF

样式分支
NXX 2 years ago
parent
commit
d2294555e7
1 changed files with 10 additions and 1 deletions
  1. +10
    -1
      BPASmartClient.MorkBF/Control_MorkBF.cs

+ 10
- 1
BPASmartClient.MorkBF/Control_MorkBF.cs View File

@@ -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
{


Loading…
Cancel
Save