JSON_DredgerDetectionRule

DredgerDetectionRule message in JSON format

{
  "DredgerDetectionRule":{
    "id":,
/*required, integer type, rule ID*/
    "enabled":,
/*required, boolean type, enable rule*/
    "overStayingAlarmTime":,
/*optional, integer type, overstay alarm time, ranges from 60 to 3600, the default value is 180, unit: second*/
    "RegionCoordinatesList":[
      {
/*optional, list of detection region coordinates*/
        "positionX":,
/*required, integer type, X-coordinate*/
        "positionY":
/*required, integer type, Y-coordinate*/
      }
    ],
    "MinimumTargetSize":{
/*required, the minimum target size*/
      "width":,
/*required, integer type, width, value range: [0,1]; the default value is 0.040. The value should be accurate to three decimal places*/
      "height":                    
/*required, integer type, height, value range: [0,1]; the default value is 0.015. The value should be accurate to three decimal places*/
    },
    "MaxSizeFilter":{
/*required, the maximum size filter*/
      "width":0.040,
/*required, float, width, value range: [0,1]. The value should be accurate to three decimal places*/
      "height":0.015
/*required, float, height, value range: [0,1]. The value should be accurate to three decimal places*/
    },
    "cancelRepeatedAlarmEnabled":
/*optional, boolean, whether to enable the function of canceling repeated alarm(s)*/
  }
}