Versions Compared

Key

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

...

Code Block
languagejs
[
    {
        "id": "1",
        "name": "oblast Область 1",
        "regions": [
            {
                "id": "1.1",
                "zoneId": "1",
                "name": "Раздел 1.1 razdel",
                "zoneDescription": "описаниеОписание зоны opisanie zoni"
            }
        ]
    },
    {
        "id": "2",
        "name": "oblast Область 2",
        "regions": [
            {
                "id": "2.1",
                "zoneId": "2",
                "name": "razdel Раздел 2.1",
                "zoneDescription": "описаниеОписание зоны opisanie zoni"
            }
        ]
    }
]  

XML:

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<baseObjects>
    <CAM>
        <displayId>1</displayId>
        <displayName>Экран 1</displayName>
        <extId>5</extId>
        <id>CAM:5</id>
        <monitorId>1</monitorId>
        <monitorName>Монитор 1</monitorName>
        <name>Камера 5</name>
        <regionDescription>Описание области</regionDescription>
        <regionId>2.1</regionId>
        <regionName>Раздел 2.1</regionName>
        <state>
            <fullState>DISARMED</fullState>
            <id>connected</id>
            <type>NORMAL</type>
        </state>
        <type>CAM</type>
        <zoneId>2</zoneId>
        <zoneName>Область 2</zoneName>
        <additionalInfo></additionalInfo>
        <micId></micId>
        <presets/>
        <speakerId></speakerId>
        <telemetryId></telemetryId>
    </CAM>
</baseObjects>

...