Browse Source

超声表增加P值解析

419638610@qq.com 1 month ago
parent
commit
1d1767f023
1 changed files with 1 additions and 1 deletions
  1. 1 1
      NB_IOT_TCP_HP_SOCKET/WWKJUtil/ProtocolAnalysisTools.cs

+ 1 - 1
NB_IOT_TCP_HP_SOCKET/WWKJUtil/ProtocolAnalysisTools.cs

@@ -238,7 +238,7 @@ namespace NB_IOT_TCP_HP_SOCKET.WWKJUtil
                         num7++;
                         if (strReturnData.Substring((strReturnData.Length - 1) - num5, 1) == "1")
                         {
-                            if (num5 == 11) {
+                            if (num5 == 11 || num5 == 12) {
                                 //CellMonitorConvertByType.ConvertData(data, 20 + ((i * (num + 1)) * 4) + ((num7) * 4), "int", "", out string str5);
                                 string str5 = BitConverter.ToString(data, 20 + ((i * (num + 1)) * 4) + ((num7) * 4), 4);