8 namespace vms_server_plugins {
13 static const std::string kTestPolygonSettingName =
"testPolygon";
14 static const std::string kDeviceAgentSettingsModel = 1 + R
"json( 21 "caption": "Polygons", 25 "type": "PolygonFigure", 26 "name": "excludedArea.figure", 27 "caption": "Excluded area", 28 "useLabelField": false, 37 "caption": "Polygon #", 38 "filledCheckItems": ["polygon#.figure"], 42 "type": "PolygonFigure", 43 "name": "polygon#.figure", 49 "name": "polygon#.threshold", 50 "caption": "Level of detection", 57 "name": "polygon#.sensitivity", 58 "caption": "Sensitivity", 65 "name": "polygon#.minimumDuration", 66 "caption": "Minimum duration (s)", 88 "filledCheckItems": ["box#.figure"], 97 "name": "box#.threshold", 98 "caption": "Level of detection", 105 "name": "box#.sensitivity", 106 "caption": "Sensitivity", 113 "name": "box#.minimumDuration", 114 "caption": "Minimum duration (s)", 136 "filledCheckItems": ["line#.figure"], 140 "type": "LineFigure", 141 "name": "line#.figure" 145 "name": "line#.person", 147 "defaultValue": false 151 "name": "line#.vehicle", 152 "caption": "Vehicle", 153 "defaultValue": false 157 "name": "line#.crossing", 158 "caption": "Crossing", 159 "defaultValue": false 168 "caption": "Polyline", 177 "caption": "Polyline #", 178 "filledCheckItems": ["testPolyLine#.figure"], 182 "type": "LineFigure", 183 "name": "testPolyLine#.figure", 184 "caption": "Polyline", 194 "caption": "Polygon", 198 "type": "PolygonFigure", 199 "name": ")json" + kTestPolygonSettingName + R"json(", 200 "caption": "Polygon outside of a repeater", 201 "description": "The points of this polygon are considered as a Integration-side setting", 209 "caption": "Size Constraints", 213 "type": "ObjectSizeConstraints", 214 "name": "testSizeConstraints", 215 "caption": "Object size constraints", 216 "description": "Size range an object should fit into to be detected", 217 "defaultValue": {"minimum": [0.1, 0.4], "maximum": [0.2, 0.8]} Definition: apple_utils.h:6