From 46a03f3b19b39cfa6e00b7af41c1ef90ae812e26 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 10 七月 2023 16:47:46 +0800 Subject: [PATCH] Update HdlEzvizDroid.dll --- HDL_ON/UI/UI2/4-PersonalCenter/CombinedDimming/GroupControl.cs | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/CombinedDimming/GroupControl.cs b/HDL_ON/UI/UI2/4-PersonalCenter/CombinedDimming/GroupControl.cs index 30fbc37..81ce887 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/CombinedDimming/GroupControl.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/CombinedDimming/GroupControl.cs @@ -26,7 +26,7 @@ /// </summary> public string NewGroupControlSid() { - string sceneId = ""; + string Id = ""; try { string sOidBeginsWith = "000101";//鍘傚晢 + 閫氳鏂瑰紡 @@ -53,23 +53,23 @@ //sTimeSpan = "00000000"; } - sceneId = sOidBeginsWith + sTimeSpan; + Id = sOidBeginsWith + sTimeSpan; - sceneId += "AA"; - sceneId += "AA01"; + Id += "AA"; + Id += "AA01"; int maxId = 1; Random random = new Random(Guid.NewGuid().GetHashCode()); maxId = random.Next(10); - sceneId += (maxId + 1).ToString("X4"); - sceneId += "0000"; + Id += (maxId + 1).ToString("X4"); + Id += "0000"; } catch { - return sceneId; + return Id; } - return sceneId; + return Id; } /// <summary> /// 缇ゆ帶鍚嶇О -- Gitblit v1.8.0