Esempio n. 1
0
 /// <summary>Initializes a new instance of the Single Channel Lighting Submit command.</summary>
 /// <param name="hdlBus">The HDL-bus connection to use.</param>
 /// <param name="targetSubnetId">SubnetID for recipient of command.</param>
 /// <param name="targetDeviceId">DeviceID for recipient of command.</param>
 /// <param name="channelNo">The channel number for recipient of command.</param>
 /// <param name="intensity">The intensity to set.</param>
 /// <param name="runningTimeMinutes">Minutes running-time for the command.</param>
 /// <param name="runningTimeSeconds">Seconds running-time for the command.</param>
 public SingleChannelLightingControl(IHdlBus hdlBus, int targetSubnetId, int targetDeviceId, int channelNo, int intensity, int runningTimeMinutes, int runningTimeSeconds)
 {
     _hdlBus            = hdlBus;
     TargetSubnetId     = targetSubnetId;
     TargetDeviceId     = targetDeviceId;
     ChannelNo          = channelNo;
     Intensity          = intensity;
     RunningTimeMinutes = runningTimeMinutes;
     RunningTimeSeconds = runningTimeSeconds;
 }
Esempio n. 2
0
 /// <summary>Initializes a new instance of the HdlData class.</summary>
 /// <param name="hdlBus">The HDL-bus connection to use.</param>
 public HdlData(IHdlBus hdlBus)
 {
     _hdlBus = hdlBus;
 }