|
@@ -149,6 +149,12 @@ public class KafkaMessageHandler {
|
|
chargeStopDto.setGunNo(dto.getGunNo());
|
|
chargeStopDto.setGunNo(dto.getGunNo());
|
|
chargeStopDto.setChgType(dto.getChgType());
|
|
chargeStopDto.setChgType(dto.getChgType());
|
|
sendToChannel(dto.getStationConnInfo().getConnIdStr(), chargeStopDto);
|
|
sendToChannel(dto.getStationConnInfo().getConnIdStr(), chargeStopDto);
|
|
|
|
+ }else if ("autoCharge".equals(dto.getType())) {
|
|
|
|
+ ChargeStopDto chargeStopDto = new ChargeStopDto();
|
|
|
|
+ chargeStopDto.setChargerId(dto.getChargerId());
|
|
|
|
+ chargeStopDto.setGunNo(dto.getGunNo());
|
|
|
|
+ chargeStopDto.setChgType(dto.getChgType());
|
|
|
|
+ sendToChannel(dto.getStationConnInfo().getConnIdStr(), chargeStopDto);
|
|
}
|
|
}
|
|
ack.acknowledge();
|
|
ack.acknowledge();
|
|
}
|
|
}
|