From 88b0bfe8a27e15717395e643db5814f34e3fc22f Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 09 十二月 2022 16:30:48 +0800
Subject: [PATCH] 1.1

---
 SmartHome/UI/SimpleControl/CommonPage.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/SmartHome/UI/SimpleControl/CommonPage.cs b/SmartHome/UI/SimpleControl/CommonPage.cs
index 4910531..7036563 100644
--- a/SmartHome/UI/SimpleControl/CommonPage.cs
+++ b/SmartHome/UI/SimpleControl/CommonPage.cs
@@ -88,7 +88,7 @@
                             return;
                         }
                         DeviceType deviceType = (DeviceType)(usefullBytes [2] * 256 + usefullBytes [3]);
-                        if (usefullBytes [2] == 254 && usefullBytes [3] < 7) {
+                        if (usefullBytes [2] == 254 && usefullBytes [3] < 8) {
                             GatewayBase gatewayBase = new GatewayBase ();
                             gatewayBase.DeviceTypeNumber = deviceTypeNumber;
                             gatewayBase.SubnetID = subnetID;

--
Gitblit v1.8.0