From 0d1b995a55d2c9a049550b28f72ca0265ca588f0 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期四, 04 三月 2021 19:49:58 +0800 Subject: [PATCH] 2021-3-4-2 --- HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Method.cs | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Method.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Method.cs index 0790aa6..4825826 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Method.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Method.cs @@ -23,6 +23,7 @@ Control control = new Control(); control.name = name; control.type = "learn"; + control.spk = "ir.learn"; ThreadAddControl(control, frame, action); @@ -57,7 +58,8 @@ loading.Hide(); if (responsePackNew != null && responsePackNew.Code == "0" && responsePackNew.Data.ToString() != "") { - if (!string.IsNullOrEmpty(Sid("sid"))) + string sid = responsePackNew.Data.ToString(); + if (string.IsNullOrEmpty(Sid(sid))) { //鐩戝惉Mqtt鎺ㄩ�佷笅鏉ョ姸鎬佺爜鍋氭彁绀� View.FailView failView = new View.FailView(); -- Gitblit v1.8.0