<?xml version="1.0" encoding="UTF-8"?>
|
<xsd:schema xmlns="http://traxelektronik.pl/rc30/protocol" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
targetNamespace="http://traxelektronik.pl/rc30/protocol" elementFormDefault="qualified">
|
|
<!--
|
==================================================================================
|
|
Headers and request/response type
|
|
==================================================================================
|
-->
|
|
<xsd:complexType name="HeaderRequest">
|
<xsd:annotation>
|
<xsd:documentation>Nagłówek polecenia.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence minOccurs="1" maxOccurs="1">
|
<xsd:element ref="userName"/>
|
<xsd:element ref="password"/>
|
<xsd:element name="operationCode" type="xsd:string">
|
<xsd:annotation>
|
<xsd:documentation>Kod operacji. Wartość ta zwracana jest w nagłówku odpowiedzi.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="dateTime" type="xsd:dateTime">
|
<xsd:annotation>
|
<xsd:documentation>Data/czas serwera.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="deviceId" type="xsd:string">
|
<xsd:annotation>
|
<xsd:documentation>Identyfikator serwera (ID).</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:element name="response" type="Response">
|
</xsd:element>
|
<xsd:complexType name="Response">
|
<xsd:annotation>
|
<xsd:documentation>Ogólny nagłowek odpowiedzi.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:complexContent>
|
<xsd:extension base="HeaderResponse"></xsd:extension>
|
</xsd:complexContent>
|
</xsd:complexType>
|
<xsd:complexType name="HeaderResponse">
|
<xsd:annotation>
|
<xsd:documentation>Nagłówek odpowiedzi.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence minOccurs="1" maxOccurs="1">
|
<xsd:element name="operationCode" type="xsd:string">
|
<xsd:annotation>
|
<xsd:documentation>Kod operacji. Wartość identyczna jak w nagłówku polecenia.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="dateTime" type="xsd:dateTime">
|
<xsd:annotation>
|
<xsd:documentation>Data/czas urządzenia.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element ref="statusCode">
|
<xsd:annotation>
|
<xsd:documentation>Kodu statusu.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element ref="statusText">
|
<xsd:annotation>
|
<xsd:documentation>Opis kodu statusu.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="deviceId" type="xsd:string">
|
<xsd:annotation>
|
<xsd:documentation>Identyfikator urządzenia (ID).</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="version" type="xsd:string">
|
<xsd:annotation>
|
<xsd:documentation>Wersja protokołu urządzenia.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
|
<!-- TYPES -->
|
<xsd:element name="userName" type="xsd:NMTOKEN">
|
<xsd:annotation>
|
<xsd:documentation>Login (dozwolone a-z, A-Z, 0-9 oraz '_').</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="password" type="xsd:string">
|
<xsd:annotation>
|
<xsd:documentation>Hasło (dozwolone a-z, A-Z, 0-9 oraz '_').</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="statusCode" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Lista statusów.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:simpleType>
|
<xsd:restriction base="xsd:int">
|
<xsd:enumeration value="0">
|
<xsd:annotation>
|
<xsd:documentation>OK</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-1">
|
<xsd:annotation>
|
<xsd:documentation>Błędny login lub hasło.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-2">
|
<xsd:annotation>
|
<xsd:documentation>Błąd wewnętrzny.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-3">
|
<xsd:annotation>
|
<xsd:documentation>Polecenie odrzucone.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
<xsd:enumeration value="-10">
|
<xsd:annotation>
|
<xsd:documentation>Parametry polecenia brakujące lub niepoprawne.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
|
<xsd:enumeration value="-99">
|
<xsd:annotation>
|
<xsd:documentation>Nieznany błąd.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:enumeration>
|
</xsd:restriction>
|
</xsd:simpleType>
|
</xsd:element>
|
<xsd:element name="statusText" type="xsd:string" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>Opis tekstowy błedu.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
|
<!--
|
==================================================================================
|
|
ping
|
|
==================================================================================
|
-->
|
|
<!-- CMD: ping -->
|
<xsd:element name="pingRequest" type="PingRequest"/>
|
<xsd:complexType name="PingRequest">
|
<xsd:annotation>
|
<xsd:documentation>Polecenie umożliwiające sprawdzenie komunikacji na poziomie protokołu. Nie jest wymagane podawanie parametrów
|
nagłówka.
|
</xsd:documentation>
|
</xsd:annotation>
|
<xsd:complexContent>
|
<xsd:extension base="HeaderRequest"/>
|
</xsd:complexContent>
|
</xsd:complexType>
|
|
<!--
|
==================================================================================
|
|
DATA and ALARM
|
|
==================================================================================
|
-->
|
|
<!-- CMD : Data and alarm -->
|
<xsd:element name="checkDataRangeRequest" type="CheckDataRangeRequest"/>
|
<xsd:complexType name="CheckDataRangeRequest">
|
<xsd:annotation>
|
<xsd:documentation>Polecenie umożliwiające sprawdzenie zakresu danych zapisanych w urządzeniu.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:complexContent>
|
<xsd:extension base="HeaderRequest"/>
|
</xsd:complexContent>
|
</xsd:complexType>
|
<xsd:element name="checkDataRangeResponse" type="CheckDataRangeResponse"/>
|
<xsd:complexType name="CheckDataRangeResponse">
|
<xsd:annotation>
|
<xsd:documentation>Odpowiedź z informacją o zakresach danych zapisanych w urządzeniu.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:complexContent>
|
<xsd:extension base="HeaderResponse">
|
<xsd:sequence>
|
<xsd:element name="oldest" type="xsd:dateTime" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>
|
Data/czas najstarszych danych pomiarowych.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="newest" type="xsd:dateTime" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>
|
Data/czas najnowszych danych pomiarowych.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:extension>
|
</xsd:complexContent>
|
</xsd:complexType>
|
<xsd:element name="checkDataRequest" type="CheckDataRequest"/>
|
<xsd:complexType name="CheckDataRequest">
|
<xsd:annotation>
|
<xsd:documentation>Polecenie odczytu danych pomiarowych / alarmów.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:complexContent>
|
<xsd:extension base="HeaderRequest">
|
<xsd:sequence>
|
<xsd:element name="data" type="ContentWithDtEnable" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Informacja czy w odpowiedzi mają być załączone dane pomiarowe:
|
NULL - brak danych w odpowiedzi.
|
Można odpytywać w jednym poleceniu o dane tylko z jednej daty.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="alarm" type="ContentEnable" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Informacja czy w odpowiedzi mają być załączone alarmy:
|
NULL - brak alarmow w odpowiedzi
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:extension>
|
</xsd:complexContent>
|
</xsd:complexType>
|
<xsd:element name="checkDataResponse" type="CheckDataResponse"/>
|
<xsd:complexType name="CheckDataResponse">
|
<xsd:annotation>
|
<xsd:documentation>Odpowiedź zawierająca dane pomiarowe / alarmy.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:complexContent>
|
<xsd:extension base="HeaderResponse">
|
<xsd:sequence>
|
<xsd:element name="meteoData" type="DataPackList" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Lista danych pomiarowych - meteo - zgodnie z ustawieniami z polecenia.
|
NULL - nie skonfigurowane w poleceniu.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="serviceData" type="DataPackList" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Lista danych pomiarowych - serwisowych - zgodnie z ustawieniami z polecenia.
|
NULL - nie skonfigurowane w poleceniu.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="meteoAlarm" type="AlarmList" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Lista alarmów - meteo - zgodnie z ustawieniami z polecenia.
|
NULL - nie skonfigurowane w poleceniu.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="serviceAlarm" type="AlarmList" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Lista alarmów - serwisowych - zgodnie z ustawieniami z polecenia.
|
NULL - nie skonfigurowane w poleceniu.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="done" type="xsd:double" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Informacja procentowa o ilości odczytanej w stosunku do zakresu z polecenia.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:extension>
|
</xsd:complexContent>
|
</xsd:complexType>
|
<xsd:element name="pushDataRequest" type="PushDataRequest"/>
|
<xsd:complexType name="PushDataRequest">
|
<xsd:annotation>
|
<xsd:documentation>Powiadomienie zawierające dane pomiarowe / alarmy. Znaczenie pól jak w CheckDataResponse.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:complexContent>
|
<xsd:extension base="HeaderRequest">
|
<xsd:sequence>
|
<xsd:element name="meteoData" type="DataPackList" nillable="true"/>
|
<xsd:element name="serviceData" type="DataPackList" nillable="true"/>
|
<xsd:element name="meteoAlarm" type="AlarmList" nillable="true"/>
|
<xsd:element name="serviceAlarm" type="AlarmList" nillable="true"/>
|
</xsd:sequence>
|
</xsd:extension>
|
</xsd:complexContent>
|
</xsd:complexType>
|
<xsd:element name="pushAlarmRequest" type="PushAlarmRequest"/>
|
<xsd:complexType name="PushAlarmRequest">
|
<xsd:annotation>
|
<xsd:documentation>Powiadomienie zawierające alarmy. Znaczenie pól jak w CheckDataResponse.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:complexContent>
|
<xsd:extension base="HeaderRequest">
|
<xsd:sequence>
|
<xsd:element name="meteoAlarm" type="AlarmList" nillable="true"/>
|
<xsd:element name="serviceAlarm" type="AlarmList" nillable="true"/>
|
</xsd:sequence>
|
</xsd:extension>
|
</xsd:complexContent>
|
</xsd:complexType>
|
|
<!-- TYPES -->
|
<xsd:complexType name="DataPackList">
|
<xsd:annotation>
|
<xsd:documentation>Lista zestawów danych pomiarowych.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence minOccurs="0" maxOccurs="unbounded">
|
<xsd:element name="data" type="DataPack"/>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:complexType name="DataPack">
|
<xsd:annotation>
|
<xsd:documentation>Zestaw danych pomiarowych.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence>
|
<xsd:element name="dateTime" type="xsd:dateTime" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>
|
Data/czas zapisu danych.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="measurement" type="Measurement" minOccurs="0" maxOccurs="unbounded">
|
<xsd:annotation>
|
<xsd:documentation>
|
Lista danych pomiarowych.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:complexType name="Measurement">
|
<xsd:annotation>
|
<xsd:documentation>Pojedyncza dana pomiarowa.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence minOccurs="1" maxOccurs="1">
|
<xsd:element name="channel" type="xsd:int" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>
|
Numer kanału (unikalny). Umożliwia identyfikację danej pomiarowej.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="valid" type="xsd:double" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>
|
Ilość (procentowa) poprawnych odczytów w okresie pomiarowym.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="main" type="xsd:double" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Główna wartość pomiarowa (najczęściej średnia arytmetyczna).
|
NULL - oznacza brak poprawnej danej w okresie pomiarowym.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="min" type="xsd:double" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Wartość minimalna wyznaczona w okresie pomiarowym.
|
NULL - oznacza brak poprawnej danej w okresie pomiarowym lub brak wyznaczania parametru.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="max" type="xsd:double" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Wartość maksymalna wyznaczona w okresie pomiarowym.
|
NULL - oznacza brak poprawnej danej w okresie pomiarowym lub brak wyznaczania parametru.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="error" type="xsd:int" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Kod błędu w przypadku niewyznaczenia wartości pomiarowej.
|
NULL - oznacza brak błedu w okresie pomiarowym.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="notice" type="xsd:string" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Opis błędu w przypadku niewyznaczenia wartości pomiarowej.
|
NULL - oznacza brak błedu w okresie pomiarowym.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:complexType name="AlarmList">
|
<xsd:annotation>
|
<xsd:documentation>Lista alarmów.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence minOccurs="0" maxOccurs="unbounded">
|
<xsd:element name="alarm" type="Alarm"/>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:complexType name="Alarm">
|
<xsd:annotation>
|
<xsd:documentation>Pojedynczy alarm.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence minOccurs="1" maxOccurs="1">
|
<xsd:element name="dt" type="xsd:dateTime" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>
|
Data/czas wystąpnienia/zaniku alarmu.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="channel" type="xsd:int" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>
|
Numer kanału (unikalny). Umożliwia identyfikację alarmu.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="value" type="xsd:int" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>
|
Wartość alarmu.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="previous" type="xsd:int" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>
|
Wartość poprzednia alarmu.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:complexType name="ContentEnable">
|
<xsd:annotation>
|
<xsd:documentation>Informacja jakiego typu dane zostaną zawarte w odpowiedzi.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence>
|
<xsd:element name="meteo" type="xsd:boolean" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Dane meteo.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="service" type="xsd:boolean" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Dane serwisowe.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:complexType name="ContentWithDtEnable">
|
<xsd:annotation>
|
<xsd:documentation>Informacja jakiego typu dane zostaną zawarte w odpowiedzi. Zawiera zakres czasowy.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence>
|
<xsd:element name="dateTimeTo" type="xsd:dateTime" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Data ostatniego zestawu pomiarów jakie mają być zawarte w odpowiedzi.
|
NULL - oznacza najnowszy dostępny pomiar.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="dateTimeFrom" type="xsd:dateTime" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Data pierwszego zestawu pomiarów jakie mają być zawarte w odpowiedzi.
|
NULL - oznacza wysłanie tylko jednego zestawu pomiarów z daty/godziny określonej w dateTimeTo.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="meteo" type="xsd:boolean" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Dane meteo.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="service" type="xsd:boolean" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Dane serwisowe.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
|
<!--
|
==================================================================================
|
|
PROTOCOL : SOAP and AUTHORIZATION config
|
|
==================================================================================
|
-->
|
<!-- CMD : Authorization -->
|
<xsd:complexType abstract="true" name="SetAuthorizationRequest">
|
<xsd:annotation>
|
<xsd:documentation>
|
SERVICE USE ONLY. Tylko jako administrator.
|
Ustawienia autoryzacji.
|
</xsd:documentation>
|
</xsd:annotation>
|
<xsd:complexContent>
|
<xsd:extension base="HeaderRequest">
|
<xsd:sequence minOccurs="1" maxOccurs="1">
|
<xsd:element name="authorization" type="Authorization" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Dane autoryzacyjne.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:extension>
|
</xsd:complexContent>
|
</xsd:complexType>
|
<xsd:element name="setServiceAuthorizationRequest" type="SetServiceAuthorizationRequest"/>
|
<xsd:complexType name="SetServiceAuthorizationRequest">
|
<xsd:complexContent>
|
<xsd:extension base="SetAuthorizationRequest">
|
<xsd:annotation>
|
<xsd:documentation>
|
Dane autoryzacji dla serwisu.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:extension>
|
</xsd:complexContent>
|
</xsd:complexType>
|
<xsd:element name="setUserAuthorizationRequest" type="SetUserAuthorizationRequest"/>
|
<xsd:complexType name="SetUserAuthorizationRequest">
|
<xsd:complexContent>
|
<xsd:extension base="SetAuthorizationRequest">
|
<xsd:annotation>
|
<xsd:documentation>
|
Dane autoryzacji dla użytkownika.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:extension>
|
</xsd:complexContent>
|
</xsd:complexType>
|
<xsd:complexType abstract="true" name="CheckAuthorizationRequest">
|
<xsd:annotation>
|
<xsd:documentation>
|
SERVICE USE ONLY. Tylko jako administrator.
|
Ustawienia autoryzacji.
|
</xsd:documentation>
|
</xsd:annotation>
|
<xsd:complexContent>
|
<xsd:extension base="HeaderRequest"/>
|
</xsd:complexContent>
|
</xsd:complexType>
|
<xsd:element name="checkServiceAuthorizationRequest" type="CheckServiceAuthorizationRequest"/>
|
<xsd:complexType name="CheckServiceAuthorizationRequest">
|
<xsd:complexContent>
|
<xsd:extension base="CheckAuthorizationRequest">
|
<xsd:annotation>
|
<xsd:documentation>
|
Dane autoryzacji dla serwisu.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:extension>
|
</xsd:complexContent>
|
</xsd:complexType>
|
<xsd:element name="checkUserAuthorizationRequest" type="CheckUserAuthorizationRequest"/>
|
<xsd:complexType name="CheckUserAuthorizationRequest">
|
<xsd:complexContent>
|
<xsd:extension base="CheckAuthorizationRequest">
|
<xsd:annotation>
|
<xsd:documentation>
|
Dane autoryzacji dla użytkownika.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:extension>
|
</xsd:complexContent>
|
</xsd:complexType>
|
<xsd:element name="checkAuthorizationResponse" type="CheckAuthorizationResponse"/>
|
<xsd:complexType name="CheckAuthorizationResponse">
|
<xsd:annotation>
|
<xsd:documentation>
|
SERVICE USE ONLY.
|
Ustawienia autoryzacji.
|
</xsd:documentation>
|
</xsd:annotation>
|
<xsd:complexContent>
|
<xsd:extension base="Response">
|
<xsd:sequence minOccurs="1" maxOccurs="1">
|
<xsd:element name="authorization" type="Authorization" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Dane autoryzacyjne.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:extension>
|
</xsd:complexContent>
|
</xsd:complexType>
|
|
<!-- CMD : SoapCfg -->
|
<xsd:element name="setSoapCfgRequest" type="SetSoapCfgRequest"/>
|
<xsd:complexType name="SetSoapCfgRequest">
|
<xsd:annotation>
|
<xsd:documentation>
|
SERVICE USE ONLY. Tylko jako administrator.
|
Konfiguracja protokołu.
|
</xsd:documentation>
|
</xsd:annotation>
|
<xsd:complexContent>
|
<xsd:extension base="HeaderRequest">
|
<xsd:sequence minOccurs="1" maxOccurs="1">
|
<xsd:element name="cfg" type="SoapCfg" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Ustawienia protokołu.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:extension>
|
</xsd:complexContent>
|
</xsd:complexType>
|
<xsd:element name="checkSoapCfgRequest" type="CheckSoapCfgRequest"/>
|
<xsd:complexType name="CheckSoapCfgRequest">
|
<xsd:annotation>
|
<xsd:documentation>
|
SERVICE USE ONLY. Tylko jako administrator.
|
Konfiguracja protokołu.
|
</xsd:documentation>
|
</xsd:annotation>
|
<xsd:complexContent>
|
<xsd:extension base="HeaderRequest"/>
|
</xsd:complexContent>
|
</xsd:complexType>
|
<xsd:element name="checkSoapCfgResponse" type="CheckSoapCfgResponse"/>
|
<xsd:complexType name="CheckSoapCfgResponse">
|
<xsd:annotation>
|
<xsd:documentation>
|
SERVICE USE ONLY.
|
Konfiguracja protokołu.
|
</xsd:documentation>
|
</xsd:annotation>
|
<xsd:complexContent>
|
<xsd:extension base="Response">
|
<xsd:sequence minOccurs="1" maxOccurs="1">
|
<xsd:element name="cfg" type="SoapCfg" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Ustawienia protokołu.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:extension>
|
</xsd:complexContent>
|
</xsd:complexType>
|
|
<!-- TYPES -->
|
<xsd:complexType name="Authorization">
|
<xsd:annotation>
|
<xsd:documentation>Dane autoryzacyjne.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence minOccurs="1" maxOccurs="1">
|
<xsd:element name="user" type="xsd:string">
|
<xsd:annotation>
|
<xsd:documentation>Login, bez sprawdzania jeśli to pole jest puste.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="pass" type="xsd:string">
|
<xsd:annotation>
|
<xsd:documentation>Hasło, bez sprawdzania jeśli to pole jest puste.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:complexType name="SoapCfg">
|
<xsd:annotation>
|
<xsd:documentation>Ustawienia protokołu.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence minOccurs="1" maxOccurs="1">
|
<xsd:element name="usessl" type="xsd:boolean" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Komunikacja z użyciem SSL.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="targets" type="NotifyTargetList" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Lista serwerów odpierających powiadomienia (komendy PUSH).
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:complexType name="NotifyTargetList">
|
<xsd:annotation>
|
<xsd:documentation>Lista serwerów odpierających powiadomienia (komendy PUSH).</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence maxOccurs="unbounded" minOccurs="0">
|
<xsd:element name="target" type="NotifyTarget" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Ustawienia serwera.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:complexType name="NotifyTarget">
|
<xsd:annotation>
|
<xsd:documentation>Ustawienia serwera.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence maxOccurs="1" minOccurs="1">
|
<xsd:element name="url" type="xsd:string" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Adres URL.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="authorization" type="Authorization" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>Dane autoryzacji.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="data" type="ContentEnable" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Konfiguracja danych pomiarowych jakie mają być przysyłane.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="alarm" type="ContentEnable" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Konfiguracja alarmów jakie mają być przysyłane.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
|
<!--
|
==================================================================================
|
|
CFG channels
|
|
==================================================================================
|
-->
|
|
<!-- CMD : ChannelCfg -->
|
<xsd:element name="setChannelCfgRequest" type="SetChannelCfgRequest"/>
|
<xsd:complexType name="SetChannelCfgRequest">
|
<xsd:annotation>
|
<xsd:documentation>
|
SERVICE USE ONLY. Tylko jako administrator.
|
Ustawienia pomiarów urządzenia.
|
</xsd:documentation>
|
</xsd:annotation>
|
<xsd:complexContent>
|
<xsd:extension base="HeaderRequest">
|
<xsd:sequence>
|
<xsd:element name="cfg" type="ChannelCfg">
|
<xsd:annotation>
|
<xsd:documentation>Ustawienia kanałów oraz okresu pomiaru.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:extension>
|
</xsd:complexContent>
|
</xsd:complexType>
|
<xsd:element name="checkChannelCfgRequest" type="CheckChannelCfgRequest"/>
|
<xsd:complexType name="CheckChannelCfgRequest">
|
<xsd:annotation>
|
<xsd:documentation>
|
SERVICE USE ONLY. Tylko jako administrator.
|
Ustawienia pomiarów urządzenia.
|
</xsd:documentation>
|
</xsd:annotation>
|
<xsd:complexContent>
|
<xsd:extension base="HeaderRequest"/>
|
</xsd:complexContent>
|
</xsd:complexType>
|
<xsd:element name="checkChannelCfgResponse" type="CheckChannelCfgResponse"/>
|
<xsd:complexType name="CheckChannelCfgResponse">
|
<xsd:annotation>
|
<xsd:documentation>
|
SERVICE USE ONLY.
|
Ustawienia pomiarów urządzenia.
|
</xsd:documentation>
|
</xsd:annotation>
|
<xsd:complexContent>
|
<xsd:extension base="Response">
|
<xsd:sequence>
|
<xsd:element name="cfg" type="ChannelCfg">
|
<xsd:annotation>
|
<xsd:documentation>Ustawienia kanałów oraz okresu pomiaru.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:extension>
|
</xsd:complexContent>
|
</xsd:complexType>
|
|
<!-- TYPES -->
|
<xsd:complexType name="ChannelCfg">
|
<xsd:annotation>
|
<xsd:documentation>Ustawienia kanałów oraz okresu pomiaru.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence>
|
<xsd:element name="interval" type="xsd:int">
|
<xsd:annotation>
|
<xsd:documentation>Interwał pomiarowy w sekundach. Podawać tylko jako wieloktroność 60 sekund.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="channels" type="ChannelCfgList">
|
<xsd:annotation>
|
<xsd:documentation>Lista konfiguracji pomiarów.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:complexType name="ChannelCfgList">
|
<xsd:annotation>
|
<xsd:documentation>Lista konfiguracji pomiarów.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence maxOccurs="unbounded" minOccurs="0">
|
<xsd:element name="channel" type="Channel">
|
<xsd:annotation>
|
<xsd:documentation>Konfiguracja pomiaru.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:complexType name="Channel">
|
<xsd:annotation>
|
<xsd:documentation>Konfiguracja pomiaru.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence maxOccurs="1" minOccurs="1">
|
<xsd:element name="enable" type="xsd:boolean" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Informacja czy dany pomiar jest aktywny.
|
Domyślna (dla NULL): true.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="id" type="xsd:int" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Numer kanału. Wartość musi jednoznacznie identyfikować pomiar - nie może się powtarzać w obrębie
|
konfiguracji.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="name" type="xsd:string" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>
|
Nazwa kanału pomiarowego.
|
Wartość musi dokładnie odpowiadać kanałom dostępnym w urządzeniu.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="dsc" type="xsd:string" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>Opis pomiaru - wartość jedynie informacyjna.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="unit" type="xsd:string" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>Jednostka - wartość jedynie informacyjna.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="accuracy" type="xsd:int" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Pracyzja pomiaru - ilość mniejsc po przecinku.
|
Dozwolona wartość 0..8.
|
Domyślna (dla NULL): 8.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="afactor" type="xsd:double" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Współczynnik a przeliczenia poprzez funkcję ax+b.
|
Domyślna (dla NULL): 1.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="bfactor" type="xsd:double" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Współczynnik b przeliczenia poprzez funkcję ax+b.
|
Domyślna (dla NULL): 1.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="lo" type="xsd:double" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Dolny zakres pomiaru.
|
Domyślna (dla NULL): -nieskończoność.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="hi" type="xsd:double" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Górny zakres pomiaru.
|
Domyślna (dla NULL): +nieskończoność.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="formula" type="xsd:string" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Formuła przeliczeniowa (zgodna z dostępnymi w urządzeniu funkcjami) lub dodatkowe parametry pomiaru.
|
Domyślna (dla NULL): null.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
|
<xsd:element name="save" type="xsd:boolean" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Informacja czy pomiar ma byc zapisywany co okres pomiarowy (true) czy tylko mierzony (false).
|
Domyślna (dla NULL): false.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="meteo" type="xsd:boolean" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Informacja czy pomiar jest pomiarem meteo (true) czy serwisowym (false).
|
Domyślna (dla NULL): false.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="alarm" type="xsd:int" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>
|
Informacja czy pomiar (tylko dla pomiarów kalkulacyjnych) jest alarmem (wartość większa od 0) daną (wartość równa
|
0).
|
Jeśli pomiar jest alarmem wartość ta oznacza ilość sekund przez jaki pomiar musi utrzymywać stabilną wartość przed
|
zgłoszeniem alarmu.
|
Domyślna (dla NULL): 0.
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
|
</xsd:sequence>
|
</xsd:complexType>
|
|
<!--
|
==================================================================================
|
|
CFG vms
|
|
==================================================================================
|
-->
|
|
<!-- CMD : VmsCfg -->
|
<xsd:element name="setVmsCfgRequest" type="SetVmsCfgRequest"/>
|
<xsd:complexType name="SetVmsCfgRequest">
|
<xsd:annotation>
|
<xsd:documentation>
|
SERVICE USE ONLY. Tylko jako administrator.
|
Ustawienia aplikacji sterującej VMS.
|
</xsd:documentation>
|
</xsd:annotation>
|
<xsd:complexContent>
|
<xsd:extension base="HeaderRequest">
|
<xsd:sequence minOccurs="1" maxOccurs="1">
|
<xsd:element name="cfg" type="VmsCfgList" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Lista konfiguracji VMS.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:extension>
|
</xsd:complexContent>
|
</xsd:complexType>
|
<xsd:element name="checkVmsCfgRequest" type="CheckVmsCfgRequest"/>
|
<xsd:complexType name="CheckVmsCfgRequest">
|
<xsd:annotation>
|
<xsd:documentation>
|
SERVICE USE ONLY. Tylko jako administrator.
|
Ustawienia aplikacji sterującej VMS.
|
</xsd:documentation>
|
</xsd:annotation>
|
<xsd:complexContent>
|
<xsd:extension base="HeaderRequest"/>
|
</xsd:complexContent>
|
</xsd:complexType>
|
<xsd:element name="checkVmsCfgResponse" type="CheckVmsCfgResponse"/>
|
<xsd:complexType name="CheckVmsCfgResponse">
|
<xsd:annotation>
|
<xsd:documentation>
|
SERVICE USE ONLY.
|
Ustawienia aplikacji sterującej VMS.
|
</xsd:documentation>
|
</xsd:annotation>
|
<xsd:complexContent>
|
<xsd:extension base="Response">
|
<xsd:sequence minOccurs="1" maxOccurs="1">
|
<xsd:element name="cfg" type="VmsCfgList" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Lista konfiguracji VMS.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:extension>
|
</xsd:complexContent>
|
</xsd:complexType>
|
|
<!-- TYPES -->
|
<xsd:complexType name="VmsCfgList">
|
<xsd:annotation>
|
<xsd:documentation>Lista konfiguracji VMS.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence maxOccurs="unbounded" minOccurs="0">
|
<xsd:element name="channel" type="VmsCfg" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Konfiguracja VMS.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:complexType name="VmsCfg">
|
<xsd:annotation>
|
<xsd:documentation>Konfiguracja VMS.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence maxOccurs="1" minOccurs="1">
|
<xsd:element name="mode" type="xsd:boolean" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>
|
Tryb działania.
|
true - ON
|
false - OFF
|
</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="ip" type="xsd:string" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Adres IP znaku zmiennej treści.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="port" type="xsd:int" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Port do komunikacji ze znakiem zmiennej treści (najczęściej 8080).</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="alarmID" type="xsd:int" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Numer kanału alarmu wyzwalającego zmianę treści tablicy.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="clearCmd" type="xsd:string" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Nazwa pliku z akcją wyłaczającą treść wysterowaną z rejestratora.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="alarmCfgList" type="AlarmCfgList" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Lista konfiguracji alarmów VMS.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:complexType name="AlarmCfgList">
|
<xsd:annotation>
|
<xsd:documentation>Lista konfiguracji pomiarów.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence maxOccurs="unbounded" minOccurs="0">
|
<xsd:element name="alarm" type="AlarmCfg" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Konfiguracja alarmu VMS.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:complexType name="AlarmCfg">
|
<xsd:annotation>
|
<xsd:documentation>Konfiguracja alarmu VMS.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence maxOccurs="1" minOccurs="1">
|
<xsd:element name="code" type="xsd:int" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Kod alarmu.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="cmd" type="xsd:string" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Nazwa pliku z akcją dla danego alarmu.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="textFieldList" type="TextFieldList" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Lista parametrów.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:complexType name="TextFieldList">
|
<xsd:annotation>
|
<xsd:documentation>Lista parametrów.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence maxOccurs="unbounded" minOccurs="0">
|
<xsd:element name="textField" type="TextField" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Konfiguracja dynamicznej treści wyświetlanej na znaku.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
<xsd:complexType name="TextField">
|
<xsd:annotation>
|
<xsd:documentation>Konfiguracja dynamicznej treści wyświetlanej na znaku.</xsd:documentation>
|
</xsd:annotation>
|
<xsd:sequence maxOccurs="1" minOccurs="1">
|
<xsd:element name="id" type="xsd:string" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Identyfikator pola do podmiany w pliku cmd.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="dataChannel" type="xsd:int" nillable="false">
|
<xsd:annotation>
|
<xsd:documentation>Numer kanału pomiarowego.</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="precision" type="xsd:int" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>Precyzja pomiaru (domyślnie: 1)</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
<xsd:element name="toLower" type="xsd:boolean" nillable="true">
|
<xsd:annotation>
|
<xsd:documentation>Wartość po przecinku mniejszą czcionką (domyślnie: false)</xsd:documentation>
|
</xsd:annotation>
|
</xsd:element>
|
</xsd:sequence>
|
</xsd:complexType>
|
|
</xsd:schema>
|