public interface SetNodeConfigFactory
| Modifier and Type | Method and Description |
|---|---|
AnalogOutputCurrentSetNodeConfig |
createAnalogOutputCurrentConfig(AnalogIO output,
Current current,
ErrorHandler<Current> errorHandler)
Creates an analog output current configuration.
|
AnalogOutputVoltageSetNodeConfig |
createAnalogOutputVoltageConfig(AnalogIO output,
Voltage voltage,
ErrorHandler<Voltage> errorHandler)
Creates an analog output voltage configuration.
|
DigitalOutputSetNodeConfig |
createDigitalOutputConfig(BooleanRegister output,
boolean valueToSet)
Creates a digital output configuration.
|
DigitalOutputSetNodeConfig |
createDigitalOutputConfig(DigitalIO output,
boolean valueToSet)
Creates a digital output configuration.
|
DigitalOutputSetNodeConfig |
createDigitalOutputConfig(ModbusIO output,
boolean valueToSet)
Creates a digital MODBUS output configuration.
|
ExpressionOutputSetNodeConfig |
createExpressionOutputConfig(IO output,
Expression expression)
Create an expression output configuration.
|
FloatRegisterOutputSetNodeConfig |
createFloatRegisterOutputConfig(FloatRegister output,
float valueToSet)
Create a float register output configuration.
|
DigitalOutputSetNodeConfig createDigitalOutputConfig(DigitalIO output, boolean valueToSet)
output - the digital output to apply the output action to, not null.valueToSet - if true the output will be set to HIGH, otherwise LOWDigitalOutputSetNodeConfig createDigitalOutputConfig(ModbusIO output, boolean valueToSet)
output - the digital MODBUS output to apply the output action to, not null.valueToSet - if true the MODBUS output will be set to HIGH, otherwise LOWDigitalOutputSetNodeConfig createDigitalOutputConfig(BooleanRegister output, boolean valueToSet)
output - the the boolean register output to apply the output action to, not null.valueToSet - the value to apply to the output registerAnalogOutputCurrentSetNodeConfig createAnalogOutputCurrentConfig(AnalogIO output, Current current, ErrorHandler<Current> errorHandler)
output - the analog output to apply the output action to. The output should be configured to use electric current domain, not null.current - the electric current value/level to set, not null.errorHandler - error handler for handling validation or domain (i.e. current or voltage) errors. If using ErrorHandler.AUTO_CORRECT
this will clamp the value, and in case of domain error, set the value regardless of the output's domain type.AnalogOutputVoltageSetNodeConfig createAnalogOutputVoltageConfig(AnalogIO output, Voltage voltage, ErrorHandler<Voltage> errorHandler)
output - the analog output to apply the output action to. The output should be configured to use voltage domain, not null.voltage - the voltage value/level to set, not null.errorHandler - error handler for handling validation or domain (i.e. current or voltage) errors. If using ErrorHandler.AUTO_CORRECT
this will clamp the value, and in case of domain error, set the value regardless of the output's domain type.FloatRegisterOutputSetNodeConfig createFloatRegisterOutputConfig(FloatRegister output, float valueToSet)
output - the register to apply the value to, not null.valueToSet - the value to be set.ExpressionOutputSetNodeConfig createExpressionOutputConfig(IO output, Expression expression)
output - the output to set to the result of the evaluation of the expression, not null.expression - the expression whose evaluation will be set on the output, not null.Copyright © 2018. All rights reserved.