Query the number of Devices in all Plant that are experiencing alarms
| Parameter | Description | Required |
|---|---|---|
| action | queryPlantsWarningDeviceCount | True |
| devtype | Device type | False |
| level | Alarm level, If this parameter is not passed, it indicates that you do not care | False |
response:
| Parameter | Description | Required |
|---|---|---|
| count | Number of Device being alerted | True |
{
"err":0,
"desc":"ERR_NONE",
"dat":{
"count": 0
}
}
Possible errors:
| Response error code | Description | Details |
|---|---|---|
| 0x0006 | ERR_FORMAT_ERROR | Parameter error |
| 0x0104 | ERR_NOT_FOUND_PLANT | Unable to find Plant |