Enhance DALI interface: add gateway parameter to scene and color methods for improved command handling

This commit is contained in:
Tony
2026-05-02 21:32:39 +08:00
parent 9f9628db39
commit 16907857c0
6 changed files with 199 additions and 37 deletions
+3 -3
View File
@@ -131,9 +131,9 @@ class DaliBase {
std::optional<int> getGroup(int a);
bool setGroup(int a, int value);
std::optional<int> getScene(int a, int b);
bool setScene(int a, int b);
std::map<int, int> getScenes(int a);
std::optional<int> getScene(int a, int b, int gateway = -1);
bool setScene(int a, int b, int gateway = -1);
std::map<int, int> getScenes(int a, int gateway = -1);
std::optional<int> getStatus(int a);
std::optional<bool> getControlGearPresent(int a);