ShipFlowDetectionRuleListCap message in JSON format
{ "ShipFlowDetectionRuleListCap":{ "maxSize":5, /*required, int, the maximum number of supported ship flow detection rules*/ "ShipFlowDetectionRuleCap":{ "enabled":{ /*required, boolean, enable ship flow detection rule*/ "@opt":"true,false" }, "regionEnOrExAlarmEnabled":{ /*optional, boolean, enable alarm of region entrance or region exit*/ "@opt":"true,false" }, "RegionCoordinatesList":{ /*optional, list of detection region coordinates*/ "maxSize":5, /*required, int, the maximum number of supported regions*/ "positionX":{ /*required, float, X-coordinate*/ "@min":0, "@max":1 }, "positionY":{ /*required, float, Y-coordinate*/ "@min":0, "@max":1 } }, "TriggerLineList":{ "maxSize":5, /*required, int, the number of supported trigger lines*/ "enabled":{ /*required, boolean, enable trigger line*/ "@opt":"true,false" }, "MinimumTargetSize":{ /*required, the minimum target size*/ "width":{ /*required, float, width, value range: [0,1]. The value should be accurate to three decimal places*/ "@min":0, "@max":1, "@def":0.040 }, "height":{ /*required, float, height, value range: [0,1]. The value should be accurate to three decimal places*/ "@min":0, "@max":1, "@def":0.015 }, }, "TriggerLineCoordinatesList":{ "positionX":{ /*required, float, X-coordinate*/ "@min":0, "@max":100 }, "positionY":{ /*required, float, Y--coordinate*/ "@min":0, "@max":1 } } "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 } } } } } }