# 对象模型规范及标准定义文档
# 1.微瓴对象模型规范
# 1.1 说明
对象模型(Object Model)是对事物对象的数字化描述,事物对象包含物理空间中的实体对象,如工厂、楼宇、传感器、甚至人,以及虚拟对象,如应用系统、服务等; 对象模型以 JSON 格式的形式,定义了对象的描述(Profile)、属性(Properties)、事件(Events)和服务(Services)四个维度。
功能类型 | 作用 | 说明 |
---|---|---|
描述 (Profile) | 定义了对象是什么 | 对于所有数据, profile 中包含 poiCode;对于设备数据,profile 中包含 productID(选填) ,对于应用数据, profile 中包含 applicationId(选填) |
属性 (Properties) | 定义了对象有哪些属性状态 | 属性支持多级嵌套格式 |
事件 (Events) | 定义了对象可以产生什么事件 | 一个事件可携带若干属性,其属性数据同样支持多级嵌套格式; 事件 type 属性可以为 notify/alarm/dismiss 三种情况,分别表示 通知/告警/取消告警 三种事件 |
服务 (Services) | 定义了对象能做什么 | 一个服务包含若干输入参数(inputData)和输出参数(outputData),输入参数和输出参数同样支持多级嵌套格式 |
# 1.1.1 应用场景
- 【数据处理分析】: 在平台侧的数据处理以及分析过程中,可以根据 poiCode/modelId,自动对不同数据应用不同的数据处理流程;方便后期大数据分析;
- 【配置数据引用】: 在管理平台等应用系统上,规则联动、数据 BI、编排等需要配置数据引用的各处地方,可以通过友好的、语义化的方式进行配置,如下拉选择“温度”属性,而不是手写 “temperature_value”;
- 【语义化展示】: 应用系统在接收到业务数据时,可以根据数据携带的 modelId,通过接口获取取对应的对象模型定义,根据模型定义对数据自动进行语义化展示,如 “temperature_value: 35” 展示为 “温度: 35 度”;
# 1.2 对象模型定义规范
# 1.2.1 属性 Property 支持的类型
- bool(布尔型)
- enum(枚举型)
- int(32位整型)
- long(64位长整型)
- float(单精度浮点型)
- double(双精度浮点型)
- string(字符串)
- struct(对象)
- array(数组)
各种类型例子见下面模型定义示例。
# 1.2.2 对象模型定义示例
请留意示例中的各个 desc 所补充的文字说明
{
"profile": {
"modelId": 123,
"说明": "(该字段不存在于模型中) 对于所有模型,profile 中都存在 poiCode 字段,可能包含 modelId(选填);对于设备模型, profile 中可能存在 productId 字段;对于应用上报数据, profile 中可能存在 applicationId/appType 等字段",
"productID": "12345678",
"applicationId": "2424",
"poiCode": "w24242"
},
"properties": [
{
"id": "light_switch",
"name": "电灯开关",
"desc": "控制电灯开灭(此处示例用于展示 bool 布尔值类型的属性,只能使用 true/false/0/1 这四个可选值;define 中的 mapping 展示了不同可选值所对应的语义化解释)",
"required": true,
"mode": "rw",
"define": {
"type": "bool",
"mapping": {
"0": "关",
"1": "开",
"false": "关",
"true": "开"
}
}
},
{
"id": "color",
"name": "颜色",
"required": false,
"desc": "灯光颜色(此处示例用于展示 enum 枚举类型的属性;define 中的 mapping 展示了不同枚举值所对应的语义化解释)",
"mode": "rw",
"define": {
"type": "enum",
"mapping": {
"Green": "绿色",
"Blue": "蓝色",
"Red": "红色"
}
}
},
{
"id": "brightness",
"name": "亮度",
"desc": "灯光亮度(此处示例用于展示 int 整型值类型的属性,数值型类型还支持 float/double/long; define 中的 unit 指单位,step 指步长,min 指最小值,max 指最大值;unit/step/min/max 都为非必须)",
"mode": "rw",
"define": {
"type": "int",
"unit": "%",
"step": "1",
"min": "0",
"max": "100"
}
},
{
"id": "name",
"name": "灯名称",
"desc": "灯名称(此处示例用于展示 string 字符串类型的属性,define 中的 min 指字符串文本最小长度,max 指最大长度,长度按字符个数计,min/max 都为非必须)",
"mode": "rw",
"required": true,
"define": {
"type": "string",
"min": "1",
"max": "64"
}
},
{
"id": "rgb",
"name": "RGB颜色",
"desc": "结构体RGB值表示的颜色,如{\"r\":255,\"g\":0,\"b\":0} (此处示例用于展示 struct 结构体类型的属性) ",
"mode": "r",
"define": {
"type": "struct",
"properties": [
{
"id": "r",
"name": "R 值",
"desc": "颜色RGB中的R值",
"required": true,
"define": {
"type": "int",
"min": 0,
"max": 255
}
},
{
"id": "g",
"name": "G 值",
"desc": "颜色RGB中的G值",
"required": true,
"define": {
"type": "int",
"min": 0,
"max": 255
}
}
]
}
},
{
"id": "rgb_array",
"name": "RGB颜色",
"desc": "数组RGB值表示的颜色,如 [255,0,0] (此处示例用于展示 array 数组类型的属性,使用 item 来定义数组子项的模型,item 下的 type 支持 int/long/float/double/struct/enum)",
"mode": "r",
"define": {
"type": "array",
"item": {
"type": "int",
"min": 0,
"max": 255
}
}
}
],
"events": [
{
"id": "status_report",
"name": "DeviceStatus",
"desc": "Report the device status (此处示例用于展示通知的事件,等同于微瓴的业务通知)",
"type": "notify",
"required": true,
"properties": [
{
"id": "status",
"name": "running_state",
"desc": "Report current device running state",
"define": {
"type": "bool",
"mapping": {
"0": "normal",
"1": "fault"
}
}
},
{
"id": "message",
"name": "Message",
"desc": "Some extra message",
"define": {
"type": "string",
"min": "1",
"max": "64"
}
}
]
},
{
"id": "low_voltage",
"name": "LowVoltage",
"desc": "Alert for device voltage is low (此处示例用于展示告警事件,等同于微瓴的告警;当 type 为 alarm 时,会多一个 defaultAlarmLevel 元数据,如果 properties 中不存在 alarmLevel 属性,则使用此元数据值作为默认的告警级别;微瓴告警级别为 1~5)",
"type": "alarm",
"defaultAlarmLevel": 3,
"required": false,
"properties": [
{
"id": "voltage",
"name": "Voltage",
"desc": "Current voltage",
"define": {
"type": "float",
"unit": "V",
"step": "1",
"min": "0.0",
"max": "24.0"
}
}
]
},
{
"id": "dismiss_low_voltage_alarm",
"name": "DismissLowVoltageAlarm",
"desc": "Dismiss/Cancel alarm (此处示例用于展示消除告警事件,在 alarm 事件发生之后,用于消除告警)",
"type": "dismiss",
"required": false,
"properties": [
{
"id": "name",
"name": "Name",
"desc": "Name like: memory,tf card, censors ...",
"define": {
"type": "string",
"min": "1",
"max": "64"
}
},
{
"id": "error_code",
"name": "Error_Code",
"desc": "Error code for fault",
"define": {
"type": "int",
"unit": "",
"step": "1",
"min": "0",
"max": "2000"
}
}
]
}
],
"services": [
{
"id": "switch",
"name": "服务名称",
"desc": "服务描述",
"required": "是否是标准功能的必选服务",
"callType": "async(异步调用),sync(同步调用); 目前所有 services 暂只支持 async 异步调用,同时暂无 outputData",
"inputData": [
{
"id": "入参唯一标识符",
"name": "入参名称",
"define": {
"type": "int",
"unit": "",
"step": "1",
"min": "0",
"max": "2000"
}
}
],
"outputData": [
{
"id": "出参唯一标识符",
"name": "出参名称",
"define": {
"type": "int",
"unit": "",
"step": "1",
"min": "0",
"max": "2000"
}
}
],
"method": "服务对应的方法名称(根据id生成)"
}
]
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
# 1.3 对象模型应用于业务数据
# 1.3.1 业务上报数据示例
设备/应用根据平台标准或项目自定义的对象模型,上报属性或事件数据给到平台; 其中, profile 需要携带 poiCode 和 modelId 两个属性;另外,对于设备数据上报,profile 中还可以选填携带 productId 属性,对于应用数据上报, profile 中还可以选填携带 applicationId 属性。 示例如下所示:
{
"reportTs": 1572702827618,
"profile": {
"appType":"xxxxx",//事件父类型,比如:安防监控-security_monitoring,可自定义
"productId": "1000001",
"poiCode": "w0301013",
"modelId": "123"
},
"properties": {
"light_switch": false,
"color": "red",
"brightness": 51
},
"events": {
"eventName": {//事件子类型,比如:安防监控下的入侵检测-invade,可自定义
"eventType": 0,
"referId":"xxxxxxxxxxxxxxxxx",//关联设备wId
"eventTs": xxxxxxxxxx,
"describe": "xxxxx"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 1.3.2 业务控制设备发送示例
应用系统根据平台标准或项目自定义的对象模型,调用某对象的服务,实现设备控制或应用功能调用; 通过 OpenApi /common/msg/send (opens new window) 接口发送消息给设备时, cmd 参数内容示例如下:
{
"profile": {
"poiCode":"w242400",
"modelId": "123",
}
"services": {
"switch": { // 此处,switch 对应于 service 定义的 id,其值包含哪些属性由模型中定义的 inputData 决定;
"action": "lightOn",
"color": "red"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
# 1.4 对象模型管理.
# 1.4.1 微瓴平台公共标准对象模型
微瓴平台定义了各行业领域的标准模型,见 微瓴对象模型数据标准 (opens new window)。 具体管理工作由微瓴侧管理人员维护。
# 1.4.2 项目自定义对象模型
对于标准模型不满足的情况,项目可根据需要自定义对象模型。 具体管理工作,由项目人员在微瓴管理平台上维护,见管理平台“工作台 - 数据服务 - 项目标准对象模型”。
- 管理平台项目自定义对象模型界面
- 管理平台项目自定义对象模型界面-编辑属性
# 1.5 接口
微瓴提供 OpenApi 获取对象模型标准,详见 对象模型管理接口 (opens new window)
# 2.微瓴对象模型数据标准
微瓴数字空间对象模型是基于微瓴在项目中的沉淀,通过在不同的领域(建筑,交通,工地等)的深耕,形成的一套服务于物联网的数据标准,通过此标准上报的数据,可无缝衔接微瓴数字空间的空间及数据服务,如设备影子,设备解析,故障诊断,设备状态大数据AI分析等功能。微瓴对象模型在物联领域具有独特的先进性,赋予了设备,清晰、可继承、可版本迭代更新的对象模型,使得与微瓴平台进行设备和应用对接变得如插入接线板一般简单便捷。
# 2.1对象模型数据标准格式说明
字段名称 | 字段类型 | 字段描述 | 是否必传 | 层级隶属 |
---|---|---|---|---|
reportTs | string | 数据上报时间 | 是 | 一级字段 |
profile | struct | 对象档案对象 | 是 | 一级字段 |
appType | string | 对象所属数字空间标准系统,数据为事件时必传 | 否 | profile |
poiCode | string | 设备或应用系统分类编号 | 是 | profile |
modelId | int | 数字空间对象模型编号,由数字空间进行分配 | 是 | profile |
properties | struct | 设备或应用模块属性对象,一般用于描述设备运行时的状态,如环境监测设备所读取的当前环境温度等。 | 是 | 一级字段 |
status | enum | 设备当前状态,0:正常,1:故障,2:离线 | 否 | properties |
faultStatus | enum | 设备当前故障状态,0:在线,1:故障 | 否 | properties |
events | struct | 设备或应用模块事件对象,设备运行时的事件。事件一般包含需要被外部感知和处理的通知信息,可包含多个输出参数。如,某项任务完成的信息,或者设备发生故障或告警时的温度等,事件可以被订阅和推送。 | 是 | 一级字段 |
eventTs | long | 事件发生时间 | 是 | events |
eventType | enum | 0:告警事件,1:通知事件,2:消警事件 | 是 | events |
describe | string | 事件描述 | 是 | events |
alarmLevel | int | 告警等级,1-通知类警告, 2-轻警告:48小时内处理, 3-中级警告:12小时内处理, 4-严重警告:2小时内处理, 5-致命警告:需要立即处理 | 否 | events |
image | object | 告警图像, 若无, 则不需要传该字段 | 否 | events |
type | string | 图像类型, 1: base64编码(base64编码已停用,type2,3,4,通常使用type4,配合临时上传 (opens new window)接口使用,ID为接口返回的fileId), 2: url, 3:image_id, 4:temporary_image_id | 是 | image |
data | string | 图片数据, type1:base64, type2:String, type3:String, type4:String | 是 | image |
services | struct | 设备或应用模块 服务对象,设备可被外部调用的能力或方法,可设置输入参数和输出参数。相比于属性,服务可通过一条指令实现更复杂的业务逻辑,如执行某项特定的任务。 | 否 | 一级字段 |
# 2.2 对象模型数据标准示例
{
"reportTs": 1572702827618,
"profile": {
"modelId": 1000, //项目模型定义后生成
"appType":"test application", //微瓴数字空间负责分配
"poiCode": "t0000000" //设备分类编码,设备导入后,在设备详情里查看
},
"properties": {
},
"events": {
"$eventName":{
"eventTs":1572702827618,
"eventType":1, //0告警事件,1通知事件,2消警事件
"describe":"事件描述",
"image": {//没有告警图片可不传
"data": "8bb1230b-78bb-4635-991b-9746dda24a9e",//图片文件,fileId
"type": 4//固定为4
},
"videoId":"8bdsa0b-72bb-4f35-931b-97dsas4a9e"//没有视频文件可不传,视频文件,fileId
}
},
"services": {
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 3. 对象模型数据标准分类
# 3.1 设备对象模型标准
应用系统 | 对象模型poi_code | 设备名称 | 设备中文名 | 更新时间 |
---|---|---|---|---|
energy | w0105003 | three_phase_three_circuit_active_watt_hour_meter | 三相三线 电力电表 | 2019-09-15 |
energy | w0105004 | three_phase_four_circuit_active_watt_hour_meter | 三相四线 电力电表 | 2019-09-15 |
conference | w0715002 | conference_control_panel | 会议室中控 | 2019-09-15 |
conference | w0716001 | conference_projector | 会议室投影 | 2019-09-15 |
conference | w0716002 | conference_projector_screen | 会议室幕布 | 2019-09-15 |
conference | w0716003 | channel_switcher | 视频信号切换器 | 2019-09-15 |
conference | w0716004 | conference_paperless | 会议室无纸化 | 2019-09-15 |
elevator | w0601001 | elevator_carbin | 客梯轿厢 | 2019-09-15 |
illumination | w0905003 | light_control_panel | 情景面板 | 2019-09-15 |
illumination | w0107008 | smart_light | 智能照明 | 2019-09-15 |
illumination | w0107007 | regular_light | 灯控模块 | 2019-09-15 |
fire_protecting | w0302006 | broadcasting_player | 消防广播播放器 | 2019-09-15 |
fire_protection | w0301006 | smoke_sensor | 感烟探测器 | 2019-09-26 |
fire_protection | w0301007 | temperature_sensor | 感温探测器 | 2019-09-26 |
fire_protecting | w0301011 | audible_visual_alarm | 声光报警器 | 2019-09-26 |
fire_protecting | w0301012 | fire_button | 手报按钮 | 2019-09-26 |
HAVC | w0404009 | air_handling_unit | 空调机组 | 2019-09-26 |
HAVC | w0404006 | fresh_air_handling_unit | 新风机组 | 2019-09-26 |
HAVC | w0404004 | VAVBOX | VAVBOX | 2019-09-26 |
HAVC | w0406002 | vrv_indoor_AC | VRV空调室内机 | 2019-09-26 |
# 3.2 应用对象模型标准
应用系统 | 对象模型poi_code | 事件名称 | 事件中文名 | 更新时间 | |
---|---|---|---|---|---|
parking | t0401001 | 道闸车道系统 | in | 车辆驶入道岔 | 2019-09-11 |
parking | t0401001 | 道闸车道系统 | out | 车辆驶出道岔 | 2019-09-11 |
parking | t0401002 | 车辆缴费系统 | pay | 车辆离场缴费 | 2019-09-11 |
parking | t0401005 | 车位状态模块 | park | 车辆停入车位 | 2019-09-11 |
parking | t0401005 | 车位状态模块 | leave | 车辆离开车位 | 2019-09-11 |
parking | t0401005 | 车位状态模块 | violate | 车辆违规停放 | 2019-09-11 |
parking | t0401003 | 车辆预约系统 | reserved | 车辆预约 | 2019-09-11 |
parking | t0401003 | 车辆预约系统 | canceled | 车辆取消预约 | 2019-09-11 |
face_access | t0601001 | 人脸闸机识别系统 | in | 进入闸机控制禁区 | 2019-09-11 |
face_access | t0601001 | 人脸闸机识别系统 | out | 离开闸机控制禁区 | 2019-09-11 |
face_access | t0601001 | 人脸闸机识别系统 | pass | 通过闸机 | 2019-09-11 |
access_control | t1101001 | 通用闸机识别系统 | in | 进入闸机控制禁区 | 2019-09-11 |
access_control | t1101001 | 通用闸机识别系统 | out | 离开闸机控制禁区 | 2019-09-11 |
access_control | t1101001 | 通用闸机识别系统 | pass | 通过闸机 | 2019-09-11 |
robot | t1301001 | 机器人运行状态模块 | 状态数据无事件 | - | 2019-09-20 |
robot | t1301002 | 机器人任务状态模块 | 状态数据无事件 | - | 2019-09-20 |
robot | t1301003 | 机器人环境模块 | 状态数据无事件 | - | 2019-09-20 |
robot | t1301004 | 机器人图像模块 | 状态数据无事件 | - | 2019-09-20 |
robot | t1301005 | 机器人导航模块 | 状态数据无事件 | - | 2019-09-20 |
environment | t1401001 | 室内空气质量模块 | 状态数据无事件 | - | 2019-09-20 |
environment | t1401002 | 室外空气质量模块 | 状态数据无事件 | - | 2019-09-20 |
environment | t1401002 | 水质监测模块 | 状态数据无事件 | - | 2019-10-20 |
work_order | t1501001 | 工单消息模块 | order_report | 工单上报 | 2019-09-20 |
work_order | t1501001 | 工单消息模块 | order_cancel | 工单取消 | 2019-09-20 |
work_order | t1501001 | 工单消息模块 | order_response | 工单回复 | 2019-09-20 |
# 4.设备对象模型数据标准
# 4.1 安防监控系统
# 4.1.1 半球摄像头
poicode:w0701003
modelID:3466
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 毫秒级时间戳 | 一级字段 |
modelId | int | 模型ID | "modelId":1000 | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0701003" | - | profile |
appType | string | 事件类型 | "appType":"security_monitoring" | 没事件可不传 | profile |
status | enum | 设备当前状态 | "status":0 | 0:正常 1:故障 2:离线 | properties |
scop | float | 总容量 | "scop":500 | - | properties |
freeSpace | float | 剩余容量 | "freeSpace":100 | - | properties |
deviceIp | string | 设备IP | "deviceIp":"192.164.0.0" | - | properties |
invade | json | 入侵检测 | "invade":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
retention | json | 非法滞留 | "retention":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
fire | json | 火灾监控 | "fire":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
crowd | json | 异常聚集 | "crowd":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
tumble | json | tof摔倒 | "tumble":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
tumble_arm | json | 视觉跌倒检测 | "tumble_arm":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
shibian_radar_tumble | json | 雷达跌倒检测 | "shibian_radar_tumble":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
safety_helmet | json | 安全帽检测 | "safety_helmet":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
without_mask | json | 口罩检测 | "without_mask":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
parking_violation | json | 违停占道 | "parking_violation":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
crossing_line | json | 跨线检测 | "crossing_line":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
zoom | enum | 缩放 | "zoom":1 | 应用下控控制字段,无需上报该字段 0:放大 1:缩小 | services |
focalLength | enum | 调焦 | "focalLength":1 | 应用下控控制字段,无需上报该字段 0:近 1:远 | services |
aperture | enum | 光圈 | "aperture":1 | 应用下控控制字段,无需上报该字段 0:放大 1:缩小 | services |
move | enum | 移动 | "move":1 | 应用下控控制字段,无需上报该字段 0:上 1:下 2:左 3:右 4:左上 5:左下 6:右上 7:右下 | services |
- 上报字段示例
{
"reportTs":148813512323,
"profile":{
"appType":"security_monitoring",//无事件可不传
"poiCode":"w0701003",
"modelId":3466
},
"properties":{
"status":0,
"deviceIp":"192.164.0.1"
},
"events":{
"invade":{//无事件可不传
"eventType":0,
"eventTs":1664182315704,
"describe":"自定义描述字段"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- 下控字段示例
{
"profile": {
"poiCode":"w0701003",
"modelId": 3466,
}
"services": {
"control": { // 此处,switch 对应于 service 定义的 id,其值包含哪些属性由模型中定义的 inputData 决定;
"zoom": 0
}
}
}
2
3
4
5
6
7
8
9
10
11
# 4.1.2 快球摄像头
poiCode:w0701004
modelId:3467
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 毫秒级时间戳 | 一级字段 |
modelId | int | 模型ID | "modelId":1000 | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0701003" | - | profile |
appType | string | 事件类型 | "appType":"security_monitoring" | 没事件可不传 | profile |
status | enum | 设备当前状态 | "status":0 | 0:正常 1:故障 2:离线 | properties |
scop | float | 总容量 | "scop":500 | - | properties |
freeSpace | float | 剩余容量 | "freeSpace":100 | - | properties |
deviceIp | string | 设备IP | "deviceIp":"192.164.0.0" | - | properties |
invade | json | 入侵检测 | "invade":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
retention | json | 非法滞留 | "retention":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
fire | json | 火灾监控 | "fire":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
crowd | json | 异常聚集 | "crowd":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
tumble | json | tof摔倒 | "tumble":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
tumble_arm | json | 视觉跌倒检测 | "tumble_arm":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
shibian_radar_tumble | json | 雷达跌倒检测 | "shibian_radar_tumble":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
safety_helmet | json | 安全帽检测 | "safety_helmet":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
without_mask | json | 口罩检测 | "without_mask":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
parking_violation | json | 违停占道 | "parking_violation":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
crossing_line | json | 跨线检测 | "crossing_line":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
zoom | enum | 缩放 | "zoom":1 | 应用下控控制字段,无需上报该字段 0:放大 1:缩小 | services |
focalLength | enum | 调焦 | "focalLength":1 | 应用下控控制字段,无需上报该字段 0:近 1:远 | services |
aperture | enum | 光圈 | "aperture":1 | 应用下控控制字段,无需上报该字段 0:放大 1:缩小 | services |
move | enum | 移动 | "move":1 | 应用下控控制字段,无需上报该字段 0:上 1:下 2:左 3:右 4:左上 5:左下 6:右上 7:右下 | services |
- 上报字段示例
{
"reportTs":148813512323,
"profile":{
"appType":"security_monitoring",//无事件可不传
"poiCode":"w0701004",
"modelId":3467
},
"properties":{
"status":0,
"deviceIp":"192.164.0.1"
},
"events":{
"invade":{//无事件可不传
"eventType":0,
"eventTs":1664182315704,
"describe":"自定义描述字段"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- 下控字段示例
{
"profile": {
"poiCode":"w0701004",
"modelId": 3467,
}
"services": {
"control": { // 此处,switch 对应于 service 定义的 id,其值包含哪些属性由模型中定义的 inputData 决定;
"zoom": 0
}
}
}
2
3
4
5
6
7
8
9
10
11
# 4.1.3 枪式摄像头
poiCode:w0701005
modelId:3465
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 毫秒级时间戳 | 一级字段 |
modelId | int | 模型ID | "modelId":1000 | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0701003" | - | profile |
appType | string | 事件类型 | "appType":"security_monitoring" | 没事件可不传 | profile |
status | enum | 设备当前状态 | "status":0 | 0:正常 1:故障 2:离线 | properties |
scop | float | 总容量 | "scop":500 | - | properties |
freeSpace | float | 剩余容量 | "freeSpace":100 | - | properties |
deviceIp | string | 设备IP | "deviceIp":"192.164.0.0" | - | properties |
invade | json | 入侵检测 | "invade":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
retention | json | 非法滞留 | "retention":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
fire | json | 火灾监控 | "fire":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
crowd | json | 异常聚集 | "crowd":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
tumble | json | tof摔倒 | "tumble":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
tumble_arm | json | 视觉跌倒检测 | "tumble_arm":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
shibian_radar_tumble | json | 雷达跌倒检测 | "shibian_radar_tumble":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
safety_helmet | json | 安全帽检测 | "safety_helmet":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
without_mask | json | 口罩检测 | "without_mask":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
parking_violation | json | 违停占道 | "parking_violation":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
crossing_line | json | 跨线检测 | "crossing_line":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
zoom | enum | 缩放 | "zoom":1 | 应用下控控制字段,无需上报该字段 0:放大 1:缩小 | services |
focalLength | enum | 调焦 | "focalLength":1 | 应用下控控制字段,无需上报该字段 0:近 1:远 | services |
aperture | enum | 光圈 | "aperture":1 | 应用下控控制字段,无需上报该字段 0:放大 1:缩小 | services |
move | enum | 移动 | "move":1 | 应用下控控制字段,无需上报该字段 0:上 1:下 2:左 3:右 4:左上 5:左下 6:右上 7:右下 | services |
- 上报字段示例
{
"reportTs": 148813512323,
"profile": {
"appType": "security_monitoring",
"poiCode": "w0701005",
"modelId": 3465
},
"properties": {
"status": 0,
},
"events":{
"invade":{//无事件可不传
"eventType":0,
"eventTs":1664182315704,
"describe":"自定义描述字段"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
- 下控字段示例
{
"profile": {
"poiCode":"w0701005",
"modelId": 3465,
}
"services": {
"control": { // 此处,switch 对应于 service 定义的 id,其值包含哪些属性由模型中定义的 inputData 决定;
"zoom": 0
}
}
}
2
3
4
5
6
7
8
9
10
11
# 4.2 能源系统
# 4.2.1 三相三线电力电表
poicode:w0105004
modelID:3450
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 毫秒级时间戳 | 一级字段 |
modelId | int | 模型ID | "modelId":"3450" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0105004" | - | profile |
appType | string | 事件类型 | "appType":"energy" | 没事件可不传 | profile |
status | enum | 设备当前状态 | "status":0 | 0:正常 1:故障 2:离线 | properties |
IA | double | AB相电流 | 单位为安培 | properties | |
IB | double | BC相电流 | 单位为安培 | properties | |
IC | double | CA相电流 | 单位为安培 | properties | |
UAB | double | AB相电压 | 单位为伏特 | properties | |
UBC | double | BC相电压 | 单位为伏特 | properties | |
UCA | double | CA相电压 | 单位为伏特 | properties | |
Ept | double | 总有功电能 | 单位为kWh | properties | |
EQt | double | 总无功电能 | 单位为kVrh | properties | |
PEP | double | 正向总有功电能 | 单位为kWh | properties | |
PEQ | double | 正向总无功电能 | 单位为kVrh | properties | |
NEP | double | 负向总有功电能 | 单位为kWh | properties | |
NEQ | double | 负向总无功电能 | 单位为kVrh | properties | |
F | double | 频率 | Hz | properties | |
Pt | double | 总有功功率 | kW | properties | |
Qt | double | 总无功功率 | KVr | properties | |
St | double | 总视在功率 | kVA | properties | |
PFt | double | 总功率因数 | properties | ||
excessive | json | 能耗用度异常 | "excessive":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
- 字段示例
{
"reportTs": 148813512323,
"profile": {
"appType": "energy",
"poiCode": "w0105004",
"modelId": 3450
},
"properties": {
"status": 0,
"IA": 0.5,
"IB": xx,
"IC": xxx,
"UAB": xx,
"UBC": xxx,
"UCA": xxx,
"Ept": xxx,
"EQt": xxx,
"PEP": xxx,
"PEQ": xxx,
"NEP": xxx,
"NEQ": xxx,
"F": xxx,
"Pt": xxx,
"Qt": xxx,
"St": xxx,
"PFt": xxx
},
"events":{
"excessive":{//无事件可不传
"eventType":0,
"eventTs":1664182315704,
"describe":"自定义描述字段"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 4.2.2 三相四线电力电表
poicode:w0105003
modelID:3438
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 一级字段 | |
modelId | int | 模型ID | "modelId":"3438" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0105003" | - | profile |
appType | string | 事件类型 | "appType":"energy" | 没事件可不传 | profile |
status | enum | 设备当前状态 | "status":0 | 0:正常 1:故障 2:离线 | properties |
IA | double | A相电流 | 单位为安培 | properties | |
IB | double | B相电流 | 单位为安培 | properties | |
IC | double | C相电流 | 单位为安培 | properties | |
UA | double | A相电压 | 单位为伏特 | properties | |
UB | double | B相电压 | 单位为伏特 | properties | |
UC | double | C相电压 | 单位为伏特 | properties | |
Ept | double | 总有功电能 | 单位为kWh | properties | |
EQt | double | 总无功电能 | 单位为kVrh | properties | |
PEP | double | 正向总有功电能 | 单位为kWh | properties | |
PEQ | double | 正向总无功电能 | 单位为kVrh | properties | |
NEP | double | 负向总有功电能 | 单位为kWh | properties | |
NEQ | double | 负向总无功电能 | 单位为kVrh | properties | |
F | double | 频率 | 单位为Hz | properties | |
Pt | double | 总有功功率 | 单位为kW | properties | |
Qt | double | 总无功功率 | 单位为KVr | properties | |
St | double | 总视在功率 | 单位为kVA | properties | |
PFt | double | 总功率因数 | properties | ||
PA | double | A相有功功率 | 单位为kW | properties | |
PB | double | B相有功功率 | 单位为kW | properties | |
PC | double | C相有功功率 | 单位为kW | properties | |
QA | double | A相无功功率 | 单位为kVr | properties | |
QB | double | B相无功功率 | 单位为kVr | properties | |
QC | double | C相无功功率 | 单位为kVr | properties | |
SA | double | A相视在功率 | 单位为kVA | properties | |
SB | double | B相视在功率 | 单位为kVA | properties | |
SC | double | C相视在功率 | 单位为kVA | properties | |
PFA | double | A相功率因数 | properties | ||
PFB | double | B相功率因数 | properties | ||
PFC | double | C相功率因数 | properties | ||
excessive | json | 能耗用度异常 | "excessive":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
- 字段示例
{
"reportTs": 148813512323,
"profile": {
"appType": "energy",
"poiCode": "w0105003",
"modelId": 3438
},
"properties": {
"status": 0,
"IA": 0.5,
"IB": xx,
"IC": xxx,
"UA": xx,
"UB": xxx,
"UC": xxx,
"Ept": xxx,
"EQt": xxx,
"PEP": xxx,
"PEQ": xxx,
"NEP": xxx,
"NEQ": xxx,
"F": xxx,
"Pt": xxx,
"Qt": xxx,
"St": xxx,
"PFt": xxx,
"PA": xxx,
"PB": xxx,
"PC": xxx,
"QA": xxx,
"QB": xxx,
"QC": xxx,
"SA": xxx,
"SB": xxx,
"SC": xxx,
"PFA": xxx,
"PFB": xxx,
"PFC": xxx
},
"events":{
"excessive":{//无事件可不传
"eventType":0,
"eventTs":1664182315704,
"describe":"自定义描述字段"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# 4.2.3 智能水表
poicode:w0207011
modelID:3422
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 毫秒级时间戳 | 一级字段 |
modelId | int | 模型ID | "modelId":"3422" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0207011" | - | profile |
appType | string | 事件类型 | "appType":"energy" | 没事件可不传 | profile |
status | enum | 设备当前状态 | "status":0 | 0:正常 1:故障 2:离线 | properties |
ratio | double | 倍率 | "ratio":xx | properties | |
waterConsumption | double | 耗水量 | "waterConsumption":xxx | 单位为吨 | properties |
flowVelocities | double | 流速 | "flowVelocities":xx | properties | |
flowCapacity | double | 流量 | "flowCapacity":xx | properties | |
excessive | json | 能耗用度异常 | "excessive":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
- 字段示例
{
"reportTs": 148813512323,
"profile": {
"appType": "energy",
"poiCode": "w0207011",
"modelId": 3422
},
"properties": {
"status": 0,
"ratio": 0.5,
"waterConsumption": xx,
"flowVelocities": xxx,
"flowCapacity": xx
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 4.3 会议系统
# 4.3.1 会议室中控
poicode:w0715002
modelID:3445
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 毫秒时间戳 | 一级字段 |
modelId | int | 模型ID | "modelId":"3445" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0715002" | - | profile |
appType | string | 事件类型 | "appType":"conference" | 没事件可不传 | profile |
status | enum | 设备当前状态 | "status":0 | 0:正常 1:故障 2:离线 | properties |
address | string | 会议室地址信息 | "address": "腾讯大厦3415会议室" | properties | |
conferenceStatus | enum | 会议室当前状态 | "conferenceStatus":1 | 0:空闲中 1:等待中 2:正常会议中 3:超时会议中 4:未预约会议 9:未知 | properties |
subDevice | struct | 会议室中控控制设备对象 | "subDevice":{} | properties | |
$deviceParam | string | 会议室中控子设备 | "pm10Status":1 | properties | |
currentConf | struct | 当前会议信息 | "currentConference":{} | properties | |
title | string | 会议主题 | "title":"年度总结会议" | properties.currentConf | |
sponsor | string | 会议发起人 | "sponsor":"xxxxxxx" | properties.currentConf | |
startTime | datetime | 会议开始时间 | "startTime":"" | properties.currentConf | |
stopTime | datetime | 会议结束时间 | "stopTime":"" | properties.currentConf | |
members | array | 会议邀请参与人员 | "members":[] | properties.currentConf | |
eventId | string | 会议唯一标识符 | "eventId":"xxxxxxxx" | properties.currentConf | |
reserved | array | 预约会议列表 | "reserved":[{},{},{}] | properties | |
$reservedParam | string | 会议参数 | "sponsor":"xxxxxxx" | 与currentConf一致 | properties.reserved |
- 字段示例
{
"reportTs": 148813512323,
"profile": {
"appType": "conference",
"poiCode": "w0715002",
"modelId": 3445
},
"properties": {
"status": 0,
"address": "xxxxxxx",
"conferenceStatus": 2,
"subDevice": {
"xxx": 0,
"xxxx": 1
},
"currentConf": {
"title": "",
"sponsor": "",
"startTime": "",
"stopTime": "",
"members": [
"xxx",
"xxxx",
"xxxxx"
],
"eventId": ""
}, "reserved": [
{
"title": "",
"sponsor": "",
"startTime": "",
"stopTime": "",
"members": [
"xxx",
"xxxx",
"xxxxx"
],
"eventId": ""
},
{
"title": "",
"sponsor": "",
"startTime": "",
"stopTime": "",
"members": [
"xxx",
"xxxx",
"xxxxx"
],
"eventId": ""
}
]
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# 4.3.2 会议室投影
poicode:w0716001
modelID:3446
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 一级字段 | |
modelId | int | 模型ID | "modelId":"3446" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0715001" | - | profile |
appType | string | 事件类型 | "appType":"conference" | 没事件可不传 | profile |
status | enum | 设备当前状态 | "status":0 | 0:正常 1:故障 2:离线 | properties |
projectionSwitch | enum | 开关状态 | "projectionSwitch":1 | 0:代表关 1:代表开 | properties |
projectionSwitch | enum | 开关状态 | "projectionSwitch":1 | 0:代表关 1:代表开 | services |
- 上报字段示例
{
"reportTs": 1572702827618,
"profile": {
"appType":"conference",
"poiCode": "w0716001",
"modelId": 3446
},
"properties": {
"status":0,
"projectionSwitch": 0
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
- 下控字段示例
{
"profile": {
"poiCode":"w0716001",
"modelId": 3446,
}
"services": {
"control": { // 此处,switch 对应于 service 定义的 id,其值包含哪些属性由模型中定义的 inputData 决定;
"projectionSwitch": 0
}
}
}
2
3
4
5
6
7
8
9
10
11
# 4.3.3 会议室幕布
poicode:w0716002
modelID:3447
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 一级字段 | |
modelId | int | 模型ID | "modelId":"3447" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0715002" | - | profile |
appType | string | 事件类型 | "appType":"conference" | 没事件可不传 | profile |
status | enum | 设备当前状态 | "status":0 | 0:正常 1:故障 2:离线 | properties |
projectionScreen | enum | 幕布状态 | "projectionScreen":1 | 0:代表升 1:代表降 2:代表停 | properties |
projectionScreen | enum | 幕布状态 | "projectionScreen":1 | 0:代表升 1:代表降 2:代表停 | services |
- 上报字段示例
{
"reportTs": 1572702827618,
"profile": {
"appType":"conference",
"poiCode": "w0716002",
"modelId": 3447
},
"properties": {
"status":0,
"projectionScreen": 0,
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
- 下控字段示例
{
"profile": {
"poiCode":"w0716002",
"modelId": 3447,
}
"services": {
"control": { // 此处,switch 对应于 service 定义的 id,其值包含哪些属性由模型中定义的 inputData 决定;
"projectionScreen": 0
}
}
}
2
3
4
5
6
7
8
9
10
11
# 4.3.4 视频信号切换器
poicode:w0716003
modelID:3448
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 一级字段 | |
modelId | int | 模型ID | "modelId":"3448" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0715003" | - | profile |
appType | string | 事件类型 | "appType":"conference" | 没事件可不传 | profile |
status | enum | 设备当前状态 | "status":0 | 0:正常 1:故障 2:离线 | properties |
matrixIO | enum | 矩阵输入输出状态 | "matrixIO":1 | 0:代表输入 1:代表输出 2:代表停 | properties |
IOId | enum | 输入输出标号 | "IOId":1 | 1~6表示输入 7和8表示输出 | properties |
- 字段示例
{
"reportTs": 1572702827618,
"profile": {
"appType":"conference",
"poiCode": "w0716003",
"modelId": 3448
},
"properties": {
"status":0,
"matrixIO": 0,
"IOid": 1
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 4.3.5 会议室无纸化
poicode:w0716004
modelID:3449
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 一级字段 | |
modelId | int | 模型ID | "modelId":"3449" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0715004" | - | profile |
appType | string | 事件类型 | "appType":"conference" | 没事件可不传 | profile |
status | enum | 设备当前状态 | "status":0 | 0:正常 1:故障 2:离线 | properties |
paperless | enum | 无纸化设备状态 | "paperless":1 | 0:代表升 1:代表降 2:代表停 | properties |
- 字段示例
{
"reportTs": 1572702827618,
"profile": {
"appType":"conference",
"poiCode": "w0716004",
"modelId": 3449
},
"properties": {
"status":0,
"paperless": 0
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
# 4.4 人脸门禁系统
# 4.4.1 人脸识别门禁
poicode:w0713001
modelID:2053
- 字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 一级字段 | |
modelId | int | 模型ID | "modelId":"2053" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0713001" | - | profile |
appType | string | 事件类型 | "appType":"face_access" | 没事件可不传 | profile |
device_id | string | 设备ID | "device_id":"" | - | properties |
door_status | enum | 开关状态 | "door_status":1 | 0:关 1:开 | properties |
in | json | 进场 | "in":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段", } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
accessType | enum | 进出类型 | "accessType":1 | 1:人脸 2:刷卡 3:二维码 | events.in |
personCount | int | 当天通过人次 | "personCount":1000 | - | events.in |
personName | string | 人名 | "personName":"张三" | - | events.in |
personType | enum | 人员类别 | "personType":1 | 0:未知 1:普通 2:来宾 3:黑名单 4:管理员 | events.in |
out | json | 出场 | "out":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
accessType | enum | 进出类型 | "accessType":1 | 1:人脸 2:刷卡 3:二维码 | events.out |
personCount | int | 当天通过人次 | "personCount":1000 | - | events.out |
personName | string | 人名 | "personName":"张三" | - | events.out |
personType | enum | 人员类别 | "personType":1 | 0:未知 1:普通 2:来宾 3:黑名单 4:管理员 | events.out |
pass | json | 通过闸机控制区域(未知进出) | "pass":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
accessType | enum | 进出类型 | "accessType":1 | 1:人脸 2:刷卡 3:二维码 | events.pass |
personCount | int | 当天通过人次 | "personCount":1000 | - | events.pass |
personName | string | 人名 | "personName":"张三" | - | events.pass |
personType | enum | 人员类别 | "personType":1 | 0:未知 1:普通 2:来宾 3:黑名单 4:管理员 | events.pass |
door_status | enum | 开关状态 | "door_status":1 | 0:关 1:开 | services |
- 上报字段示例
{
"reportTs":148813512323,
"profile":{
"poiCode":"w0713001",
"modelId":2053,
"appType":"face_access"
},
"properties":{
},
"events":{
"in":{
"eventTs":148813512323,
"eventType":1,
"describe":"事件描述",
"personName":"",
"recognitionId":"test"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
- 下控字段示例
{
"profile": {
"poiCode":"w0713001",
"modelId": 2053,
}
"services": {
"control": { // 此处,switch 对应于 service 定义的 id,其值包含哪些属性由模型中定义的 inputData 决定;
"door_status": 0
}
}
}
2
3
4
5
6
7
8
9
10
11
# 4.6.2 人脸识别闸机
poicode:w0713004
modelID:3420
- 字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 一级字段 | |
modelId | int | 模型ID | "modelId":"2420" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0713004" | - | profile |
appType | string | 事件类型 | "appType":"face_access" | 没事件可不传 | profile |
device_id | string | 设备ID | "device_id":"" | - | properties |
door_status | enum | 开关状态 | "door_status":1 | 0:关 1:开 | properties |
in | json | 进场 | "in":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段", } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
accessType | enum | 进出类型 | "accessType":1 | 1:人脸 2:刷卡 3:二维码 | events.in |
personCount | int | 当天通过人次 | "personCount":1000 | - | events.in |
personName | string | 人名 | "personName":"张三" | - | events.in |
personType | enum | 人员类别 | "personType":1 | 0:未知 1:普通 2:来宾 3:黑名单 4:管理员 | events.in |
out | json | 出场 | "out":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
accessType | enum | 进出类型 | "accessType":1 | 1:人脸 2:刷卡 3:二维码 | events.out |
personCount | int | 当天通过人次 | "personCount":1000 | - | events.out |
personName | string | 人名 | "personName":"张三" | - | events.out |
personType | enum | 人员类别 | "personType":1 | 0:未知 1:普通 2:来宾 3:黑名单 4:管理员 | events.out |
pass | json | 通过闸机控制区域(未知进出) | "pass":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
accessType | enum | 进出类型 | "accessType":1 | 1:人脸 2:刷卡 3:二维码 | events.pass |
personCount | int | 当天通过人次 | "personCount":1000 | - | events.pass |
personName | string | 人名 | "personName":"张三" | - | events.pass |
personType | enum | 人员类别 | "personType":1 | 0:未知 1:普通 2:来宾 3:黑名单 4:管理员 | events.pass |
door_status | enum | 开关状态 | "door_status":1 | 0:关 1:开 | services |
- 上报字段示例
{
"reportTs":148813512323,
"profile":{
"poiCode":"w0713004",
"modelId":3420,
"appType":"face_access"
},
"properties":{
"door_status":1
},
"events":{
"in":{
"eventTs":148813512323,
"eventType":1,
"describe":"事件描述",
"personName":"",
"recognitionId":"test"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
- 下控字段示例
{
"profile": {
"poiCode":"w0713004",
"modelId": 3420,
}
"services": {
"control": { // 此处,switch 对应于 service 定义的 id,其值包含哪些属性由模型中定义的 inputData 决定;
"door_status": 0
}
}
}
2
3
4
5
6
7
8
9
10
11
# 4.5 电梯系统
# 4.5.1 客梯轿厢
poiCode:w0601001
modelID:1001
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 一级字段 | |
modelId | int | 模型ID | "modelId":"1001" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0601001" | - | profile |
appType | string | 事件类型 | "appType":"elevator" | 没事件可不传 | profile |
status | enum | 设备通用性状态 | status:0 | 0:正常 1:故障 2:离线 | properties |
elevatorStatus | enum | 电梯运行当前状态 | "elevatorStatus":[4,5] | 0:未知正常状态 4:故障 5:正常、6:维保 7:火灾管制 8:消防员、9:泊梯 10:上班高峰运行 11:下班高峰运行 12:专用运行 13:司机运行 14:自发电管制运行 99:未知不正常状态 | properties |
loadState | enum | 设备载重状态 | "loadState":1 | 0:正常 1:满载 2:超载 | properties |
weightLoad | int | 当前载重 | "weightLoad":100 | 单位KG,若字段值为-1,则代表当前就轿厢无该数据 对于某些没有数值传感器的电梯设备使用如下方式上报 若字段值为-100,则代表当前轿厢载重正常 若字段值为-200,则代表当前轿厢载重满载 若字段值为-300,则代表当前轿厢载重超重 | properties |
speedState | enum | 速度模式 | "speedState":1 | 0:停止 1:慢速 2:全速 | properties |
speed | int | 当前速度 | "speed":3 | 单位为m/s,若字段值为-1,则代表当前轿厢无该数据 | properties |
maindoorStatus | enum | 主门状态 | "maindoorStatus":0 | 0:门已锁住 1:门正在打开 2:门已打开 3:门正在关闭 4:门已关闭 5:停梯关门 6:开门失败 7.关门失败 99:未知状态 | properties |
subdoorStatus | enum | 副门状态 | "subdoorStatus":0 | 0:门已锁住 1:门正在打开 2:门已打开 3:门正在关闭 4:门已关闭 5:停梯关门 6:开门失败 7:关门失败 | properties |
currentFloor | string | 当前楼层 | "currentFloor":"F7" | 地上层用F加数字表示,地下层用B加数字表示 | properties |
direction | enum | 运行方向 | "direction":1 | 0:停止 1:下行 2:上行 | properties |
operational_parameter | json | 运行参数 | "operational_parameter":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
weight_load | integer | 电梯轿厢内负载情况, 单位为KG | "weight_load":120 | - | events.operational_parameter |
subdoor_status | integer | 电梯副门状态,0代表关,1代表开 | "subdoor_status": 1 | - | events.operational_parameter |
maindoor_status | integer | 电梯主门状态,0代表关,1代表开 | "maindoor_status": 1 | - | events.operational_parameter |
current_floor | integer | 电梯当前所在楼层 | "current_floor": 15 | - | events.operational_parameter |
- 上报字段示例
{
"reportTs": 1572702827618,
"profile": {
"appType":"elevator",
"poiCode": "w0601001",
"modelId": 1001
},
"properties": {
"status": 0,
"elevatorStatus": 1,
"loadState": 0,
"weightLoad": 4,
"speed": 0,
"speedState": 0,
"maindoorStatus": 0,
"subdoorStatus": 0,
"currentFloor": "F4",
"diection": 0
},
"events":{
"operational_parameter":{//无事件可不传
"eventType":0,
"eventTs":1664182315704,
"describe":"自定义描述字段"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 4.6 照明系统
# 4.6.1 情景面板
poicode:w0905003
modelID:3436
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | - | 一级字段 |
modelId | int | 模型ID | "modelId":"3436" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0905003" | - | profile |
appType | string | 事件类型 | "appType":"illumination" | 没事件可不传 | profile |
status | enum | 设备当前状态 | "status":0 | 0:正常 1:故障 2:离线 | properties |
Scene | enum | 照明场景 | "Scene":1 | 0:场景1 1:场景2 2:场景3 | properties |
Scene | json | 场景调节 | "light_on":{ "eventType":1, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
Scene | enum | 照明场景 | "Scene":1 | 0:场景1 1:场景2 2:场景3 | services |
- 上报字段示例
{
"reportTs": 1572702827618,
"profile": {
"appType":"illumination",
"poiCode": "w0905003",
"modelId": 3436
},
"properties": {
"status":0,
"Scene": 0
},
"events": {
"Scene":{//无事件可不传
"eventType":1,
"eventTs":1664182315704,
"describe":"自定义描述字段"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- 下控字段示例
{
"profile": {
"poiCode":"w0601001",
"modelId": 3436,
}
"services": {
"control": { // 此处,switch 对应于 service 定义的 id,其值包含哪些属性由模型中定义的 inputData 决定;
"Scene": 0
}
}
}
2
3
4
5
6
7
8
9
10
11
# 4.6.2 智能灯具
poicode:w0107008
modelID:1002
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 一级字段 | |
modelId | int | 模型ID | "modelId":"1002" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0107008" | - | profile |
appType | string | 事件类型 | "appType":"illumination" | 没事件可不传 | profile |
status | enum | 设备当前状态 | "status":0 | 0:正常 1:故障 2:离线 | properties |
lightBrightness | int | 照明亮度 | "lightBrightness":1 | 取值为0~100 | properties |
lightColor | enum | 色温值 | "lightColor":1 | 0:偏红橙色 1:偏橙黄色 2:偏黄色 3:白色 4:偏青色 5:偏蓝色 6:偏蓝紫色 | properties |
lightSwitch | enum | 开关状态 | "lightSwitch":0 | 0:关 1:开 | properties |
light_on | json | 开灯 | "light_on":{ "eventType":1, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
light_off | json | 关灯 | "light_off":{ "eventType":1, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
brightness_switch | json | 亮度调节 | "brightness_switch":{ "eventType":1, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
lightColor | json | 色温调节 | "lightColor":{ "eventType":1, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
lightSwitch | enum | 开关状态 | "lightSwitch":0 | 0:关 1:开 | services |
lightBrightness | int | 照明亮度 | "lightBrightness":1 | 取值为0~100 | services |
lightColor | enum | 色温值 | "lightColor":1 | 0:偏红橙色 1:偏橙黄色 2:偏黄色 3:白色 4:偏青色 5:偏蓝色 6:偏蓝紫色 | services |
- 上报字段示例
{
"reportTs": 1572702827618,
"profile": {
"appType":"illumination",
"poiCode": "w0107008",
"modelId": 1002
},
"properties": {
"status":0,
"lightBrightness": 0
},
"events": {
"brightness_switch":{//无事件可不传
"eventType":1,
"eventTs":1664182315704,
"describe":"自定义描述字段"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- 下控字段示例
{
"profile": {
"poiCode":"w0107008",
"modelId": 1002,
}
"services": {
"control": { // 此处,switch 对应于 service 定义的 id,其值包含哪些属性由模型中定义的 inputData 决定;
"lightColor": 0,
"lightSwitch": 1
}
}
}
2
3
4
5
6
7
8
9
10
11
12
# 4.6.3 灯控模块
poicode:w0107007
modelID:3415
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 一级字段 | |
modelId | int | 模型ID | "modelId":"3415" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0107007" | - | profile |
appType | string | 事件类型 | "appType":"illumination" | 没事件可不传 | profile |
status | enum | 设备当前状态 | "status":0 | 0:正常 1:故障 2:离线 | properties |
lightBrightness | int | 照明亮度 | "lightBrightness":1 | 取值为0~100 | properties |
lightColor | enum | 色温值 | "lightColor":1 | 0:偏红橙色 1:偏橙黄色 2:偏黄色 3:白色 4:偏青色 5:偏蓝色 6:偏蓝紫色 | properties |
lightSwitch | enum | 开关状态 | "lightSwitch":0 | 0:关 1:开 | properties |
light_on | json | 开灯 | "light_on":{ "eventType":1, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
light_off | json | 关灯 | "light_off":{ "eventType":1, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
brightness_switch | json | 亮度调节 | "brightness_switch":{ "eventType":1, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
lightColor | json | 色温调节 | "lightColor":{ "eventType":1, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
lightSwitch | enum | 开关状态 | "lightSwitch":0 | 0:关 1:开 | services |
lightBrightness | int | 照明亮度 | "lightBrightness":1 | 取值为0~100 | services |
lightColor | enum | 色温值 | "lightColor":1 | 0:偏红橙色 1:偏橙黄色 2:偏黄色 3:白色 4:偏青色 5:偏蓝色 6:偏蓝紫色 | services |
- 上报字段示例
{
"reportTs": 1572702827618,
"profile": {
"appType":"illumination",
"poiCode": "w0107007",
"modelId": 3415
},
"properties": {
"status":0,
"lightBrightness": 0
},
"events": {
"brightness_switch":{//无事件可不传
"eventType":1,
"eventTs":1664182315704,
"describe":"自定义描述字段"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- 下控字段示例
{
"profile": {
"poiCode":"w0107007",
"modelId": 3415,
}
"services": {
"control": { // 此处,switch 对应于 service 定义的 id,其值包含哪些属性由模型中定义的 inputData 决定;
"lightColor": 0,
"lightSwitch": 1
}
}
}
2
3
4
5
6
7
8
9
10
11
12
# 4.6.4 公共照明-未分类
poicode:w0107000
modelID:130
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 一级字段 | |
modelId | int | 模型ID | "modelId":"130" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0107000" | - | profile |
appType | string | 事件类型 | "appType":"illumination" | 没事件可不传 | profile |
HumanSensorStatus | enum | 楼层人感 | "HumanSensorStatus":0 | 0:未感应到人 1:感应到人 | properties |
Scene | enum | 楼层场景 | "lightSwitch":1 | 1:全开 2:全关 3:深夜 4:节能 | properties |
Scene | json | 楼层场景 | "brightness_switch":{ "eventType":1, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
Scene | enum | 楼层场景 | "lightSwitch":1 | 1:全开 2:全关 3:深夜 4:节能 | services |
- 上报字段示例
{
"reportTs": 1572702827618,
"profile": {
"appType": "illumination",
"poiCode": "w0107000",
"modelId": 130
},
"properties": {
"HumanSensorStatus":0,
"Scene": 1
},
"events": {
"Scene":{//无事件可不传
"eventType":1,
"eventTs":1664182315704,
"describe":"自定义描述字段"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- 下控字段示例
{
"profile": {
"poiCode":"w0107000",
"modelId": 130,
}
"services": {
"control": { // 此处,switch 对应于 service 定义的 id,其值包含哪些属性由模型中定义的 inputData 决定;
"Scene": 0
}
}
}
2
3
4
5
6
7
8
9
10
11
# 4.7 消防系统
# 4.7.1 消防广播播放器
poicode:w0302003
modelID:1019
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 一级字段 | |
modelId | int | 模型ID | "modelId":"1019" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0302003" | - | profile |
appType | string | 事件类型 | "appType":"fire_protecting" | 没事件可不传 | profile |
status | enum | 设备当前状态 | "status":0 | 0:正常 1:故障 2:离线 | properties |
loginState | enum | 设备登入状态 | "loginState":1 | 1:未登陆 2:登入 | properties |
mode | enum | 设备模式 | "mode":1 | properties | |
directMode | enum | 对讲模式 | "directMode":1 | 1:对讲 2:未对讲 | properties |
volume | int | 音量 | "volume":34 | 音量大小为0~100 | properties |
deviceFault | json | 设备故障 | "deviceFault":{ "eventType":1, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
volume | int | 音量 | "volume":34 | 音量大小为0~100 | services |
- 上报字段示例
{
"reportTs": 1572702827618,
"profile": {
"appType": "fire_protecting",
"poiCode": "w0302003",
"modelId": 1019
},
"properties": {
"status":0,
"loginState": 0,
"mode": 2,
"directMode": 0,
"volume": 0
},
"events": {
"deviceFault": {
"eventType": 0,
"eventTs": xxxxxxxxxx,
"describe": "xxxxx"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
- 下控字段示例
{
"profile": {
"poiCode":"w0302003",
"modelId": 1019,
}
"services": {
"control": { // 此处,switch 对应于 service 定义的 id,其值包含哪些属性由模型中定义的 inputData 决定;
"volume": 100
}
}
}
2
3
4
5
6
7
8
9
10
11
# 4.7.2 感烟探测器
poicode:w0301006
modelID:1006
events事件枚举及名称:
字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 一级字段 | |
modelId | int | 模型ID | "modelId":"1006" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0302003" | - | profile |
appType | string | 事件类型 | "appType":"fire_protecting" | 没事件可不传 | profile |
status | enum | 设备通用性状态 | "status":0 | 0:正常 1:故障 2:离线 | properties |
alarmStatus | enum | 火灾报警状态 | "alarmStatus":1 | 0:正常 1:火警 2:未知 | properties |
mainPower | enum | 主电源状态 | "mainPower":1 | 0:正常 1:故障 9;未知 | properties |
backPower | enum | 负电源状态 | "backPower":1 | 0:正常 1:故障 9:未知 | properties |
fire_alarm | json | 火灾警报 | "fire_alarm":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
start_over | json | 开启 | "start_over":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
monitoring | json | 监控 | "monitoring":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | event |
ack | json | 联动回答 | "ack":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
dismiss | json | 联动回答消除 | "dismiss":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
requests | json | 联动请求 | "requests":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
react_start | json | 联动启动 | "react_start":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
- 上报字段示例
{
"reportTs": 1572702827618,
"profile": {
"appType": "fire_protecting",
"poiCode": "w0301006",
"modelId": 1006
},
"properties": {
"status": 1,
"alarmStatus": 1,
"mainPower": 0,
"subPower": 1
},
"events": {
"fire_alarm": {
"eventType": 0,
"eventTs": xxxxxxxxxx,
"describe": "xxxxx"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 4.7.3 手报按钮
poicode:w0301012
modelID:1014
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 一级字段 | |
modelId | int | 模型ID | "modelId":"1014" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0301012" | - | profile |
appType | string | 事件类型 | "appType":"fire_protecting" | 没事件可不传 | profile |
status | enum | 设备通用性状态 | "status":0 | 0:正常 1:故障 2:离线 | properties |
activateStatus | enum | 火灾报警状态 | "activateStatus":1 | 0:正常 1:激活 | properties |
activate | json | 激活手报 | "activate":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
activateStatus | enum | 火灾报警状态 | "activateStatus":1 | 0:正常 1:激活 | services |
- 上报字段示例
{
"reportTs": 1572702827618,
"profile": {
"appType": "fire_protecting",
"poiCode": "w0301012",
"modelId": 1014
},
"properties": {
"status": 1,
"activateStatus": 1
},
"events": {
"activate": {
"eventType": 0,
"eventTs": xxxxxxxxxx,
"describe": "xxxxx"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- 下控字段示例
{
"profile": {
"poiCode":"w0301012",
"modelId": 1014,
}
"services": {
"control": { // 此处,switch 对应于 service 定义的 id,其值包含哪些属性由模型中定义的 inputData 决定;
"activateStatus": 0
}
}
}
2
3
4
5
6
7
8
9
10
11
# 4.7.4 防火阀
poicode:w0304008
modelID:2708
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 一级字段 | |
modelId | int | 模型ID | "modelId":"2708" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0304008" | - | profile |
appType | string | 事件类型 | "appType":"fire_protecting" | 没事件可不传 | profile |
status | enum | 设备通用性状态 | "status":0 | 0:正常 1:故障 2:离线 | properties |
activateStatus | enum | 激活状态 | "activateStatus":1 | 0:正常 1:激活 | properties |
activate | json | 激活防火阀 | "activate":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
activateStatus | num | 激活状态 | "activateStatus":1 | 0:正常 1:激活 | services |
- 上报字段示例
{
"reportTs": 1572702827618,
"profile": {
"appType": "fire_protecting",
"poiCode": "w0304008",
"modelId": 2708
},
"properties": {
"status": 1,
"activateStatus": 1
},
"events": {
"activate": {
"eventType": 0,
"eventTs": xxxxxxxxxx,
"describe": "xxxxx"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- 下控字段示例
{
"profile": {
"poiCode":"w0301012",
"modelId": 1014,
}
"services": {
"control": { // 此处,switch 对应于 service 定义的 id,其值包含哪些属性由模型中定义的 inputData 决定;
"activateStatus": 0
}
}
}
2
3
4
5
6
7
8
9
10
11
# 4.7.5 火灾模式控制器
poicode:w0301021
modelID:3444
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 一级字段 | |
modelId | int | 模型ID | "modelId":"3444" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0301021" | - | profile |
appType | string | 事件类型 | "appType":"fire_protecting" | 没事件可不传 | profile |
status | enum | 设备通用性状态 | "status":0 | 0:正常 1:故障 2:离线 | properties |
activateStatus | enum | 激活状态 | "activateStatus":1 | 0:正常 1:激活 | properties |
activate | json | 激活防火阀 | "activate":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
activateStatus | enum | 激活状态 | "activateStatus":1 | 0:正常 1:激活 | services |
- 上报字段示例
{
"reportTs": 1572702827618,
"profile": {
"appType": "fire_protecting",
"poiCode": "w0301021",
"modelId": 3444
},
"properties": {
"status": 1,
"activateStatus": 1
},
"events": {
"activate": {
"eventType": 0,
"eventTs": xxxxxxxxxx,
"describe": "xxxxx"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- 下控字段示例
{
"profile": {
"poiCode":"w0301021",
"modelId": 3444,
}
"services": {
"control": { // 此处,switch 对应于 service 定义的 id,其值包含哪些属性由模型中定义的 inputData 决定;
"activateStatus": 0
}
}
}
2
3
4
5
6
7
8
9
10
11
# 4.7.6 感温电缆
poicode:w0301013
modelID:2710
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 一级字段 | |
modelId | int | 模型ID | "modelId":"2710" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0301013" | - | profile |
appType | string | 事件类型 | "appType":"fire_protecting" | 没事件可不传 | profile |
status | enum | 设备通用性状态 | "status":0 | 0:正常 1:故障 2:离线 | properties |
alarmStatus | enum | 火灾报警状态 | "alarmStatus":1 | 0:正常 1:火警 2:未知 | properties |
fire_alarm | json | 火灾警报 | "activate":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
- 上报字段示例
{
"reportTs": 1572702827618,
"profile": {
"appType": "fire_protecting",
"poiCode": "w0301013",
"modelId": 2710
},
"properties": {
"status": 1,
"alarmStatus": 1
},
"events": {
"fire_alarm": {
"eventType": 0,
"eventTs": xxxxxxxxxx,
"describe": "xxxxx"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 4.8 暖通空调系统
# 4.8.1 空调机组
poicode:w0404009
modelID:2041
- 字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 一级字段 | |
modelId | int | 模型ID | "modelId":"2041" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0404009" | - | profile |
appType | string | 事件类型 | "appType":"fire_protecting" | 没事件可不传 | profile |
status | enum | 设备当前状态 | "status":0 | 0:正常 1:故障 2:离线 | properties |
AM_AHU | bool | 手自动转换 | "AM_AHU":true | properties | |
SW_AHU | bool | 季节转换 | "SW_AHU":true | properties | |
SCH_AHU | enum | 时间规划 | properties | ||
RS_AHU | bool | 机组起停控制 | properties | ||
RS_FAN | bool | 风机起停控制 | properties | ||
AL_FAN | bool | 风机运行故障 | properties | ||
EF_VVVF | enum | 变频器频率 | properties | ||
EI_VVVF | float | 变频器电流 | properties | ||
EP_VVVF | float | 变频器功率 | properties | ||
KWH_FAN | float | 用电量计量 | properties | ||
KWH_SAV | float | 节能量 | properties | ||
CO2_SAV | float | CO2减排量 | properties | ||
fanSpeed | float | 风机转速 | properties | ||
T_MOTOR | float | 传动温度 | properties | ||
HOR_RUN | float | 运行时间累计 | properties | ||
FIR_DM | bool | 消防联动 | properties | ||
AL_APM | bool | 就地手动报警 | properties | ||
DM_NR | float | 风阀控制 | properties | ||
V_HEX | float | 水阀控制 | properties | ||
RS_HUM | bool | 加湿控制 | properties | ||
T_OA | float | 新风温度 | properties | ||
H_OA | float | 新风湿度 | properties | ||
T_SA | float | 送风温度 | properties | ||
H_SA | float | 送风湿度 | properties | ||
T_RA | float | 回风温度 | properties | ||
H_RA | float | 回风湿度 | properties | ||
T_EA | float | 排风温度 | properties | ||
H_EA | float | 排风湿度 | properties | ||
T_HEXS | float | 换热器供水温度 | properties | ||
T_HEXR | float | 换热器回水温度 | properties | ||
DP_ACF | bool | 过滤网压差 | properties | ||
DP_FAN | bool | 风机压差 | properties | ||
SPT_SA(RA) | float | 温度设定 | properties | ||
setHumidity | float | 湿度设定 | properties | ||
GAN_PIDV | float | PID增益 | properties | ||
INT_PIDV | float | PID积分时间 | properties | ||
DER_PIDV | float | PID微分时间 | properties |
- 字段示例
{
"reportTs": 1572702827618,
"profile": {
"appType":"$对应所属的app",
"poiCode": "w0404009",
"modelId": xxxx
},
"properties": {
"status":0,
"AM_AHU": false,
"SW_AHU": false,
"SCH_AHU": false,
"RS_AHU": ,
"RS_FAN": ,
"AL_FAN": ,
"EF_VVVF": ,
"EI_VVVF": ,
"EP_VVVF": ,
"KWH_FAN": ,
"KWH_SAV": ,
"CO2_SAV": ,
"RP_FAN": ,
"T_MOTOR": ,
"HOR_RUN": ,
"FIR_DM": ,
"AL_APM": ,
"DM_NR": ,
"V_HEX": ,
"RS_HUM": ,
"T_OA": ,
"H_OA": ,
"T_SA": ,
"H_SA": ,
"T_RA": ,
"H_RA": ,
"T_EA": ,
"H_EA": ,
"T_HEXS": ,
"T_HEXR": ,
"DP_ACF": ,
"DP_FAN": ,
"SPT_SA(RA)": ,
"SPH_SA(RA)": ,
"GAN_PIDV": ,
"INT_PIDV": ,
"DER_PIDV": xx
},
"events": {}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# 4.8.2 新风机(组)
poicode:w0404006
modelID:2716
- 字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 一级字段 | |
modelId | int | 模型ID | "modelId":"2716" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0404006" | - | profile |
appType | string | 事件类型 | "appType":"fire_protecting" | 没事件可不传 | profile |
status | enum | 设备当前状态 | "status":0 | 0:正常 1:故障 2:离线 | properties |
AM_AHU | bool | 手自动转换 | properties | ||
SW_AHU | bool | 季节转换 | properties | ||
SCH_AHU | enum | 时间规划 | properties | ||
RS_AHU | bool | 机组起停控制 | properties | ||
RS_FAN | bool | 风机起停控制 | properties | ||
AL_FAN | bool | 风机运行故障 | properties | ||
EF_VVVF | enum | 变频器频率 | properties | ||
EI_VVVF | float | 变频器电流 | properties | ||
EP_VVVF | float | 变频器功率 | properties | ||
KWH_FAN | float | 用电量计量 | properties | ||
KWH_SAV | float | 节能量 | properties | ||
CO2_SAV | float | CO2减排量 | properties | ||
fanSpeed | float | 风机转速 | properties | ||
T_MOTOR | float | 传动温度 | properties | ||
HOR_RUN | float | 运行时间累计 | properties | ||
FIR_DM | bool | 消防联动 | properties | ||
AL_APM | bool | 就地手动报警 | properties | ||
DM_NR | float | 风阀控制 | properties | ||
V_HEX | float | 水阀控制 | properties | ||
T_OA | float | 新风温度 | properties | ||
H_OA | float | 新风湿度 | properties | ||
T_SA | float | 送风温度 | properties | ||
H_SA | float | 送风湿度 | properties | ||
roomTemperature | float | 室内温度 | properties | ||
roomHumidity | float | 室内湿度 | properties | ||
CO2 | float | 室内CO2浓度 | properties | ||
PM2_5 | float | 室内PM2.5浓度 | properties | ||
PM10 | float | 室内PM10浓度 | properties | ||
TVOC | float | TVOC | properties | ||
CH2O | float | CH2O | properties | ||
T_HEXS | float | 换热器供水温度 | properties | ||
T_HEXR | float | 换热器回水温度 | properties | ||
DP_ACF | bool | 过滤网压差 | properties | ||
DP_FAN | bool | 风机压差 | properties | ||
SPT_SA(RA) | float | 温度设定 | properties | ||
SPH_SA(RA) | float | 湿度设定 | properties | ||
GAN_PIDV | float | PID增益 | properties | ||
INT_PIDV | float | PID积分时间 | properties | ||
DER_PIDV | float | PID微分时间 |
- 字段示例
{
"reportTs": 1572702827618,
"profile": {
"appType":"$对应所属的app",
"poiCode": "w0404006",
"modelId": xxxx
},
"properties": {
"status":0,
"AM_AHU": ,
"SW_AHU": ,
"SCH_AHU": ,
"RS_AHU": ,
"RS_FAN": ,
"AL_FAN": ,
"EF_VVVF": ,
"EI_VVVF": ,
"EP_VVVF": ,
"KWH_FAN": ,
"KWH_SAV": ,
"CO2_SAV": ,
"RP_FAN": ,
"T_MOTOR": ,
"HOR_RUN": ,
"FIR_DM": ,
"AL_APM": ,
"DM_NR": ,
"V_HEX": ,
"T_OA": ,
"H_OA": ,
"T_SA": ,
"H_SA": ,
"T_RA": ,
"H_RA": ,
"CO2_CON": ,
"PM2.5_CON": ,
"PM10_CON": ,
"TVOC_CON": ,
"CH2O_CON": ,
"T_HEXS": ,
"T_HEXR": ,
"DP_ACF": ,
"DP_FAN": ,
"SPT_SA(RA)": ,
"SPH_SA(RA)": ,
"GAN_PIDV": ,
"INT_PIDV": ,
"DER_PIDV": xx
},
"events": {}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# 4.8.3 VAV空调盒(BOX)
poicode:w0404004
modelID:3439
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 一级字段 | |
modelId | int | 模型ID | "modelId":"3439" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0404004" | - | profile |
appType | string | 事件类型 | "appType":"HAVC" | 没事件可不传 | profile |
status | enum | 设备当前状态 | "status":0 | 0:正常 1:故障 2:离线 | properties |
RS_FAN | bool | 启停控制 | "RS_FAN":false | properties | |
setTemperatrue | float | 设定温度 | "setTemperatrue":17 | properties | |
fanSpeed | float | 风机转速 | "fanSpeed":20 | properties | |
AL_APM | bool | 手自动转换 | "AL_APM":true | properties | |
roomTemperature | float | 室内温度 | "roomTemperature":25 | properties | |
roomhumidity | float | 室内湿度 | "roomhumidity":60 | properties | |
CO2 | float | 室内CO2浓度 | "CO2":10 | properties | |
PM2_5 | float | 室内PM2.5浓度 | "PM2_5":12 | properties | |
PM10 | float | 室内PM10浓度 | "PM10":14 | properties | |
TVOC | float | TVOC | "TVOC":18 | properties | |
CH2O | float | CH2O | "CH2O":60 | properties | |
deviceFault | json | 设备故障 | "activate":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
setTemperatrue | float | 设定温度 | "setTemperatrue":17 | services | |
AL_APM | bool | 手自动转换 | "AL_APM":true | services |
- 上报字段示例
{
"reportTs": 1572702827618,
"profile": {
"appType":"HAVC",
"poiCode": "w0404004",
"modelId": 3439
},
"properties": {
"status":0,
"RS_FAN": false,
"setTemperatrue": 25,
"fanSpeed": 20.0,
"AL_APM": true,
"roomTemperature": 19,
"roomhumidity": 45,
"CO2": 12,
"PM2_5": 14,
"TVOC": 18,
"CH2O": 60
},
"events": {
"deviceFault": {
"eventType": 0,
"eventTs": 1572702827618,
"describe": "xxxxx"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
- 下控字段示例
{
"profile": {
"poiCode":"w0406002",
"modelId": 3440,
}
"services": {
"control": { // 此处,switch 对应于 service 定义的 id,其值包含哪些属性由模型中定义的 inputData 决定;
"setTemperatrue": 26
}
}
}
2
3
4
5
6
7
8
9
10
11
# 4.8.4 VRV室内机
poicode:w0406002
modelID:3440
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 一级字段 | |
modelId | int | 模型ID | "modelId":"3440" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0406002" | - | profile |
appType | string | 事件类型 | "appType":"HAVC" | 没事件可不传 | profile |
status | enum | 设备当前状态 | "status":0 | 0:正常 1:故障 2:离线 | properties |
runningState | enum | 空调运行状态 | "runningState":1 | 1 : 表示关机; 2 : 表示开机 | properties |
runningMode | enum | 空调当前模式 | "runningMode":2 | 1 : 表示自动; 2 : 表示除湿; 3 : 表示制冷; 4 : 表示送风; 5 : 表示制热 | properties |
fansMode | enum | 空调风速模式 | "fansMode":1 | 1 : 表示高速; 2 : 表示中速; 3 : 表示低速 | properties |
setTemperatrue | double | 空调设置温度 | "setTemperatrue":21.5 | 单位为摄氏度 | properties |
roomTemperatrue | double | 室内温度 | "roomTemperatrue":24.5 | 单位为摄氏度 | properties |
deviceFault | json | 设备故障 | "activate":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
runningState | enum | 空调运行状态 | "runningState":1 | 1 : 表示关机; 2 : 表示开机 | services |
runningMode | enum | 空调当前模式 | "runningMode":2 | 1 : 表示自动; 2 : 表示除湿; 3 : 表示制冷; 4 : 表示送风; 5 : 表示制热 | services |
fansMode | enum | 空调风速模式 | "fansMode":1 | 1 : 表示高速; 2 : 表示中速; 3 : 表示低速 | services |
setTemperatrue | double | 空调设置温度 | "setTemperatrue":21.5 | 单位为摄氏度 | services |
- 上报字段示例
{
"reportTs": 1572702827618,
"profile": {
"appType":"HAVC",
"poiCode": "w0406002",
"modelId": 3440
},
"properties": {
"status":0,
"runningState": 0,
"runningMode": 0,
"fansMode": 0,
"setTemperatrue": 17,
"roomTemperatrue": 23
},
"events": {
"deviceFault": {
"eventType": 0,
"eventTs": 1572702827618,
"describe": "xxxxx"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
- 下控字段示例
{
"profile": {
"poiCode":"w0406002",
"modelId": 3440,
}
"services": {
"control": { // 此处,switch 对应于 service 定义的 id,其值包含哪些属性由模型中定义的 inputData 决定;
"fansMode": 0
}
}
}
2
3
4
5
6
7
8
9
10
11
# 4.9 环境系统
# 4.9.1 综合环境监测仪
poicode:w1331008
modelID:3441
- 字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 一级字段 | |
modelId | int | 模型ID | "modelId":"3441" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w1331008" | - | profile |
appType | string | 事件类型 | "appType":"environment" | 没事件可不传 | profile |
status | enum | 设备当前状态 | "status":0 | 0:正常 1:故障 2:离线 | properties |
temperature | double | 环境温度 | "temperature":12 | 单位为摄氏度 | properties |
humidity | double | 环境湿度 | “humidity”:56 | 百分比 | properties |
noiseDecibel | double | 环境噪音 | "noiseDecibel":12 | properties | |
smokeDetector | double | 环境烟雾浓度 | "smokeDetector":20 | 浓度,若不含此参数则置为-1.0 | properties |
AQI | double | 空气质量指数 | ”AQI“: | properties | |
PM1_0 | double | 环境PM1.0 | ”PM1_0“:12 | 浓度,若不含此参数则置为-1.0 | properties |
PM2_5 | double | 环境PM2.5 | "PM2_5":14 | 浓度,若不含此参数则置为-1.0 | properties |
PM10 | double | 环境PM10 | "PM10":35 | 浓度,若不含此参数则置为-1.0 | properties |
CO | double | 一氧化碳 | "CO":35 | 浓度,若不含此参数则置为-1.0 | properties |
CO2 | double | 二氧化碳 | "CO2":35 | 浓度,若不含此参数则置为-1.0 | properties |
H2 | double | 氢气 | "H2":35 | 浓度,若不含此参数则置为-1.0 | properties |
SO2 | double | 二氧化硫 | "SO2":35 | 浓度,若不含此参数则置为-1.0 | properties |
H2S | double | 硫化氢 | "H2S":35 | 浓度,若不含此参数则置为-1.0 | properties |
Nox | double | 氮氧化物 | "Nox":35 | 浓度,若不含此参数则置为-1.0 | properties |
CL | double | 氯气 | "CL":35 | 浓度,若不含此参数则置为-1.0 | properties |
HCHO | double | 甲醛 | "HCHO":35 | 浓度,若不含此参数则置为-1.0 | properties |
TVOC | double | 挥发性有机物 | "TVOC":35 | 浓度,若不含此参数则置为-1.0 | properties |
windSpeed | double | 风速 | "windSpeed":35 | properties | |
windDirection | double | 风向 | "windDirection":35 | properties | |
CO2_Alarm | json | co2浓度超标 | "activate":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 co2,co等浓度超标可继续添加事件 | events |
- 字段示例:
{
"reportTs": 148813512323,
"profile": {
"poiCode": "w1331008",
"modelId": 3441,
"appType":"environment"
},
"properties": {
"status":0,
"temperature": 125,
"humidity": 125,
"noiseDecibel": 125,
"smokeDetector": 125,
"AQI": 125,
"PM1_0": 125,
"PM2_5": 125,
"PM10": 125,
"CO": 125,
"CO2": 125,
"H2": 125,
"SO2": 125,
"H2S": 125,
"Nox": 125,
"CL": 125,
"HCHO": 125,
"TVOC": 125,
"windSpeed": 12,
"windDirection": 23
},
"events": {
"CO2_Alarm": {
"eventType": 0,
"eventTs": 1572702827618,
"describe": "xxxxx"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 4.10 通用智能系统
# 4.10.1 智能窗控制器
poicode:w0908026
modelID:3442
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 一级字段 | |
modelId | int | 模型ID | "modelId":"3442" | - | profile |
poiCode | string | 设备分类编码 | "poiCode":"w0908026" | - | profile |
appType | string | 事件类型 | "appType":"environment" | 没事件可不传 | profile |
status | enum | 通用状态 | "status":1 | 0:在线 1 : 离线; 2 : 故障 | properties |
windowStatus | enum | 窗户当前状态 | "windowStatus":2 | 0: 关闭; 1 : 关闭中; 2 : 开启; 4 : 开启中; 9: 未知 | properties |
open | json | 开启 | "activate":{ "eventType":1, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
close | json | 关闭 | "activate":{ "eventType":1, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
stuck | json | 开启或关闭失败 | "activate":{ "eventType":0, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
restart | json | 故障后恢复 | "activate":{ "eventType":2, "eventTs":1664182315704, "describe":"自定义描述字段" } | 事件,没事件可不传 eventType,0代表告警,1代表通知,2代表消警。 describe可自定义填充。 eventTs毫秒级时间戳 | events |
windowStatus | enum | 窗户开关 | "windowStatus":1 | 0:关 1:开 | services |
- 上报字段示例
{
"reportTs":1572702827618,
"profile": {
"appType":"environment",
"poiCode":"w0908026",
"modelId":3442
},
"properties": {
"status": 1,
"windowStatus": 0
},
"events": {
"open": {
"eventType": 1,
"eventTs": 1572702827618,
"describe": "xxxxx"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- 下控字段示例
{
"profile": {
"poiCode":"w0406002",
"modelId": 3440,
}
"services": {
"control": { // 此处,switch 对应于 service 定义的 id,其值包含哪些属性由模型中定义的 inputData 决定;
"windowStatus": 0
}
}
}
2
3
4
5
6
7
8
9
10
11
# 4.18 智慧工地系统
# 4.18.1 操作(卸料)平台-未分类
poicode:w1023001
modelID:3443
- events事件枚举及名称:
序号 | 事件id | 字段描述 | 事件分类 |
---|---|---|---|
1 | load_alarm | 载重告警 | 告警型事件 |
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 一级字段 | |
mainGirderLen | double | 主梁长度 | "mainGirderLen":29.33 | profile | |
plateformWidth | double | 平台宽度 | "plateformWidth":74.45 | profile | |
status | enum | 通用状态 | "status":1 | 0:在线 1 : 离线; 2 : 故障 | properties |
loadMax | double | 最大载重 | "loadMax":120 | properties | |
loadWeight | double | 当前载重 | "loadWeight":100 | properties | |
alarmStatus | enum | 设备报警状态 | "alarmStatus":1 | 0:正常 1:告警 2:未知 | properties |
eventTs | long | 事件发生时间 | "eventTs":xxxxxxxx | 毫秒级时间戳 | properties.load_alarm |
eventType | enum | 事件类型 | "eventType":1 | 0:告警事件 1:通知事件 | properties.load_alarm |
loadWeight | double | 当前载重 | "loadWeight":100 | properties.load_alarm | |
description | string | 故障描述 | "description":"xxxxxxx" | 0:停止 1:下行 2:上行 | properties.load_alarm |
- 字段示例
{
"reportTs": 1572702827618,
"profile": {
"appType": "xxxxxxxx",
"poiCode": "w1023001",
"modelId": 1,
"mainGirderLen": xxx,
"plateformWidth": xxx,
"loadMax": xxxxx
},
"properties": {
"status": 1,
"loadWeight": xx,
"alarmStatus": xxxxx
},
"events": {
"load_alarm": {
"eventTs": xxxxxxxxxxx,
"eventType": 0,
"loadWeight": 0,
"describe":"xxxxxx"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 4.18.2 升降机
poicode:w1009002
model ID:2404
- events事件枚举及名称:
序号 | 事件id | 字段描述 | 事件分类 |
---|---|---|---|
1 | crane_running | 升降机运行 | 通知型事件 |
2 | crane_running_alarm | 升降机运行告警 | 告警型事件 |
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 一级字段 | |
loadPersonMax | int | 人数荷载 | "loadPersonMax":20 | profile | |
loadMax | double | 重量荷载 | "loadMax":1000 | profile | |
personCountExist | enum | 人员计数模块存在状态 | "personCountExist":0 | 0: 不存在 1:存在 | profile |
loadMonitorExist | enum | 重量监控模块存在状态 | "loadMonitorExist":1 | 0: 不存在 1:存在 | profile |
driverMonitorExist | enum | 司机识别存在状态 | "driverMonitorExist":0 | 0: 不存在 1:存在 | profile |
status | enum | 通用状态 | "status":1 | 0:在线 1 : 离线; 2 : 故障 | properties |
currentLoadPerson | int | 当前载重人数 | "currentLoadPerson":29 | properties | |
loadWeight | double | 吊重 | "loadWeight":29.33 | properties | |
loadPercent | double | 吊重百分比 | "loadPercent":74.45 | properties | |
direction | double | 运行方向 | "direction":1 | properties | |
driverInfo | double | 司机信息 | "driverInfo":{} | 内部字段可自定义新增 | properties |
driverName | string | 司机姓名 | "driverName":"" | properties | |
driverId | string | 司机编号 | "driverId":”xxxxxxxx“ | 毫秒级时间戳 | properties |
alarmStatus | enum | 设备报警状态 | "alarmStatus":1 | 0:正常 1:告警 2:未知 | properties |
eventTs | long | 事件发生时间 | "eventTs":xxxxxxxx | 毫秒级时间戳 | properties.crane_running |
eventType | enum | 事件类型 | "eventType":1 | 0:告警事件 1:通知事件 | properties.crane_running |
startFloor | string | 开始运行楼层 | "startFloor":"1F" | properties.crane_running | |
endFloor | string | 结束运行楼层 | "endFloor":"4F" | properties.crane_running | |
angle | double | 倾斜角度 | "angle":23.45 | properties.crane_running | |
height | double | 高度 | "height":10.43 | 单位为米 | properties.crane_running |
speed | double | 速度 | "speed":12.45 | 单位为米每秒 | properties.crane_running |
xAngle | double | 实时X向倾斜度 | "xAngle":1 | properties.crane_running | |
yAngle | double | 实时y向倾斜度 | "yAngle":2 | properties.crane_running | |
eventTs | long | 事件发生时间 | "eventTs":xxxxxxxx | 毫秒级时间戳 | properties.crane_running_alarm |
eventType | enum | 事件类型 | "eventType":0 | 0:告警事件 1:通知事件 | properties.crane_running_alarm |
description | string | 故障描述 | "description":"xxxxxxx" | properties.crane_running_alarm |
- 字段示例
{
"reportTs": 1572702827618,
"profile": {
"appType": "xxxxxxxx",
"poiCode": "w1023001",
"modelId": 1
},
"properties": {
"status": 1,
"currentLoadPerson": xxxxxx,
"loadWeight": xxx,
"loadPercent": xxx,
"direction": xxxxx,
"driverInfo": {
"driverName": "xxxxxx",
"driverId": "xxxxxxxxxx"
},
"alarmStatus": xxxxx
},
"events": {
"crane_running": {
"eventTs": xxxxxxxxxxx,
"eventType": 1,
"loadCurrent": 0,
"startFloor":"xxxxxx",
"endFloor": "xxxx",
"angle": xx,
"height": xx,
"speed": xx,
"xAngle": xx,
"yAngle": xx
},
"crane_running_alarm": {
"eventTs": xxxxxxxxxxx,
"eventType": 0,
"describe":"xxxxxx"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 4.18.3 塔吊
poicode:w1009001
modelID:2402
- events事件枚举及名称:
序号 | 事件id | 字段描述 | 事件分类 |
---|---|---|---|
1 | limitExcessive | 限位超限 | 告警型事件 |
2 | sensorOffline | 传感器离线 | 告警型事件 |
3 | relayBraking | 继电器制动 | 告警型事件 |
- 字段描述
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 上报时间 | "reportTs":148813512323 | 一级字段 | |
status | enum | 通用状态 | "status":1 | 0:在线 1 : 离线; 2 : 故障 | properties |
workStatus | enum | 工作状态 | "workStatus":1 | 1:工作 2:空闲 | properties |
torquePct | double | 力矩百分比 | "torquePct":29.33 | properties | |
boomLength | double | 起重臂长(米) | "boomLength":20 | properties | |
balanceBoomLength | double | 平衡臂长(米) | "balanceBoomLength":12 | properties | |
topHatHeight | double | 塔帽高(米) | "topHatHeight":14 | properties | |
boomHeight | double | 起重臂高(米) | "boomHeight":56 | properties | |
ropeOverride | double | 绳索倍率 | "ropeOverride":2.0 | properties | |
height | double | 高度(米) | "height":12 | properties | |
range | double | 幅度(米) | "range":34 | properties | |
rotation | double | 回转(度) | "rotation":12 | properties | |
loadWeight | double | 载重(kg) | "loadWeight":200 | properties | |
maxWeight | double | 当前允许载重(kg) | "maxWeight":300 | properties | |
loadPercent | int | 载重百分比(%) | "loadPercent":66 | properties | |
windSpeed | double | 风速(米/秒) | "windSpeed":45 | properties | |
Inclination | double | 倾斜度(度) | "Inclination"1 | properties | |
amplitudeRotationFar | enum | 幅度回转限位状态-远 | "amplitudeRotationFar":1 | 0:正常 1:预警 2:报警 | properties |
amplitudeRotationNear | enum | 幅度回转限位状态-近 | "amplitudeRotationNear":1 | 0:正常 1:预警 2:报警 | properties |
amplitudeRotationLeft | enum | 幅度回转限位状态-左 | "amplitudeRotationLeft":1 | 0:正常 1:预警 2:报警 | properties |
amplitudeRotationRight | enum | 幅度回转限位状态-右 | "amplitudeRotationRight":1 | 0:正常 1:预警 2:报警 | properties |
InterferenceLimitUp | enum | 干涉限位状态-上 | "InterferenceLimitUp":0 | 0:正常 1:预警 2:报警 | properties |
InterferenceLimitUp | enum | 干涉限位状态-上 | "InterferenceLimitUp":0 | 0:正常 1:预警 2:报警 | properties |
InterferenceLimitDown | enum | 干涉限位状态-下 | "InterferenceLimitDown":0 | 0:正常 1:预警 2:报警 | properties |
InterferenceLimitFront | enum | 干涉限位状态-前 | "InterferenceLimitFront":0 | 0:正常 1:预警 2:报警 | properties |
InterferenceLimitBack | enum | 干涉限位状态-后 | "InterferenceLimitBack":0 | 0:正常 1:预警 2:报警 | properties |
InterferenceLimitLeft | enum | 干涉限位状态-左 | "InterferenceLimitLeft":0 | 0:正常 1:预警 2:报警 | properties |
InterferenceLimitRight | enum | 干涉限位状态-右 | "InterferenceLimitRight":0 | 0:正常 1:预警 2:报警 | properties |
collisionLimitUp | enum | 碰撞限位-上 | "collisionLimitUp":0 | 0:正常 1:预警 2:报警 | properties |
collisionLimitDown | enum | 碰撞限位-下 | "collisionLimitDown":0 | 0:正常 1:预警 2:报警 | properties |
collisionLimitLeft | enum | 碰撞限位-左 | "collisionLimitLeft":0 | 0:正常 1:预警 2:报警 | properties |
collisionLimitRight | enum | 碰撞限位-右 | "collisionLimitRight":0 | 0:正常 1:预警 2:报警 | properties |
collisionLimitFront | enum | 碰撞限位-前 | "collisionLimitFront":0 | 0:正常 1:预警 2:报警 | properties |
collisionLimitBack | enum | 碰撞限位-后 | "collisionLimitBack":0 | 0:正常 1:预警 2:报警 | properties |
relayUpStatus | enum | 继电器状态-上行 | ”relayUpStatus“:0 | 0:未制动 1:制动 | properties |
relayDownStatus | enum | 继电器状态-下行 | ”relayUpStatus“:0 | 0:未制动 1:制动 | properties |
relayLeftStatus | enum | 继电器状态-=左行 | ”relayUpStatus“:0 | 0:未制动 1:制动 | properties |
relayRightStatus | enum | 继电器状态-右行 | ”relayUpStatus“:0 | 0:未制动 1:制动 | properties |
relayFrontStatus | enum | 继电器状态-前行 | ”relayUpStatus“:0 | 0:未制动 1:制动 | properties |
relayBackStatus | enum | 继电器状态-后行 | ”relayUpStatus“:0 | 0:未制动 1:制动 | properties |
heightSensor | enum | 高度传感器 | "heightSensor":0 | 0未连接 1连接 | properties |
rangeSensor | enum | 幅度传感器 | "rangeSensor":1 | 0未连接 1连接 | properties |
rotationSensor | enum | 回转传感器 | "rotationSensor":1 | 0未连接 1连接 | properties |
weightSensor | enum | 重量传感器 | "weightSensor":0 | 0未连接 1连接 | properties |
windSpeedSensor | enum | 风速传感器 | "windSpeedSensor":1 | 0未连接 1连接 | properties |
InclinationSensor | enum | 倾斜传感器 | "InclinationSensor":1 | 0未连接 1连接 | properties |
eventType | enum | 事件类型 | "eventType":0 | 0:告警型事件 1:通知型事件 2:未知类型事件 | events.limitExcessive |
eventTs | long | 事件发生时间 | "eventTs":148813512323 | 毫秒级时间戳 | events.limitExcessive |
describe | string | 事件描述 | "describe":"" | events.limitExcessive | |
deviceType | enum | 超限设备类型 | "deviceType":1 | 1:幅度回转限位 2:碰撞限位 3:Interference | events.limitExcessive |
direction | snum | 方向描述 | "direction":1 | 1:上行 2:下行 3:左行 4:右行 5:前行 6:后行 7:远端 8:近端 | events.limitExcessive |
deviceType | enum | 离线传感器类型 | "deviceType":2 | 1:高度传感器 2:幅度传感器 3:回转传感器 4:重量传感器 5:风速传感器 | events.sensorOffline |
direction | enum | 方向描述 | "direction":"far" | 1:上行 2:下行 3:左行 4:右行 5:前行 6:后行 | events.limitExcessiveevents.relayBraking |
- 字段示例:
{
"profile": {
"appType": "xxxxxxxx",
"poiCode": "w1023001",
"modelId": 1
},
"properties": {
"status":0,
"relayRightStatus": 1,
"torquePct": xxxxx,
"heightSensor": 0,
"amplitudeRotationRight": 1,
"amplitudeRotationNear": 0,
"topHatHeight": 47,
"loadPercent": 44,
"collisionLimitBack": 1,
"ropeOverride": 2.7,
"range": 45,
"relayFrontStatus": 0,
"InterferenceLimitFront": 0,
"InterferenceLimitUp": 0,
"InclinationSensor": 0,
"amplitudeRotationFar": 1,
"rotationSensor": 1,
"collisionLimitDown": 1,
"InterferenceLimitBack": 1,
"boomLength": 23,
"relayUpStatus": 0,
"windSpeed": 64,
"height": 67,
"workStatus": 2,
"windSpeedSensor": 1,
"loadWeight": 620,
"boomHeight": 30,
"amplitudeRotationLeft": 0,
"collisionLimitUp": 2,
"relayLeftStatus": 0,
"collisionLimitRight": 0,
"rotation": 15,
"relayBackStatus": 0,
"maxWeight": 335,
"collisionLimitLeft": 0,
"InterferenceLimitDown": 1,
"Inclination": 1,
"collisionLimitFront": 0,
"rangeSensor": 1,
"balanceBoomLength": 9,
"weightSensor": 1,
"InterferenceLimitLeft": 2,
"relayDownStatus": 0,
"InterferenceLimitRight": 0,
"status": 1
},
"events": {
"limitExcessive": {
"deviceType": 1,
"eventType": 0,
"eventTs": 1576747446069,
"direction": 5
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# 5.应用模块对象模型
应用对象模型
# 5.0 微瓴内部系统模块
# 5.0.1 统一id管理模块对象模型(t0002001)
- events事件枚举及名称:
序号 | 事件id | 字段描述 | 事件分类 |
---|---|---|---|
1 | report | 上报 | 通知型事件 |
2 | delete | 删除 | 通知型事件 |
3 | update | 更新 | 通知型事件 |
- register事件描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 消息上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件发生时间 | "eventTs":148813512323 | events.register | |
eventType | enum | 事件类型 | "eventType":1 | 值固定为1,代表通知型事件 | events.register |
objectType | enum | 对象类型 | "objectType":0 | 0:人员 1:设备 2:应用模块 3:小型客车 待补充 | events.register |
uniqueId | string | 对象唯一标识 | "uniqueId":"xxxxxxxxxxxx" | 不同的objectType,对应不同的Id类型 人员:身份证号码 设备:出场资产编号 应用模块: 厂商应用模块编号 小型客车:车牌号码 待补充 | events.register |
appid | int | 应用id | "appid":xxxxx | 所属微瓴应用id | events.register |
systemId | string | 系统唯一标识 | "systemId":"xxxxxxxxxx" | 所属应用系统唯一标识 | events.register |
projectId | int | 项目id | "projectId":xx | 所属微瓴项目id | events.register |
extend | json | 对象拓展信息 | "extend":{} | 对于不同的对象类型有着不同的extend内数据格式 | events.register |
注:微瓴会对不同类型的extend字段做出所含最小字段的定义,数据上报注册时字段必须存在,但值可为空
- delete事件描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 消息上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件发生时间 | "eventTs":148813512323 | events.delete | |
eventType | enum | 事件类型 | "eventType":1 | 值固定为1,代表通知型事件 | events.delete |
systemId | string | 系统唯一标识 | "systemId":"xxxxxxxxxx" | 所属应用系统唯一标识 | events.register |
- update事件描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 消息上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件发生时间 | "eventTs":148813512323 | events.update | |
eventType | enum | 事件类型 | "eventType":1 | 值固定为1,代表通知型事件 | events.update |
systemId | string | 系统唯一标识 | "systemId":"xxxxxxxxxx" | 所属应用系统唯一标识 | events.register |
extend | json | 对象拓展信息 | "extend":{} | 对于不同的对象类型有着不同的extend内数据格式 | events.register |
# 5.1安防监控系统
# 5.2 能源系统
# 5.2.1 能耗数据
# 5.2.1.1 本日公区用电总量(t0201001)
- 字段描述
*字段名称* | *字段类型* | *字段描述* | *示例* | *备注* | *层级隶属* |
---|---|---|---|---|---|
reportTs | long | 消息上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件时间 | "eventTs":148813512323 | events | |
eventType | enum | 事件类型 | "eventType":1 | 0:告警型事件 1:通知型事件 2:未知类型事件 | events |
describe | string | 事件描述 | "describe":"" | events | |
Content | array | 返回到微瓴平台的内容 | 参考字段示例 | events | |
building | string | 各项目建筑编码 | "building":"1" | events.Content | |
data_time | string | 字符串日期格式,例:取2019年1月 1日能耗为20190101000000 | "data_time":"20190101000000 | events.Content | |
data_value | float | 日能耗值 | "data_value":50.1 | events.Content |
- 字段示例
{
"reportTs": 148813512323,
"profile": {
"poiCode": "w2001001",
"appType": "nanning_energy",
"modelId": 200022
},
"properties": {},
"events": {
"total_pub_area_energy_cost_today":{
"eventType":1,
"eventTs": 148813512323,
"describe":"",
"Content":[
{
"building":"1",
"data_time":"20190101000000,
"data_value":50.1
}
}]}}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 5.2.1.2 本日租区用电总量(t0201002)
- 字段描述
*字段名称* | *字段类型* | *字段描述* | *示例* | *备注* | *层级隶属* |
---|---|---|---|---|---|
reportTs | long | 消息上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件时间 | "eventTs":148813512323 | events | |
eventType | enum | 事件类型 | "eventType":1 | 0:告警型事件 1:通知型事件 2:未知类型事件 | events |
describe | string | 事件描述 | "describe":"" | events | |
Content | array | 返回到微瓴平台的内容 | 参考字段示例 | events | |
building | string | 各项目建筑编码 | "building":"1" | events.Content | |
data_time | string | 字符串日期格式,例:取2019年1月 1日能耗为20190101000000 | "data_time":"20190101000000 | events.Content | |
data_value | float | 日能耗值 | "data_value":50.1 | events.Content |
- 字段示例
{
"reportTs": 148813512323,
"profile": {
"poiCode": "w2001001",
“appType”: “nanning_energy”,
"modelId": 200022
},
"properties": {},
"events": {
"total_rent_energy_cost_today":{
"eventType":1,
"eventTs": 148813512323,
"describe":"",
"Content":[
{
"building":"1",
"data_time":"20190101000000,
"data_value":50.1
}
}]}}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 5.2.1.3 分区用电总量(t0201003)
- 字段描述
*字段名称* | *字段类型* | *字段描述* | *示例* | *备注* | *层级隶属* |
---|---|---|---|---|---|
reportTs | long | 消息上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件时间 | "eventTs":148813512323 | events | |
eventType | enum | 事件类型 | "eventType":1 | 0:告警型事件 1:通知型事件 2:未知类型事件 | events |
describe | string | 事件描述 | "describe":"" | events | |
Content | array | 返回到微瓴平台的内容 | 参考字段示例 | events | |
building | string | 各项目建筑编码 | "building":"1" | events.Content | |
data_time | string | 字符串日期格式,例:取2019年1月 1日能耗为20190101000000 | "data_time":"20190101000000 | events.Content | |
area_type | string | 分区类型 | "area_type":"办公区" | events.Content | |
data_value | float | 日能耗值 | "data_value":50.1 | events.Content |
- 字段示例
{
"reportTs": 148813512323,
"profile": {
"poiCode": "w2001001",
“appType”: “nanning_energy”,
"modelId": 200022
},
"properties": {},
"events": {
"total_area_energy_cost_today":{
"eventType":1,
"eventTs": 148813512323,
"describe":"",
"Content":[
{
"building":"1",
"data_time":"20190101000000",
"area_type":"办公区"
"data_value":50.1
},
{
"building":"1",
"data_time":"20190101000000,
"area_type":"酒店区"
"data_value":40.1
},
{
"building":"1",
"data_time":"20190101000000,
"area_type":"商业区"
"data_value":30.1
},
{
"building":"1",
"data_time":"20190101000000,
"area_type":"机电避难层"
"data_value":20.1
},
{
"building":"1",
"data_time":"20190101000000,
"area_type":"设备机房层"
"data_value":10.1
},
{
"building":"1",
"data_time":"20190101000000,
"area_type":"停车场"
"data_value":60.1
}
}]}}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# 5.2.1.4 分类用电统计(t0201004)
- 字段描述
*字段名称* | *字段类型* | *字段描述* | *示例* | *备注* | *层级隶属* |
---|---|---|---|---|---|
reportTs | long | 消息上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件时间 | "eventTs":148813512323 | events | |
eventType | enum | 事件类型 | "eventType":1 | 0:告警型事件 1:通知型事件 2:未知类型事件 | events |
describe | string | 事件描述 | "describe":"" | events | |
Content | array | 返回到微瓴平台的内容 | 参考字段示例 | events | |
building | string | 各项目建筑编码 | "building":"1" | events.Content | |
data_time | string | 字符串日期格式,例:取2019年1月 1日能耗为20190101000000 | "data_time":"20190101000000 | events.Content | |
energy_type | string | 能源分类 | "energy_type":"照明" | events.Content | |
data_value | float | 日能耗值 | "data_value":50.1 | events.Content |
- 字段示例
{
"reportTs": 148813512323,
"profile": {
"poiCode": "w2001001",
“appType”: “nanning_energy”,
"modelId": 200022
},
"properties": {},
"events": {
"total_type_energy_cost_today":{
"eventType":1,
"eventTs": 148813512323,
"describe":"",
"Content":[
{
"building":"1",
"data_time":"20190101000000",
"area_type":"办公区"
"data_value":50.1
},
{
"building":"1",
"data_time":"20190101000000,
"energy_type":"照明"
"data_value":40.1
},
{
"building":"1",
"data_time":"20190101000000,
"energy_type":"空调"
"data_value":30.1
},
{
"building":"1",
"data_time":"20190101000000,
"energy_type":"消防"
"data_value":20.1
},
{
"building":"1",
"data_time":"20190101000000,
"energy_type":"动力"
"data_value":10.1
},
{
"building":"1",
"data_time":"20190101000000,
"energy_type":"其它"
"data_value":60.1
}
}]}}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# 5.2.1.5 本日用电总量(t0201005)
- 字段描述
*字段名称* | *字段类型* | *字段描述* | *示例* | *备注* | *层级隶属* |
---|---|---|---|---|---|
reportTs | long | 消息上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件时间 | "eventTs":148813512323 | events | |
eventType | enum | 事件类型 | "eventType":1 | 0:告警型事件 1:通知型事件 2:未知类型事件 | events |
describe | string | 事件描述 | "describe":"" | events | |
Content | array | 返回到微瓴平台的内容 | 参考字段示例 | events | |
building | string | 各项目建筑编码 | "building":"1" | events.Content | |
data_time | string | 字符串日期格式,例:取2019年1月 1日能耗为20190101000000 | "data_time":"20190101000000 | events.Content | |
data_value | float | 日能耗值 | "data_value":50.1 | events.Content |
- 字段示例
{
"reportTs": 148813512323,
"profile": {
"poiCode": "w2001001",
“appType”: “nanning_energy”,
"modelId": 200022
},
"properties": {},
"events": {
"total_energy_cost_today":{
"eventType":1,
"eventTs": 148813512323,
"describe":"",
"Content":[
{
"building":"1",
"data_time":"20190101000000",
"data_value":50.1
}]}}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 5.2.1.6 近24小时用电曲线(t0201006)
- 字段描述
*字段名称* | *字段类型* | *字段描述* | *示例* | *备注* | *层级隶属* |
---|---|---|---|---|---|
reportTs | long | 消息上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件时间 | "eventTs":148813512323 | events | |
eventType | enum | 事件类型 | "eventType":1 | 0:告警型事件 1:通知型事件 2:未知类型事件 | events |
describe | string | 事件描述 | "describe":"" | events | |
Content | array | 资产类型列表 | 参考字段示例 | events | |
building | string | 各项目建筑编码 | "building":"1" | events.Content | |
data_time | string | 字符串日期格式,例:取2019年1月 1日能耗为20190101000000 | "data_time":"20190101000000 | events.Content | |
energy_type | string | 能源分类 | "energy_type":"照明" | events.Content | |
data_values | string | 日能耗列表 | "data_values":"2020-11-30:00.10->4000,2020-11-30:00.20->5000,2020-11-30:00.30->6000,2020-11-30:00.40->7000,2020-11-30:00.50->8000,2020-11-30:01.00->9000,……,2020-11-30:23.50->32990,2020-12-01:00.00->34990" | events.Content |
- 字段示例
{
"reportTs": 148813512323,
"profile": {
"poiCode": "w2001001",
“appType”: “nanning_energy”,
"modelId": 200022
},
"properties": {},
"events": {
"trend_energy_cost_24h":{
"eventType":1,
"eventTs": 148813512323,
"describe":"",
"Content":[
{
"building":"1",
"data_time":"20190101000000",
"data_values":"2020-11-30:00.10->4000,2020-11-30:00.20->5000,2020-11-30:00.30->6000,2020-11-30:00.40->7000,2020-11-30:00.50->8000,2020-11-30:01.00->9000,……,2020-11-30:23.50->32990,2020-12-01:00.00->34990"
}]}}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 5.2.1.7 近7天用电一览(t0201007)
- 字段描述
*字段名称* | *字段类型* | *字段描述* | *示例* | *备注* | *层级隶属* |
---|---|---|---|---|---|
reportTs | long | 消息上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件时间 | "eventTs":148813512323 | events | |
eventType | enum | 事件类型 | "eventType":1 | 0:告警型事件 1:通知型事件 2:未知类型事件 | events |
describe | string | 事件描述 | "describe":"" | events | |
Content | array | 返回到微瓴平台的内容 | 参考字段示例 | events | |
building | string | 各项目建筑编码 | "building":"1" | events.Content | |
data_time | string | 字符串日期格式,例:取2019年1月 1日能耗为20190101000000 | "data_time":"20190101000000 | events.Content | |
energy_type | string | 能源分类 | "energy_type":"照明" | events.Content | |
data_values | string | 7日能耗字符串 | "data_values":"2020-12-01:12000,2020-12-02:13000,2020-12-03:11000,2020-12-04:14000,2020-12-05:12000,2020-12-06:11000,2020-12-07:12000" | events.Content |
- 字段示例
{
"reportTs": 148813512323,
"profile": {
"poiCode": "w2001001",
“appType”: “nanning_energy”,
"modelId": 200022
},
"properties": {},
"events": {
"trend_energy_cost_7d":{
"eventType":1,
"eventTs": 148813512323,
"describe":"",
"Content":[
{
"building":"1",
"data_time":"20190101000000",
"data_values":"2020-12-01:12000,2020-12-02:13000,2020-12-03:11000,2020-12-04:14000,2020-12-05:12000,2020-12-06:11000,2020-12-07:12000"
}]}}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 5.2.1.8 近30天各项用电一览(t0201008)
- 字段描述
*字段名称* | *字段类型* | *字段描述* | *示例* | *备注* | *层级隶属* |
---|---|---|---|---|---|
reportTs | long | 消息上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件时间 | "eventTs":148813512323 | events | |
eventType | enum | 事件类型 | "eventType":1 | 0:告警型事件 1:通知型事件 2:未知类型事件 | events |
describe | string | 事件描述 | "describe":"" | events | |
Content | array | 返回到微瓴平台的内容 | 参考字段示例 | events | |
building | string | 各项目建筑编码 | "building":"1" | events.Content | |
data_time | string | 字符串日期格式,例:取2019年1月 1日能耗为20190101000000 | "data_time":"20190101000000 | events.Content | |
energy_type | string | 能源分类 | "energy_type":"照明" | events.Content | |
data_value | float | 近30日能耗值累加值 | "data_value":300.5 | events.Content |
- 字段示例
{
"reportTs": 148813512323,
"profile": {
"poiCode": "w2001001",
"appType": "nanning_energy",
"modelId": 200022
},
"properties": {},
"events": {
"total_type_energy_cost_30d":{
"eventType":1,
"eventTs": 148813512323,
"describe":"",
"Content":[
{
"building":"1",
"data_time":"20190101000000",
"area_type":"办公区"
"data_value":450.1
},
{
"building":"1",
"data_time":"20190101000000,
"energy_type":"照明"
"data_value":300.5
},
{
"building":"1",
"data_time":"20190101000000,
"energy_type":"空调"
"data_value":430.1
},
{
"building":"1",
"data_time":"20190101000000,
"energy_type":"消防"
"data_value":120.1
},
{
"building":"1",
"data_time":"20190101000000,
"energy_type":"动力"
"data_value":310.1
},
{
"building":"1",
"data_time":"20190101000000,
"energy_type":"其它"
"data_value":360.1
}
}]}}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# 5.3 能效系统
# 5.4 停车场系统
# 5.4.1 道闸车道系统(t0401001)
- events事件枚举及名称:
序号 | 事件id | 字段描述 | 事件分类 |
---|---|---|---|
1 | in | 车辆停入道闸 | 通知型事件 |
2 | out | 车辆离开道闸 | 通知型事件 |
- 字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
parkingLotId | string | 停车场id | "parkingLotId": "xxxxxxxxxxxxxxx" | uuid | events.in |
parkingLotName | string | 停车场名称 | "parkingLotName": "腾讯大厦A停车场" | events.in | |
exitName | string | 出口名称 | "exitName": "B1东出口" | events.in | |
eventTs | long | 时间发生时间 | "eventTs":148813512323 | 毫秒级时间戳 | events.in |
eventType | enum | 事件类型 | "enum":0 | 0:告警事件 1:通知事件 2:消警事件 | events.in |
plateNum | string | 车牌号码 | "plateNum": "粤B123123" | events.in | |
carType | enum | 车辆类型 | "carType":1 | 0:未知 1:临时车辆; 2:月卡车辆; 3:固定车位; 4:VIP; 5:预约车辆;6:黑名单车辆; | events.in |
vehicleType | enum | 车型 | "vehicleType":1 | 0:未知 1:大型车 2:中型车 3:小型车 | events.in |
laneType | enum | 通道类型 | "laneType":2 | 1:人工 2:自动(ETC,无感) | events.in |
permission | int | 是否放行 | "permission":1 | 0:禁止 1:放行 2:超时停放(出场数据特有) | events.in |
describe | String | 事件描述 | "describe":"车辆进场" | events.in | |
image | struct | 图像对象json | "image":{} | events.in | |
imageType | enum | 图片上报类型 | "imageType":4 | 1:base64(base64编码已停用,type2,3,4,通常使用type4,配合临时上传 (opens new window)接口使用,ID为接口返回的fileId); 2:url; 3:image_cos_id 4.临时image_cos_id 此id通过cos下载地址下载 | image |
imageData | string | 图片数据 | "imageData": "<www.download.com>" | 若image_type为1:image_data为base64编码数据 若image_type为2:image_data为图片直接下载地址 若image_type为3:image_data为cos存储的file_id,通过cos download url 下载 | image |
- 字段示例:
{
"reportTs": xxx,
"profile": {
"poiCode": "t0401001",
"appType":"parking",
"modelId": xxxx
},
"properties": {
},
"events": {
"in": {
"eventType":1,
"parkingLotId": 0,
"parkingLotName": "",
"exitName": "",
"eventTs": ,
"plateNum": ,
"carType": ,
"vehicleType": ,
"laneType": ,
"permission": ,
"describe":,
"image": {
"imageType": 2,
"imageData": "www.download.com"
}
}
},
"out": {
"eventType":1,
"eventTs": ,
"plateNum": ,
"carType": ,
"vehicleType": ,
"laneType": ,
"permission": ,
"describe":,
"image": {
"imageType": 2,
"imageData": "www.download.com"
},
"parkingLotId": "",
"parkingLotName": "",
"exitName": ""
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# 5.4.2 车辆缴费系统(t0401002)
- events事件枚举及名称:
序号 | 事件id | 字段描述 | 事件分类 |
---|---|---|---|
1 | pay | 车辆离场缴费 | 通知型事件 |
- 字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
parkingLotId | string | 停车场id | "parkingLotId": "xxxxxxxxxxxxxxx" | uuid | event.pay |
parkingLotName | string | 停车场名称 | "parkingLotName": "腾讯大厦A停车场" | event.pay | |
exitName | string | 出口名称 | "exit_name": "B1东出口" | event.pay | |
eventTs | long | 时间发生时间 | "eventTs":148813512323 | 毫秒级时间戳 | event.pay |
eventType | enum | 事件类型 | "eventType":1 | 0:告警型事件 1:通知型事件 2:未知类型事件 | event.pay |
orderId | string | 支付id | "orderId":"xxxxxxxxx" | 支付唯一流水号 | event.pay |
plateNum | string | 车牌号码 | "plate_num": "粤B123123" | event.pay | |
describe | string | 事件描述 | "describe":"事件描述" | event.pay | |
carType | enum | 车辆类型 | "car_type":1 | 0:未知 1:临时车辆; 2:月卡车辆; 3:固定车位; 4:VIP; 5:预约车辆;6:黑名单车辆; | event.pay |
payType | enum | 支付类型 | "payType":2 | 0:免费; 1:现金; 2:账户余额; 3:购物码; 4:月卡; 5:微信支付; 6:微信免密; 7:支付宝; 8:支付宝免密 9:混合支付; 99:其他(未知) | event.pay |
inTime | int | 驶入时间戳 | "inTime":148813512323 | 毫秒级时间戳 | event.pay |
parkDuration | int | 停车时长 | "parkDuration":1000000 | 以毫秒为单位 | event.pay |
chargeDuration | int | 收费时长 | ”chargeDuration“:1000000 | 以毫秒为单位 | event.pay |
- 字段示例:
{
"reportTs": xxxxx,
"profile": {
"poiCode": "t0401002",
"modelId": xxxx,
"appType":"parking",
},
"properties": {
},
"events": {
"pay": {
"eventType":1,
"eventTs": xxxxx,
"orderId": "",
"plateNum": "",
"describe":"",
"carType": 1,
"payType": 1,
"inTime": xxxx,
"parkDuration": xxxxx,
"chargeDutaion":xxxxx,
"parkingLotId": "",
"parkingLotName": "",
"exitName": ""
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 5.4.3 车辆预约系统(t0401003)**
- events事件枚举及名称:
序号 | 事件id | 字段描述 | 事件分类 |
---|---|---|---|
1 | reserved | 车辆预约 | 通知型事件 |
2 | canceled | 车辆取消预约 | 通知型事件 |
- 预约字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 预约上报时间 | "eventTs":148813512323 | events | |
eventType | enum | 事件类型 | "eventType":1 | 0:告警型事件 1:通知型事件 2:未知类型事件 | events |
reservationId | uuid | 预约事件唯一标识 | "reservationId":“xxxxxxxxxx” | events | |
visitorId | string | 访客唯一标示 | "visitorId":"66666" | events | |
visitorName | string | 访客姓名 | "visitorName":"zxp" | events | |
contactNumber | string | 访客电话 | "contactNumber":"1390000xxxx" | events | |
carDescription | string | 车辆描述 | "carDescription":"迈巴赫S680" | events | |
plateNumber | string | 车牌号码 | "plateNumber":"粤B66666" | events | |
startTs | long | 允许通过起始时间 | "startTs":148813512323 | events | |
expireTs | long | 允许通过截止时间 | "expireTs"148813912323 | events | |
parkingLogName | string | 停车场名称 | "parkingLogName":"A号停车场" | events | |
parkingLotId | string | 停车场编号 | "parkingLotId":"xxxxxxxxx" | events | |
describe | string | 事件描述 | "eventType":"事件描述" | events |
- 取消预约字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 时间发生时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 预约上报时间 | "eventTs":148813512323 | events | |
eventType | enum | 事件类型 | "eventType":1 | 0:告警型事件 1:通知型事件 2:未知类型事件 | events |
reservationId | string | 预约事件唯一标识 | "reservationId":“xxxxxxxxxx” | events | |
visitorId | string | 访客唯一标示 | "visitorId":"66666" | events | |
plateNumber | string | 车牌号码 | "plateNumber":"粤B66666" | events | |
parkingLogName | string | 停车场名称 | "parkingLogName":"A号停车场" | events | |
parkingLotId | string | 停车场编号 | "parkingLotId":"xxxxxxxxx" | events | |
describe | string | 事件描述 | "eventType":"事件描述" | events |
- *字段示例:
{
"reportTs": xxxxx,
"profile": {
"poiCode": "t0401003",
"modelId": xxxx,
"appType":"parking",
},
"properties": {
},
"events": {
"reserved": {
"eventType":1,
"eventTs": 148813512323,
"reservationId": “xxxxxxxxxx”,
"visitorId": "66666",
"visitorName": "章小培",
"contactNumber": "1390000xxxx",
"carDescription": "迈巴赫S680",
"plateNumber": "粤B66666",
"startTs": 148813512323,
"expireTs"148813912323,
"parkingLotId": "",
"parkingLotName": "",
"describe":""
},
"canceled": {
"eventType":1,
"eventTs": 148813512323,
"reservationId": “xxxxxxxxxx”,
"visitorId": "66666",
"plateNumber": "粤B66666",
"parkingLotId": "",
"parkingLotName": "",
"describe":""
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 5.4.5 车位状态模块(t0401005)
- events事件枚举及名称:
序号 | 事件id | 字段描述 | 事件分类 |
---|---|---|---|
1 | park | 车辆停入车位 | 通知型事件 |
2 | leave | 车辆离开车位 | 通知型事件 |
3 | violate | 车辆违停 | 告警型事件 |
- 字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件发生时间 | "eventTs":148813512323 | events | |
eventType | enum | 事件类型 | "eventType":1 | 0:告警型事件 1:通知型事件 2:未知类型事件 | events |
placeId | string | 车位编号 | "placeId":“xxxxxxxxxx” | events | |
placeName | string | 车位名称 | "placeId":“xxxxxxxxxx” | events | |
placeType | enum | 车位类型 0:普通车位; 1:充电车位; 2:微型车位 | "placeType":1 | events | |
placeStatus | enum | 访客唯一标示 0:未知; 1:空余; 2:占用; 3:充电; 4:未充电(充电车位违停; 5:一车占多位; 6:微型车位停大车 | "placeStatus":1 | events | |
plateNumber | string | 车牌号码 若未停车则上报"空车位" | "plateNumber":"粤B66666" | events | |
parkingLogName | string | 停车场名称 | "parkingName":"A号停车场" | events | |
parkingLotId | string | 停车场编号 | "parkingLotId":"xxxxxxxxx" | events | |
describe | string | 事件描述 | "describe":"" | events |
- 字段示例:
{
"reportTs": 148813512323,
"profile": {
"poi_code": "t0401005",
"modelId": xxxx,
"appType":"parking",
},
"properties": {
},
"events": {
"park": {
"eventType":1,
"eventTs": 148813512323,
"placeId": "xxxxxxxxxxxxxx",
"placeName": "xxxxx",
"placeType": 2,
"placeStatus": 1,
"plateNumber": "粤B66666",
"parkingLotId": "",
"parkingLotName": "",
"describe":""
},
"leave": {
"eventType":1,
"eventTs": 148813512323,
"placeId": "xxxxxxxxxxxxxx",
"placeName": "xxxxx",
"placeType": 2,
"placeStatus": 1,
"plateNumber": "粤B66666",
"parkingLotId": "",
"parkingLotName": "",
"describe":""
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 5.5会议室系统
# 5.6人脸门禁系统
# 5.6.1 人脸闸机识别系统(t0601001)
- events事件枚举及名称:
序号 | 事件id | 字段描述 | 事件分类 |
---|---|---|---|
1 | in | 进入门禁控制区域 | 通知型事件 |
2 | out | 离开门禁控制区域 | 通知型事件 |
3 | pass | 通过闸机控制区域(未知进出) | 通知型事件 |
- 字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 人脸门禁识别人脸时间 | "eventTs":148813512323 | events | |
eventType | enum | 事件类型 | "eventType":1 | 0:告警型事件 1:通知型事件 2:未知类型事件 | events |
personInfo | struct | 人员信息对象json | "personInfo":{} | events | |
recognitionId | string | 成功通过校验人脸在门禁系统中id | CSIG03256 | 字符串id,在门禁系统中作为唯一标示 | events.peronInfo |
personName | string | 人员名称或者代号 | "personName":"weilingtest" | events.peronInfo | |
personType | enum | 人员类别 | "personName":0 | 0:临时可通过 1:定时可通过 2:管理员 3:未授权通过 4:黑名单 | events.peronInfo |
score | float | 人脸验证得分 | “score”:0.86 | events | |
position | struct | 门禁位置信息 | "position":{} | events | |
permission | enum | 是否放行 | "permission":1 | 0:禁止 1:放行 | events |
image | struct | 图像对象json | "image":{} | events | |
imageType | enum | 图片上报类型 | "image_type":4 | 1:base64(base64编码已停用,type2,3,4,通常使用type4,配合临时上传 (opens new window)接口使用,ID为接口返回的fileId); 2:url; 3:image_cos_id 4.临时image_cos_id 此id通过cos下载地址下载 | events.image |
imageData | string | 图片数据 | "image_data": "<www.download.com>" | 若image_type为1:image_data为base64编码数据 若image_type为2:image_data为图片直接下载地址 若image_type为3:image_data为cos存储的file_id,通过cos download url 下载 | events.image |
describe | string | 事件描述 | "describe":"" | events |
- *字段示例:
{
"profile": {
"poiCode": "t0601001",
"modelId": xxxx
},
"properties": {
},
"events": {
"in": {
"eventTs": 148813512323,
"eventType":1,
"personInfo": {
"personName": "",
"personType": 2,
"recognitionId": ""
},
"position": {
},
"permission": ,
"score": ,
"describe":"",
"image": {
"imageType": 2,
"imageData": "www.download.com"
}
},"out": {
"eventTs": 148813512323,
"eventType":1,
"personInfo": {
"personName": "",
"personType": 2,
"recognitionId": ""
},
"position": {
},
"permission": ,
"score": ,
"describe":"",
"image": {
"imageType": 2,
"imageData": "www.download.com"
}
},"pass": {
"eventTs": 148813512323,
"eventType":1,
"personInfo": {
"personName": "",
"personType": 2,
"recognitionId": ""
},
"position": {
},
"permission": ,
"score": ,
"describe":"",
"image": {
"imageType": 2,
"imageData": "www.download.com"
}
}
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# 5.7电梯系统
# 5.8照明系统
# 5.9 人流系统
# 5.10 消防系统
# 5.10.1 水压监测模块(t1001001)
- 字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
firePumps | struct | 消防泵 | "firePumps":{} | properties | |
hydraulicPressure | double | 当前水压 | "hydraulicPressure":xxx.xx | firePumps | |
scope | double | 参考水压 | "scope":xx.xx | firePumps | |
roofTank | struct | 屋顶水箱 | "firePumps":{} | properties | |
hydraulicPressure | double | 当前水压 | "hydraulicPressure":xxx.xx | roofTank | |
scope | double | 参考水压 | "scope":xx.xx | roofTank | |
spray | struct | 喷淋 | "firePumps":{} | properties | |
hydraulicPressure | double | 当前水压 | "hydraulicPressure":xxx.xx | spray | |
scope | double | 参考水压 | "scope":xx.xx | spray | |
fireHydrant | struct | 消防栓 | "firePumps":{} | properties | |
hydraulicPressure | double | 当前水压 | "hydraulicPressure":xxx.xx | fireHydrant | |
scope | double | 参考水压 | "scope":xx.xx | fireHydrant | |
jockeyPump | struct | 稳压泵 | "firePumps":{} | properties | |
hydraulicPressure | double | 当前水压 | "hydraulicPressure":xxx.xx | jockeyPump | |
scope | double | 参考水压 | "scope":xx.xx | jockeyPump |
- 字段示例:
{
"reportTs":148813512323,
"profile": {
"poiCode":"t1101001",
"version":1
},
"properties": {
"firePumps":{
"hydraulicPressure":xx.xx,
"scope":xx.xx
}
"roofTank":{
"hydraulicPressure":xx.xx,
"scope":xx.xx
}
...
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 5.10.2 查岗模块(t1002001)
- 字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
childstationnum | string | 子站号 | properties | ||
ownerCode | string | 设备编号 | properties | ||
name | string | 设备名称 | properties | ||
phone | string | 联系电话 | properties | ||
hasVideo | string | 监控室视频 | properties | ||
result | string | 结果 | properties |
- 字段示例:
{
"reportTs":148813512323,
"profile": {
"poiCode":"t1102001",
"version":1
},
"properties": {
"childstationnum":"",
"ownerCode":"",
"name":"",
"phone":"",
"hasVideo":"",
"result":""
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 5.10.3 点名模块(t1002002)
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
deviceNo | string | 子站号 | properties | ||
ownerCode | string | 设备编号 | properties | ||
deviceType | string | 设备类型 | properties | ||
deviceName | string | 设备名称 | properties | ||
deviceStatus | string | 结果 | properties |
- 字段示例
{
"reportTs":148813512323,
"profile": {
"poiCode":"t1102002",
"version":1
},
"properties": {
"deviceNo":"",
"ownerCode":"",
"deviceType":"",
"deviceName":"",
"deviceStatus":""
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 5.10.4 查岗记录(t1002003)
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
childstationnum | string | 子站号 | properties | ||
userName | string | 发送用户 | properties | ||
sendDate | string | 发送时间 | properties | ||
status | string | 发送状态 | properties | ||
lookStatus | string | 值班状态 | properties | ||
receiveDate | string | 回应时间 | properties | ||
recerveUser | string | 回应用户 | properties | ||
cardName | string | 身份信息 | properties |
- 字段示例
{
"reportTs":148813512323,
"profile": {
"poiCode":"t1102003",
"version":1
},
"properties": {
"childstationnum":"",
"userName":"",
"sendDate":"",
"status":"",
"lookStatus":"",
"receiveDate":"",
"recerveUser":"",
"cardName":""
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 5.10.5 点名记录(t1002004)
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
childstationnum | string | 子站号 | properties | ||
userName | string | 发送用户 | properties | ||
sendDate | string | 发送时间 | properties | ||
status | string | 发送状态 | properties | ||
receiveDate | string | 回应时间 | properties |
- 字段示例
{
"reportTs":148813512323,
"profile": {
"poiCode":"t1102004",
"version":1
},
"properties": {
"childstationnum":"",
"userName":"",
"sendDate":"",
"status":"",
"receiveDate":""
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 5.10.6 维保巡查
# 5.10.6.1 灭火器到期(t1003001)
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
extinguisherType | string | 药剂类型 | properties | ||
extinguisherPosition | string | 放置位置 | properties | ||
productDate | string | 出厂时间 | properties | ||
jcDate | string | 检测时间 | properties | ||
fullDate | string | 充装时间 | properties | ||
eqChangeDate | string | 药剂到期时间 | properties | ||
validityDate | string | 报废时间 | properties | ||
scrapCount | string | 即将到期数 | properties | ||
toDateCount | string | 即将报废数 | properties | ||
totalCount | string | 灭火器总数 | properties |
- 字段示例
{
"reportTs":148813512323,
"profile": {
"poiCode":"t1102004",
"version":1
},
"properties": {
"extinguisherType":"",
"extinguisherPosition":"",
"productDate":"",
"jcDate":"",
"fullDate":"",
"eqChangeDate":"",
"validityDate":"",
"scrapCount":"",
"toDateCount":"",
"totalCount":""
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 5.10.6.2 维保进度(t1003002)
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
unitCode | string | 单位编号 | properties | ||
unitName | string | 单位名称 | properties | ||
wBCLR | string | 上报人员 | properties | ||
badDesc | string | 维保内容 | properties | ||
repairSite | string | 位置 | properties | ||
dealStatus | string | 处理状态 | properties | ||
createtime | string | 上报时间 | properties | ||
dealDate | string | 处理时间 | properties | ||
wbNodeal | string | 未处理 | properties | ||
wbdealed | string | 已处理 | properties |
- 字段示例
{
"reportTs":148813512323,
"profile": {
"poiCode":"t1103002",
"version":1
},
"properties": {
"unitCode":"",
"unitName":"",
"wBCLR":"",
"badDesc":"",
"repairSite":"",
"dealStatus":"",
"createtime":"",
"dealDate":"",
"wbNodeal":"",
"wbdealed":""
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 5.10.6.3 巡查进度(t1003003)
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
unitCode | string | 单位编号 | properties | ||
unitName | string | 单位名称 | properties | ||
inspectUser | string | 巡查人员 | properties | ||
planName | string | 计划名称 | properties | ||
taskStart | string | 任务开始时间 | 任务时间(由开始时间和结束时间拼接成的) | properties | |
taskEnd | string | 任务结束时间 | 任务时间(由开始时间和结束时间拼接成的) | properties | |
inspectCycleType | string | 巡查周期 | properties | ||
siteName | string | 位置 | properties | ||
isInspect | string | 巡查状态 | properties | ||
inspectTime | string | 巡查时间 | properties | ||
xcNodeal | string | 未巡查 | properties | ||
xcdealed | string | 已巡查 | properties | ||
xcExpire | string | 即将到期 | properties |
- 字段示例
{
"reportTs":148813512323,
"profile": {
"poiCode":"t1103003",
"version":1
},
"properties": {
"unitCode":"",
"unitName":"",
"inspectUser":"",
"planName":"",
"taskStart":"",
"taskEnd":"",
"inspectCycleType":"",
"siteName":"",
"isInspect":"",
"inspectTime":"",
"xcNodeal":"",
"xcdealed":"",
"xcExpire":"",
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 5.10.7 综合分析
# 5.10.7.1 单位系统分析(t1004001)
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
list | jsonlist | properties | |||
coupletKey | String | 火警 | list | ||
coupletValue | String | 报警值 | list | ||
coupletKey | String | 故障 | list | ||
coupletValue | String | 报警值 | list | ||
coupletKey | String | 启动 | list | ||
coupletValue | String | 报警值 | list | ||
coupletKey | String | 反馈 | list | ||
coupletValue | String | 报警值 | list | ||
coupletKey | String | 监管 | list | ||
coupletValue | String | 报警值 | list |
- 字段示例
{
"reportTs":148813512323,
"profile": {
"poiCode":"t1104001",
"version":1
},
"properties": {
list:[{
"coupletKey": "火警",
"coupletValue": "165"
}, {
"coupletKey": "故障",
"coupletValue": "2862"
}, {
"coupletKey": "启动",
"coupletValue": "16"
}, {
"coupletKey": "反馈",
"coupletValue": "1820"
}, {
"coupletKey": "监管",
"coupletValue": "1"
}, {
"coupletKey": "复位",
"coupletValue": "187"
}]
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 5.10.7.2 查岗分析(t1004002)
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
unitCode | String | 单位编号 | properties | ||
childstationnum | String | 子站号 | properties | ||
unitName | String | 单位名称 | properties | ||
lookupCount | String | 查岗次数 | properties | ||
answerCount | String | 应答次数 | properties |
- 字段示例
{
"reportTs":148813512323,
"profile": {
"poiCode":"t1104002",
"version":1
},
"properties": {
"unitCode":"",
"childstationnum":"",
"unitName":"",
"lookupCount":"",
"answerCount":""
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 5.10.7.3 通讯录分析(t1004003)
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
unitCode | String | 单位编号 | properties | ||
childstationnum | String | 子站号 | properties | ||
unitName | String | 单位名称 | properties | ||
longTime | String | 接通时长 | properties | ||
status | String | 接通状态 | properties | ||
sendDate | String | 拨打时间 | properties | ||
phone | String | 电话 | properties | ||
messageCount | String | 短信统计 | properties | ||
phoneAnswerCount | String | 接通次数 | properties | ||
phoneSucCount | String | 未接通次数 | properties |
- 字段示例
{
"reportTs":148813512323,
"profile": {
"poiCode":"t1104003",
"version":1
},
"properties": {
"unitCode":"",
"childstationnum":"",
"unitName":"",
"longTime":"",
"status":"",
"sendDate":"",
"phone":"",
"messageCount":"",
"phoneAnswerCount":"",
"phoneSucCount":""
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 5.10.7.4 事件分析(t1004004)
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTypeName | String | 事件类型 | properties | ||
unitCode | String | 单位编号 | properties | ||
childStationNum | String | 子站号 | properties | ||
unitName | String | 单位名称 | properties | ||
startTime | String | 事件记录时间 | properties | ||
startreason | String | 记录说明 | properties | ||
endTime | String | 事件结束时间 | properties | ||
endReason | String | 结束说明 | properties |
- 字段示例
{
"reportTs":148813512323,
"profile": {
"poiCode":"t1104004",
"version":1
},
"properties": {
"eventTypeName":"",
"unitCode":"",
"childStationNum":"",
"unitName":"",
"startTime":"",
"startreason":"",
"endTime":"",
"endReason":""
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 5.10.8 单位管理
# 5.10.8.1 单位资料管理模块(t1005001)
- 字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
unitCode | string | 单位编码 | properties | ||
childStationNum | string | 子站号 | properties | ||
unitDangerLevel | string | 单位危险等级 | properties | ||
unitName | string | 单位名称 | properties | ||
unitAddress | string | 单位地址 | properties | ||
administrativeDivision | string | 行政区域 | properties | ||
childStationNum | string | 技术代表 | properties | ||
childStationNum | string | 用户代表 | properties | ||
superviseLevel | string | 安全监管级别 | properties | ||
networkStatus | string | 联网状态 | properties | ||
onlineDate | string | 入网时间 | properties | ||
establishmentTime | string | 单位成立时间 | properties | ||
securityManagerId | string | 安全管理员身份证号 | properties | ||
securityManagername | string | 安全管理员姓名 | properties | ||
securityManagerphone | string | 安全管理员电话 | properties | ||
orgCode | string | 组织机构代码 | properties | ||
phone | string | 单位电话 | properties | ||
administUnit | string | 消防管辖单位 | properties | ||
legalPersonId | string | 企业法人身份证号 | properties | ||
legalPersonName | string | 企业法人姓名 | properties | ||
legalPersonPhone | string | 企业法人电话 | properties | ||
unitType | string | 单位类别 | properties | ||
superviseType | string | 企业类型 | properties | ||
inductionPointCount | string | 感应点位 | properties | ||
maintenanceUnitName | string | 维保单位 | properties | ||
maintenanceUnitUser | string | 维保单位负责人 | properties | ||
maintenanceUnitPhone | string | 维保单位负责人电话 | properties | ||
monitorUnitName | string | 监测单位 | properties | ||
monitorUnitUser | string | 监测单位负责人 | properties | ||
monitorUnitPhone | string | 监测单位负责人电话 | properties | ||
fireRating | string | 火灾等级 | properties | ||
unitProximity | string | 单位比邻情况 | properties | ||
contractBook | string | 消防合同文书 | properties |
- 字段示例:
{
"reportTs":148813512323,
"profile": {
"poiCode":"t1101001",
"version":1
},
"properties": {
"unitCode":"xxxxxxxxx",
"childStationNum":"",
"monitorUnitName":"",
........
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 5.10.8.2 单位管理建筑及危险品模块(t1005002)
- 字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
buildingName | string | 子建筑名称 | properties | ||
unitCode | string | 单位编码 | properties | ||
address | string | 建筑地址 | properties | ||
floors | string | 建筑楼层总高度 | properties | ||
refugeArea | string | 避难层总面积 | properties | ||
UnitImport | string | 消防安全重点部位 | properties | ||
dangerStuff | jsonList | 单位危险品清单 | properties | ||
stuffType | enum | 危险品类型 | 0:固体 1:液体 9:未知 | dangerStuff | |
alarmValue | string | 报警值 | dangerStuff |
- 字段示例:
{
"reportTs":148813512323,
"profile": {
"poiCode":"t1101001",
"version":1
},
"properties": {
"buildingName":"xxxxxxxxx",
"unitCode":"",
"address":"",
........
"dangerStuff":[
{"stuffType":0,
"alarmValue":"xxxxxxxxxxx"
},
.......
]
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 5.10.8.3 注册人员(t1005003)
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
account | String | 用户名 | properties | ||
username | String | 姓名 | properties | ||
usertype | String | 用户类型 | properties | ||
userrole | String | 用户角色 | properties | ||
mobilephone | String | 联系电话 | properties |
- 字段示例
{
"reportTs":148813512323,
"profile": {
"poiCode":"t1105003",
"version":1
},
"properties": {
"account":"",
"username":"",
"usertype":"",
"userrole":"",
"mobilephone":""
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 5.10.8.4 值班人员(t1005004)
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
unitName | String | 值班单位 | properties | ||
userName | String | 值班人员 | properties | ||
startTime | String | 上班时间 | properties | ||
endTime | String | 下班时间 | properties |
- 字段示例
{
"reportTs":148813512323,
"profile": {
"poiCode":"t1105004",
"version":1
},
"properties": {
"unitName":"",
"userName":"",
"startTime":"",
"endTime":""
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 5.10.8.5 微型消防站(t1005005)
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
name | String | 名称 | properties | ||
contact | String | 联系人 | properties | ||
phone | String | 联系方式 | properties | ||
address | String | 地址 | properties |
- 字段示例
{
"reportTs":148813512323,
"profile": {
"poiCode":"t1105006",
"version":1
},
"properties": {
"name":"",
"contact":"",
"phone":"",
"address":""
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 5.10.8.4 火警预案(t1005006)
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
beforehandName | String | 预案图名称 | properties | ||
beforehand | String | 预案图路径 | properties |
- 字段示例
{
"reportTs":148813512323,
"profile": {
"poiCode":"t1105006",
"version":1
},
"properties": {
"beforehandName":"",
"beforehand":""
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
# 5.11 进出控制系统
# 5.11.1 通用闸识别系统(t1101001)
- events事件枚举及名称:
序号 | 事件id | 字段描述 | 事件分类 |
---|---|---|---|
1 | in | 进入门禁控制区域 | 通知型事件 |
2 | out | 离开门禁控制区域 | 通知型事件 |
3 | pass | 通过闸机控制区域(未知进出) | 通知型事件 |
4 | access_denied | 黑名单人员进入门禁控制区域 | 告警事件 |
- 字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 人脸门禁识别人脸时间 | "eventTs":148813512323 | events | |
eventType | enum | 事件类型 | "eventType":1 | 0:告警型事件 1:通知型事件 2:未知类型事件 | events |
personInfo | struct | 人员信息对象json | "personInfo":{} | personInfo中必须包含recognitionId, personName, personType三个字段。允许业务端附加上报系统中特性字段 | events |
recognitionId | string | 成功通过校验人脸在门禁系统中id | CSIG03256 | 字符串id,在门禁系统中作为唯一标示 | events.peronInfo |
personName | string | 人员名称或者代号 | "personName":"weilingtest" | events.peronInfo | |
personType | enum | 人员类别 | "personName":0 | 0:临时可通过 1:定时可通过 2:管理员 3:未授权通过 4:黑名单 | events.peronInfo |
position | struct | 门禁机位置信息 | "personInfo":{} | 允许业务端附加 上报系统中特性字段 | events |
accessType | enum | 进出类型 | ”accessType":1 | 0:人脸验证 1:RFID卡验证 2:二维码验证 3:手掌验证 9:未知类型 | events |
permission | enum | 是否放行 | "permission":1 | 0:禁止 1:放行 | events |
media | struct | 流媒体对象json | "media":{} | events | |
mediaType | enum | 流媒体上报类型 | "mediaType":1 | 0:无媒体数据 1:图像base64(base64编码已停用,type2,3,4,通常使用type4,配合临时上传 (opens new window)接口使用,ID为接口返回的fileId); 2:图像url; 3:图像image_cos_id 4.临时存储的file id 此id通过cos下载地址下载 | events.image |
mediaData | string | 图片数据 | "mediaData": "<www.download.com>" | 若image_type为1:image_data为base64编码数据 若image_type为2:image_data为图片直接下载地址 若image_type为3:image_data为cos存储的file_id,通过cos download url 下载<br /若image_type为4:image_data为cos存储临时的file_id,通过cos download url 下载> | events.imag |
describe | string | 事件描述 | "describe":"" | events |
- 字段示例:
{
"reportTs": 148813512323,
"profile": {
"poiCode": "t1101001",
"modelId": xxxx,
"appType": "$对象模型所属系统"
},
"properties": {
},
"events": {
"in": {
"eventTs": 148813512323,
"eventType":1,
"describe":"",
"personInfo": {
"personName": "",
"personType": ,
"recognitionId": ""
},
"position": {
},
"permission": ,
"accessType": ,
"position": {
},"media": {
"mediaType": 2,
"mediaData": "www.download.com"
}
},"out": {
"eventTs": 148813512323,
"eventType":1,
"describe":"",
"personInfo": {
"personName": "",
"personType": ,
"recognitionId": ""
},
"position": {
},
"permission": ,
"accessType": ,
"position": {
},"media": {
"mediaType": 2,
"mediaData": "www.download.com"
}
},"pass": {
"eventTs": 148813512323,
"eventType":1,
"describe":"",
"personInfo": {
"personName": "",
"personType": ,
"recognitionId": ""
},
"position_info": {
},
"permission": ,
"accessType": ,
"position": {
},
"media": {
"mediaType": 2,
"mediaData": "www.download.com"
},
"accss_denied":{
"eventTs":148813512323,
"eventType":1,
"describe":"",
"personInfo":{
"personName":"张三",
"personType":4,
"recognitionId":"440588XXXXXXXX"
},
"position":{
},
"guid":"e7e4cb95-c066-46d5-a1b3-02cc9ace0cc7",
"permission":0,
"accessType":9,
"media":{
"mediaType":2,
"mediaData":"www.download.com"
}
}
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# 5.11.2 通行平台数据
# 5.11.2.1 通行数据统计(今日)(t1102001)
- 字段描述
*字段名称* | *字段类型* | *字段描述* | *示例* | *备注* | *层级隶属* |
---|---|---|---|---|---|
reportTs | long | 消息上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件时间 | "eventTs":148813512323 | events | |
eventType | enum | 事件类型 | "eventType":1 | 0:告警型事件 1:通知型事件 2:未知类型事件 | events |
describe | string | 事件描述 | "describe":"" | events | |
data | struct | 返回到微瓴平台的内容 | 参考字段示例 | events | |
visitNum | int | 今日访客 | "visitNum": 15 | events.data | |
passNum | int | 今日通行 | "passNum": 0 | events.data | |
subscribeNum | int | 今日预约 | "subscribeNum": 10 | events.data | |
strangerNum | int | 今日陌生人 | "strangerNum": 0 | events.data |
- 字段示例
{
"reportTs": 148813512323,
"profile": {
"poiCode": "w2001001",
"appType": "nanning_pass",
"modelId": 200022
},
"properties": {},
"events": {
"pass_data_statistics":{
"eventType":1,
"eventTs": 148813512323,
"describe":"",
"data":{
"visitNum": 15,
"passNum": 0,
"subscribeNum": 10,
"strangerNum": 0
}}}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 5.11.2.2 通行量排行(t1102002)
- 字段描述
*字段名称* | *字段类型* | *字段描述* | *示例* | *备注* | *层级隶属* |
---|---|---|---|---|---|
reportTs | long | 消息上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件时间 | "eventTs":148813512323 | events | |
eventType | enum | 事件类型 | "eventType":1 | 0:告警型事件 1:通知型事件 2:未知类型事件 | events |
describe | string | 事件描述 | "describe":"" | events | |
data | array | 返回到微瓴平台的内容 | 参考字段示例 | events | |
capacityRanks | array | 通行排行量集合 | 参考字段示例 | events.data | |
dateType | string | 日期类型 | "dateType": "O" | D 近7日W 近1周M 近1月O 当日 | events.data.capacityRanks |
groupName | int | 区域名 | "groupName": "测试区域写字楼B栋", | events.data.capacityRanks | |
groupId | int | 区域Id | "groupId": 41, | events.data.capacityRanks | |
capacityNum | int | 排行量 | "capacityNum": 1180 | events.data.capacityRanks |
- 字段示例
{
"reportTs": 148813512323,
"profile": {
"poiCode": "w2001001",
"appType": "nanning_pass",
"modelId": 200022
},
"properties": {},
"events": {
"pass_data_ranks": {
"eventType": 1,
"eventTs": 148813512323,
"describe": "",
"data": [{
"capacityRanks": [{
"dateType": "O",
"groupName": "测试区域写字楼B栋",
"groupId": 41,
"capacityNum": 1180
},
{
"dateType": "O",
"groupName": "22221dd",
"groupId": 43,
"capacityNum": 371
}
]},
{
"capacityRanks": [{
"dateType": "W",
"groupName": "测试区域写字楼B栋",
"groupId": 41,
"capacityNum": 1180
},
{
"dateType": "W",
"groupName": "22221dd",
"groupId": 43,
"capacityNum": 371
}
]},
{
"capacityRanks": [{
"dateType": "D",
"groupName": "测试区域写字楼B栋",
"groupId": 41,
"capacityNum": 1180
},
{
"dateType": "D",
"groupName": "22221dd",
"groupId": 43,
"capacityNum": 371
}
]},
{
"capacityRanks": [{
"dateType": "M",
"groupName": "测试区域写字楼B栋",
"groupId": 41,
"capacityNum": 1180
},
{
"dateType": "M",
"groupName": "22221dd",
"groupId": 43,
"capacityNum": 371
}
]}
]
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# 5.11.2.3 通行设备状态统计(今日)(t1102003)
- 字段描述
*字段名称* | *字段类型* | *字段描述* | *示例* | *备注* | *层级隶属* |
---|---|---|---|---|---|
reportTs | long | 消息上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件时间 | "eventTs":148813512323 | events | |
eventType | enum | 事件类型 | "eventType":1 | 0:告警型事件 1:通知型事件 2:未知类型事件 | events |
describe | string | 事件描述 | "describe":"" | events | |
data | struct | 返回到微瓴平台的内容 | 参考字段示例 | events | |
eqTypeOnline | array | 设备类型在线离线集合 | 参考字段示例 | events.data | |
equipType | string | 设备类型 | "equipType": "0507", | events.data.eqTypeOnline | |
typeName | string | 类型名 | "typeName": "益光人脸识别设备", | events.data.eqTypeOnline | |
onlineNum | int | 在线数 | "onlineNum": 0, | events.data.eqTypeOnline | |
offlineNum | int | 离线数 | "offlineNum": 10 | events.data.eqTypeOnline |
- 字段示例
{
"reportTs": 148813512323,
"profile": {
"poiCode": "w2001001",
“appType”: “nanning_pass”,
"modelId": 200022
},
"properties": {},
"events": {
"pass_device_status_statistics":{
"eventType":1,
"eventTs": 148813512323,
"describe":"",
"data": {
"eqTypeOnline": [
{
"equipType": "0507",
"typeName": "益光人脸识别设备",
"onlineNum": 0,
"offlineNum": 10
},
{
"equipType": "0513",
"typeName": "爱克信设备",
"onlineNum": 0,
"offlineNum": 4
},
{
"equipType": "0514",
"typeName": "迈特威视-球形机",
"onlineNum": 0,
"offlineNum": 4
}
]}
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 5.11.2.4 通行方式分布(t1102004)
- 字段描述
*字段名称* | *字段类型* | *字段描述* | *示例* | *备注* | *层级隶属* |
---|---|---|---|---|---|
reportTs | long | 消息上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件时间 | "eventTs":148813512323 | events | |
eventType | enum | 事件类型 | "eventType":1 | 0:告警型事件 1:通知型事件 2:未知类型事件 | events |
describe | string | 事件描述 | "describe":"" | events | |
data | struct | 返回到微瓴平台的内容 | 参考字段示例 | events | |
passMode | array | 通行方式集合 | 参考字段示例 | events.data | |
dateType | string | 日期类型 | "dateType": "O" | D 近7日W 近1周M 近1月O 当日 | events.data.passMode |
faceNum | int | 人脸识别数 | "faceNum": 3207 | events.data.passMode | |
cardNum | int | 卡识别数 | "cardNum": 0 | events.data.passMode | |
qrCodeNum | int | 二维码识别数 | "qrCodeNum": 0 | events.data.passMode | |
passNum | int | 通行数量 | "passNum": 3207 | events.data.passMode |
- 字段示例
{
"reportTs": 148813512323,
"profile": {
"poiCode": "w2001001",
"appType": "nanning_pass",
"modelId": 200022
},
"properties": {},
"events": {
"pass_mode_distribution": {
"eventType": 1,
"eventTs": 148813512323,
"describe": "",
"data": {
"passMode": [{
"dateType": "O",
"faceNum": 3207,
"cardNum": 0,
"qrCodeNum": 0,
"passNum": 3207
},
{
"dateType": "W",
"faceNum": 3207,
"cardNum": 0,
"qrCodeNum": 0,
"passNum": 3207
},
{
"dateType": "D",
"faceNum": 3207,
"cardNum": 0,
"qrCodeNum": 0,
"passNum": 3207
},
{
"dateType": "M",
"faceNum": 3207,
"cardNum": 0,
"qrCodeNum": 0,
"passNum": 3207
}]}
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# 5.11.2.5 企业访客通行量分布(t1102005)
- 字段描述
*字段名称* | *字段类型* | *字段描述* | *示例* | *备注* | *层级隶属* |
---|---|---|---|---|---|
reportTs | long | 消息上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件时间 | "eventTs":148813512323 | events | |
eventType | enum | 事件类型 | "eventType":1 | 0:告警型事件 1:通知型事件 2:未知类型事件 | events |
describe | string | 事件描述 | "describe":"" | events | |
data | array | 返回到微瓴平台的内容 | 参考字段示例 | events | |
visitRanks | array | 企业访客通行量集合 | 参考字段示例 | events.data | |
dateType | string | 日期类型 | "dateType": "O" | D 近7日W 近1周M 近1月O 当日 | events.data |
clientName | string | 企业名 | "clientName": "腾讯" | events.data.visitRanks | |
passNum | int | 通行数量 | "passNum": 41 | events.data.visitRanks | |
proportion | string | 占比 | "proportion": 10.1 | events.data.visitRanks |
- 字段示例
{
"reportTs": 148813512323,
"profile": {
"poiCode": "w2001001",
"appType": "nanning_pass",
"modelId": 200022
},
"properties": {},
"events": {
"visitor_pass_distribution": {
"eventType": 1,
"eventTs": 148813512323,
"describe": "",
"data": [{
"dateType": "O",
"visitRanks": [
{
"clientName": "腾讯",
"passNum": 41,
"proportion": 10.1
},
{
"clientName": "中通",
"passNum": 43,
"proportion": 10
}]
},
{
"dateType": "D",
"visitRanks": [
{
"clientName": "腾讯",
"passNum": 281,
"proportion": 10.1
},
{
"clientName": "中通",
"passNum": 283,
"proportion": 10
}]
},
{
"dateType": "W",
"visitRanks": [
{
"clientName": "腾讯",
"passNum": 281,
"proportion": 10.1
},
{
"clientName": "中通",
"passNum": 283,
"proportion": 10
}]
},
{
"dateType": "M",
"visitRanks": [
{
"clientName": "腾讯",
"passNum": 1201,
"proportion": 10.1
},
{
"clientName": "中通",
"passNum": 1203,
"proportion": 10
}]
}]
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# 5.11.2.6 通行记录查询(t1102006)
- 字段描述
*字段名称* | *字段类型* | *字段描述* | *示例* | *备注* | *层级隶属* |
---|---|---|---|---|---|
reportTs | long | 消息上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件时间 | "eventTs":148813512323 | events | |
eventType | enum | 事件类型 | "eventType":1 | 0:告警型事件 1:通知型事件 2:未知类型事件 | events |
describe | string | 事件描述 | "describe":"" | events | |
startTime | string | 采集器查询开始时间 | "startTime":"20201203175211", | events | |
endTime | string | 采集器查询结束时间 | "endTime":"20201203175310" | events | |
data | struct | 返回到微瓴平台的内容 | 参考字段示例 | events | |
userName | string | 用户名 | "userName": "张三" | events.data | |
userCode | string | 用户编号 | "userCode":"10001" | events.data | |
doorName | string | 门 | "doorName": "1门" | events.data | |
equipName | string | 设备名 | "equipName": "通道1" | events.data | |
equipmentNo | string | 设备编号 | "equipmentNo": "F10020101" | events.data | |
groupNames | string | 区域 | "groupNames": "" | events.data | |
catchTime | string | 刷卡时间 | "catchTime": "20201203175211" | yyyyMMddHHmmss | events.data.doorReportList |
- 字段示例
Event1:
{
"reportTs": 148813512323,
"profile": {
"poiCode": "w2001001",
"appType": "nanning_pass,
"modelId": 200022
},
"properties": {},
"events": {
"pass_record_query": {
"eventType": 1,
"eventTs": 148813512323,
"describe": "",
"startTime":"20201203175211",
"endTime":"20201203175310",
"data": {
"userName": "张三",
"userCode":"10001",
"doorName": "1门",
"equipName": "通道1",
"equipmentNo": "F10020101",
"groupNames": "",
"catchTime": "20201203175211"
}
}
}
}
Event2:
{
"reportTs": 148813512323,
"profile": {
"poiCode": "w2001001",
"appType": "nanning_pass,
"modelId": 200022
},
"properties": {},
"events": {
"pass_record_query": {
"eventType": 1,
"eventTs": 148813512323,
"describe": "",
"startTime":"20201203175211",
"endTime":"20201203175310",
"data": {
"userName": "李四",
"userCode":"10002",
"doorName": "1门",
"equipName": "通道2",
"equipmentNo": "F10020102",
"groupNames": "",
"catchTime": "20201203175310"
}
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# 5.11.2.7 通行走势(t1102007)
- 字段描述
*字段名称* | *字段类型* | *字段描述* | *示例* | *备注* | *层级隶属* |
---|---|---|---|---|---|
reportTs | long | 消息上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件时间 | "eventTs":148813512323 | events | |
eventType | enum | 事件类型 | "eventType":1 | 0:告警型事件 1:通知型事件 2:未知类型事件 | events |
describe | string | 事件描述 | "describe":"" | events | |
data | array | 返回到微瓴平台的内容 | 参考字段示例 | events | |
avgEmpNum | int | 员工平均 | "avgEmpNum": 41 | events.data | |
avgVisitNum | int | 访客平均 | "avgVisitNum": 41 | events.data | |
passTrends | array | 通行走势集合 | 参考字段示例 | events.data | |
dateType | string | 日期类型 | "dateType": "T" | D 近30日W 近7日M 近12月T 当日24小时 | events.data.passTrends |
dateTime | string | 返回的时间字段,按请求参数dateType,返回不同格式的时间 | 1、小时(请求参数dateType为T)"dateTime": "2020120401" 2、日:(请求参数dateType为D/W)"dateTime": "20201204" 3、月:(请求参数dateType为M)"dateTime": "202012" | events.data.passTrends | |
empNum | int | 员工通行数量 | "empNum": 41 | events.data.passTrends | |
visitNum | int | 访客通行数量 | "visitNum": 41 | events.data.passTrends |
- 字段示例
{
"reportTs": 148813512323,
"profile": {
"poiCode": "w2001001",
"appType": "nanning_pass",
"modelId": 200022
},
"properties": {},
"events": {
"pass_trends": {
"eventType": 1,
"eventTs": 148813512323,
"describe": "",
"data": [{
"dateType": "T",
"avgEmpNum": 41,
"avgVisitNum": 41,
"passTrends": [
{
"dateTime": "2020120401",
"empNum": 41,
"visitNum": 41
},
{
"dateTime": "2020120402",
"empNum": 41,
"visitNum": 41
}]
},
{
"passTrends": [
"dateType": "W",
"avgEmpNum": 41,
"avgVisitNum": 41,
"passTrends": [
{
"dateTime": "20201204",
"empNum": 41,
"visitNum": 41
},
{
"dateTime": "20201205",
"empNum": 41,
"visitNum": 41
}]
},
"passTrends": [
"dateType": "D",
"avgEmpNum": 41,
"avgVisitNum": 41,
"passTrends": [
{
"dateTime": "20201204",
"empNum": 41,
"visitNum": 41
},
{
"dateTime": "20201205",
"empNum": 41,
"visitNum": 41
}]
}]
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# 5.12 暖通空调系统
# 5.13 机器人系统
# 5.13.1 机器人运行状态模块(t1301001)
- 字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件发生时间 | "eventTs":148813512323 | properties | |
robotId | string | robot自有id | "robotId":"xxxxx" | properties | |
robotType | enum | 机器人类型 | "robotType":1 | 0:未知机器人 1:服务机器人 2:安防机器人 | properties |
coordinateSys | enum | 坐标系系统 | "coordinateSys":0 | 0:自建直角坐标系(线下提供控制点) 1:3857 2:4326 | properties |
x | double | 坐标系统经度x轴 | "x":102.02 | properties | |
y | double | 坐标系统纬度y轴 | "y":-98.16 | properties | |
z | doule | 坐标系系统z轴 | ”z“:0.00 | properties | |
azimuth | double | 机器人朝向(坐标方位角) | "azimuth":23.5 | properties | |
velocity | double | 机器人速度 | "velocity":2.3 | 单位m/s | properties |
powerPer | int | 机器人电量百分比 | "powerPer":84 | 单位为百分比 | properties |
estop | boolean | 是否急停 | "estop":false | properties | |
bumper | boolean | 是否发生了碰撞 | "bumper":false | properties | |
curFloor | string | 当前楼层 | "curFloor":"F5" | properties | |
taskStatus | boolean | 是否在执行任务 | "taskStatus":true | properties | |
video | array | 视频清单 | "video":[] | properties | |
videoStr | string | 视频获取地址 | "videoStr":"xxxxxxx" | properties | |
type | enum | 视频地址对应种类 | "type":"front" | 1:front 2:back 3:left 4:right 5:infared 6:rotation 7:nightVIsion | properties |
- 字段示例:
{
"reportTs": xxxxxxxxxxxxxxxx,
"profile": {
"poiCode": "t1301001",
"modelId": xxxx,
"appType": "$对象模型所属系统"
},
"properties": {
"robotId": "xxxxxxxxx",
"robotType": 1,
"coordinateSys": 0,
"x": 102.02,
"y": -98.16,
"z": 0.34"azimuth": 23.5,
"velocity": 2.3,
"powerPer": 84,
"estop": false,
"bumper": false,
"curFloor": "F2",
"taskStatus": true,
"video": [
{
"videoStr": "xxxxxxxxxxxxx",
"type": 1
},
{
"videoStr": "xxxxxxxxxxxxx",
"type": 2
}
]
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 5.13.2 机器人任务状态模块(t1301002)
- 字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件发生时间 | "eventTs":148813512323 | properties | |
robotId | string | robot自有id | "robotId":"xxxxx" | properties | |
robotType | int | 机器人类型 | "robotType":1 | 0:未知机器人 1:服务机器人 2:安防机器人 | properties |
taskStatus | int | 任务状态 | "taskStatus":1 | 1:执行中 2:成功 3:失败 4:被取消 | events |
taskID | int | 任务编号 | "taskID":xxxxxxx | events | |
destinationName | string | 目的地名称 | events | ||
coordinateSys | string | 坐标系系统 | "coordinateSys":0 | 0:自建直角坐标系 (线下提供控制点) 1:3857 2:4326 | events |
destinationX | double | 目的地坐标系统经度x轴 | "destinationX":102.02 | events | |
destinationY | double | 目的地坐标系统纬度y轴 | "destinationY":-98.16 | events | |
startTime | long | 任务开始时间 | "startTime":xxxxxxxxxxx | 毫秒级时间戳 | events |
endTime | long | 任务结束时间 | "endTime":xxxxxxxxxxxx | 毫秒级时间戳 | events |
- 字段示例:
{
"reportTs": xxxxxxxxxxxxxx,
"profile": {
"poiCode": "t1301002",
"modelId": xxxx,
"appType": "$对象模型所属系统"
},
"properties": {
"robotId": "xxxxxxxxx",
"robotType": 1,
"taskID": xxxxxx,
"taskStatus": 2,
"destinationName": "",
"coordinateSys": 0,
"destinationX": 102.02,
"destinationY": -98.16,
"startTime": xxxxxxxxxxx,
"endTime": xxxxxxxxx
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 5.13.3 机器人环境模块(t1301003)
- 字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件发生时间 | "eventTs":148813512323 | properties | |
robotId | string | robot自有id | "robotId":"xxxxx" | properties | |
robotType | int | 机器人类型 | "robotType":1 | 0:未知机器人 1:服务机器人 2:安防机器人 | properties |
temperature | double | 环境温度 | "temperature":12 | 单位为摄氏度 | properties |
humidity | double | 环境湿度 | “humidity”:56 | 百分比 | properties |
noiseDecibel | double | 环境噪音 | "noiseDecibel":12 | properties | |
smokeDetector | double | 环境烟雾浓度 | "smokeDetector":20 | properties | |
AQI | double | 空气质量指数 | ”AQI“: | properties | |
PM1_0 | double | 环境PM1.0 | ”PM1_0“:12 | 浓度 | properties |
PM2_5 | double | 环境PM2.5 | "PM2_5":14 | 浓度 | properties |
PM10 | double | 环境PM10 | "PM10":35 | 浓度 | properties |
CO | double | 一氧化碳 | "CO":35 | 浓度 | properties |
CO2 | double | 二氧化碳 | "CO2":35 | 浓度 | properties |
H2 | double | 氢气 | "H2":35 | 浓度 | properties |
SO2 | double | 二氧化硫 | "SO2":35 | 浓度 | properties |
H2S | double | 硫化氢 | "H2S":35 | 浓度 | properties |
Nox | double | 氮氧化物 | "Nox":35 | 浓度 | properties |
CL | double | 氯气 | "CL":35 | 浓度 | properties |
HCHO | double | 甲醛 | "HCHO":35 | 浓度 | properties |
TVOC | double | 挥发性有机物 | "TVOC":35 | 浓度 | properties |
IR | double | 红外强度 | "IR":35 | properties | |
UV | double | 紫外强度 | "UV":35 | properties | |
radiation | double | 放射强度 | "radiation":35 | properties |
- 字段示例:
{
"reportTs": xxxxxxxxxxxxx,
"profile": {
"poiCode": "t1301003",
"modelId": xxxx,
"appType": "$对象模型所属系统"
},
"properties": {
"robotId": "xxxxxxxxx",
"robotType": 1,
"eventTs": xxxxxxxxxxxxx,
"temperature": 125,
"humidity": 125,
"noiseDecibel": 125,
"smokeDetector": 125,
"AQI": 125,
"PM1_0": 125,
"PM2_5": 125,
"PM10": 125,
"CO": 125,
"CO2": 125,
"H2": 125,
"SO2": 125,
"H2S": 125,
"Nox": 125,
"CL": 125,
"HCHO": 125,
"TVOC": 125,
"IR": 125,
"UV": 125,
"radiation": 125
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 5.13.4 机器人图像模块(t1301004)
- 字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件发生时间 | "eventTs":148813512323 | properties | |
robotId | string | robot自有id | "robotId":"xxxxx" | properties | |
robotType | int | 机器人类型 | "robotType":1 | 0:未知机器人 1:服务机器人 2:安防机器人 | properties |
eventType | int | 图像事件类型 | "eventType":1 | 0:未知事件 1:人脸识别事件 2:车牌监测时间 | events |
imageType | int | 图像数据类型 | "imageType":1 | 1:base64数据(base64编码已停用,type2,3,4,通常使用type4,配合临时上传 (opens new window)接口使用,ID为接口返回的fileId) 2:图片download url 3:cos存储的file id 4.临时存储的file id | events |
imageData | string | 图像数据 | "imageData":"XXXXXX" | events |
- 字段示例:
{
"profile": {
"poiCode": "t1301004",
"modelId": xxxx,
"appType": "$对象模型所属系统"
},
"properties": {
"robotId": "xxxxxxxxx",
"robotType": 1,
"eventType": 1,
"imageType": 1,
"imageData": "xxxxxxxxxxxxxx"
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 5.13.5 机器人导航模块(t1301005)
- 字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件发生时间 | "eventTs":148813512323 | properties | |
robotId | string | robot自有id | "robotId":"xxxxx" | properties | |
robotType | int | 机器人类型 | "robotType":1 | 0:未知机器人 1:服务机器人 2:安防机器人 | properties |
destinationName | string | 目的地名称 | properties | ||
coordinateSys | string | 坐标系系统 | "coordinateSys":0 | 0:自建直角坐标系 (线下提供控制点) 1:3857 2:4326 | properties |
destinationX | double | 目的地坐标系统经度x轴 | "destinationX":102.02 | properties | |
destinationY | double | 目的地坐标系统纬度y轴 | "destinationY":-98.16 | properties | |
pathPoints | int | 路径点 | "pathPoints":[{},{}] | json内部为点位的坐标 | properties |
x | double | x坐标 | "x":10.78 | properties.pathPoints | |
y | double | y坐标 | "y":8.105 | properties.pathPoints |
- 字段示例:
{
"profile": {
"poiCode": "t1301002",
"appType":"$所属对应系统",
"modelId": xxxx
},
"properties": {
"robotId": "xxxxxxxxx",
"robotType": 1,
"destinationName": "",
"coordinateSys": 0,
"destinationX": 102.02,
"destinationY": -98.16,
"pathPoints": [
{
"x": "10.78",
"y": "8.105"
},
{
"x": "10.75",
"y": "8.105"
}
]
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 5.14 环境系统
# 5.14.1 室内空气质量模块(t1401001)
- 字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件发生时间 | "eventTs":148813512323 | properties | |
temperature | double | 环境温度 | "temperature":12 | 单位为摄氏度 | properties |
humidity | double | 环境湿度 | “humidity”:56 | 百分比 | properties |
noiseDecibel | double | 环境噪音 | "noiseDecibel":12 | properties | |
smokeDetector | double | 环境烟雾浓度 | "smokeDetector":20 | 浓度,若不含此参数则置为-1.0 | properties |
AQI | double | 空气质量指数 | ”AQI“: | properties | |
PM1_0 | double | 环境PM1.0 | ”PM1_0“:12 | 浓度,若不含此参数则置为-1.0 | properties |
PM2_5 | double | 环境PM2.5 | "PM2_5":14 | 浓度,若不含此参数则置为-1.0 | properties |
PM10 | double | 环境PM10 | "PM10":35 | 浓度,若不含此参数则置为-1.0 | properties |
CO | double | 一氧化碳 | "CO":35 | 浓度,若不含此参数则置为-1.0 | properties |
CO2 | double | 二氧化碳 | "CO2":35 | 浓度,若不含此参数则置为-1.0 | properties |
H2 | double | 氢气 | "H2":35 | 浓度,若不含此参数则置为-1.0 | properties |
SO2 | double | 二氧化硫 | "SO2":35 | 浓度,若不含此参数则置为-1.0 | properties |
H2S | double | 硫化氢 | "H2S":35 | 浓度,若不含此参数则置为-1.0 | properties |
Nox | double | 氮氧化物 | "Nox":35 | 浓度,若不含此参数则置为-1.0 | properties |
CL | double | 氯气 | "CL":35 | 浓度,若不含此参数则置为-1.0 | properties |
HCHO | double | 甲醛 | "HCHO":35 | 浓度,若不含此参数则置为-1.0 | properties |
TVOC | double | 挥发性有机物 | "TVOC":35 | 浓度,若不含此参数则置为-1.0 | properties |
- 字段示例:
{
"reportTs": 148813512323,
"profile": {
"poiCode": "t1401001",
"modelId": xxxx
},
"properties": {
"eventTs": xxxxxxxxxxxxx,
"temperature": 125,
"humidity": 125,
"noiseDecibel": 125,
"smokeDetector": 125,
"AQI": 125,
"PM1_0": 125,
"PM2_5": 125,
"PM10": 125,
"CO": 125,
"CO2": 125,
"H2": 125,
"SO2": 125,
"H2S": 125,
"Nox": 125,
"CL": 125,
"HCHO": 125,
"TVOC": 125
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 5.14.2 室外空气质量模块(t1401002)
- 字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件发生时间 | "eventTs":148813512323 | properties | |
temperature | double | 环境温度 | "temperature":12 | 单位为摄氏度 | properties |
humidity | double | 环境湿度 | “humidity”:56 | 百分比 | properties |
noiseDecibel | double | 环境噪音 | "noiseDecibel":12 | properties | |
smokeDetector | double | 环境烟雾浓度 | "smokeDetector":20 | 浓度,若不含此参数则置为-1.0 | properties |
AQI | double | 空气质量指数 | ”AQI“: | properties | |
PM1_0 | double | 环境PM1.0 | ”PM1_0“:12 | 浓度,若不含此参数则置为-1.0 | properties |
PM2_5 | double | 环境PM2.5 | "PM2_5":14 | 浓度,若不含此参数则置为-1.0 | properties |
PM10 | double | 环境PM10 | "PM10":35 | 浓度,若不含此参数则置为-1.0 | properties |
- 字段示例:
{
"reportTs": 148813512323,
"profile": {
"poiCode": "t1401001",
"modelId": xxxx
},
"properties": {
"eventTs": xxxxxxxxxxxxx,
"temperature": 125,
"humidity": 125,
"noiseDecibel": 125,
"smokeDetector": 125,
"AQI": 125,
"PM1_0": 125,
"PM2_5": 125,
"PM10": 125
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 5.14.3 水质监测模块(t1401003)
- 字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件发生时间 | "eventTs":148813512323 | properties | |
temperature | double | 水温 | "temperature":12 | 单位为摄氏度 | properties |
conductivity | double | 传导率 | “conductivity”:56 | properties | |
turbidity | double | 混浊度 | "turbidity":12 | properties | |
ph | double | 酸碱度 | "ph":6 | properties | |
dissolvedOxgen | double | 溶解氧 | ”dissolvedOxgen“:1.4 | properties |
- 字段示例:
{
"reportTs": 148813512323,
"profile": {
"poiCode": "t1401001",
"modelId": xxxx
},
"properties": {
"eventTs": xxxxxxxxxxxxx,
"temperature": 125,
"conductivity": 125,
"turbidity": 125,
"ph": 125,
"dissolvedOxgen": 125
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 5.15 工单系统
# 5.15.1 工单消息模块(t1501001)
- events事件枚举及名称:
序号 | 事件id | 字段描述 | 事件分类 |
---|---|---|---|
1 | order_report | 工单上报 | 告警型事件 |
2 | order_response | 工单回复 | 告警型事件 |
3 | order_cancel | 工单取消 | 告警型事件 |
- 工单上报,工单取消字段描述:
注:工单上报和工单取消字段完全相同,stateCode为0的数据为工单上报,stateCode为1的数据为工单取消
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 数据上报发生时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 报修时间 | "eventTs":148813512323 | events.order_report | |
eventType | enum | 事件类型 | "eventType":1 | 0:告警型事件 1:通知型事件 2:未知类型事件 | events.order_report |
describe | string | 事件描述 | "describe":"事件描述" | events.order_report | |
guid | string | 唯一编号 | "guid":"xxxxxxxxxxxxx" | events.order_report | |
reportedPersonInfo | struct | 上报人信息 | "reportedPersonInfo":{} | events.order_report | |
requestorType | int | 报修人类型 | "requestorType":"" | reportedPersonInfo | |
requestorName | string | 报修人姓名 | "requestorName":"" | reportedPersonInfo | |
phoneNumber | string | 报修人手机号码 | "phoneNumber":"" | reportedPersonInfo | |
string | 报修人电子邮件 | "email":"" | reportedPersonInfo | ||
fax | string | 报修人传真 | "fax":"" | reportedPersonInfo | |
repairType | enum | 报修方式 | "repairType":2 | 0: 电话 1:Email 2:微信 3:上门 4:保安巡逻 | events.order_report |
state | string | 表单状态 | "state":"" | 0:待分派 1:故障处理中 2:已完成 3:已回访 4:待物料 5:待承包商 | events.order_report |
handleTypeName | string | 故障分类 | "handleTypeName":"" | events.order_report | |
faultDescription | string | 故障描述 | "faultDescription":"" | events.order_report | |
faultDeviceId | string | 故障设备id | "faultDescription":"" | events.order_report | |
level | enum | 紧急级别 | "level":3 | 1:常规 3:重要 5:紧急 | events.order_report |
describe | string | 故障说明 | "describe":"" | events.order_report | |
remark | string | 备注 | "remark":"" | events.order_report | |
formType | enum | 表单类型 | "formType":1 | 0:正常 1:补单 | events.order_report |
address | struct | 地址对象 | "address":{} | events.order_report | |
roomName | string | 房间号 | "roomName":"" | address | |
floor | string | 楼层 | "floor":"" | address | |
buildingName | string | 楼栋名称 | "buildingName":"" | address | |
stateCode | enum | 状态码 | "stateCode":0 | 0 可用 1 不可用 | events.order_report |
- 工单回复字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 数据上报发生时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 回复时间 | "eventTs":148813512323 | events.order_response | |
eventType | enum | 事件类型 | "eventType":1 | 0:告警型事件 1:通知型事件 2:未知类型事件 | events.order_response |
describe | string | 事件描述 | "describe":"事件描述" | events.order_response | |
guid | string | 唯一编号 | "guid":"xxxxxxxxxxxxx" | events.order_response | |
visitTime | struct | 回访时间 | "visitTime":"" | events.order_response | |
recorder | string | 回访人 | "recorder":"" | events.order_response | |
reviewContext | string | 回访记录 | "reviewContext":"" | events.order_response | |
customerSatify | string | 客户满意度 | "customerSatify":"" | 0:满意 1:不满意 | events.order_response |
finishTime | string | 结束时间 | "finishTime":"" | events.order_response | |
remark | string | 故障工作记录 | "remark":"" | events.order_response | |
satisfaction | enum | 工程维修满意度 | "satisfaction":"" | 0:满意 1:不满意 | events.order_response |
reason | enum | 不满意原因 | "reason":"" | events.order_response | |
owner | string | 维修人 | "owner":"" | events.order_response | |
ownerTel | string | 维修人电话号码 | "ownerTel":"xxxxxxxxxx" | events.order_response | |
state | string | 表单状态 | "state":"" | 0:待分派 1:故障处理中 2:已完成 3:已回访 4:待物料 5:待承包商 | events.order_response |
stateChangeTime | enum | 状态更新时间 | "stateChangeTime":1 | events.order_response | |
receivedTime | string | 表单接收时间 | "receivedTime": | events.order_response | |
stateCode | enum | 状态码 | "stateCode":0 | 0 可用 1 不可用 | events.order_response |
- 字段示例:
{
"reportTs": 148813512323,
"profile": {
"poiCode": "t1501001",
"modelId": xxxx
},
"properties": {
},
"events": {
"order_report": {
"eventTs":1572702827618,
"eventType":1,
"describe":"事件描述",
"area": "",
"reportedPersonInfo": {
"requestorType": 0,
"requestorName": "",
"cellphone": "",
"email": "",
"fax": ""
},
"repairType": 2,
"level": "",
"describe": "",
"formType": 1,
"remark": "",
"address": {
"roomName": "",
"floor": "",
"bulidingName": ""
},
"stateCode": 0,
"guid": ""
},
"order_cancel": {
"eventTs":1572702827618,
"eventType":1,
"describe":"事件描述",
"area": "",
"reportedPersonInfo": {
"requestorType": 0,
"requestorName": "",
"cellphone": "",
"email": "",
"fax": ""
},
"repairType": 2,
"level": "",
"describe": "",
"formType": 1,
"remark": "",
"address": {
"roomName": "",
"floor": "",
"bulidingName": ""
},
"stateCode": 0,
"guid": ""
},
"order_response": {
"eventTs":1572702827618,
"eventType":1,
"describe":"事件描述",
"customerSatify": 0,
"finishTime": "test",
"guid": "test",
"owner": "test",
"ownerTel": "xxxxxxxxxxxxxxxx""reason": "test",
"receivedTime": "test",
"recorder": "test",
"remark": "test",
"reviewcCntext": "test",
"satisfaction": 0,
"state": 0,
"stateChangeTime": "test",
"stateCode": 0,
"visitTime": "test"
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# 5.16 通用智能系统
# 5.17 工地施工系统
# 5.17.1 搅拌站配送计划模块(t1701003)
- 字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
wId | string | 搅拌站微瓴id | "wId":"xxxx" | 微瓴分配 | profile |
batchingPlantName | string | 搅拌站名称 | "batchingPlantName":"xxxx" | profile | |
batchingPlantAddress | string | 搅拌站地址 | "batchingPlantAddress":"xxxx" | profile | |
planList | jsonArray | 计划清单 | "planList":[{},{}] | properties | |
planNo | string | 计划单号 | "planNo":"xxxx" | planList | |
planTime | string | 计划时间 | "planTime":"xxxx" | 格式为:"YYYY-MM-DD HH:mm:ss" | planList |
lineNo | string | 生产线编号 | "lineNo":"xxxx" | planList | |
programName | string | 工程名称 | "programName":"" | planList | |
reportId | string | 上报id | 唯一非空 | planList | |
constructionPart | string | 施工部位 | "constructionPart":"xxxx" | planList | |
strengthLevel | string | 强度等级 | "strengthLevel":"c10" | planList | |
specialRequire | string | 特殊要求 | "specialRequire":"xxx" | planList | |
slump | string | 坍落度 | planList | ||
slumpVisual | string | 目测坍落度 | planList | ||
carNo | string | 车代码 | planList | ||
amountSchedule | double | 计划数量 | planList | ||
amountSale | double | 销售方量 | planList | ||
register | string | 录入人 | "register":"xxxx" | planList | |
destination | string | 送货工地地址 | "destination":"xxxxxx" | planList | |
concreteScale | string | 混泥土配合比 | "concreteScale":"水:0.79;水泥:1.00;粉煤灰:0.32;" | 例: 水:0.79; 水泥:1.00; 粉煤灰:0.32; 砂:3.59; 石子:4.54; 外加剂:0.02 | planList |
imperviousLevel | int | 抗渗等级 | "imperviousLevel":11 | planList | |
ruptureStrength | int | 抗折强度 | "ruptureStrength":20 | planList | |
productLineOperator | string | 搅拌站生产线操作员 | planList | ||
exFactoryInspector | string | 搅拌站出厂质检员 | planList | ||
arriveTime | string | 到达工地时间 | planList | ||
siteInspector | string | 工地质检员 | planList | ||
siteOperator | string | 工地操作员 | planList | ||
unloadEndTime | string | 完成卸料时间 | planList | ||
unloadStartTime | string | 开始卸货时间 | planList | ||
totalNum | string | 累计方量 | planList | ||
trueSlump | string | 实测坍落度 | planList | ||
stationInspector | string | 搅拌站质检员 | planList |
- 字段示例
{
"reportTs":148813512323,
"profile": {
"poiCode":"t1401001",
"appType":"smart_construction",
"batchingPlantName":"xxxxxxxxxxxxxx",
"batchingPlantAddress":"xxxxxx",
"wId":"xxxxxxxxxxxxxxxxxx"
},
"properties": {
"planList":[
{"planNo":"001","planTime":"2020-02-20 00:00:00","programName":"xxxxxxxx",..........},
{"planNo":"002","planTime":"2020-02-20 00:00:00","programName":"xxxxxxxx",..........},
{"planNo":"003","planTime":"2020-02-20 00:00:00","programName":"xxxxxxxx",..........},
{"planNo":"004","planTime":"2020-02-20 00:00:00","programName":"xxxxxxxx",..........},
.........
]
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 5.18 租赁系统
# 5.18.1 房间租赁模块(t1801001)
- 字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 事件上报时间 | "reportTs":148813512323 | 一级字段 | |
roomId | string | 房间id | "roomId":"xxxxxxxxx" | uuid格式,微瓴房间对应wid | properties |
roomName | string | 房屋名称 | "roomName":"深南大道10000号腾讯大厦F36-06" | properties | |
buildingArea | double | 房间建筑面积 | "buildingArea":123.2 | 单位为平方米 | properties |
roomStatus | double | 房间当前状态 | "roomStatus":1 | 出租:1 闲置:2 自用:3 办公场所:4 待动迁:5 生产用:6 执行中:7 部分出租:8 租赁纠纷:9 仓库:10 自用+出租:11 其他:12 展示厅:13 | properties |
contractInfo | struct | 租赁信息 | "leaseContract":{} | properties | |
contractType | enum | 合同类型 | "contractType":1 | 1:办公(可转租) 2:商铺 3:住宅 4:商业和办公 5:招待所 6:酒店和办公 7:办公(不可转租) 8:仓库 | contractInfo |
costId | string | 条款ID | |||
contractInfoId | string | 合同ID | |||
tenantryId | string | 承租方ID | "tenantryId":"xxxxxxx" | contractInfo | |
tenantryName | string | 承租方姓名 | "tenantryName":"xxx" | contractInfo | |
lessorId | string | 出租方ID | "lessorId":"xx" | contractInfo | |
lessorName | string | 出租房姓名 | "lessorName":"xxxxxxxxxx" | contractInfo | |
contractMode | string | 合同制式 | "contractMode":"xxxxxxxx" | contractInfo | |
contractStatus | enum | 合同状态 | contractStatus:1 | 1:草稿 2:审批中 3:驳回 4:待执行 5:正常执行 6:正常结束 7:作废待审核 8:作废待修改 9:已作废 10:已提前退租 11:退租待审核 12:退租待修改 13:待退租 14:初始化数据 15:业务确认 16:终止 | contractInfo |
createBy | string | 创建人 | 对于存储类型的数据"createBy":"xxxx" | contractInfo | |
createTime | string | 创建时间 | "createTime":"" | contractInfo | |
leaseAmount | double | 租赁总额 | "leaseAmount":xxx | contractInfo | |
leaseUnit | string | 租赁单价 | "leaseUnit":"" | contractInfo | |
signTime | string | 签订时间 | "signTime":"" | contractInfo | |
contractBeginTime | string | 合同开始时间 | "contractBeginTime":"" | contractInfo | |
contractEndTime | string | 合同结束时间 | "contractEndTime":"" | contractInfo | |
deposit | double | 押金金额 | "deposit":xxx | contractInfo | |
depositUnit | double | 押金单价 | "depositUnit":xxx | contractInfo | |
paymentDuration | string | 付款周期 | "paymentDuration":"xxxx" | contractInfo | |
propertyAmount | double | 物业费金额 | "propertyAmount":xxx | contractInfo | |
firstPropertyAmount | double | 首期物业费 | "firstPropertyAmount":xxx | contractInfo | |
firstPayMonth | int | 首付款月数 | "firstPayMonth":xxxx | contractInfo | |
firstPayAmount | double | 首付款租金 | "firstPayAmount"xxxx | contractInfo | |
agencyName | string | 中介公司名称 | "agencyName":"" | contractInfo | |
agentCharge | double | 中介费用 | "agentCharge":xxx | contractInfo |
- 字段示例
{
"reportTs": 148813512323,
"profile": {
"poiCode": "t1401001",
"modelId": xxxx
},
"properties": {
"roomId": "xxxxxxxxxxxxx",
"roomName": "xxxxxx",
"buildingArea": 125,
"roomStatus": 2,
"contractInfo": {
.........
}
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 5.19 访客系统
# 5.19.1 访客预约模块(t1901001)
- 字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 消息上报时间 | "reportTs":148813512323 | 一级字段 | |
appointmentList | array | 当日预约列表 | "appointmentList":148813512323 | properties | |
visitorName | string | 预约人姓名 | "visitorName":"测试人员" | properties | |
visitStartTs | long | 预约起始时间戳 | "visitStartTs":xxxxxxxxxxxxxx | properties | |
visitEndTs | long | 预约终止时间戳 | "visitEndTs":xxxxxxxxxxxxxxx | properties | |
reserveStatus | enum | 访客状态 | "visitorStatus":1 | 1:正常 2:超时未来访 3:失效 | properties |
appointmentId | string | 访客记录唯一标示 | "appointmentId":"xxxx" | properties | |
phoneNumber | string | 联系电话 | "phoneNumber":"xxxxxx" | properties |
- 字段示例:
{
"reportTs": 148813512323,
"profile": {
"poiCode": "t1901001",
"appType": "xxxxx",
"modelId": xxxx
},
"properties": {
"appointmentList": [
{
"appointmentId": "xxxxxxxxxxxxxxxxxxxxx",
"visitStartTs": xxxxxxxxxxxxxxxxx,
"visitEndTs": xxxxxxxxxxxxxx,
"visitorName": "张三",
"phoneNumber": "13576361254",
"reserveStatus": 1
},
{ }
]
},
"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 5.19.2 访客来访模块(t1901002)
- 字段描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 消息上报时间 | "reportTs":148813512323 | 一级字段 | |
visitList | array | 当日来访列表 | "visitList":148813512323 | properties | |
visitorName | string | 预约人姓名 | "visitorName":"测试人员" | properties | |
visitTs | long | 来访时间戳 | "visitStartTs":xxxxxxxxxxxxxx | properties | |
leaveTs | long | 签离时间戳 | "visitEndTs":xxxxxxxxxxxxxxx | 若未签离则默认为0 | properties |
visitStatus | enum | 访客状态 | "visitorStatus":1 | 1:已到达 2:超期自动签离 3:已签离 4:超期未签离 | properties |
appointmentId | string | 访客记录唯一标示 | "appointmentId":"xxxx" | properties | |
phoneNumber | string | 联系电话 | "phoneNumber":"xxxxxx" | properties |
- 字段示例:
{
"reportTs": 148813512323,
"profile": {
"poiCode": "t1901001",
"appType": "xxxxx",
"modelId": xxxx
},
"properties": {
"visitList": [
{
"appointmentId": "xxxxxxxxxxxxxxxxxxxxx",
"visitTs": xxxxxxxxxxxxxxxxx,
"leaveTs": xxxxxxxxxxxxxx,
"visitorName": "张三",
"phoneNumber": "13576361254",
"visitStatus": 1
},
{}
]
},"events": {}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 5.19.3 疫情人员信息登记(t1901003)
- events事件枚举及名称:
序号 | 事件id | 字段描述 | 事件分类 |
---|---|---|---|
1 | register | 登记 | 通知型事件 |
- 登记事件描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 消息上报时间 | "reportTs":148813512323 | 一级字段 | |
name | array | 姓名 | "name":"小明" | events.register | |
id | string | 身份证件id | "id":"102010xxxxxxxxx" | events.register | |
idType | enum | 证件类型 | "idType":1 | 1: 居民身份证 2:中国国际护照 3:港澳通行证 4:居住证 5:外籍人员护照 | events.register |
systemId | string | 系统对于人员定义的id | "systemId":"xxxxxxxxxx" | events.register | |
eventTs | long | 事件时间戳(登记时间戳) | "eventTs":xxxxxxxxxxxxxx | events.register | |
eventType | enum | 事件类型 | "eventType":1 | 0:告警型事件 1:通知型事件 2:未知类型事件 | events.register |
describe | string | 事件描述 | "describe":"事件描述" | events.register | |
domicile | float | 户籍所在地 | "domicile":"广东深圳" | events.register | |
gender | enum | 性别 | "gender":1 | 0: 未知 1:男 2:女 | events.register |
phoneNumber | string | 联系电话 | "phoneNumber":"xxxxxx" | events.register | |
address | string | 现居地址 | "address":"深圳南山xxxx小区xx栋xxx室" | events.register | |
poiId | string | 居住地微瓴地理位置编码 | "poiId":"xxxxxxx" | 若无则默认为空字符串 | events.register |
employee | string | 工作单位 | "employee":"xxxxxx" | events.register | |
workType | string | 工作类别 | "workType":1 | 1: 工人 2:农民 3:公务员 4:商人 5:事业单位工作人员 6:学生 7:公司职员 8:军人 9:自由职业者 10:其他人员 | events.register |
travelHistory | jsonList | 疫情期间停留城市及时间列表 | "travelHistory":[{"2020-02-01~2020-02-03:"深圳"},{"2020-02-04~2020-02-16:"广州"}] | key为事件序列格式为yyyy-mm-dd~yyyy-mm-dd 起始时间序列~终止时间序列 values为停留地名称,必须至少精确到城市级别 | events.register |
phoneNumber | string | 联系电话 | "phoneNumber":"xxxxxx" | events.register | |
image | struct | 注册人像图片对象 | "image":{} | register.image | |
type | enum | 类型 | "type":4 | 1:base64(base64编码已停用,type2,3,4,通常使用type4,配合临时上传 (opens new window)接口使用,ID为接口返回的fileId) 2:图片下载url 3:上传cos fileId 4.临时存储的file id | register.image |
data | string | 类型 | "data":"xxxxxx" | 对应存储类型的数据 | register.image |
emergencyContact | struct | 类型 | "emergencyContact":{} | register.emergencyContact | |
name | string | 与 | "name":"xxxxxx" | register.emergencyContact | |
relationship | enum | 与登记人亲属关系 | "relationship":1 | 1:夫妻 2:子女 3:直属姐妹 4:直属兄弟 5:父母 6:岳母岳父 7:女婿 8:儿媳妇 9:其他 | register.emergencyContact |
contact | string | 联系方式 | "contact":"xxxxxxxxxxxx" | register.emergencyContact |
{
"reportTs":148813512323,
"profile": {
"poiCode":"t1901001",
"appType":"xxxxx",
"modelId":xxxx
},
"properties": {
"events": {
"register":{
"eventType": 0,
"eventTs": xxxxxxxxxx,
"describe": "xxxxx"
"name":"",
"id":"xxxxxx",
"idType":1,
"travelHistory":[{"2020-02-01~2020-02-03":"深圳"},{"2020-02-04~2020-02-16":"广州"},{"2020-02-17~2020-02-20":"南昌"}],
"image":{
"type":1,
"data":"xxxxxxxx"
},
"emergencyContact":{
"name":"tracy",
"relationship":1,
"contact":"xxxxxxxxxxxxxxx"
}
.......
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 5.19.4 疫情期登记人员体温检测模块(t1901004)
- events事件枚举及名称:
序号 | 事件id | 字段描述 | 事件分类 |
---|---|---|---|
1 | measure | 测量 | 通知型事件 |
- 测量事件描述:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 消息上报时间 | "reportTs":148813512323 | 一级字段 | |
inspectorId | string | 检测人ID | "inspectorId":"xxx" | evnets.measure | |
inspectorName | string | 检测人姓名 | "inspectorName":"xxx" | evnets.measure | |
systemId | string | 被测量人id | "id":"102010xxxxxxxxx" | evnets.measure | |
eventTs | long | 事件时间戳(测量时间戳) | "eventTs":xxxxxxxxxxxxxx | evnets.measure | |
eventType | enum | 事件类型 | "eventType":1 | 0:告警型事件 1:通知型事件 2:未知类型事件 | evnets.measure |
describe | string | 事件描述 | "describe":"事件描述" | evnets.measure | |
bodyTemperature | float | 体温 | "bodyTemperature":36.5 | evnets.measure | |
deviceId | string | 设备编号 | "deviceId":"xxxxxxxxxxxxxx" | evnets.measure | |
loaction | struct | 测量地址对象 | "loaction":{} | evnets.measure | |
poiId | string | 微瓴地理位置编码 | "poiId":"xxxxxxx" | 若无则默认为空字符串 | measure.loaction |
wId | string | 地理位置微瓴Id | "wId":"xxxxxxxxxxx" | 若无则默认为空字符串 | measure.loaction |
lon | float | 坐标经度 | "lon":xxx.xxx | measure.loaction | |
lat | float | 坐标维度 | "lat":xxxx.xx | measure.loaction | |
locationType | enum | 检测地类型 | "locationType":1 | 0:未知 1:园区门禁 2:大楼门禁 3:楼层门禁 4:房间门禁 5:自定义区域门禁 6:停车场门禁 7:机场安检口 8:火车站安检口 9:公路检查站 10:飞机 11:火车 12:客运汽车 | measure.loaction |
locationName | string | 检测地点名称 | "loactionId":"CZ6543" | 对于动态交通工具上报相关车次号,航班号或车牌号,对于静态数据则上报相关位置名称 如: 静态位置:深圳北火车站安检口 动态位置:高铁车次G123次列车 | measure.loaction |
- 字段示例:
{
"reportTs":148813512323,
"profile": {
"poiCode":"t1901001",
"appType":"xxxxx",
"modelId":xxxx
},
"properties": {
}
"events": {
"measure":{
"eventType": 0,
"eventTs": xxxxxxxxxx,
"describe": "xxxxx"
"systemid":"xxxx",
"inspectorName":"xxxxxxxxx",
"eventTs":"xxxxxx",
"location":{
"poiId":"",
"wId":"",
"lon":xxxxxx,
"lat":xxxxxx,
"locationType":1,
"locationName":"xxxxxxxx"
},
.......
}
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 5.20 交通工具系统(transportation)
# 5.20.1 航域飞行状态(t2001001)
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 消息上报时间 | "reportTs":148813512323 | 一级字段 | |
eventTs | long | 事件发生时间 | "eventTs":148813512323 | 毫秒级时间戳 | events.flight_trace |
eventType | enum | 事件类型 | "eventType":1 | 0:告警型事件 1:通知型事件 2:未知类型事件 | events.flight_trace |
describe | string | 事件描述 | "describe":"" | events.flight_trace | |
callsign | string | 呼号 | "callsign":"AIC512" | events.flight_trace | |
origin_country | string | 飞机所属国家 | "origin_country":"India" | events.flight_trace | |
time_position | int | 最后一次上报位置秒级时间戳 | "time_position":1597057788 | events.flight_trace | |
last_contact | int | 最后一次应答秒级时间戳 | "last_contact":1597057789 | events.flight_trace | |
longitude | float | WGS-84 经度 | "longitude":77.1016 | events.flight_trace | |
latitude | float | WGS-84 纬度 | "latitude":11.715 | events.flight_trace | |
baro_altitude | float | 气压高度 | "baro_altitude":8747.76 | events.flight_trace | |
on_ground | boolean | 当日来访列表 | "on_ground":false | events.flight_trace | |
velocity | float | 当前速度, 单位m/s | "velocity":222.37 | events.flight_trace | |
true_track | float | 当日来访列表 | "true_track":23.3 | events.flight_trace | |
vertical_rate | float | 垂直率 | "vertical_rate":5.85 | events.flight_trace | |
sensors | array | 传感器列表 | "sensors":null | events.flight_trace | |
geo_altitude | float | 地理高度 | "geo_altitude":9189.72 | events.flight_trace | |
squawk | string | 应答机编码 | "squawk":"2762" | events.flight_trace | |
spi | boolean | spi | "spi":false | events.flight_trace | |
position_source | int | 信号来源 | "position_source":0 | 0:ADS-B 1:ASTERIX 2:MLAT | events.flight_trace |
- 字段示例:
{
"reportTs":148813512323,
"profile": {
"poiCode":"t2001001",
"appType":"transportation",
"modelId":xxxx,
"customGeoId":"",
"wId":"xxxxxxxxxxxxxxxx"
},
"properties": {
},
"events": {
"flight_trace":{
"eventTs":148813512323,
"eventType":1,
"describe":"飞机实时轨迹信息",
"callsign":"AIC512",
"origin_country":"India",
"time_position":1597057788,
"last_contact":1597057789,
"longitude":77.1016,
"latitude":11.715,
"baro_altitude":8747.76,
"on_ground":false,
"velocity":222.37,
"true_track":23.3,
"vertical_rate":5.85,
"sensors":null,
"geo_altitude":9189.72,
"squawk":"2762",
"spi":false,
"position_source":0
}
}
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 5.21 人员管理系统(individual)
# 5.21.1 通用人员模型(t2101001)
- 人员信息管理对象模型:
字段名称 | 字段类型 | 字段描述 | 示例 | 备注 | 层级隶属 |
---|---|---|---|---|---|
reportTs | long | 消息上报时间 | "reportTs":148813512323 | 一级字段 | |
address | string | 家庭住址 | "address":"仙桃市郑场镇潘阳村八组" | properties | |
birth_ym | string | 出生年月 | "birth_ym":"2020-10" | properties | |
card_number | string | 工号 | "card_number":"88888" | properties | |
card_type | string | 证件类型 | "card_type":"1" | properties | |
country | string | 国籍 | "country":"CHN" | properties | |
employer | string | 工作单位 | "employer":"XX研究所" | properties | |
en_name | string | 英文名 | "en_name":"Tony" | properties | |
expire_at | string | 有效期结束时间 | "expire_at":"2035-01-01 00:00:00" | properties | |
gender | string | 性别 | "gender":"男" | properties | |
graduated_school | string | 毕业学校 | "graduated_school":"XX 学校" | properties | |
head_image | string | 头像 | "head_image":"http://xxx/xx.png" | properties | |
id_card | string | 证件号码 | "id_card":"4XXX***7" | properties | |
identity_title | string | 工作岗位 (职称) | "identity_title":"高级" | properties | |
identity_type | string | 身份类型 | "identity_type":"会员" | properties | |
nation | string | 民族 | "nation":"汉" | properties | |
telephone | string | 座机 | "telephone":"3333888" | properties | |
organization | string | 部门 | "organization":"AA/BB/CC" | properties | |
physical_card_number | string | 物理卡号 | "physical_card_number":"00001234" | properties | |
physical_card_status | string | 物理卡状态 | "physical_card_status":"正常" | properties | |
physical_chip_number | string | 物理芯片号 | "physical_chip_number":"EAEB1234" | properties | |
string | QQ号 | "qq":"12345678" | properties | ||
staff_status | string | 人员状态 | "staff_status":"正常" | properties | |
start_at | string | 有效期开始时间 | "start_at":"2019-01-01 00:00:00" | properties | |
region | string | 地域 | "region":"深圳" | properties | |
occupation | string | 职业 | "occupation":"教师" | properties | |
age | string | 年龄 | "age":"25" | properties | |
education | string | 学历 | "education":"本科" | properties | |
company_scale | string | 公司规模 | "company_scale":"世界500强" | properties | |
company_type | string | 公司类型 | "company_type":"互联网" | properties | |
license_plate | string | 车牌号 | "license_plate":"粤B88888" | properties | |
service_year | string | 工作年限 | "service_year":"5" | properties | |
salary | string | 收入 | "salary":"8" | properties | |
wechat_number | string | 微信号 | "wechat_number":"8888" | properties | |
job_title | string | 职务 | "job_title":"教务处主任" | properties | |
serial_number | string | 编号 | "serial_number":"88888" | properties |