jek 3 hónapja
szülő
commit
38f5c09170

+ 1 - 1
src/main/java/com/zhili/stationserver/component/stationserver/handler/StationMessageHandler.java

@@ -163,7 +163,7 @@ public class StationMessageHandler extends ChannelInboundHandlerAdapter {
             PerceptionUploadAvailableBatsDto dto = parse(stationMessage, PerceptionUploadAvailableBatsDto.class);
             dto.setStationCode(stationCode);
             String topic = serverConfig.getServiceCenterName() + "_PERCEPTION_BAT_AVAILABLE";
-            //log.info("================可用电池数:{}",dto);
+            log.info("================可用电池数:{}",dto);
             kafkaTemplate.send(topic, JSON.toJSONString(dto));
         } else if (command.equals(StationMessage.CommandType.PERCEPTION_PLC)) {
             //plc感知