|
@@ -135,7 +135,7 @@ public class HardwareCommDebugController extends BaseController {
|
|
|
return AjaxResult.success();
|
|
|
}
|
|
|
|
|
|
- @GetMapping(value = "/buildMsg/")
|
|
|
+ @GetMapping(value = "/buildSendMsgAR/")
|
|
|
@ApiOperation("拼写带CRC16校验的命令,但是不发送")
|
|
|
public AjaxResult buildSendMsg(@RequestParam final String simNum,
|
|
|
@RequestParam final String orn,
|
|
@@ -145,7 +145,7 @@ public class HardwareCommDebugController extends BaseController {
|
|
|
return commBuildService.buildSendMsgAR(simNum, orn, cmd, cmdId, data);
|
|
|
}
|
|
|
|
|
|
- @GetMapping(value = "/buildMsgAndSend/{seatId}")
|
|
|
+ @GetMapping(value = "/buildSendMsgAndSendAR/{seatId}")
|
|
|
@ApiOperation("拼写带CRC16校验的命令,并发送,返回响应结果")
|
|
|
public AjaxResult buildMsgAndSend(@PathVariable("seatId") final Long seatId,
|
|
|
@RequestParam final String simNum,
|
|
@@ -156,6 +156,13 @@ public class HardwareCommDebugController extends BaseController {
|
|
|
return commBuildService.buildSendMsgAndSendAR(seatId, simNum, orn, cmd, cmdId, data);
|
|
|
}
|
|
|
|
|
|
+ @GetMapping(value = "/buildSendRawMsgAndSendAR/{seatId}")
|
|
|
+ @ApiOperation(" 拼写带CRC16校验的原生命令,并发送,返回响应结果")
|
|
|
+ public AjaxResult buildMsgAndSend(@PathVariable("seatId") final Long seatId,
|
|
|
+ @RequestParam final String raw) {
|
|
|
+ return commBuildService.buildSendRawMsgAndSendAR(seatId, raw);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* todo:
|
|
|
*
|