mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
update 充电桩通信日志增加原始报文信息
This commit is contained in:
@@ -72,25 +72,7 @@ public class PileMsgRecordServiceImpl implements IPileMsgRecordService {
|
|||||||
} else {
|
} else {
|
||||||
vo.setDescription(pileMsgRecord.getJsonMsg());
|
vo.setDescription(pileMsgRecord.getJsonMsg());
|
||||||
}
|
}
|
||||||
// if (StringUtils.equals(YKCUtils.frameType2Str(YKCFrameTypeCode.LOGIN_CODE.getBytes()), frameType)) {
|
vo.setOriginalMsg(pileMsgRecord.getOriginalMsg());
|
||||||
// // 登录
|
|
||||||
// vo.setDescription("充电桩登录认证");
|
|
||||||
// } else if (StringUtils.equals(YKCUtils.frameType2Str(YKCFrameTypeCode.REMOTE_RESTART_CODE.getBytes()), frameType)) {
|
|
||||||
// // 远程重启
|
|
||||||
// vo.setDescription("远程重启");
|
|
||||||
// } else if (StringUtils.equals(YKCUtils.frameType2Str(YKCFrameTypeCode.REMOTE_CONTROL_START_CODE.getBytes()), frameType)) {
|
|
||||||
// // 远程启动充电
|
|
||||||
// vo.setDescription("运营平台远程控制启机");
|
|
||||||
// }else if (StringUtils.equals(YKCUtils.frameType2Str(YKCFrameTypeCode.REMOTE_STOP_CHARGING_CODE.getBytes()), frameType)) {
|
|
||||||
// // 远程停机
|
|
||||||
// vo.setDescription("运营平台远程停机");
|
|
||||||
// }else if (StringUtils.equals(YKCUtils.frameType2Str(YKCFrameTypeCode.TRANSACTION_RECORDS_CODE.getBytes()), frameType)) {
|
|
||||||
// // 交易记录
|
|
||||||
// vo.setDescription("交易结算");
|
|
||||||
// }else if (StringUtils.equals(YKCUtils.frameType2Str(YKCFrameTypeCode.PILE_LOG_OUT.getBytes()), frameType)) {
|
|
||||||
// // 退出
|
|
||||||
// vo.setDescription("充电桩退出");
|
|
||||||
// }
|
|
||||||
vo.setPileSn(pileMsgRecord.getPileSn());
|
vo.setPileSn(pileMsgRecord.getPileSn());
|
||||||
vo.setCreateTime(pileMsgRecord.getCreateTime());
|
vo.setCreateTime(pileMsgRecord.getCreateTime());
|
||||||
vo.setFrameType(frameType);
|
vo.setFrameType(frameType);
|
||||||
|
|||||||
@@ -36,4 +36,9 @@ public class PileCommunicationLogVO {
|
|||||||
*/
|
*/
|
||||||
private String description;
|
private String description;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 原始报文
|
||||||
|
*/
|
||||||
|
private String originalMsg;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -215,6 +215,12 @@
|
|||||||
width="200"
|
width="200"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="originalMsg"
|
||||||
|
label="原始报文"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<!--分页-->
|
<!--分页-->
|
||||||
<pagination
|
<pagination
|
||||||
|
|||||||
Reference in New Issue
Block a user