aqhome-react: more work on modules and networks.
- tested AND network and new suntime units. - add unit XML property "invert" (inverts output for logical units)
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#include "aqhome-react/units/u_lowpass.h"
|
||||
#include "aqhome-react/units/u_highpass.h"
|
||||
#include "aqhome-react/units/u_zeroposnegstring.h"
|
||||
#include "aqhome-react/units/u_suntime.h"
|
||||
|
||||
|
||||
#include <gwenhywfar/misc.h>
|
||||
@@ -168,6 +169,8 @@ AQHREACT_UNIT *AqHomeReact_CreateUnitByName(AQHOME_REACT *aqh, const char *unitT
|
||||
return AqHomeReact_UnitHighPass_new(aqh);
|
||||
else if (strcasecmp(unitType, "zeroPosNegString")==0)
|
||||
return AqHomeReact_UnitZeroPosNegString_new(aqh);
|
||||
else if (strcasecmp(unitType, "suntime")==0)
|
||||
return AqHomeReact_UnitSuntime_new(aqh);
|
||||
else {
|
||||
AQHREACT_UNIT *unit;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user