From df8d4ab0ef17a7fab5dea9c47bbd9f4d4a2a40b0 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期一, 15 三月 2021 14:55:49 +0800
Subject: [PATCH] 合并前上传一个版本

---
 HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs b/HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs
index f4713bc..b3624ab 100644
--- a/HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs
+++ b/HDL_ON/UI/UI2/2-Classification/ClassificationPageBLL.cs
@@ -44,6 +44,10 @@
                             vv = ShowFunction.Light;
                             break;
                         case SPK.ElectricSocket:
+                        case SPK.ElectricTuyaAirCleaner:
+                        case SPK.ElectricTuyaFan:
+                        case SPK.ElectricTuyaWaterValve:
+                        case SPK.ElectricTuyaWeepRobot:
                             vv = ShowFunction.Electric;
                             break;
                     }
@@ -332,11 +336,15 @@
                 view.AddChidren(waitPage);
                 waitPage.BackgroundColor = 0x00000000;
                 waitPage.Start("");
+
+
                 new System.Threading.Thread(() =>
                 {
                     try
                     {
-                        if (DB_ResidenceData.Instance.GatewayType == 0 && !Control.Ins.IsRemote)
+                        //鍏ㄥ紑鍏ㄥ叧
+                        //if (DB_ResidenceData.Instance.GatewayType == 0 && !Control.Ins.IsRemote)
+                        if (Control.Ins.GatewayOnline_Local)
                         {
                             switch (functionCategory)
                             {

--
Gitblit v1.8.0