private void OnError(ReceivedCommand receivedCommand) { Debug.WriteLine(String.Format("Error > {0}", receivedCommand.CommandString())); OnErrorEvent(String.Format("Error > {0}", receivedCommand.CommandString())); }
private void OnWatchdog(ReceivedCommand receivedCommand) { Debug.WriteLine(String.Format("Watchdog > {0}", receivedCommand.CommandString())); }
private void OnAcknowledge(ReceivedCommand receivedCommand) { Debug.WriteLine(receivedCommand.CommandString()); //var a = receivedCommand.ReadInt16Arg(); //var b = receivedCommand.ReadBoolArg(); //Debug.WriteLine(String.Format("channel number: {0}, status {1}", a,b)); }