Sfoglia il codice sorgente

morks

样式分支
NXX 2 anni fa
parent
commit
2221fb0db6
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      BPASmartClient.MorkT/ViewModel/DebugViewModel.cs

+ 2
- 2
BPASmartClient.MorkT/ViewModel/DebugViewModel.cs Vedi 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 });

}



Caricamento…
Annulla
Salva