Skip to main content

IDeviceChannelModifier

Provides methods to modify the device and channel assignment of a device channel.

Namespace: ControlBee.Interfaces

Methods

SetChannel

Sets the channel number for this device channel.

void SetChannel(int channel);

Parameters:

  • channel — The zero-based channel index.

SetDevice

Sets the device by name.

void SetDevice(string deviceName);

Parameters:

  • deviceName — The name of the device to assign.

Sync

Synchronizes the channel state with the hardware device.

void Sync();

See Also