1、命令行增加第二DTU配置

This commit is contained in:
weidong 2024-09-01 16:20:47 +08:00
parent cb364256f4
commit a7f8df9f97
3 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ public class APIController extends BasicController{
// 命令行显示
String rxInfo = "RX "+ dateFormat.format(System.currentTimeMillis())+
" "+deviceId+" ";
if(msgType == 0xd31a){
if(msgType == 0xd31a || msgType == 0xd31b){
//转成字符串
String dtuAck = configAck.substring(9*2);
rxInfo += configAck+"("+HexUtil.HexString2String(dtuAck)+")";

View File

@ -140,7 +140,7 @@
<script type="text/html" id="typeTrans">
{{# if(d.type == 0){ }}
<span>GNSS</span>
{{# } else if(d.type == 1){ }}
{{# } else if(d.type == 10){ }}
<span >DTU</span>
{{# } else if(d.type == 2){ }}
<span >MPU</span>

View File

@ -83,7 +83,7 @@
<script type="text/html" id="typeTrans">
{{# if(d.type == 0){ }}
<span>GNSS</span>
{{# } else if(d.type == 1){ }}
{{# } else if(d.type == 10){ }}
<span >DTU</span>
{{# } else if(d.type == 2){ }}
<span >MPU</span>