From 271015c6e90c195103cc7f34eda87966acd74dcc Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期日, 13 十二月 2020 20:46:12 +0800
Subject: [PATCH] 2020121301

---
 HDL_ON/Entity/Function/Scene.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/Entity/Function/Scene.cs b/HDL_ON/Entity/Function/Scene.cs
index 16272e8..67d0c57 100644
--- a/HDL_ON/Entity/Function/Scene.cs
+++ b/HDL_ON/Entity/Function/Scene.cs
@@ -27,9 +27,9 @@
         public Scene()
         {
             sid = NewSid();
-            if (!DB_ResidenceData.residenceData.CheckWhetherGatewayIdIsNull())
+            if (!DB_ResidenceData.Instance.CheckWhetherGatewayIdIsNull())
             {
-                gatewayId = DB_ResidenceData.residenceData.HomeGateway.gatewayId;
+                gatewayId = DB_ResidenceData.Instance.HomeGateway.gatewayId;
             }
         }
         /// <summary>

--
Gitblit v1.8.0