Go to documentation repository
Documentation for Axxon Next 4.5.0. Documentation for other versions of Axxon Next is available too.
Previous page Next page
Utwórz nowy układ o nazwie "Layout" bez określania jego ID.
POST http://IP-address:port/prefix/grpc
Body zapytania:
{
"method": "axxonsoft.bl.layout.LayoutManager.Update",
"data": {
"created":{
"display_name":"Layout"
}
}
}
Odpowiedź będzie zawierać ID:
{
"created_layouts": [
"b0bd2b36-064a-4cc4-9a6f-382de02be7ef"
]
}
Pobierz listę układów
POST http://IP-address:port/prefix/grpc
Body zapytania:
{
"method": "axxonsoft.bl.layout.LayoutManager.ListLayouts",
"data": {
"view": "VIEW_MODE_FULL"
}
}
Odpowiedź:
{
"current": "",
"items": [
{
"meta": {
"layout_id": "b0bd2b36-064a-4cc4-9a6f-382de02be7ef",
"owned_by_user": true,
"shared_with": [],
"etag": "63F1DF706EE001985D858352029DB0BDBCF257FC"
},
"body": {
"id": "b0bd2b36-064a-4cc4-9a6f-382de02be7ef",
"display_name": "my",
"is_user_defined": false,
"is_for_alarm": false,
"alarm_mode": false,
"map_id": "",
"map_view_mode": "MAP_VIEW_MODE_LAYOUT_ONLY",
"cells": {}
}
}
],
"special_layouts": {
"favorite": {
"id": "",
"enabled": false
},
"alarm": {
"id": "",
"enabled": false
}
}
}
Overview
Content Tools