![]() |
Helper Class Reference 1.4
HomeGenie - Automation Programs API
|
KNX client helper. Class instance accessor: KnxClient More...
Public Member Functions | |
KnxClientHelper | ActionMessageCode (string actionMessageCode) |
Sets the Action Message code. | |
KnxClientHelper | EndPoint (string host, int port) |
Sets the endpoint to connect to. | |
KnxClientHelper | EndPoint (string host) |
Sets the endpoint to connect to. | |
KnxClientHelper | EndPoint (int port) |
Sets the endpoint to connect to. | |
KnxClientHelper | EndPoint (string localIp, int localPort, string remoteIp, int remotePort) |
Sets the endpoint to connect to using tunneling. | |
KnxClientHelper | Connect () |
Connects to the remote host using the specified port. | |
KnxClientHelper | Disconnect () |
Disconnects from the remote host. | |
KnxClientHelper | Action (string address, bool data) |
Sends action data to the specified address. | |
KnxClientHelper | Action (string address, int data) |
Sends action data to the specified address. | |
KnxClientHelper | Action (string address, byte data) |
Sends action data to the specified address. | |
KnxClientHelper | Action (string address, byte[] data) |
Sends action data to the specified address. | |
KnxClientHelper | Action (string address, string data) |
Sends action data to the specified address. | |
KnxClientHelper | Action (string address, object data) |
Sends action data to the specified address. | |
KnxClientHelper | RequestStatus (string address) |
Requests the status. | |
byte[] | ConvertToDpt (string type, object data) |
Converts to KNX Data Point Type. | |
object | ConvertFromDpt (string type, object data) |
Converts from KNX Data Point Type. | |
KnxClientHelper | OnStatusChanged (Action< bool > statusChangeAction) |
Sets the function to call when the status of the connection changes. | |
KnxClientHelper | OnEventReceived (Action< string, string > eventAction) |
Sets the function to call when a new event is received. | |
KnxClientHelper | OnStatusReceived (Action< string, string > statusAction) |
Sets the function to call when a new status is received. | |
KNX client helper. Class instance accessor: KnxClient
KnxClientHelper EndPoint | ( | string | host, |
int | port | ||
) |
Sets the endpoint to connect to.
host | Endpoint address. |
port | Endpoint port. |
KnxClientHelper EndPoint | ( | string | host | ) |
Sets the endpoint to connect to.
host | Endpoint address. |
KnxClientHelper EndPoint | ( | int | port | ) |
Sets the endpoint to connect to.
port | Endpoint port. |
KnxClientHelper EndPoint | ( | string | localIp, |
int | localPort, | ||
string | remoteIp, | ||
int | remotePort | ||
) |
Sets the endpoint to connect to using tunneling.
localIp | Local IP. |
localPort | Local port. |
remoteIp | Remote IP. |
remotePort | Remote port. |
KnxClientHelper Action | ( | string | address, |
bool | data | ||
) |
Sends action data to the specified address.
address | Address. |
data | boolean action value. |
KnxClientHelper Action | ( | string | address, |
int | data | ||
) |
Sends action data to the specified address.
address | Address. |
data | int action value. |
KnxClientHelper Action | ( | string | address, |
byte | data | ||
) |
Sends action data to the specified address.
address | Address. |
data | byte action value. |
KnxClientHelper Action | ( | string | address, |
byte[] | data | ||
) |
Sends action data to the specified address.
address | Address. |
data | byte array action value. |
KnxClientHelper Action | ( | string | address, |
string | data | ||
) |
Sends action data to the specified address.
address | Address. |
data | string action value. |
KnxClientHelper Action | ( | string | address, |
object | data | ||
) |
Sends action data to the specified address.
address | Address. |
data | generic object action value. |
KnxClientHelper RequestStatus | ( | string | address | ) |
Requests the status.
address | Address. |
byte[] ConvertToDpt | ( | string | type, |
object | data | ||
) |
Converts to KNX Data Point Type.
type | Type |
data | Data |
object ConvertFromDpt | ( | string | type, |
object | data | ||
) |
Converts from KNX Data Point Type.
type | Type. |
data | Data. |
KnxClientHelper OnStatusChanged | ( | Action< bool > | statusChangeAction | ) |
Sets the function to call when the status of the connection changes.
statusChangeAction | Function or inline delegate. |
KnxClientHelper OnEventReceived | ( | Action< string, string > | eventAction | ) |
Sets the function to call when a new event is received.
eventAction | Function or inline delegate. |
KnxClientHelper OnStatusReceived | ( | Action< string, string > | statusAction | ) |
Sets the function to call when a new status is received.
statusAction | Function or inline delegate. |