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/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