Browse Source

morks

样式分支
NXX 2 years ago
parent
commit
2221fb0db6
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      BPASmartClient.MorkT/ViewModel/DebugViewModel.cs

+ 2
- 2
BPASmartClient.MorkT/ViewModel/DebugViewModel.cs View File

@@ -244,9 +244,9 @@ namespace BPASmartClient.MorkT.ViewModel
//EventBus.EventBus.GetInstance().Publish(new SCChip_RotorSwitchEvent { DeviceId = DeviceId, TurnOn = true });
//Thread.Sleep(500);
//EventBus.EventBus.GetInstance().Publish(new SCChip_RotorSwitchEvent { DeviceId = DeviceId, TurnOn = false });
EventBus.EventBus.GetInstance().Publish(new LebaiRobot_SetOutPutEvent { DeviceId = DeviceId, bDO = true, pin = 1 });
EventBus.EventBus.GetInstance().Publish(new LebaiRobot_SetOutPutEvent { DeviceId = DeviceId, Value = true, Pin = 1 });
Thread.Sleep(500);
EventBus.EventBus.GetInstance().Publish(new LebaiRobot_SetOutPutEvent { DeviceId = DeviceId, bDO = false, pin = 1 });
EventBus.EventBus.GetInstance().Publish(new LebaiRobot_SetOutPutEvent { DeviceId = DeviceId, Value = false, Pin = 1 });

}



Loading…
Cancel
Save