示例#1
0
 private void QueuePoller_PinponChanged(object sender, bool status)
 {
     if (status)
     {
         pinService.TurnOn();
     }
     else
     {
         pinService.TurnOff();
     }
 }
示例#2
0
 private void TurnPinponOff()
 {
     logger.LogDebug("Websocket : turn pinpon off");
     pinService.TurnOff();
 }