Browse Source

1

样式分支
fyf 1 year ago
parent
commit
ac25813738
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      BPASmartClient.MorkT/Control_MorkT.cs

+ 4
- 3
BPASmartClient.MorkT/Control_MorkT.cs View File

@@ -103,7 +103,6 @@ namespace BPASmartClient.MorkT
}
});
}

MakeCoffeeProcess();
EventBus.EventBus.GetInstance().Publish(new LebaiRobot_GetInputEvent { DeviceId = DeviceId, Pin = 0 }, (o) =>
{
@@ -111,7 +110,7 @@ namespace BPASmartClient.MorkT
{
if (!resultValue)//取餐口有空余位置
{
//MakeIceCreamProcess();
MakeIceCreamProcess();
MakeCoffeeComplete();
}
}
@@ -475,7 +474,9 @@ namespace BPASmartClient.MorkT
EventBus.EventBus.GetInstance().Publish(new LebaiRobot_LebaiSenceEvent { DeviceId = DeviceId, LebaiSence = Lebai_qsqdCode.SENCE_取咖啡杯 }); //SENCE_取咖啡杯

Wait();
EventBus.EventBus.GetInstance().Publish(new SCChip_TakeCupEvent { DeviceId = DeviceId, Cup = IC_CUP.CUP_COFFEE });//落碗控制
// EventBus.EventBus.GetInstance().Publish(new SCChip_TakeCupEvent { DeviceId = DeviceId, Cup = IC_CUP.CUP_COFFEE });//落碗控制
EventBus.EventBus.GetInstance().Publish(new LebaiRobot_SetOutPutEvent { DeviceId = DeviceId, Value = true ,Pin = 1});

Thread.Sleep(500);
DeviceProcessLogShow("尝试取咖啡杯!");
EventBus.EventBus.GetInstance().Publish(new LebaiRobot_SetValueEvent { DeviceId = DeviceId, RobotSetValue = 1 }, (o) => { });


Loading…
Cancel
Save