78 lines
3.9 KiB
XML
Executable File
78 lines
3.9 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<service namespace="MeteoDataManagement" abbreviation="MDM" procNames="MeteoDataManagement" exerciseDependency="Global" groups="Core">
|
|
<rcs>
|
|
<Id Id="$Id$"/>
|
|
<HeadURL HeadURL="$HeadURL$"/>
|
|
<Author Author="$Author$"/>
|
|
</rcs>
|
|
<operatorRights offset="22">
|
|
<guiPlugin name="StaticWeather" offset="2">
|
|
<operatorRightGroup name="Meteo Data Management - Static Weather Data" description="Edit static weather">
|
|
<operatorRight right="MeteoDataStaticWeatherEdit" value="1" description="Edit Meteorological Data"/>
|
|
<operatorRight right="MeteoDataStaticWeatherShow" value="2" description="Show Meteorological Data"/>
|
|
</operatorRightGroup>
|
|
</guiPlugin>
|
|
<guiPlugin name="WeatherStations" offset="1">
|
|
<operatorRightGroup name="Meteo Data Management - Weather Stations" description="Show Weather Stations">
|
|
<operatorRight right="MeteoDataWeatherStationsShow" value="2" description="Show Meteorological Data"/>
|
|
</operatorRightGroup>
|
|
</guiPlugin>
|
|
</operatorRights>
|
|
<tables>
|
|
<table name="mdm_static_meteo_data">
|
|
<column name="id" datatype="integer" isPrimaryKey="1">
|
|
<sequence start="1" increment="1"/>
|
|
</column>
|
|
<column name="time_stamp" datatype="bigint"/>
|
|
<column name="wind_direction" datatype="real" default="90.0"/>
|
|
<column name="wind_speed" datatype="real" default="0.0"/>
|
|
<column name="temperature" datatype="real" default="18.5"/>
|
|
<column name="pressure" datatype="real" default="1010.5"/>
|
|
<column name="humidity" datatype="real" default="45.6"/>
|
|
<constraint name="UQ_mdm_static_meteo_data_id" type="unique">
|
|
<column name="id"/>
|
|
</constraint>
|
|
</table>
|
|
</tables>
|
|
<views/>
|
|
<dbServiceStructs>
|
|
<serviceStruct name="MdmStaticMeteoData" table="mdm_static_meteo_data"/>
|
|
<table name="mdm_static_meteo_data"/>
|
|
</dbServiceStructs>
|
|
<topicTypes>
|
|
<topicType name="MeteoData" isDataObject="1" autosubscribe="1" routeToClient="1" routeToServer="0" routeInReplay="0">
|
|
<column name="id" idlType="long" isKey="1"/>
|
|
<column name="pos" idlType="Core::GeoPosition2D"/>
|
|
<column name="weatherStationId" idlType="long" comment="Correspond to the assetId assigned from ISM"/>
|
|
<column name="note" idlType="string"/>
|
|
<column name="isStaticMeteoData" idlType="boolean"/>
|
|
<column name="timeStamp" idlType="long long"/>
|
|
<column name="windDirection" idlType="double" comment="wind direction in degree, clockwise, North = 0. Statement means the wind comes from direction."/>
|
|
<column name="windSpeed" idlType="double" comment="wind speed in m/s"/>
|
|
<column name="temperature" idlType="double" comment="in degree Celsius"/>
|
|
<column name="pressure" idlType="double" comment="air pressure in hPa"/>
|
|
<column name="humidity " idlType="double" comment="air humidity in percent"/>
|
|
<column name="windOk" idlType="boolean"/>
|
|
<column name="climateOk" idlType="boolean"/>
|
|
</topicType>
|
|
<topicType name="StaticMeteoDataModifyRequest">
|
|
<column name="id" idlType="long"/>
|
|
<column name="timeStamp" idlType="long long"/>
|
|
<column name="windDirection" idlType="double"/>
|
|
<column name="windSpeed" idlType="double"/>
|
|
<column name="temperature" idlType="double"/>
|
|
<column name="pressure" idlType="double"/>
|
|
<column name="humidity" idlType="double"/>
|
|
</topicType>
|
|
</topicTypes>
|
|
<functionTopics>
|
|
<functionTopic name="StaticMeteoDataModify" requestTopicType="StaticMeteoDataModifyRequest" replyTopicType="Core::FunctionReply" requestTopicName="StaticMeteoDataModifyRequest" replyTopicName="StaticMeteoDataModifyReply" routeInReplay="0"/>
|
|
</functionTopics>
|
|
<enumerations>
|
|
<enumeration name="DummyEnum">
|
|
<attribute key="val1" value="1"/>
|
|
<attribute key="val2" value="2"/>
|
|
</enumeration>
|
|
</enumerations>
|
|
</service>
|