修复空调动作显示异常问题

This commit is contained in:
2026-03-05 18:06:07 +08:00
parent c1299e6bd7
commit 20e71513ef

View File

@@ -462,15 +462,16 @@ Public Class TableInteraction
'Case
' result = $"{buf(2)}"
'Case
' result = $"{buf(2)}"
' result = $"{buf(2)}"控制温控器
Case "Temp"
If buf.Length > 5 Then
If buf.Length > 5 AndAlso cbuf(7).Equals("控制温控器") Then
'cbuf = buf(3).Split(" ")
'result = $"{cbuf(cbuf.Length - 1)}"
cbuf = buf(4).Split(" ")
result = $"{cbuf(cbuf.Length - 1)}"
cbuf = buf(5).Split(" ")
result = $"{result}{cbuf(cbuf.Length - 1)}"
End If
Case Else