{
"id": "string",
"sn": "string",
"name": "string",
"desc": "string",
"enable": true,
"protocolType": "string",
"iec104BasicInfo": {
"tcpType": "string",
"ip": "string",
"port": 0,
"addr": 0,
"summoningCycle": 0,
"electricityCycle": 0,
"timeSyncCycle": 0
},
"Iec104PointTable": {
"yx": [
{
"point": "string",
"desc": "string",
"identifier": "string"
}
],
"yc": [
{
"point": "string",
"desc": "string",
"identifier": "string",
"precision": "string",
"coefficient": "string"
}
],
"": [
{
"point": "string",
"desc": "string",
"type": "string",
"mapping": "string"
}
],
"lj": [
{
"point": "string",
"desc": "string",
"identifier": "string",
"precision": "string",
"coefficient": "string"
}
],
"cs": [
{
"point": "string",
"desc": "string",
"identifier": "string"
}
]
},
"iec104PointTableBindingInfo": {}
}
curl --location --request POST 'https://iot-dev.utapp.cn/commUnit/createCommunicationUnit' \
--header 'Authorization-Type;' \
--header 'X-Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "string",
"sn": "string",
"name": "string",
"desc": "string",
"enable": true,
"protocolType": "string",
"iec104BasicInfo": {
"tcpType": "string",
"ip": "string",
"port": 0,
"addr": 0,
"summoningCycle": 0,
"electricityCycle": 0,
"timeSyncCycle": 0
},
"Iec104PointTable": {
"yx": [
{
"point": "string",
"desc": "string",
"identifier": "string"
}
],
"yc": [
{
"point": "string",
"desc": "string",
"identifier": "string",
"precision": "string",
"coefficient": "string"
}
],
"": [
{
"point": "string",
"desc": "string",
"type": "string",
"mapping": "string"
}
],
"lj": [
{
"point": "string",
"desc": "string",
"identifier": "string",
"precision": "string",
"coefficient": "string"
}
],
"cs": [
{
"point": "string",
"desc": "string",
"identifier": "string"
}
]
},
"iec104PointTableBindingInfo": {}
}'
{
"code": 0,
"message": "操作成功",
"data": "string",
"success": "true"
}