C# Class ZWaveLib.ZWaveNode

ファイルを表示 Open project: genielabs/zwave-lib-dotnet Class Usage Examples

Private Properties

Property Type Description
ApplicationCommandHandler bool
OnNodeUpdated void
SendMessage ZWaveLib.ZWaveMessage
SetController void
UpdateCommandClassList void

Public Methods

Method 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

Method 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 method

Gets the command class.
public GetCommandClass ( CommandClass cclass ) : NodeCommandClass
cclass CommandClass Cclass.
return NodeCommandClass

GetData() public method

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

IsSecuredCommandClass() public method

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

SendDataRequest() public method

Sends the data request.
public SendDataRequest ( byte request ) : ZWaveLib.ZWaveMessage
request byte Request.
return ZWaveLib.ZWaveMessage

SupportCommandClass() public method

Supports the command class.
public SupportCommandClass ( CommandClass commandClass ) : bool
commandClass CommandClass Command Class
return bool

UpdateData() public method

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

ZWaveNode() public method

Initializes a new instance of the ZWaveLib.ZWaveNode class.
public ZWaveNode ( ) : System
return System

ZWaveNode() public method

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.
return System

ZWaveNode() public method

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.
return System