From f9181a9c8125136f597add7c30cb2ff508d54ba7 Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期四, 25 七月 2024 17:34:32 +0800 Subject: [PATCH] 2024年07月25日17:33:40 --- HDL_ON/DAL/Server/NewApiRes.cs | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/HDL_ON/DAL/Server/NewApiRes.cs b/HDL_ON/DAL/Server/NewApiRes.cs index 2d97f12..41a7f5e 100644 --- a/HDL_ON/DAL/Server/NewApiRes.cs +++ b/HDL_ON/DAL/Server/NewApiRes.cs @@ -638,6 +638,23 @@ /// </summary> public bool isSupportGroupControl = false; + + public string linkDriverVersion = "3.0.0"; + /// <summary> + /// 鏄惁鏀寔鍦烘櫙鎺у埗鑷姩鍖栦娇鑳� + /// </summary> + public bool isSupportSceneEnableAutomation + { + get + { +#if DEBUG + linkDriverVersion = "V03.08.00"; +#endif + return string.Compare(linkDriverVersion, "V03.07.99", false) == 1 ? true : false; + + } + } + ///// <summary> ///// ///// </summary> @@ -1379,7 +1396,7 @@ /// </summary> public string childAccountId; /// <summary> - /// 鍒嗕韩绫诲瀷 1.ROOM 2.DEVICE 3.SCENE + /// 鍒嗕韩绫诲瀷 1.ROOM 2.DEVICE 3.SCENE 4.DEVICE_GROUP_CONTROL /// </summary> public string shareType = "DEVICE"; } -- Gitblit v1.8.0