205 lines
9.8 KiB
XML
Executable File
205 lines
9.8 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<service namespace="Core" abbreviation="CORE" procNames="Core" exerciseDependency="Global">
|
|
<rcs>
|
|
<Id Id="$Id$"/>
|
|
<HeadURL HeadURL="$HeadURL$"/>
|
|
<Author Author="$Author$"/>
|
|
</rcs>
|
|
<tables>
|
|
<table name="ft_reply_state" comment="static data (not project specific) generate from enum">
|
|
<column name="id" datatype="integer" isPrimaryKey="1"/>
|
|
<column name="name" datatype="text"/>
|
|
</table>
|
|
<table name="replay_type" comment="Type of replay (Data for reports/events or situation)">
|
|
<column name="id" datatype="integer" isPrimaryKey="1"/>
|
|
<column name="name" datatype="text"/>
|
|
</table>
|
|
<table name="running_state">
|
|
<column name="id" datatype="integer" isPrimaryKey="1"/>
|
|
<column name="name" datatype="text"/>
|
|
</table>
|
|
<table name="service_group_type">
|
|
<column name="id" datatype="integer" isPrimaryKey="1"/>
|
|
<column name="name" datatype="text"/>
|
|
</table>
|
|
<table name="z_reference">
|
|
<column name="id" datatype="integer" isPrimaryKey="1"/>
|
|
<column name="name" datatype="text"/>
|
|
</table>
|
|
</tables>
|
|
<views/>
|
|
<topicTypes>
|
|
<topicType name="BaseEntity">
|
|
<column name="id" idlType="long" isKey="1"/>
|
|
<column name="name" idlType="string"/>
|
|
<column name="isDeleted" idlType="boolean"/>
|
|
<column name="isUsed" idlType="boolean" comment="Defines if it is used by others (i.e. foreign key constraint)"/>
|
|
</topicType>
|
|
<topicType name="BaseEntityTranslatable">
|
|
<column name="id" idlType="long" isKey="1"/>
|
|
<column name="name" idlType="string" isTranslatable="1"/>
|
|
<column name="isDeleted" idlType="boolean"/>
|
|
<column name="isUsed" idlType="boolean" comment="Defines if it is used by others (i.e. foreign key constraint)"/>
|
|
</topicType>
|
|
<topicType name="BaseEntityWithSampleTime" baseValueType="BaseEntity">
|
|
<column name="sampleTime" idlType="long long" comment="Timestamp"/>
|
|
</topicType>
|
|
<topicType name="CurrentRunningState" isDataObject="1" routeToClient="0" routeToServer="0" routeInReplay="0">
|
|
<column name="pid" idlType="long long" isKey="1"/>
|
|
<column name="runningState" idlType="RunningState"/>
|
|
<column name="ports" idlType="sequence<PortInformation>" isOptional="1"/>
|
|
<column name="errorString" idlType="string" isOptional="1"/>
|
|
</topicType>
|
|
<topicType name="FunctionReply">
|
|
<column name="id" idlType="long"/>
|
|
<column name="errorString" idlType="string"/>
|
|
<column name="errorParams" idlType="sequence<string>"/>
|
|
<column name="additionalInfo" idlType="string"/>
|
|
</topicType>
|
|
<topicType name="FunctionReplyWithState" baseValueType="FunctionReply">
|
|
<column name="replyState" idlType="FtReplyState"/>
|
|
</topicType>
|
|
<topicType name="GeoPositionAbsoluteTime" baseValueType="GeoPosition">
|
|
<column name="absoluteTime" idlType="long long" comment="Timestamp"/>
|
|
</topicType>
|
|
<topicType name="GeoPositionRelativeTime" baseValueType="GeoPosition">
|
|
<column name="relativeTime" idlType="long long" comment="Timestamp"/>
|
|
</topicType>
|
|
<topicType name="GeoPosition" baseValueType="GeoPosition2D">
|
|
<column name="z" idlType="double" comment="height above ground"/>
|
|
</topicType>
|
|
<topicType name="GeoPosition2D">
|
|
<column name="lon" idlType="double" comment="[m]"/>
|
|
<column name="lat" idlType="double" comment="[m]"/>
|
|
</topicType>
|
|
<topicType name="LockEntityError">
|
|
<column name="workstationName" idlType="string"/>
|
|
<column name="operatorName" idlType="string"/>
|
|
</topicType>
|
|
<topicType name="TryLockEntityReply" baseValueType="FunctionReply">
|
|
<column name="alreadyLocked" idlType="LockEntityError" isOptional="1"/>
|
|
</topicType>
|
|
<topicType name="LockedEntity" isDataObject="1" routeToClient="0" routeToServer="0" routeInReplay="0" baseValueType="LockedEntityBase">
|
|
<column name="id" idlType="long long" isKey="1"/>
|
|
</topicType>
|
|
<topicType name="LockedEntityBase">
|
|
<column name="operatorId" idlType="long"/>
|
|
<column name="workstationId" idlType="long"/>
|
|
<column name="exerciseId" idlType="long"/>
|
|
<column name="entityId" idlType="long long"/>
|
|
<column name="entityTypeName" idlType="string"/>
|
|
</topicType>
|
|
<topicType name="TryLockEntityRequest" baseValueType="LockedEntityBase">
|
|
<column name="id" idlType="long"/>
|
|
</topicType>
|
|
<topicType name="TryUnlockEntityRequest">
|
|
<column name="id" idlType="long"/>
|
|
</topicType>
|
|
<topicType name="Orientation">
|
|
<column name="heave" idlType="double"/>
|
|
<column name="pitch" idlType="double"/>
|
|
<column name="roll" idlType="double"/>
|
|
</topicType>
|
|
<topicType name="PartitionTime" isDataObject="1" routeToClient="1" routeToServer="0" routeInReplay="0">
|
|
<column name="timeStamp" idlType="long long"/>
|
|
</topicType>
|
|
<topicType name="PortInformation">
|
|
<column name="number" idlType="long"/>
|
|
<column name="type" idlType="PortType"/>
|
|
<column name="properties" idlType="string"/>
|
|
</topicType>
|
|
<topicType name="RelativePosition">
|
|
<column name="offsetX" idlType="double" comment="in meter"/>
|
|
<column name="offsetY" idlType="double" comment="in meter"/>
|
|
<column name="offsetZ" idlType="double" comment="in meter"/>
|
|
</topicType>
|
|
<topicType name="RelativePositionAbsoluteTime" isDataObject="1" autosubscribe="1" routeToClient="1" routeToServer="0" routeInReplay="0" baseValueType="RelativePosition">
|
|
<column name="absoluteTime" idlType="long long" comment="TimeStamp"/>
|
|
</topicType>
|
|
<topicType name="RelativePositionRelativeTime" isDataObject="1" autosubscribe="1" routeToClient="1" routeToServer="0" routeInReplay="0" baseValueType="RelativePosition">
|
|
<column name="relativeTime" idlType="long long" comment="TimeStamp"/>
|
|
</topicType>
|
|
<topicType name="RemoveElementRequest">
|
|
<column name="id" idlType="long"/>
|
|
</topicType>
|
|
<topicType name="ReplayPartition" isDataObject="1" routeToClient="1" routeToServer="0" routeInReplay="0">
|
|
<column name="id" idlType="long" isKey="1"/>
|
|
<column name="name" idlType="string"/>
|
|
<column name="exerciseId" idlType="long"/>
|
|
<column name="workstationId" idlType="long"/>
|
|
<column name="operatorId" idlType="long"/>
|
|
<column name="replayType" idlType="ReplayType"/>
|
|
<column name="domainId" idlType="long"/>
|
|
<column name="tcpConnectionUrl" idlType="string"/>
|
|
</topicType>
|
|
<topicType name="Velocity">
|
|
<column name="x" idlType="double"/>
|
|
<column name="y" idlType="double"/>
|
|
<column name="z" idlType="double"/>
|
|
</topicType>
|
|
</topicTypes>
|
|
<functionTopics>
|
|
<functionTopic name="TryLockEntity" requestTopicType="TryLockEntityRequest" replyTopicType="TryLockEntityReply" requestTopicName="TryLockEntityRequest" replyTopicName="TryLockEntityReply" routeInReplay="1"/>
|
|
<!-- <functionTopic name="TryLockEntity" requestTopicType="LockedEntityBase" replyTopicType="TryLockEntityReply" requestTopicName="TryLockEntityRequest" replyTopicName="TryLockEntityReply" routeInReplay="1"/>-->-->
|
|
<functionTopic name="TryUnlockEntity" requestTopicType="TryUnlockEntityRequest" replyTopicType="FunctionReply" requestTopicName="TryUnlockEntityRequest" replyTopicName="TryUnlockEntityReply" routeInReplay="1"/>
|
|
</functionTopics>
|
|
<enumerations>
|
|
<enumeration name="FtReplyState" table="ft_reply_state">
|
|
<attribute key="NotStarted" value="0"/>
|
|
<attribute key="InProgress" value="1"/>
|
|
<attribute key="Completed" value="2"/>
|
|
<attribute key="Error" value="4"/>
|
|
</enumeration>
|
|
<enumeration name="PortType">
|
|
<attribute key="Unknown" value="0"/>
|
|
<attribute key="WebSocketServer" value="1"/>
|
|
<attribute key="WebSocketPositionServer" value="2"/>
|
|
<attribute key="WebSocketAdlerServer" value="3"/>
|
|
</enumeration>
|
|
<enumeration name="PositionReportingSource">
|
|
<attribute key="Gps" value="0"/>
|
|
<attribute key="Wls" value="1"/>
|
|
<attribute key="Ops" value="2"/>
|
|
<attribute key="External" value="3"/>
|
|
<attribute key="SetByOperator" value="4"/>
|
|
<attribute key="MovementSimulation" value="5"/>
|
|
<attribute key="OpsTunnel" value="6"/>
|
|
<attribute key="OpsBuilding" value="7"/>
|
|
</enumeration>
|
|
<enumeration name="ReplayType" table="replay_type">
|
|
<attribute key="UnknownData" value="0"/>
|
|
<attribute key="SituationData" value="1"/>
|
|
<attribute key="ReportData" value="2"/>
|
|
<attribute key="EventData" value="3"/>
|
|
<attribute key="OtherData" value="4"/>
|
|
<attribute key="SnapshotData" value="5"/>
|
|
</enumeration>
|
|
<enumeration name="RunningState" table="running_state">
|
|
<attribute key="NotYetStarted" value="0"/>
|
|
<attribute key="Starting" value="1"/>
|
|
<attribute key="StartingError" value="2"/>
|
|
<attribute key="Running" value="3"/>
|
|
<attribute key="Stopping" value="4"/>
|
|
<attribute key="StoppedNormally" value="5"/>
|
|
<attribute key="StoppedError" value="6"/>
|
|
</enumeration>
|
|
<enumeration name="ServiceGroupType" table="service_group_type">
|
|
<attribute key="Master" value="0"/>
|
|
<attribute key="Core" value="1"/>
|
|
<attribute key="ExercisePreparation" value="2"/>
|
|
<attribute key="ExerciseExecution" value="3"/>
|
|
<attribute key="ExercisePaused" value="4"/>
|
|
<attribute key="ExerciseAfterActionReview" value="5"/>
|
|
<attribute key="Playback" value="6"/>
|
|
</enumeration>
|
|
<enumeration name="ZReference" table="z_reference">
|
|
<attribute key="ZrUndefined" value="0"/>
|
|
<attribute key="Zr_Unused" value="1"/>
|
|
<attribute key="ZrRelativeAGL" value="100"/>
|
|
<attribute key="ZrAbsolute" value="200"/>
|
|
<attribute key="ZrDrapedOnGround" value="300"/>
|
|
<attribute key="ZrRelativeToDefinedValue" value="400"/>
|
|
</enumeration>
|
|
</enumerations>
|
|
</service>
|