Пример #1
0
 /// <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);
 }
Пример #2
0
 void nuvoServer_onCommandReceived(object sender, ProtocolCommandReceivedEventArgs e)
 {
     DisplayData(MessageType.Incoming, e.Command.IncomingCommand);
 }
Пример #3
0
 /// <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()));
 }
Пример #4
0
 void nuvoServer_onCommandReceived(object sender, ProtocolCommandReceivedEventArgs e)
 {
     LogHelper.Log(LogLevel.Info, String.Format("Command Received:" + e.Command.IncomingCommand));
 }