diff --git a/BLV_Studio/BLV_Studio.vbproj b/BLV_Studio/BLV_Studio.vbproj index 2a87421..7c64a64 100644 --- a/BLV_Studio/BLV_Studio.vbproj +++ b/BLV_Studio/BLV_Studio.vbproj @@ -35,7 +35,7 @@ 4.0.0.5 true index.html - 99 + 101 4.4.3.%2a false true diff --git a/BLV_Studio/FrmMain.vb b/BLV_Studio/FrmMain.vb index 26c02e5..dc03f2a 100644 --- a/BLV_Studio/FrmMain.vb +++ b/BLV_Studio/FrmMain.vb @@ -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 diff --git a/BLV_Studio/My Project/AssemblyInfo.vb b/BLV_Studio/My Project/AssemblyInfo.vb index 9794cc8..4c1b12b 100644 --- a/BLV_Studio/My Project/AssemblyInfo.vb +++ b/BLV_Studio/My Project/AssemblyInfo.vb @@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices '通过使用 "*",如下所示: ' - - + +