{
"requestURL": "",
/*可选,URL,string*/
"statusCode": ,
/*必填,状态码,int*/
"statusString": "",
/*必填,状态描述,string*/
"subStatusCode": "",
/*必填,子状态码,string*/
"errorCode": 1,
/*可选,当statusCode不为1时,必填。错误码,与subStatusCode对应,int*/
"errorMsg": "ok",
/*可选, 当statusCode不为1时,必填,错误详细信息,能具体到某一个参数的错误,string*/
"ipAddress":
{
"min": 0,
"max": 32,
"#text": "10.11.12.13"
},
/*必填, 设备IPv4地址, string类型, 最大长度为32*/
"ipv6Address":
{
"min": 0,
"max": 128,
"#text": "910A:2222:5498:8475:1111:3900:2020"
},
/*可选, 设备IPv6地址, string类型, 最大长度为128*/
"portNo":
{
"@min": 0,
"@max": 65535,
"#text": 80
},
/*必填, 设备端口号, integer类型*/
"protocolType":
{
"@opt": "none, contec",
"#text": "contec"
},
/*必填, 协议类型, none-无,contec-康泰, string类型*/
"connectStatus":
{
"@opt": "connected,connecting,disconnect",
"#text": "connected"
},
/*可选, 连接状态, connected-已连接,connecting-连接中,disconnect-未连接 string类型, 最大长度为32,{dep if protocolType != none}*/
"relatedChannelID":
{
"@min": 1,
"@max": 1024,
"#text": 1
},
/*可选, 关联通道号,integer类型, {dep if protocolType != none}*/
}