Go to documentation repository
Page History
To get the identifier of the detection tool mask, it is necessary to run a query of the following type:
Code Block |
---|
{ "method":"AxxonSoftaxxonsoft.bl.config.ConfigurationService.ListUnits", "data":{ "unit_uids": ["hosts/Server1/AppDataDetector.1"] } } |
...
Code Block |
---|
"units": [ { "uid": "hosts/Server1/AppDataDetector.1/VisualElement.76c7fadf-7f96-4f30-b57a-e3ba585fbc6f", "display_id": "76c7fadf-7f96-4f30-b57a-e3ba585fbc6f", "type": "VisualElement", "display_name": "Polyline", "access_point": "", "properties": [ { "id": "polyline", "name": "Polyline", "description": "Polyline.", "type": "SimplePolygon", "readonly": false, "internal": false, "value_simple_polygon": { "points": [ { "x": 0.01, "y": 0.01 }, { "x": 0.01, "y": 0.99 }, { "x": 0.99, "y": 0.99 }, { "x": 0.99, "y": 0.01 } ] } } |
where
- uid - − the mask identifier.
- x, y - − the coordinates of the point apex.
To change the points of the mask, it is necessary to run a query using the obtained mask uid:
Code Block |
---|
{ "method": "AxxonSoftaxxonsoft.bl.config.ConfigurationService.ChangeConfig", "data": { "changed": [ { "uid": "hosts/Server1/AppDataDetector.1/VisualElement.76c7fadf-7f96-4f30-b57a-e3ba585fbc6f", "type": "VisualElement", "properties": [ { "id": "polyline", "value_simple_polygon": { "points": [ { "x": 0.01, "y": 0.01 }, { "x": 0.01, "y": 0.99 }, { "x": 0.99, "y": 0.99 }, { "x": 0.99, "y": 0.01 } ] } } ] } ] } |
...
Overview
Content Tools