Skip to main content

IBinaryActuatorFactory

Factory interface for creating IBinaryActuator instances.

Namespace: ControlBee.Interfaces

Methods

Create

Creates a new binary actuator with the specified outputs and inputs.

IBinaryActuator Create(
IDigitalOutput? outputOn,
IDigitalOutput? outputOff,
IDigitalInput? inputOn,
IDigitalInput? inputOff
);

Parameters:

  • outputOn — The digital output for turning the actuator on.
  • outputOff — The digital output for turning the actuator off.
  • inputOn — The digital input sensor for detecting the on state.
  • inputOff — The digital input sensor for detecting the off state.

Returns: A new IBinaryActuator instance.

See Also