JSON_DredgerDetectionRuleListCap

DredgerDetectionRuleListCap message in JSON format

{
  "DredgerDetectionRuleListCap":{
    "maxSize":5,
/*required, integer type, the maximum number of supported dredger detection rules*/
    "DredgerDetectionRuleCap":{
      "enabled":{
/*required, boolean type, enable rule*/
        "@opt":"true,false"
      },
      "overStayingAlarmTime":{
/*optional, integer type, overstay alarm time, ranges from 60 to 3600, the default value is 180, unit: second*/
        "@min":60,
        "@max":3600,
        "@def":180
      },
      "RegionCoordinatesList":{
/*optional, list of detection region coordinates*/
        "maxSize":5,
/*required, integer type, the number of supported regions*/
        "positionX":{
/*required, integer type, X-coordinate*/
          "@min":0,
          "@max":1000
        },
        "positionY":{
/*required, integer type, Y-coordinate*/
          "@min":0,
          "@max":1000
        }
      },
      "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*/
          "@min":0,
          "@max":1,
          "@def":0.040
        },
        "height":{
/*required, integer type, height, value range: [0,1]; the default value is 0.015. The value should be accurate to three decimal places*/
          "@min":0,
          "@max":1,
          "@def":0.015
        },
      },
      "MaxSizeFilter":{
/*required, the maximum size filter*/
        "width":{
/*required, float, width, value range: [0,1]. The value should be accurate to three decimal places*/
          "@min":0,
          "@max":1,
          "@def":0.250
        },
        "height":{
/*required, float, height, value range: [0,1]. The value should be accurate to three decimal places*/
          "@min":0,
          "@max":1,
          "@def":0.150
        }
      },
      "cancelRepeatedAlarmEnabled":{
/*optional, boolean, whether to enable the function of canceling repeated alarm(s)*/
        "@opt":"true,false"
      }
    }
  }
}