JSON message about interval temperature measurement rule
{
"TemperatureIntervalMeasurementAlarmRule":{
"RulesList":[{
"Rule":{
"id": 1,
/*required, int, rule ID*/
"enabled": true,
/*optional, boolean, whether to enable*/
"alarmType": "",
/*optional, string, alarm type: "highestTemp"-the highest temperature, "lowestTemp"-the lowest temperature*/
"TemperatureIntervalList":[{
/*temperature interval list; up to four intervals are supported*/
"TemperatureInterval":{
"id": 1,
/*required, int, No.*/
"enabled": true,
/*optional, boolean, whether to enable*/
"name": "",
/*optional, string, interval name*/
"minTemperature": 35.0,
/*optional, float, the minimum temperature, range: [-20,550], unit: Celsius; the value should be accurate to one decimal place*/
"maxTemperature": 37.0,
/*optional, float, the maximum temperature, range: [-20,550], unit: Celsius; the value should be accurate to one decimal place*/
"alarmColor":{
/*optional, alarm color of temperature interval*/
"R": 1,
/*optional, int*/
"G": 1,
/*optional, int*/
"B": 1
/*optional, int*/
},
"AlarmOutputIOPortList":[{
/*optional, alarm output port list*/
"OutputIOPort":{
"portID": 1,
/*required, int, port No.*/
"enabled": true
/*required, boolean, whether to enable*/
}
}]
}
}]
}
}]
}
}