ShipFlowDetectionRuleList message in JSON format
{ "ShipFlowDetectionRuleList":[ { "ShipFlowDetectionRule":{ "id":, /*required, int, rule ID*/ "enabled":, /*required, boolean, enable the rule*/ "regionEnOrExAlarmEnabled":, /*optional, boolean, enable alarm of region entrance or region exit*/ "RegionCoordinatesList":[ { /*optional, list of detection region coordinates*/ "positionX":, /*required, float, X-coordiante*/ "positionY": /*required, float, Y-coordinate*/ } ], "TriggerLineList":[ { "id":, /*required, int, trigger line ID*/ "enabled":, /*required, boolean, enable trigger line*/ "MinimumTargetSize":{ /*required, the minimum target size*/ "width":, /*required, float, width, value range: [0,1]. The value should be accurate to three decimal places*/ "height": /*required, float, height, value range: [0,1]. The value should be accurate to three decimal places*/ }, "TriggerLineCoordinatesList":[ { "positionX":, /*required, float, X-coordinate*/ "positionY": /*required, float, Y-coordinate*/ } ] "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*/ } } ] } } ] }