From 4f2dbd1f6a1ec2d9c3c39b4a37b0b7c9ddece4aa Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期四, 23 九月 2021 15:24:01 +0800 Subject: [PATCH] 主页刷新优化 --- HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirSend.cs | 11 ++++++----- 1 files changed, 6 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 7b58122..6f4b31f 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirSend.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirSend.cs @@ -33,9 +33,10 @@ { get { - return Entity.DB_ResidenceData.Instance.CurrentRegion.RegionID; + return Entity.DB_ResidenceData.Instance.CurrentRegion.id; } } + /// <summary> /// 涔愭subAccessToken @@ -49,7 +50,7 @@ { get { - return Entity.DB_ResidenceData.Instance.CurrentRegion.IsOthreShare; + return Entity.DB_ResidenceData.Instance.CurrentRegion.isOtherShare; } } /// <summary> @@ -177,13 +178,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