Enhance DALI interface: add gateway parameter to scene and color methods for improved command handling
This commit is contained in:
+4
-3
@@ -180,15 +180,16 @@ class DaliDT8 {
|
||||
std::optional<int> getPrimaryYRaw(int a, int n);
|
||||
std::optional<int> getPrimaryTy(int a, int n);
|
||||
|
||||
std::optional<SceneColorReport> getSceneColorReport(int a, int sense);
|
||||
std::vector<double> getSceneColor(int a, int sense);
|
||||
std::optional<SceneColorReport> getSceneColorReport(int a, int sense, int gateway = -1);
|
||||
std::vector<double> getSceneColor(int a, int sense, int gateway = -1);
|
||||
|
||||
// Store / config
|
||||
bool storePrimaryTy(int a, int n, int ty);
|
||||
bool storePrimaryXY(int a, int n, double x, double y);
|
||||
bool storeSceneSnapshot(int address, int scene, int brightness,
|
||||
Dt8SceneStoreColorMode colorMode = Dt8SceneStoreColorMode::disabled,
|
||||
int colorTemperature = 0, int red = 0, int green = 0, int blue = 0);
|
||||
int colorTemperature = 0, int red = 0, int green = 0, int blue = 0,
|
||||
int gateway = -1);
|
||||
bool storePowerOnLevelSnapshot(int address, int level);
|
||||
bool storeSystemFailureLevelSnapshot(int address, int level);
|
||||
std::optional<Dt8LevelColorReport> getPowerOnLevelColorReport(int a);
|
||||
|
||||
Reference in New Issue
Block a user