Example #1
0
 /// <summary>
 /// Public constructor for the protocol device updates event argument.
 /// </summary>
 /// <param name="deviceId">Device Id, where the update belongs to.</param>
 /// <param name="deviceQuality">Device quality, of the device where the update belongs to.</param>
 /// <param name="innerEventArgs">Event argument, of the inner event.</param>
 public ProtocolDeviceUpdatedEventArgs(int deviceId, ZoneQuality deviceQuality, ConreteProtocolEventArgs innerEventArgs)
 {
     _deviceId       = deviceId;
     _deviceQuality  = deviceQuality;
     _innerEventArgs = innerEventArgs;
 }
Example #2
0
 /// <summary>
 /// Constructor for the argument class.
 /// </summary>
 /// <param name="zoneAddress">Zone address, where the associated event belongs to.</param>
 /// <param name="innerEventArgs">Inner argument class, provided by the underlying protocol layer.</param>
 public ProtocolCommandReceivedEventArgs(Address zoneAddress, ConreteProtocolEventArgs innerEventArgs)
 {
     _zoneAddress    = zoneAddress;
     _innerEventArgs = innerEventArgs;
 }
Example #3
0
 /// <summary>
 /// Public constructor for the protocol zone update event argument.
 /// </summary>
 /// <param name="zoneAddress">Zone Address, containing Device Id and Zone Id</param>
 /// <param name="zoneState">Current Zone State.</param>
 /// <param name="innerEventArgs">Inner Event Argument.</param>
 public ProtocolZoneUpdatedEventArgs(Address zoneAddress, ZoneState zoneState, ConreteProtocolEventArgs innerEventArgs)
 {
     _zoneAddress    = zoneAddress;
     _zoneState      = zoneState;
     _innerEventArgs = innerEventArgs;
 }