From f7e24de32b56107b85cd9ed8fc3439c83d4c0d9e Mon Sep 17 00:00:00 2001 From: tzy <hxb@hdlchina.com.cn> Date: 星期三, 09 六月 2021 17:39:00 +0800 Subject: [PATCH] 添加红外宝时,把住宅id也发给它 --- HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirSend.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirSend.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirSend.cs index 169cad3..ced74cc 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirSend.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirSend.cs @@ -33,7 +33,7 @@ { get { - return Entity.DB_ResidenceData.Instance.CurrentRegion.RegionID; + return Entity.DB_ResidenceData.Instance.CurrentRegion.id; } } /// <summary> @@ -43,7 +43,7 @@ { get { - return Entity.DB_ResidenceData.Instance.CurrentRegion.IsOthreShare; + return Entity.DB_ResidenceData.Instance.CurrentRegion.isOtherShare; } } /// <summary> @@ -171,13 +171,13 @@ var responsePackNew = RequestServerhomeId(jObject, NewAPI.API_POST_Ir_CodeStudy); if (responsePackNew != null && responsePackNew.Code == "0" && responsePackNew.Data.ToString() != "") { - Method method = new Method(); - Method.buttondata = ""; + PirMethod method = new PirMethod(); + PirMethod.buttondata = ""; cloud = method.MqttDate("鎸夐敭", control.sid, 25); } else { - Method method = new Method(); + PirMethod method = new PirMethod(); method.ErrorShow(responsePackNew, ""); } } -- Gitblit v1.8.0