Bläddra i källkod

1

样式分支
fyf 2 år sedan
förälder
incheckning
ac25813738
1 ändrade filer med 4 tillägg och 3 borttagningar
  1. +4
    -3
      BPASmartClient.MorkT/Control_MorkT.cs

+ 4
- 3
BPASmartClient.MorkT/Control_MorkT.cs Visa fil

@@ -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) => { });


Laddar…
Avbryt
Spara