From dd01259a0590b6e6954470aa6ddb7658baa79fa7 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期二, 18 六月 2024 16:53:46 +0800
Subject: [PATCH] 备份

---
 OnPro/HDL_ON/Entity/DB_ResidenceData.cs |   14 +-------------
 1 files changed, 1 insertions(+), 13 deletions(-)

diff --git a/OnPro/HDL_ON/Entity/DB_ResidenceData.cs b/OnPro/HDL_ON/Entity/DB_ResidenceData.cs
index 5146cae..63820e1 100644
--- a/OnPro/HDL_ON/Entity/DB_ResidenceData.cs
+++ b/OnPro/HDL_ON/Entity/DB_ResidenceData.cs
@@ -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