Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip

Manage devices using gRPC API methods (ConfigurationService)

Axxon One configuration settings are described in the 구성 설정은 ConfigurationService.proto proto file.There are 2 methods used: 프로토 파일에 설명되어 있습니다.

사용되는 메서드는 2가지입니다.

  1. Changeconfig.
  2. ListConfig.

ChangeConfig

...

메서드

The ChangeConfig method allows to create, edit and delete any system objects.

Hereinafter, any system object or element will be called a unit.

Input data

  1. added – an array of units that should be added.
  2. changed – an array of units that should be changed.
  3. remove – an array of units that should be removed.

Unit structure

The type field determines what a unit is.

A unit can contain subunits (the units field). For example, a VideoChannel.0 unit may have a child unit Streaming.0.

ChangeConfig 메서드는 시스템의 모든 객체를 생성, 편집 및 삭제할 수 있게 합니다.

이후, 모든 시스템 객체나 요소는 단위라고 불립니다.

입력 데이터

  1. added – 추가해야 할 단위 배열
  2. changed – 변경해야 할 단위 배열
  3. remove – 삭제해야 할 단위 배열

단위 구조

type 필드는 단위가 무엇인지를 결정합니다.

단위는 서브단위를 포함할 수 있습니다(units 필). 예를 들어, VideoChannel.0 단위는 하위 단위인  Streaming.0을 가질 수 있습니다.

각 단위는 uid 필드를 가집니다. 이는 단위 식별자로, 단위의 모든 "부모"들을 "/" 기호로 구분하여 구성됩니다. 예를 들어, Streaming.0 단위의 uid 필드는 다음과 같습니다: Each unit has a uid field – it 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.

Where여기서

  • uid starts with "hosts",로 시작합니다.
  • Node1 is the node name, 은 노드 이름입니다.
  • DeviceIpint.1 is the device name, 은 장치 이름입니다.
  • VideoChannel.0 is the first video channel of the camera, 은 카메라의 첫 번째 비디오 채널입니다.
  • Streaming.0 is the first video stream of the channel. 은 채널의 첫 번째 비디오 스트림입니다.

추가적으로, 단위는 properties 필드에 설정을 여러 개 포함할 수 있습니다In addition, a unit can contain any number of settings in the properties field.

Output data

In response to the method, the following data will be received:

...