C# Class HA4IoT.Hardware.CCTools.CCToolsBoardPort

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

Méthodes publiques

Méthode Description
CCToolsBoardPort ( int number, CCToolsBoardBase board ) : System
Read ( ) : BinaryState
WithInvertedState ( ) : CCToolsBoardPort
Write ( BinaryState state, bool commit ) : void

Private Methods

Méthode Description
CoerceState ( BinaryState state ) : BinaryState
IBinaryInput ( bool value ) : IBinaryInput
IBinaryOutput ( bool value ) : IBinaryOutput
OnControllerStateChanged ( object sender, IOBoardStateChangedEventArgs e ) : void

Method Details

CCToolsBoardPort() public méthode

public CCToolsBoardPort ( int number, CCToolsBoardBase board ) : System
number int
board CCToolsBoardBase
Résultat System

Read() public méthode

public Read ( ) : BinaryState
Résultat BinaryState

WithInvertedState() public méthode

public WithInvertedState ( ) : CCToolsBoardPort
Résultat CCToolsBoardPort

Write() public méthode

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