| | |
| | | |
| | | public static String MESSAGE_TYPE_INVOKE_FUNCTION = "INVOKE_FUNCTION"; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 粮情采指令 |
| | | */ |
| | |
| | | return UUID.randomUUID().toString().replaceAll("-", ""); |
| | | } |
| | | |
| | | // public static String getMd5MessageId() { |
| | | // return MyMD5Util.getMD5(getUUID()); |
| | | // } |
| | | |
| | | |
| | | |
| | | //API_SOURCE-心跳 |
| | | public static String API_SOURCE_TARGET_EQUIPMENT_HEARTBEAT = "TARGET_EQUIPMENT_HEARTBEAT"; |
| | | //API_SOURCE-网关设备状态消息的 |
| | | public static String API_SOURCE_TARGET_EQUIPMENT_STATUS = "TARGET_EQUIPMENT_STATUS"; |
| | | |
| | | /** |
| | | * 下发指令回复报文topic |
| | |
| | | */ |
| | | public static String TOPIC_MESSAGE_REPORT = "/device/${productId}/${deviceId}/message/property/report"; |
| | | |
| | | |
| | | /** |
| | | * 网关设备状态消息消息 topic:TOPIC_EQUIPMENT_HEARTBEAT_{库点编码} |
| | | */ |
| | | public static String TOPIC_EQUIPMENT_HEARTBEAT = "TOPIC_EQUIPMENT_HEARTBEAT_{kqdm}"; |
| | | |
| | | /** |
| | | * 网关设备状态消息消息 topic:TOPIC_EQUIPMENT_STATUS_{库点编码} |
| | | */ |
| | | public static String TOPIC_EQUIPMENT_STATUS = "TOPIC_EQUIPMENT_STATUS_{kqdm}"; |
| | | } |