From 2bf7bc432bf94d4610d0cabc5784a187207ac423 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期三, 24 三月 2021 14:10:21 +0800 Subject: [PATCH] 1.irac优化 --- HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirSend.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirSend.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirSend.cs index 957fb02..44023c0 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirSend.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirSend.cs @@ -150,7 +150,7 @@ /// 绾㈠鐮佸涔� /// </summary> /// <returns></returns> - public static void CodeStudy(Control control,AttributesStatus buttonObj,Action<ResponsePackNew> action) + public static void CodeStudy(string deviceId,AttributesStatus buttonObj,Action<ResponsePackNew> action) { var job = new JObject { }; job.Add("key", buttonObj.key); @@ -160,7 +160,7 @@ job.Add("value", valuejArray); var jArray = new JArray { }; jArray.Add(job); - var jObject = new JObject { { "homeId", HomeId }, { "deviceId", control.deviceId }, { "attributes", jArray } }; + var jObject = new JObject { { "homeId", HomeId }, { "deviceId", deviceId }, { "attributes", jArray } }; ResponsePackNew responsePackNew = null; new System.Threading.Thread(() => { -- Gitblit v1.8.0