52 lines
1.4 KiB
Java
52 lines
1.4 KiB
Java
package com.example.math.constants;
|
|
|
|
/**
|
|
* @Author: 陈璐
|
|
* @CreateTime: 2023-08-07 16:11
|
|
* @Description: 大疆公用topic名称
|
|
* @Version: 1.0
|
|
*/
|
|
public class DJITopicConstants {
|
|
|
|
//机场sn号
|
|
private static String airPortSn = "7CTDM3D00BVY4C";
|
|
|
|
//机场镜头参数
|
|
//无人机sn号
|
|
private static String droneSn = "1581F6Q8D243100C605L";
|
|
|
|
/**
|
|
* 机场OSD数据
|
|
*/
|
|
public static final String airportOSD = String.format("thing/product/%s/osd", droneSn);
|
|
|
|
/**
|
|
* 无人机OSD数据
|
|
*/
|
|
public static final String droneOSD = String.format("thing/product/%s/osd", airPortSn);
|
|
|
|
/**
|
|
* 机场events事件
|
|
*/
|
|
public static final String EVENTS = String.format("thing/product/%s/events", airPortSn);
|
|
|
|
/**
|
|
* 机场请求无人机上线事件 需要回复 sys/product/7CTDM3D00BVY4C/status
|
|
*/
|
|
public static final String STATUS = String.format("sys/product/%s/status", airPortSn);
|
|
|
|
/**
|
|
* 机场 无人机推流失败的回复 thing/product/7CTDM3D00BVY4C/services_reply
|
|
*/
|
|
public static final String SERVICES_REPLY = String.format("thing/product/%s/services_reply", airPortSn);
|
|
|
|
/**
|
|
* 大疆机场关于 开发者平台账号校验的回复 thing/product/7CTDM3D00BVY4C/requests
|
|
*/
|
|
public static final String REQUESTS = String.format("thing/product/%s/requests", airPortSn);
|
|
|
|
|
|
|
|
|
|
}
|