修复设备回路未设置对应的显示和离线

This commit is contained in:
2026-03-19 09:13:41 +08:00
parent 6d4c6c4e64
commit 3bc3cc5495
3 changed files with 10 additions and 7 deletions

View File

@@ -5029,9 +5029,7 @@ Public Class FrmMain
Dim devtype, devloop As String
devloop = addr.Substring(6, 3)
If devloop.Equals("000") Then
Return mSaveRoomTypeModal
End If
devtype = addr.Substring(0, 3)
Select Case devtype
Case "001"
@@ -5067,7 +5065,12 @@ Public Class FrmMain
mSaveRoomTypeModal.OfflineDisplay = 1
Case "009" '空气质量
Case Else
Return Nothing
If devloop.Equals("000") Then
Return mSaveRoomTypeModal
Else
Return Nothing
End If
End Select
Return mSaveRoomTypeModal
End Function