ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
*每个设备会上报的自己岗亭的信息* 请求结构说明: > **dataItem 业务对象说明** | 字段名称 | 说明 | 类型 | 示例 | 是否必传字段 | | --- | --- | --- | --- | --- | | freeTime | 车场免费时长 | int | 10(单位:分钟) | 是 | | allowStayTime | 车场滞留时间 | int | 20(单位:分钟) | 是 | | totalParkNum | 车场总车位数 | int | 100 | 是 | | mac | MAC地址 | String(20) | 12_12_12_12 | 是 | | version | 终端服务版本 | String(10) | 2.3.133.072 | 否 | | iccid| ICCDI | String(30) | 123123123123 | 否 | | isWreless| 是否免布线 | int | 0-非免布线<br/>1-免布线 | 是 | | workspaceType | 岗亭类型,0-普通岗亭1-主岗亭 | int | 0 | 是 | | workspace| 岗亭信息,参考岗亭业务对象说明 | object | cmWorkspace | 是 | | guestTotalNum| 车场可预约总车位数 | int | 100 | 是 | | guestKeepMins| 车场预约有效分钟数 | int |30| 是 | | reasons| 系统备注,参考系统备注业务对象说明 | array | | 是 | > **岗亭业务对象[cmWorkspace]说明** | 字段名称 | 说明 | 类型 | 示例 | 是否必传字段 | | --- | --- | --- | --- | --- | | id | 自增标识 | int | 1 | 是 | | name | 岗亭名称 | string | 东门岗 | 是 | | ipaddress | 岗亭IP | string | 192.168.1.233 | 是 | | filter | 相同车牌过滤时间(单位:秒) | int | 60 | 是 | | isCancel | 窗口消失默认操作,0:确认,1:取消,默认取消; | int | 1 | 是 | | inOutSingleChannel | 同进同出, 0:否;1:是,默认:否 | int | 0 |是 | | workspaceType | 岗亭类型,0-普通岗亭1-主岗亭 | int | 0 | 是 | | channels | 通道列表,参考通道业务对象说明 | Array | cmChannel[] | 是 | > **通道业务对象[cmChannel]说明** | 字段名称 | 说明 | 类型 | 示例 | 是否必传字段 | | --- | --- | --- | --- | --- | | id | 自增标识 | int | 1 | 是 | | name | 通道名称 | string | 入口一 | 是 | | inOutType | 出入类型:<br/>大车场入口 = 1,<br/>大车场出口 = 2,<br/>小车场入口 = 3,<br/>小车场出口 = 4 | int | 1 | 是 | | autoCancel | 车牌验证倒计时,0:永久 | int | 45 | 是 | | remoteControl | 遥控控制抬闸,0:否;1:是 | int | 0 | 是 | | manless | 无人值守通道,0:否;1:是,默认:否 | int | 0 | 是 | | openGateFirst | 入口防调头,0:否;1:是 | int | 0 | 是 | | virtualPlateManual | 虚拟车牌(无牌车扫码)需要人工确定, 0:否;1:是 | int | 0 | 是 | | scanGun | 通道启用机器人扫码,一个岗亭只允许一个;0:否;1:是,默认:否. | int | 0 | 是 | | hardwares | 通道识别设备,参考识别设备业务对象说明 | Array | cmHardware[] | 是 | | talkSn| 对讲设备序列号(mac) |String | aa_bb_cc_dd| 否 | > **识别设备业务对象[cmHardware]说明** | 字段名称 | 说明 | 类型 | 示例 | 是否必传字段 | | --- | --- | --- | --- | --- | | id | 自增标识 | int | 1 | 是 | | type | 设备类型:<br/>TD_I型摄像机 = 0,<br/>TD_II型摄像机 = 1,<br/>TD_III型摄像机 = 2,<br/>TD_IV型摄像机 = 3,<br/>TD_V型摄像机 = 4,<br/>TD_VI型摄像机 = 5,<br/>ETC = 99 | int | 1 | 是 | | ipaddress | 设备IP | string | 192.168.1.245 | 是 | > **系统备注业务对象[cmReason]说明** | 字段名称 | 说明 | 类型 | 示例 | 是否必传字段 | | --- | --- | --- | --- | --- | | id | 自增标识 | int | 1 | 是 | | type | 备注类型:<br/>手动抬闸,<br/>免费/异常放行,<br/> | string | 手动抬闸 | 是 | | content | 备注详情 | string | 车场调试 | 是 | | isDefault | 是否默认,0:否,1:是,默认否| int | 1 | 是 | | remark| 备注 | string | | 否 | * * * * * > 示例: ~~~ { "code": 1, "parkCode": "SLZX/1P11", "uuid": "6fb3a81f-3c58-4128-8733-2ceb4ece1614", "serviceId": "sync.parkinfo", "dataItems": [ { "freeTime": 0, "allowStayTime": 1, "totalParkNum": 9999, "mac": "xx_xx_xx_xx_xx_xx", "version": "ui:2.0.41;server:2.6.69.0731", "iccid": "nosim", "isWreless": 0, "workspace": { "id": 1, "name": "3号岗", "ipaddress": "192.168.0.238", "filter": 5, "isCancel": 1, "inOutSingleChannel": 0, "workspaceType": 1, "channels": [ { "id": 14, "name": "bbb", "inOutType": 4, "autoCancel": 60, "remoteControl": 0, "manless": 0, "openGateFirst": 0, "virtualPlateManual": 0, "scanGun": 0, "hardwares": [ { "id": 9, "type": 2, "ipaddress": "192.168.0.227" } ] }, { "id": 13, "name": "aaa", "inOutType": 3, "autoCancel": 60, "remoteControl": 0, "manless": 0, "openGateFirst": 0, "virtualPlateManual": 0, "scanGun": 0, "hardwares": [ { "id": 10, "type": 1, "ipaddress": "192.168.0.216" } ] }, { "id": 1, "name": "6号入口", "inOutType": 1, "autoCancel": 180, "remoteControl": 0, "manless": 0, "openGateFirst": 0, "virtualPlateManual": 1, "scanGun": 0, "hardwares": [ { "id": 24, "type": 2, "ipaddress": "192.168.0.245" } ] }, { "id": 2, "name": "3号出口", "inOutType": 2, "autoCancel": 180, "remoteControl": 0, "manless": 0, "openGateFirst": 0, "virtualPlateManual": 0, "scanGun": 0, "hardwares": [ { "id": 26, "type": 2, "ipaddress": "192.168.0.217" } ] } ] } } ] } ~~~ 返回结构说明: > **dataItem 业务对象说明** | 字段名称 | 说明 | 类型 | 示例 | 是否必传字段 | | --- | --- | --- | --- | --- | | num | 处理记录条数 | int | 1 | 是 | | currentTime | 服务器当前时间 | String | 2017-06-13 10:10:10 | 是 | * * * * * > 示例: ~~~ { "code": 1, "dataItems": [ { "currentTime": "2017-06-13 10:10:10", "num": 1 } ], "parkCode": "SLZX/1P11", "serviceId": "sync.parkinfo", "uuid": "6fb3a81f-3c58-4128-8733-2ceb4ece1614" } ~~~