消息示例
## 14-获取摄像头运行状态
```
{
"Type": 0,
"Message": "",
"Data": [
{
"ChannelId": 1,
"Status": true
},
{
"ChannelId": 2,
"Status": true
},
{
"ChannelId": 3,
"Status": true
},
{
"ChannelId": 4,
"Status": true
},
{
"ChannelId": 5,
"Status": true
},
{
"ChannelId": 6,
"Status": true
},
{
"ChannelId": 7,
"Status": true
},
{
"ChannelId": 8,
"Status": true
}
],
"Time": "2022/03/09 15:49:03"
}
```
## 20-获取所有模型响应示例
```
{
"Type": 0,
"Message": "",
"Data": [
{
"Id": "test_model_1",
"Model": "test_model_1.pd"
},
{
"Id": "test_model_2",
"Model": "test_model_2.pd"
},
{
"Id": "test_model_3",
"Model": "test_model_3.pd"
},
{
"Id": "test_model_4",
"Model": "test_model_4.pd"
}
],
"Time": "2022/03/09 15:46:05"
}
```
## 21-获取当前运行参数响应示例
```
{
"Type": 0,
"Message": "",
"Data": {
"CurrentModel": {
"Id": "model_3",
"Model": "model_3_6de0.pt"
},
"Threshold": 0.5,
"EliminateDelay": 200,
"LowFpsThreshold": 45,
"LowFpsTimeout": 30,
"DustThreshold": 80,
"SaveOriginal": true,
"LabelTarget": true
},
"Time": "2022/03/31 11:28:45"
}
```
## 22-设置当前运行参数响应示例
```
{
"Type": 22,
"Message": "",
"Data": {
"CurrentModel": {
"Id": "model_3",
"Model": "model_3_6de0.pt"
},
"Threshold": 0.5,
"EliminateDelay": 200,
"LowFpsThreshold": 45,
"LowFpsTimeout": 30,
"DustThreshold": 80,
"SaveOriginal": true,
"LabelTarget": true
},
"Time": "2022/03/31 11:28:45"
}
```
## 23-获取合格率响应示例
```
{
"Type": 0,
"Message": "",
"Data": {
"Total": 99.41783000000001,
"Channels": [
{
"Id": 1,
"Value": 99.36197
},
{
"Id": 2,
"Value": 99.01391
},
{
"Id": 3,
"Value": 99.61359
},
{
"Id": 4,
"Value": 99.95871
},
{
"Id": 5,
"Value": 99.70172
},
{
"Id": 6,
"Value": 98.89831
},
{
"Id": 7,
"Value": 99.62882
},
{
"Id": 8,
"Value": 99.16561
}
]
},
"Time": "2022/03/09 15:49:03"
}
```
## 24-获取类别统计
```
{
"Type": 0,
"Message": "",
"Data": [
{
"Id": "0",
"Name": "Normal",
"Count": 3406
},
{
"Id": "1",
"Name": "NG-1",
"Count": 334
},
{
"Id": "2",
"Name": "NG-2",
"Count": 236
},
{
"Id": "3",
"Name": "NG-3",
"Count": 326
},
{
"Id": "4",
"Name": "NG-4",
"Count": 437
},
{
"Id": "5",
"Name": "NG-5",
"Count": 365
}
],
"Time": "2022/03/28 17:26:45"
}
```
## 25-获取实时帧率
```
{
"Type": 0,
"Message": "",
"Data": 58,
"Time": "2022/03/28 17:29:29"
}
```
## 108-获取摄像头状态响应示例
```
{
"Type": 0,
"Message": "",
"Data": [
{
"ChannelId": 1,
"Status": 0
},
{
"ChannelId": 2,
"Status": 0
},
{
"ChannelId": 3,
"Status": 0
},
{
"ChannelId": 4,
"Status": 2
},
{
"ChannelId": 5,
"Status": 0
},
{
"ChannelId": 6,
"Status": 0
},
{
"ChannelId": 7,
"Status": 1
},
{
"ChannelId": 8,
"Status": 0
}
],
"Time": "2022/03/11 09:47:19"
}
```