/// <summary> /// Event method used in the test SimulatorCommandSetSourceTest /// </summary> /// <param name="sender">This pointer to the sender of the event.</param> /// <param name="e">Event arguments, returned by the sender.</param> void target_onCommandReceived(object sender, ProtocolCommandReceivedEventArgs e) { _protCommandReceivedEventArgs.Add(e); }
void nuvoServer_onCommandReceived(object sender, ProtocolCommandReceivedEventArgs e) { DisplayData(MessageType.Incoming, e.Command.IncomingCommand); }
/// <summary> /// Command Received method /// </summary> /// <param name="sender">This pointer to the sender of the event.</param> /// <param name="e">Event arguments, returned by the sender.</param> static void _driver_onCommandReceived(object sender, ProtocolCommandReceivedEventArgs e) { LogHelper.Log(LogLevel.Debug, String.Format(">>> [{0}] Zone {1} Command Received: {2}", DateTime.Now.ToShortTimeString(), e.ZoneAddress.ToString(), e.Command.ToString())); }
void nuvoServer_onCommandReceived(object sender, ProtocolCommandReceivedEventArgs e) { LogHelper.Log(LogLevel.Info, String.Format("Command Received:" + e.Command.IncomingCommand)); }