文档
测试

初始化设备管理-协议

POST
devicManageGet

接口描述

设备管理初始化状态获取

响应参数

参数名
类型
描述
必填
analogDevice
[Object]
模拟设备
必填
passay
String
通道号
必填
name
String
名称
必填
simulated
Map
模拟数据
必填
dataX
[String]
X轴数据集合
必填
dataY
[Int]
Y轴数值集合
必填
min
Int
最小值
必填
max
Int
最大值
必填
decimal_digits
Int
小数位数
必填
unit
String
单位
必填
status
Int
状态 0. 禁用 1.启用
必填
staticFile
[Object]
静态文件设备
必填
name
String
名称
必填
passay
String
通道号
必填
status
Int
状态 0.禁用 1.启用
必填
decimal_digits
Int
小数位数
必填
unit
String
单位
必填
modbusRTU
[Object]
Modbus 设备
必填
passway
String
通道号
必填
name
String
名称
必填
status
Int
状态 0. 禁用 1. 启用
必填
data_number
Int
数据数量
必填
value_type
String
数据类型
必填
value_coefficient
Int
值系数
必填
value_offset
Int
值偏移
必填
min
Int
最小值
必填
max
Int
最大值
必填
decimal_digits
Int
小数位数
必填
unit
String
单位
必填
modbusTCP
[Object]
Tcp协议
必填
passway
String
通道号
必填
name
String
名称
必填
status
Int
状态 0. 禁用 1. 启用
必填
data_number
Int
数据数量
必填
value_type
String
数据类型
必填
value_coefficient
Int
值系数
必填
value_offset
Int
值偏移
必填
min
Int
最小值
必填
max
Int
最大值
必填
decimal_digits
Int
小数位数
必填
unit
String
单位
必填
remot
[Object]
远程设备
必填
passwway
String
通道号
必填
status
Int
状态 0. 禁用 1. 启用
必填
remote_logo
String
远端标识
必填
command_timeout
Int
命令超时
必填
response_timeout
Int
应答超时
必填
unit
String
单位
必填

说明 / 示例

{ "analogDevice": [ { "passay": 1003, "name": "电磁阀03", "simulated": [ { "dataX": [ "08-10", "08-11" ], "dataY": [ 12, 13 ] } ], "max": 10, "min": 3, "decimal_digits": 2, "unit": "单位", "status": 0 }, { "passay": 1004, "name": "电磁阀04", "simulated": [ { "dataX": [ "08-10", "08-11" ], "dataY": [ 12, 13 ] } ], "max": 10, "min": 3, "decimal_digits": 2, "unit": "单位", "status": 0 } ], "staticFile": [ { "passay": 1003, "name": "电磁阀03", "decimal_digits": 2, "unit": "单位", "status": 0 }, { "passay": 1004, "name": "电磁阀04", "decimal_digits": 2, "unit": "单位", "status": 0 } ], "modbusRTU": [ { "passay": 1003, "name": "电磁阀03", "data_number": 12, "value_type": "byte", "value_coefficient": 2, "value_offset": 1, "max": 10, "min": 3, "decimal_digits": 2, "unit": "单位", "status": 0 }, { "passay": 1004, "name": "电磁阀04", "data_number": 8, "value_type": "byte", "value_coefficient": 1, "value_offset": 1, "max": 10, "min": 3, "decimal_digits": 2, "unit": "单位", "status": 0 } ], "modbusTCP": [ { "passay": 1003, "name": "电磁阀03", "data_number": 8, "value_type": "byte", "value_coefficient": 1, "value_offset": 1, "max": 10, "min": 3, "decimal_digits": 2, "unit": "单位", "status": 0 }, { "passay": 1004, "name": "电磁阀04", "data_number": 8, "value_type": "byte", "value_coefficient": 1, "value_offset": 1, "max": 10, "min": 3, "decimal_digits": 2, "unit": "单位", "status": 0 } ], "remot": [ { "passay": 1003, "remote_logo": "dspimnu", "command_timeout": 1, "response_timeout": 10, "unit": "单位", "status": 0 }, { "passay": 1003, "remote_logo": "dspimnu", "command_timeout": 1, "response_timeout": 10, "unit": "单位", "status": 0 } ] }