C# Класс ZWaveLib.ZWaveNode

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
ApplicationCommandHandler bool
OnNodeUpdated void
SendMessage ZWaveLib.ZWaveMessage
SetController void
UpdateCommandClassList void

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
ApplicationCommandHandler ( byte rawMessage ) : bool
OnNodeUpdated ( ZWaveLib.NodeEvent zevent ) : void
SendMessage ( byte message ) : ZWaveLib.ZWaveMessage
SetController ( ZWaveLib.ZWaveController controller ) : void
UpdateCommandClassList ( ) : void

Описание методов

GetCommandClass() публичный Метод

Gets the command class.
public GetCommandClass ( CommandClass cclass ) : NodeCommandClass
cclass CommandClass Cclass.
Результат NodeCommandClass

GetData() публичный Метод

Gets the custom node data.
public GetData ( string fieldId, object defaultValue = null ) : NodeData
fieldId string Field identifier.
defaultValue object Default value.
Результат NodeData

IsSecuredCommandClass() публичный Метод

Determines whether this instance command class specified by c is secured.
public IsSecuredCommandClass ( CommandClass commandClass ) : bool
commandClass CommandClass Command Class.
Результат bool

SendDataRequest() публичный Метод

Sends the data request.
public SendDataRequest ( byte request ) : ZWaveLib.ZWaveMessage
request byte Request.
Результат ZWaveLib.ZWaveMessage

SupportCommandClass() публичный Метод

Supports the command class.
public SupportCommandClass ( CommandClass commandClass ) : bool
commandClass CommandClass Command Class
Результат bool

UpdateData() публичный Метод

Updates the custom node data.
public UpdateData ( string fieldId, object value ) : void
fieldId string Field identifier.
value object Value.
Результат void

ZWaveNode() публичный Метод

Initializes a new instance of the ZWaveLib.ZWaveNode class.
public ZWaveNode ( ) : System
Результат System

ZWaveNode() публичный Метод

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.
Результат System

ZWaveNode() публичный Метод

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.
Результат System