[*] 日常优化
This commit is contained in:
@@ -24,17 +24,17 @@ import com.acgist.taoyao.signal.protocol.ProtocolRoomAdapter;
|
||||
*/
|
||||
@Protocol
|
||||
@Description(
|
||||
memo = "终端所有ID集合:消费者、生产者等等",
|
||||
body = """
|
||||
{
|
||||
"roomId": "房间ID",
|
||||
"roomId" : "房间ID",
|
||||
"clientId": "终端ID(可选)"
|
||||
}
|
||||
{
|
||||
...
|
||||
}
|
||||
""",
|
||||
flow = "终端=>信令服务->终端",
|
||||
memo = "终端所有ID集合:消费者、生产者等等"
|
||||
flow = "终端=>信令服务->终端"
|
||||
)
|
||||
public class RoomClientListIdProtocol extends ProtocolRoomAdapter {
|
||||
|
||||
|
||||
@@ -31,23 +31,23 @@ import com.acgist.taoyao.signal.protocol.ProtocolRoomAdapter;
|
||||
"""
|
||||
[
|
||||
{
|
||||
"ip": "终端IP",
|
||||
"name": "终端名称",
|
||||
"clientId": "终端ID",
|
||||
"clientType": "终端类型",
|
||||
"latitude": 纬度,
|
||||
"longitude": 经度,
|
||||
"humidity": 湿度,
|
||||
"temperature": 温度,
|
||||
"signal": 信号强度(0~100),
|
||||
"battery": 电池电量(0~100),
|
||||
"alarming": 是否发生告警(true|false),
|
||||
"charging": 是否正在充电(true|false),
|
||||
"ip" : "终端IP",
|
||||
"name" : "终端名称",
|
||||
"clientId" : "终端ID",
|
||||
"clientType" : "终端类型",
|
||||
"latitude" : 纬度,
|
||||
"longitude" : 经度,
|
||||
"humidity" : 湿度,
|
||||
"temperature" : 温度,
|
||||
"signal" : 信号强度(0~100),
|
||||
"battery" : 电池电量(0~100),
|
||||
"alarming" : 是否发生告警(true|false),
|
||||
"charging" : 是否正在充电(true|false),
|
||||
"clientRecording": 是否正在录像(true|false),
|
||||
"serverRecording": 是否正在录像(true|false),
|
||||
"lastHeartbeat": "最后心跳时间",
|
||||
"status": {更多状态},
|
||||
"config": {更多配置}
|
||||
"lastHeartbeat" : "最后心跳时间",
|
||||
"status" : {更多状态},
|
||||
"config" : {更多配置}
|
||||
},
|
||||
...
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user