C# Class HA4IoT.Hardware.LogicalBinaryOutput

Inheritance: IBinaryOutput
Afficher le fichier Open project: chkr1011/CK.HomeAutomation Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode Description
CoerceState ( BinaryState state ) : BinaryState

Method Details

LogicalBinaryOutput() public méthode

public LogicalBinaryOutput ( ) : System
Résultat System

Read() public méthode

public Read ( ) : BinaryState
Résultat BinaryState

WithInvertedState() public méthode

public WithInvertedState ( bool value = true ) : IBinaryOutput
value bool
Résultat IBinaryOutput

WithOutput() public méthode

public WithOutput ( IBinaryOutput output ) : LogicalBinaryOutput
output IBinaryOutput
Résultat LogicalBinaryOutput

Write() public méthode

public Write ( BinaryState state, bool commit = true ) : void
state BinaryState
commit bool
Résultat void