aqhome-react, aqhome: added units/functions for handling local variables.
This commit is contained in:
@@ -18,8 +18,22 @@
|
||||
|
||||
AQHREACT_UNIT *AqHomeReact_UnitVarChanges_new(AQHOME_REACT *aqh);
|
||||
|
||||
/**
|
||||
* Called from AqHomeReact when a value on the server changed.
|
||||
*/
|
||||
void AqHomeReact_UnitVarChanges_ValueUpdated(AQHREACT_UNIT *unit, const AQH_VALUE *value, uint64_t timestamp, double data);
|
||||
|
||||
/**
|
||||
* Called from AqHomeReact when a local variable changed (see @ref AqHomeReact_SetDoubleValue).
|
||||
*/
|
||||
void AqHomeReact_UnitVarChanges_DoubleVarUpdated(AQHREACT_UNIT *unit, const char *varName, uint64_t timestamp, double data);
|
||||
|
||||
/**
|
||||
* Called from AqHomeReact when a local variable changed (see @ref AqHomeReact_SetCharValue).
|
||||
*/
|
||||
void AqHomeReact_UnitVarChanges_StringVarUpdated(AQHREACT_UNIT *unit, const char *varName, uint64_t timestamp, const char *data);
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user