C# Class ZWaveLib.ZWaveNode

Afficher le fichier Open project: genielabs/zwave-lib-dotnet Class Usage Examples

Private Properties

Свойство Type Description
ApplicationCommandHandler bool
OnNodeUpdated void
SendMessage ZWaveLib.ZWaveMessage
SetController void
UpdateCommandClassList void

Méthodes publiques

Méthode Description
GetCommandClass ( CommandClass cclass ) : NodeCommandClass

Gets the command class.

GetData ( string fieldId, object defaultValue = null ) : NodeData

Gets the custom node data.

IsSecuredCommandClass ( CommandClass commandClass ) : bool

Determines whether this instance command class specified by c is secured.

SendDataRequest ( byte request ) : ZWaveLib.ZWaveMessage

Sends the data request.

SupportCommandClass ( CommandClass commandClass ) : bool

Supports the command class.

UpdateData ( string fieldId, object value ) : void

Updates the custom node data.

ZWaveNode ( ) : System

Initializes a new instance of the ZWaveLib.ZWaveNode class.

ZWaveNode ( ZWaveLib.ZWaveController controller, byte nodeId ) : System

Initializes a new instance of the ZWaveLib.ZWaveNode class.

ZWaveNode ( ZWaveLib.ZWaveController controller, byte nodeId, byte genericType ) : System

Initializes a new instance of the ZWaveLib.ZWaveNode class.

Private Methods

Méthode Description
ApplicationCommandHandler ( byte rawMessage ) : bool
OnNodeUpdated ( ZWaveLib.NodeEvent zevent ) : void
SendMessage ( byte message ) : ZWaveLib.ZWaveMessage
SetController ( ZWaveLib.ZWaveController controller ) : void
UpdateCommandClassList ( ) : void

Method Details

GetCommandClass() public méthode

Gets the command class.
public GetCommandClass ( CommandClass cclass ) : NodeCommandClass
cclass CommandClass Cclass.
Résultat NodeCommandClass

GetData() public méthode

Gets the custom node data.
public GetData ( string fieldId, object defaultValue = null ) : NodeData
fieldId string Field identifier.
defaultValue object Default value.
Résultat NodeData

IsSecuredCommandClass() public méthode

Determines whether this instance command class specified by c is secured.
public IsSecuredCommandClass ( CommandClass commandClass ) : bool
commandClass CommandClass Command Class.
Résultat bool

SendDataRequest() public méthode

Sends the data request.
public SendDataRequest ( byte request ) : ZWaveLib.ZWaveMessage
request byte Request.
Résultat ZWaveLib.ZWaveMessage

SupportCommandClass() public méthode

Supports the command class.
public SupportCommandClass ( CommandClass commandClass ) : bool
commandClass CommandClass Command Class
Résultat bool

UpdateData() public méthode

Updates the custom node data.
public UpdateData ( string fieldId, object value ) : void
fieldId string Field identifier.
value object Value.
Résultat void

ZWaveNode() public méthode

Initializes a new instance of the ZWaveLib.ZWaveNode class.
public ZWaveNode ( ) : System
Résultat System

ZWaveNode() public méthode

Initializes a new instance of the ZWaveLib.ZWaveNode class.
public ZWaveNode ( ZWaveLib.ZWaveController controller, byte nodeId ) : System
controller ZWaveLib.ZWaveController Controller.
nodeId byte Node identifier.
Résultat System

ZWaveNode() public méthode

Initializes a new instance of the ZWaveLib.ZWaveNode class.
public ZWaveNode ( ZWaveLib.ZWaveController controller, byte nodeId, byte genericType ) : System
controller ZWaveLib.ZWaveController Controller.
nodeId byte Node identifier.
genericType byte Generic type.
Résultat System