From f2daea12e6635b252fbb7f5bd3dcfc41a35d47f1 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 09 十二月 2022 16:31:35 +0800
Subject: [PATCH] 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