Axxon One 구성 설정은 ConfigurationService.proto 프로토 파일에 설명되어 있습니다.
...
추가적으로, 단위는 properties 필드에 설정을 여러 개 포함할 수 있습니다.
Output data
In response to the method, the following data will be received:
- failed – the units that could not be added.
- added – the uid of the successfully added unit.
ListConfig method
The method allows to get a list of units.
Input data
unit_uids is an array of the units' uids to be obtained.
Output data
- units is a list of successfully found units.
- unreachable_objects is a list of temporarily unavailable units.
- not_found_objects is a list of not found units.
The units field is of UnitDescriptor type.
Data parameters:
출력 데이터
메서드에 대한 응답으로, 다음 데이터가 반환됩니다.
- failed – 추가할 수 없었던 단위
- added – 성공적으로 추가된 단위의 uid
ListConfig 메서드
이 메서드는 단위 목록을 가져오는 기능을 제공합니다.
입력 데이터
unit_uids는 가져올 단위들의 uid 배열입니다.
출력 데이터
- units는 성공적으로 찾은 단위들의 목록입니다.
- unreachable_objects는 일시적으로 사용할 수 없는 단위들의 목록입니다.
- not_found_objects는 찾을 수 없는 단위들의 목록입니다.
units 필드는 UnitDescriptor 타입입니다.
데이터 매개변:
- uid는 단위 식별자로, 단위의 모든 "부모"들이 "/" 기호로 구분되어 구성됩니다. 예를 들어, Streaming.0 단위의 uid 필드는 다음과 같습니다uid is a unit identifier, which consists of all the "parents" of the unit, separated by the "/" symbol. For example, the uid field of the Streaming.0 unit will be as follows: hosts/Node1/DeviceIpint.1/VideoChannel.0/Streaming.0.
- display_id is a short id, which is usually unique in a parent scope. For example, for a DeviceIpint.1 unit, the field 는 일반적으로 부모 범위 내에서 고유한 짧은 ID입니다. 예를 들어, DeviceIpint.1 단위의 경우, display_id == 1 (sometimes type can go together with it때로는 type과 함께 제공될 수 있음).
- type is a unit type. For example, for a 은 단위의 유형입니다. 예를 들어, DeviceIpint.1 unit단위의 경우, the field type == DeviceIpint.
- properties is a list of unit settings.는 단위 설정의 목록입니다.
- units는 포함된 단위들로, 이들 중 일부는 전체 설명을 가질 수도 있고, 일부는 간략한 설명을 가질 수 있습니다. 간략한 설명인 경우, stripped == true 이며 설명에서 사용할 수 있는 필드는 units are included units that can have either a full description or a short one. In this case, the field stripped == true, and the only fields that are available from the description are: display_id, type, uid 입니다.
- factory are included units that can be created for a given unit. The available fields are:는 주어진 단위에 대해 생성할 수 있는 포함된 단위들입니다. 사용 가능한 필드는 다음과 같습니다.
- type – 생성할 수 있는 서브 단위의 유형
- properties – 서브 단위 설정 목록
- type – a type of subunit that can be created;
- properties – a list of subunit properties.