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