注释废弃的调用方法
This commit is contained in:
parent
b82e992a31
commit
8ef052c45d
@ -17,7 +17,7 @@ import java.util.List;
|
||||
public interface PathPlanningApi {
|
||||
String PREFIX = ApiConstants.PREFIX + "/config";
|
||||
|
||||
/*@PostMapping(PREFIX + "/synchronousPoint")
|
||||
/* @PostMapping(PREFIX + "/synchronousPoint")
|
||||
@Operation(summary = "同步ware_position_map_line的点位信息")
|
||||
void synchronousPointToPP(@RequestBody PositionMapLinePathDTO relatedPathNode, @RequestParam("topic") String topic);
|
||||
|
||||
|
@ -26,7 +26,7 @@ public class PathPlanningApiImpl implements PathPlanningApi {
|
||||
* @param relatedPathNode
|
||||
* @param topic
|
||||
*/
|
||||
@Override
|
||||
/*@Override
|
||||
public void synchronousPointToPP(PositionMapLinePathDTO relatedPathNode, String topic) {
|
||||
try {
|
||||
mqttUtils.pub(topic, JSON.toJSONString(relatedPathNode));
|
||||
@ -36,11 +36,11 @@ public class PathPlanningApiImpl implements PathPlanningApi {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*//**
|
||||
* 同步ware_position_map_item的点位信息
|
||||
* @param positionMapItemSynDTOS
|
||||
* @param topic
|
||||
*/
|
||||
*//*
|
||||
@Override
|
||||
public void synchronousAllItemToPP(List<PositionMapItemSynDTO> positionMapItemSynDTOS, String topic) {
|
||||
try {
|
||||
@ -59,5 +59,5 @@ public class PathPlanningApiImpl implements PathPlanningApi {
|
||||
} catch (MqttException e) {
|
||||
log.info("同步信息给PP--完成--异常 :{}",e);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
@ -23,7 +23,7 @@ public class RobotTaskApiImpl implements RobotTaskApi {
|
||||
@Autowired
|
||||
private MqttUtils mqttUtils;
|
||||
|
||||
@Override
|
||||
/*@Override
|
||||
public void sendTaskToRobot(List<RobotAcceptTaskDTO> robotTaskDOS) {
|
||||
for (RobotAcceptTaskDTO robotTaskDO : robotTaskDOS) {
|
||||
log.info("发送MQTT消息 :{}",JSON.toJSONString(robotTaskDO));
|
||||
@ -33,5 +33,5 @@ public class RobotTaskApiImpl implements RobotTaskApi {
|
||||
log.info("消息发送异常 :{}",e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user