Commit a27f0409 authored by duanruiming's avatar duanruiming

[update] 优化服务名称

parent 22b4a03d
......@@ -59,7 +59,7 @@ public class NettyClient {
channelFuture.channel().closeFuture().syncUninterruptibly();
log.warn("udp服务关闭!");
}));
log.info("udp服务正在运行,端口:{}", remotePort);
log.info("udp服务正在运行,端口:{}", localPort);
NettyClient.udpChannelFuture = channelFuture;
}
......
......@@ -14,7 +14,7 @@ import org.springframework.stereotype.Service;
*/
@Service
@Slf4j
public class HeartBeatFactory implements CommandResponseFactory {
public class HeartBeatService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return commandPojo.getResponseMsg();
......@@ -30,7 +30,5 @@ public class HeartBeatFactory implements CommandResponseFactory {
String str = "55ac00000000000017050f11060b0000000000000000000000000000000000";
MessageResultPojo resultPojo = NettyClient.sendMessage("10.102.1.204", 5050, str, "55ab", 300);
log.info("信号返回字符串:{}", resultPojo.getHexMessageResult());
}
}
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:08
*/
@Service
public class GetFaultInfoFactory implements CommandResponseFactory {
public class GetAlarmInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:05
*/
@Service
public class GetBaseInfoFactory implements CommandResponseFactory {
public class GetBaseInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:07
*/
@Service
public class GetSchedulesInfoFactory implements CommandResponseFactory {
public class GetDailyPlanInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:06
*/
@Service
public class GetDetectorInfoFactory implements CommandResponseFactory {
public class GetDetectorInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:05
*/
@Service
public class GetDeviceInfoFactory implements CommandResponseFactory {
public class GetDeviceInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:08
*/
@Service
public class GetAlarmInfoFactory implements CommandResponseFactory {
public class GetFaultInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:06
*/
@Service
public class GetLightsGroupInfoFactory implements CommandResponseFactory {
public class GetLightsGroupInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:06
*/
@Service
public class GetPhaseInfoFactory implements CommandResponseFactory {
public class GetPhaseInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:07
*/
@Service
public class GetPhaseSecurityInfoFactory implements CommandResponseFactory {
public class GetPhaseSecurityInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:07
*/
@Service
public class GetRunningStateInfoFactory implements CommandResponseFactory {
public class GetRunningStateInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:07
*/
@Service
public class GetDailyPlanInfoFactory implements CommandResponseFactory {
public class GetSchedulesInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:07
*/
@Service
public class GetSchemeInfoFactory implements CommandResponseFactory {
public class GetSchemeInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:06
*/
@Service
public class GetStageInfoFactory implements CommandResponseFactory {
public class GetStageInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:08
*/
@Service
public class GetTrafficDataInfoFactory implements CommandResponseFactory {
public class GetTrafficDataInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:13
*/
@Service
public class SetAlarmInfoFactory implements CommandResponseFactory {
public class SetAlarmInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:10
*/
@Service
public class SetBaseInfoFactory implements CommandResponseFactory {
public class SetBaseInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:13
*/
@Service
public class SetControlInfoFactory implements CommandResponseFactory {
public class SetControlInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:11
*/
@Service
public class SetSchedulesInfoFactory implements CommandResponseFactory {
public class SetDailyPlanInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:10
*/
@Service
public class SetDetectorInfoFactory implements CommandResponseFactory {
public class SetDetectorInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:09
*/
@Service
public class SetDeviceInfoFactory implements CommandResponseFactory {
public class SetDeviceInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:13
*/
@Service
public class SetFaultInfoFactory implements CommandResponseFactory {
public class SetFaultInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:10
*/
@Service
public class SetLightsGroupInfoFactory implements CommandResponseFactory {
public class SetLightsGroupInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:10
*/
@Service
public class SetStageInfoFactory implements CommandResponseFactory {
public class SetPhaseInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:11
*/
@Service
public class SetPhaseSecurityInfoFactory implements CommandResponseFactory {
public class SetPhaseSecurityInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:11
*/
@Service
public class SetDailyPlanInfoFactory implements CommandResponseFactory {
public class SetSchedulesInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:11
*/
@Service
public class SetSchemeInfoFactory implements CommandResponseFactory {
public class SetSchemeInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:10
*/
@Service
public class SetPhaseInfoFactory implements CommandResponseFactory {
public class SetStageInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
......@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
* @date 2023/05/12 16:12
*/
@Service
public class SetTrafficDataInfoFactory implements CommandResponseFactory {
public class SetTrafficDataInfoService implements CommandResponseFactory {
@Override
public String getCommandResponse(CommandPojo commandPojo) {
return null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment