From 33470790ac0069c7734fb1a5b8b07350950c6dfe Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 24 十一月 2020 15:51:31 +0800 Subject: [PATCH] 20201124,整理mqtt订阅 --- HDL_ON/Entity/DB_ResidenceData.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/HDL_ON/Entity/DB_ResidenceData.cs b/HDL_ON/Entity/DB_ResidenceData.cs index ff40908..755e721 100644 --- a/HDL_ON/Entity/DB_ResidenceData.cs +++ b/HDL_ON/Entity/DB_ResidenceData.cs @@ -33,11 +33,11 @@ } else { - var curRegion = MainPage.LoginUser.regionList.Find((obj) => obj.RegionID == CurReginID); + var curRegion = UserInfo.Current.regionList.Find((obj) => obj.RegionID == CurReginID); //if (curRegion == null) //{ - // CurReginID = MainPage.LoginUser.regionList[0].RegionID; - // return MainPage.LoginUser.regionList[0]; + // CurReginID = UserInfo.Current.regionList[0].RegionID; + // return UserInfo.Current.regionList[0]; //} return curRegion; } @@ -420,7 +420,7 @@ /// <summary> /// 褰撳墠浣忓畢鐨勭綉鍏矼AC /// </summary> - public string residenceGatewayMAC = "0281B9078C000000";// "00964E19C4467B1E"; + public string residenceGatewayMAC = "4E47323347591243";//"0281B9078C000000";// "00964E19C4467B1E"; /// <summary> /// 淇濆瓨浣忓畢鏁版嵁 /// </summary> @@ -672,7 +672,7 @@ case FunctionCategory.Thermostat: if (DB_ResidenceData.residenceData.GatewayType == 0) { - DriverLayer.Control.ins.SendReadCommand(function); + DriverLayer.Control.Ins.SendReadCommand(function); } break; } -- Gitblit v1.8.0