154 lines
8.4 KiB
XML
Executable File
154 lines
8.4 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<service namespace="AlarmManagement" abbreviation="ALM" procNames="AlarmManagement" exerciseDependency="Exercise">
|
|
<rcs>
|
|
<Id Id="$Id$"/>
|
|
<HeadURL HeadURL="$HeadURL$"/>
|
|
<Author Author="$Author$"/>
|
|
</rcs>
|
|
<operatorRights offset="45">
|
|
<guiPlugin name="AlarmManagement" offset="1">
|
|
<operatorRightGroup name="Alarm Management (Global)" description="Configure Alarms">
|
|
<operatorRight right="ConfigGlobalDialog" value="1" description="Configure Alarms"/>
|
|
</operatorRightGroup>
|
|
</guiPlugin>
|
|
<guiPlugin name="AlmConfigParticipantAlarms" offset="2">
|
|
<operatorRightGroup name="Alarm Management (Participants)" description="Configure Participant Alarms">
|
|
<operatorRight right="ConfigParticipantDialog" value="1" description="Configure Participant Alarms"/>
|
|
</operatorRightGroup>
|
|
</guiPlugin>
|
|
<guiPlugin name="AlmEmergencyCall" offset="3">
|
|
<operatorRightGroup name="Emergency Call" description="Allow User to Handle Emergency Calls">
|
|
<operatorRight right="EmergencyCall" value="1" description="Allow User to Handle Emergency Calls"/>
|
|
</operatorRightGroup>
|
|
</guiPlugin>
|
|
</operatorRights>
|
|
<tables>
|
|
<table name="alm_config">
|
|
<column name="id" datatype="integer" isPrimaryKey="1">
|
|
<sequence start="1" increment="1"/>
|
|
</column>
|
|
<column name="operator_id" datatype="integer" isForeignKey="1"/>
|
|
<column name="event_type_id" datatype="integer" isForeignKey="1"/>
|
|
<column name="set_marker" datatype="boolean"/>
|
|
<column name="message_window" datatype="boolean"/>
|
|
<column name="participant_id" datatype="integer" isOptional="1" isForeignKey="1"/>
|
|
<column name="global" datatype="boolean"/>
|
|
<column name="vulnerability_state" datatype="integer" comment="-1 = All Types other Values see PDM-&gt;Service-&gt;Enumerations-&gt;VulnerabilityState"/>
|
|
<constraint name="IDX_operator_id" type="index">
|
|
<column name="operator_id"/>
|
|
</constraint>
|
|
<foreignKey name="FK_alm_config_opm_operator">
|
|
<source table="alm_config" column="operator_id"/>
|
|
<destination service="OperatorManagement" serviceAbbr="opm" schema="opm" table="opm_operator" column="id"/>
|
|
</foreignKey>
|
|
<foreignKey name="FK_alm_config_pdm_event_type">
|
|
<source table="alm_config" column="event_type_id"/>
|
|
<destination service="ProjectDataManagement" serviceAbbr="pdm" schema="pdm" table="pdm_event_type" column="id"/>
|
|
</foreignKey>
|
|
<foreignKey name="FK_alm_config_ppm_participant">
|
|
<source table="alm_config" column="participant_id"/>
|
|
<destination service="ParticipantManagement" serviceAbbr="ppm" table="ppm_participant" column="id"/>
|
|
</foreignKey>
|
|
</table>
|
|
<table name="alm_emergency_call">
|
|
<column name="id" datatype="integer" isPrimaryKey="1">
|
|
<sequence start="1" increment="1"/>
|
|
</column>
|
|
<column name="sample_time" datatype="bigint"/>
|
|
<column name="incoming_time" datatype="bigint"/>
|
|
<column name="name" datatype="text"/>
|
|
<column name="issi" datatype="integer"/>
|
|
<column name="position" datatype="point_2d"/>
|
|
<column name="expired" datatype="boolean"/>
|
|
<column name="operator_id" datatype="integer"/>
|
|
<column name="deleted" datatype="bigint"/>
|
|
<column name="comment" datatype="text"/>
|
|
</table>
|
|
</tables>
|
|
<views/>
|
|
<dbServiceStructs>
|
|
<serviceStruct name="AlmConfig" table="alm_config"/>
|
|
<table name="alm_config"/>
|
|
<serviceStruct name="AlmEmergencyCall" table="alm_emergency_call"/>
|
|
<table name="alm_emergency_call"/>
|
|
</dbServiceStructs>
|
|
<topicTypes>
|
|
<topicType name="AlmEmergencyCall" isDataObject="1" routeToClient="1" routeToServer="0" routeInReplay="0" recordTopic="1" >
|
|
<column name="id" idlType="long" isKey="1"/>
|
|
<column name="sampleTime" idlType="long long"/>
|
|
<column name="incomingTime" idlType="long long"/>
|
|
<column name="name" idlType="string"/>
|
|
<column name="issi" idlType="long"/>
|
|
<column name="position" idlType="Core::GeoPosition2D"/>
|
|
<column name="expired" idlType="boolean"/>
|
|
<column name="operatorId" idlType="long"/>
|
|
<column name="deleted" idlType="long long"/>
|
|
<column name="comment" idlType="string"/>
|
|
</topicType>
|
|
<topicType name="EmergencyCallAcknowledgeRequest">
|
|
<column name="id" idlType="long"/>
|
|
<column name="timestamp" idlType="long long"/>
|
|
<column name="incomingTime" idlType="long long"/>
|
|
<column name="name" idlType="string"/>
|
|
<column name="issi" idlType="long"/>
|
|
<column name="operatorId" idlType="long"/>
|
|
<column name="comment" idlType="string"/>
|
|
<column name="expired" idlType="boolean"/>
|
|
</topicType>
|
|
<topicType name="AlarmAction">
|
|
<column name="setMarker" idlType="boolean"/>
|
|
<column name="messageWindow" idlType="boolean"/>
|
|
<column name="eventTypeId" idlType="ProjectDataManagement::EventType"/>
|
|
<column name="vulnerabilityState" idlType="long" comment="Only trigger, when this state is reached"/>
|
|
</topicType>
|
|
<topicType name="AlarmConfig" isDataObject="1" routeToClient="1" routeToServer="0" routeInReplay="0">
|
|
<column name="operatorId" idlType="long"/>
|
|
<column name="participantId" idlType="long"/>
|
|
<column name="eventTypeId" idlType="ProjectDataManagement::EventType"/>
|
|
<column name="messageWindow" idlType="boolean"/>
|
|
<column name="setMarker" idlType="boolean"/>
|
|
<column name="id" idlType="long" isKey="1"/>
|
|
<column name="global" idlType="boolean"/>
|
|
<column name="vulnerabilityState" idlType="long"/>
|
|
</topicType>
|
|
<topicType name="ConfigureAlarmsRequest">
|
|
<column name="alarms" idlType="sequence<AlarmAction>"/>
|
|
<column name="operatorId" idlType="long"/>
|
|
<column name="participantIds" idlType="sequence<long>" comment="<ul> <li>Any event that comes for a participant in the list is sent as an alarm.</li> </ul> <ul> <li>If the participant is 0, an alarm is sent for each event independently of the participant.</li> </ul>"/>
|
|
<column name="global" idlType="boolean" comment="global/local Alarm"/>
|
|
<column name="remove" idlType="boolean" comment="Remove alarm from Service, DDS and DB"/>
|
|
</topicType>
|
|
<topicType name="Notification" isDataObject="1" routeToClient="1" routeToServer="0" routeInReplay="0">
|
|
<column name="id" idlType="long" isKey="1"/>
|
|
<column name="operatorId" idlType="long"/>
|
|
<column name="eventId" idlType="long" comment="ExerciseEventManagement::EventType"/>
|
|
<column name="eventType" idlType="ProjectDataManagement::EventType"/>
|
|
<column name="time" idlType="long long"/>
|
|
<column name="equipmentNumber" idlType="long"/>
|
|
<column name="participantId" idlType="long" isOptional="1"/>
|
|
<column name="aesId" idlType="long" isOptional="1"/>
|
|
<column name="position" idlType="Core::GeoPosition"/>
|
|
<column name="properties" idlType="string" comment="Json-Object: Globale und lokale Borderlines: Global (Type boolean: true = global, false = local) optional Global, FriendlyFire , equipmentNumber, EventTypeId, participantId, aesId"/>
|
|
</topicType>
|
|
<topicType name="AcknowledgeSOSInAllExercises" isDataObject="1" >
|
|
<column name="id" idlType="long" isKey="1"/>
|
|
<column name="timestamp" idlType="long long"/>
|
|
<column name="incomingTime" idlType="long long"/>
|
|
<column name="name" idlType="string"/>
|
|
<column name="issi" idlType="long"/>
|
|
<column name="operatorId" idlType="long"/>
|
|
<column name="comment" idlType="string"/>
|
|
<column name="expired" idlType="boolean"/>
|
|
</topicType>
|
|
</topicTypes>
|
|
<functionTopics>
|
|
<functionTopic name="EmergencyCallAcknowledge" requestTopicType="EmergencyCallAcknowledgeRequest" replyTopicType="Core::FunctionReply" requestTopicName="EmergencyCallAcknowledgeRequest" replyTopicName="EmergencyCallAcknowledgeReply" routeInReplay="0"/>
|
|
<functionTopic name="ConfigureAlarms" requestTopicType="ConfigureAlarmsRequest" replyTopicType="Core::FunctionReply" requestTopicName="ConfigureAlarmsRequest" replyTopicName="ConfigureAlarmsReply" routeInReplay="0"/>
|
|
</functionTopics>
|
|
<enumerations>
|
|
<enumeration name="Dummy">
|
|
<attribute key="dummy1" value="1"/>
|
|
</enumeration>
|
|
</enumerations>
|
|
</service>
|