From bfb3d0d4879dca8c59ff287c92f5113162f3a33a Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期二, 27 八月 2024 15:22:48 +0800 Subject: [PATCH] 代码备份 --- OnPro/HDL_ON/Entity/DB_ResidenceData.cs | 16 ++-------------- 1 files changed, 2 insertions(+), 14 deletions(-) diff --git a/OnPro/HDL_ON/Entity/DB_ResidenceData.cs b/OnPro/HDL_ON/Entity/DB_ResidenceData.cs index 9a69000..63820e1 100644 --- a/OnPro/HDL_ON/Entity/DB_ResidenceData.cs +++ b/OnPro/HDL_ON/Entity/DB_ResidenceData.cs @@ -29,7 +29,7 @@ { if (MainPage.NoLoginMode) { - return new RegionInfoRes() { homeName = "HDL Home" ,id = "text000001"}; + return new RegionInfoRes() { homeName = "My Home" ,id = "text000001"}; } else { @@ -187,19 +187,7 @@ { get { - //#if DEBUG - //return 0; - //#endif - if (HomeGateway == null) - return -1; - if (HomeGateway.gatewayType != "BUSUDPGATEWAY") - { - return 1; - } - else - { - return 0; - } + return 1; } } /// <summary> -- Gitblit v1.8.0