报文处理

This commit is contained in:
attiya 2025-04-15 10:21:08 +08:00
parent ec200d4cac
commit 7616f70bb1
2 changed files with 3 additions and 0 deletions

View File

@ -88,4 +88,6 @@ public class ResGPSDto {
* 中文位置 * 中文位置
*/ */
private String chineseLocation; private String chineseLocation;
private String ecuSn;
} }

View File

@ -51,6 +51,7 @@ public class ReoprtHandler {
if (resGpsDto.getSoc() < 20){ if (resGpsDto.getSoc() < 20){
//TODO:生成换电工单 //TODO:生成换电工单
} }
resGpsDto.setEcuSn(deviceId);
resGpsDto.setHelmetExit(helmet); resGpsDto.setHelmetExit(helmet);
resGpsDto.setAccOn(acc); resGpsDto.setAccOn(acc);
resGpsDto.setWheelLocked(wheelLocked); resGpsDto.setWheelLocked(wheelLocked);