Update node.md

修改链路配置相关的api接口文档
This commit is contained in:
houwei 2024-10-28 13:09:33 +08:00
parent e47550a82e
commit 1d5476abc4

View File

@ -362,12 +362,86 @@ POST 请求接口
{
"code": 200,
"success": true,
"data": {
"name": "hight",
"equipmentName": "ceshifangfa",
"equipmenId": "1788084346705514497",
"params":"{bindAddr:127.0.0.1,bindPort:80,targetPort:443,targetAddr:114.114.114.114,socketType:1}"
},
"data": [
{
"id": "75974000971874304",
"linkId": "74303135031754752",
"linkName": "倍福1.5链路",
"equipmentId": "1846101273013739522",
"equipmentName": "A-001",
"equipmentCode": "A-001",
"measPointType": 146,
"measPointCode": "setGenSpeedLimitValue",
"measPointName": "发电机转速给定值",
"porder": 14,
"params": "{\"name\":\"发电机转速给定值\",\"code\":\"setGenSpeedLimitValue\",\"col1\":0,\"col2\":6,\"col3\":0,\"col4\":\"\",\"col5\":183,\"col6\":\"\"}"
},
{
"id": "75974000971874305",
"linkId": "74303135031754752",
"linkName": "倍福1.5链路",
"equipmentId": "1846101273013739522",
"equipmentName": "A-001",
"equipmentCode": "A-001",
"measPointType": 146,
"measPointCode": "setGenSpeedLimitValue",
"measPointName": "发电机转速给定值",
"porder": 14,
"params": "{\"name\":\"发电机转速给定值\",\"code\":\"setGenSpeedLimitValue\",\"col1\":0,\"col2\":6,\"col3\":0,\"col4\":\"\",\"col5\":183,\"col6\":\"\"}"
},
{
"id": "75974000971874306",
"linkId": "74303135031754752",
"linkName": "倍福1.5链路",
"equipmentId": "1846101273013739522",
"equipmentName": "A-001",
"equipmentCode": "A-001",
"measPointType": 146,
"measPointCode": "setActivePowerLimitValue",
"measPointName": "有功功率给定值",
"porder": 15,
"params": "{\"name\":\"有功功率给定值\",\"code\":\"setActivePowerLimitValue\",\"col1\":0,\"col2\":6,\"col3\":0,\"col4\":\"\",\"col5\":184,\"col6\":\"\"}"
},
{
"id": "75974000971874307",
"linkId": "74303135031754752",
"linkName": "倍福1.5链路",
"equipmentId": "1846101273013739522",
"equipmentName": "A-001",
"equipmentCode": "A-001",
"measPointType": 146,
"measPointCode": "setActivePowerLimitValue",
"measPointName": "有功功率给定值",
"porder": 15,
"params": "{\"name\":\"有功功率给定值\",\"code\":\"setActivePowerLimitValue\",\"col1\":0,\"col2\":6,\"col3\":0,\"col4\":\"\",\"col5\":184,\"col6\":\"\"}"
},
{
"id": "75974000971874308",
"linkId": "74303135031754752",
"linkName": "倍福1.5链路",
"equipmentId": "1846101273013739522",
"equipmentName": "A-001",
"equipmentCode": "A-001",
"measPointType": 146,
"measPointCode": "setReactivePowerValue",
"measPointName": "无功功率给定值",
"porder": 16,
"params": "{\"name\":\"无功功率给定值\",\"code\":\"setReactivePowerValue\",\"col1\":0,\"col2\":6,\"col3\":0,\"col4\":\"\",\"col5\":185,\"col6\":\"\"}"
},
{
"id": "75974000971874309",
"linkId": "74303135031754752",
"linkName": "倍福1.5链路",
"equipmentId": "1846101273013739522",
"equipmentName": "A-001",
"equipmentCode": "A-001",
"measPointType": 146,
"measPointCode": "setReactivePowerValue",
"measPointName": "无功功率给定值",
"porder": 16,
"params": "{\"name\":\"无功功率给定值\",\"code\":\"setReactivePowerValue\",\"col1\":0,\"col2\":6,\"col3\":0,\"col4\":\"\",\"col5\":185,\"col6\":\"\"}"
}
],
"msg": "操作成功"
}
```
@ -380,10 +454,22 @@ POST 请求接口
请求参数
```json
{
"equipmentId": ["1788084346705514497"],
"linkId": "73556002258550784"
"linkId": "75979266885156864",
"equipmentList": [
{
"id": "1846101273013739522",
"name": "A-001",
"iotModelId": "1807685851882508289",
"iotAddr": "127.168.0.1"
},
{
"id": "75817384363950080",
"name": "A-002",
"iotModelId": "1807685851882508289",
"iotAddr": "127.168.0.2"
}
]
}
```
返回报文
@ -446,9 +532,16 @@ POST 请求接口
"success": true,
"data": [
{
"equipmentId": "73714632985149440",
"equipmentName": "风电场测试",
"porder": 1
"id": "1846101273013739522",
"name": "A-001",
"iotModelId": "1807685851882508289",
"iotAddr": "127.168.0.1"
},
{
"id": "75817384363950080",
"name": "A-002",
"iotModelId": "1807685851882508289",
"iotAddr": "127.168.0.2"
}
],
"msg": "操作成功"
@ -482,10 +575,39 @@ POST 请求接口
}
```
### 1.2.11设备遥控操作
### 1.2.11单设备遥控操作
POST 请求接口
> /api/node/link/command
请求参数
```sjon
{
"deviceId": "1846101273013739522",
"serviceName": "setTurbineFastStart",
"opValue": 1
}
```
### 1.2.12单设备遥调操作
POST 请求接口
> /api/node/link/setPoint
请求参数
```json
{
"deviceId": "1846101273013739522",
"serviceName": "setActivePowerLimitValue",
"opValue": 52.5
}
```
### 1.2.12设备遥调操作