xxx
This commit is contained in:
parent
d075d913fb
commit
572c13a93a
|
|
@ -39,6 +39,8 @@ public class TuohengPowerOffInstruction extends AbstractInstruction {
|
|||
public CallbackConfig getMethodCallbackConfig(InstructionContext context) {
|
||||
String sn = context.getSn();
|
||||
|
||||
log.info("【关机指令】配置方法回调: sn={}, topic=/topic/v1/airportNest/{}/control/confirm, 期待msg=[综管]无人机关机指令接收成功", sn, sn);
|
||||
|
||||
// 监听机场确认消息
|
||||
return CallbackConfig.builder()
|
||||
.topic("/topic/v1/airportNest/" + sn + "/control/confirm")
|
||||
|
|
@ -52,6 +54,8 @@ public class TuohengPowerOffInstruction extends AbstractInstruction {
|
|||
public CallbackConfig getStateCallbackConfig(InstructionContext context) {
|
||||
String sn = context.getSn();
|
||||
|
||||
log.info("【关机指令】配置状态回调: sn={}, topic=/topic/v1/airportNest/{}/realTime/data, 期待droneBattery.data.bPowerON=2", sn, sn);
|
||||
|
||||
// 监听无人机关机状态变化
|
||||
return CallbackConfig.builder()
|
||||
.topic("/topic/v1/airportNest/" + sn + "/realTime/data")
|
||||
|
|
|
|||
Loading…
Reference in New Issue