C# Class HA4IoT.Hardware.LogicalBinaryOutput

Inheritance: IBinaryOutput
Mostra file Open project: chkr1011/CK.HomeAutomation Class Usage Examples

Public Methods

Method Description
LogicalBinaryOutput ( ) : System
Read ( ) : BinaryState
WithInvertedState ( bool value = true ) : IBinaryOutput
WithOutput ( IBinaryOutput output ) : LogicalBinaryOutput
Write ( BinaryState state, bool commit = true ) : void

Private Methods

Method Description
CoerceState ( BinaryState state ) : BinaryState

Method Details

LogicalBinaryOutput() public method

public LogicalBinaryOutput ( ) : System
return System

Read() public method

public Read ( ) : BinaryState
return BinaryState

WithInvertedState() public method

public WithInvertedState ( bool value = true ) : IBinaryOutput
value bool
return IBinaryOutput

WithOutput() public method

public WithOutput ( IBinaryOutput output ) : LogicalBinaryOutput
output IBinaryOutput
return LogicalBinaryOutput

Write() public method

public Write ( BinaryState state, bool commit = true ) : void
state BinaryState
commit bool
return void