From 0bd4d1702248641f180345a086e5b3f58e6eb04c Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期二, 15 十二月 2020 17:13:23 +0800 Subject: [PATCH] 2020-12-15 1.更新 --- HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs index ab6bb14..19d5c5a 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs @@ -18,7 +18,7 @@ ///// </summary> //public static string gatewayId = DriverLayer.Control.Ins.GatewayId; - public static string homeId = UserInfo.Current.CurReginID; + //public static string homeId = UserInfo.Current.CurReginID; /// <summary> /// 缃戝叧ID(鑾峰彇鍢変箰缃戝叧ID) @@ -27,18 +27,18 @@ { get { - if (Entity.DB_ResidenceData.residenceData.HomeGateway == null) + if (Entity.DB_ResidenceData.Instance.HomeGateway == null) { - return ""; + return DriverLayer.Control.Ins.GatewayId; } - return Entity.DB_ResidenceData.residenceData.HomeGateway.gatewayId; + return Entity.DB_ResidenceData.Instance.HomeGateway.gatewayId; } } /// <summary> /// 浣忓畢ID /// </summary> - public static string homeId = Entity.DB_ResidenceData.residenceData.residecenInfo.RegionID; + public static string homeId = Entity.DB_ResidenceData.Instance.CurrentRegion.RegionID; /// <summary> -- Gitblit v1.8.0