160 lines
8.8 KiB
XML
Executable File
160 lines
8.8 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<service namespace="TargetManagement" abbreviation="TGT" procNames="TargetManagement" exerciseDependency="Exercise" groups="ExercisePreparation,ExerciseExecution,ExercisePaused,ExerciseAfterActionReview">
|
|
<rcs>
|
|
<Id Id="$Id: ea_export_script.txt 41311 2018-04-23 09:43:45Z ehrlicher $"/>
|
|
<HeadURL HeadURL="$HeadURL: svn://slssvn/TDS/branches/product/devel/trunk/Lts/Common/CodeGen/ea_export_script.txt $"/>
|
|
<Author Author="$Author: ehrlicher $"/>
|
|
</rcs>
|
|
<operatorRights offset="33"/>
|
|
<topicTypes>
|
|
<topicType name="ParticipantsPerArea">
|
|
<column name="shootbackAreatId" idlType="long"/>
|
|
<column name="visibleParticipants" idlType="sequence<long>"/>
|
|
</topicType>
|
|
<topicType name="ShootbackArea" isDataObject="1" autosubscribe="1" routeToClient="1" routeToServer="0" routeInReplay="0" baseValueType="Core::BaseEntity">
|
|
<column name="position" idlType="Core::GeoPosition2D"/>
|
|
<column name="width" idlType="double"/>
|
|
<column name="height" idlType="double"/>
|
|
</topicType>
|
|
<topicType name="ShootbackTarget" isDataObject="1" autosubscribe="1" routeToClient="1" routeToServer="0" routeInReplay="0" baseValueType="Core::BaseEntity">
|
|
<column name="targetParticipantId" idlType="long"/>
|
|
<column name="activateLaserDesignation" idlType="boolean"/>
|
|
<column name="activateLights" idlType="boolean"/>
|
|
<column name="activatePopupAutomatic" idlType="boolean"/>
|
|
<column name="hitsToKill" idlType="long"/>
|
|
<column name="permanentInstalledTarget" idlType="boolean"/>
|
|
<column name="position" idlType="Core::GeoPosition"/>
|
|
<column name="visibleParticipants" idlType="sequence<long>"/>
|
|
</topicType>
|
|
<topicType name="TargetAreaAssignment" isDataObject="1" autosubscribe="1" routeToClient="1" routeToServer="0" routeInReplay="0" baseValueType="Core::BaseEntity">
|
|
<column name="areaId" idlType="long"/>
|
|
<column name="targetParticipantId" idlType="long"/>
|
|
<column name="isActive" idlType="boolean"/>
|
|
<column name="configuration" idlType="ShootbackConfiguration"/>
|
|
</topicType>
|
|
<topicType name="ShootbackConfiguration">
|
|
<column name="interval1" idlType="long"/>
|
|
<column name="flash1" idlType="boolean"/>
|
|
<column name="effect1" idlType="Effect"/>
|
|
<column name="interval2" idlType="long"/>
|
|
<column name="flash2" idlType="boolean"/>
|
|
<column name="effect2" idlType="Effect"/>
|
|
</topicType>
|
|
<topicType name="ConfigureTargetRequest">
|
|
<column name="id" idlType="long"/>
|
|
<column name="participantId" idlType="long" comment=" "/>
|
|
<column name="tgtCommand" idlType="TgtCommand"/>
|
|
<column name="mode" idlType="Mode" isOptional="1"/>
|
|
<column name="weapon" idlType="long" isOptional="1"/>
|
|
<column name="parameterSet" idlType="long" isOptional="1"/>
|
|
</topicType>
|
|
<topicType name="TargetConfig" isDataObject="1" autosubscribe="1" routeToClient="1" routeToServer="0" routeInReplay="0">
|
|
<column name="id" idlType="long" isKey="1"/>
|
|
<column name="participantId" idlType="long"/>
|
|
<column name="weapon" idlType="long"/>
|
|
<column name="mode" idlType="Mode"/>
|
|
<column name="tgtCommand" idlType="TgtCommand"/>
|
|
</topicType>
|
|
</topicTypes>
|
|
<functionTopics>
|
|
<functionTopic name="ShootbackAreaModify" requestTopicType="ShootbackArea" replyTopicType="Core::FunctionReply" requestTopicName="ShootbackAreaModifyRequest" replyTopicName="ShootbackAreaModifyReply" routeInReplay="0"/>
|
|
<functionTopic name="ConfigureTarget" requestTopicType="ConfigureTargetRequest" replyTopicType="Core::FunctionReply" requestTopicName="ConfigureTargetRequest" replyTopicName="ConfigureTargetReply" routeInReplay="0"/>
|
|
<functionTopic name="ShootbackAreaRemove" requestTopicType="Core::RemoveElementRequest" replyTopicType="Core::FunctionReply" requestTopicName="ShootbackAreaRemoveRequest" replyTopicName="ShootbackAreaRemoveReply" routeInReplay="0"/>
|
|
<functionTopic name="ShootbackTargetModify" requestTopicType="ShootbackTarget" replyTopicType="Core::FunctionReply" requestTopicName="ShootbackTargetModifyRequest" replyTopicName="ShootbackTargetModifyReply" routeInReplay="0"/>
|
|
<functionTopic name="ShootbackTargetRemove" requestTopicType="Core::RemoveElementRequest" replyTopicType="Core::FunctionReply" requestTopicName="ShootbackTargetRemoveRequest" replyTopicName="ShootbackTargetRemoveReply" routeInReplay="0"/>
|
|
<functionTopic name="TargetAreaAssignmentRemove" requestTopicType="Core::RemoveElementRequest" replyTopicType="Core::FunctionReply" requestTopicName="TargetAreaAssignmentRemoveRequest" replyTopicName="TargetAreaAssignmentRemoveReply" routeInReplay="0"/>
|
|
<functionTopic name="TargetAreaAssignmentModify" requestTopicType="TargetAreaAssignment" replyTopicType="Core::FunctionReply" requestTopicName="TargetAreaAssignmentModifyRequest" replyTopicName="TargetAreaAssignmentModifyReply" routeInReplay="0"/>
|
|
</functionTopics>
|
|
<tables>
|
|
<table name="tgt_effect_type">
|
|
<column name="id" datatype="integer" isPrimaryKey="1">
|
|
<sequence start="1" increment="1"/>
|
|
</column>
|
|
<column name="name" datatype="text"/>
|
|
</table>
|
|
<table name="tgt_shootback_target">
|
|
<column name="id" datatype="integer" isPrimaryKey="1">
|
|
<sequence start="1" increment="1"/>
|
|
</column>
|
|
<column name="target_participant_id" datatype="integer"/>
|
|
<column name="name" datatype="text"/>
|
|
<column name="activate_laser_designation" datatype="boolean"/>
|
|
<column name="permanent_installed_target" datatype="boolean"/>
|
|
<column name="activate_lights" datatype="boolean"/>
|
|
<column name="hits_to_kill" datatype="integer"/>
|
|
<column name="activate_popup_automatic" datatype="boolean"/>
|
|
</table>
|
|
<table name="tgt_shootback_area">
|
|
<column name="id" datatype="integer" isPrimaryKey="1">
|
|
<sequence start="1" increment="1"/>
|
|
</column>
|
|
<column name="name" datatype="text"/>
|
|
<column name="position" datatype="point_2d"/>
|
|
<column name="width" datatype="real"/>
|
|
<column name="height" datatype="real"/>
|
|
</table>
|
|
<table name="tgt_target_area_assignment">
|
|
<column name="id" datatype="integer" isPrimaryKey="1">
|
|
<sequence start="1" increment="1"/>
|
|
</column>
|
|
<column name="name" datatype="text"/>
|
|
<column name="target_participant_id" datatype="integer"/>
|
|
<column name="area_id" datatype="integer"/>
|
|
<column name="is_active" datatype="boolean" default="false"/>
|
|
<column name="interval1" datatype="integer"/>
|
|
<column name="flash1" datatype="boolean"/>
|
|
<column name="effect1" datatype="integer" isForeignKey="1"/>
|
|
<column name="interval2" datatype="integer"/>
|
|
<column name="flash2" datatype="boolean"/>
|
|
<column name="effect2" datatype="integer" isForeignKey="1"/>
|
|
<foreignKey name="FK_tgt_target_area_assignment_tgt_effect_type_1">
|
|
<source table="tgt_target_area_assignment" column="effect1"/>
|
|
<destination table="tgt_effect_type" column="id"/>
|
|
</foreignKey>
|
|
<foreignKey name="FK_tgt_target_area_assignment_tgt_effect_type_2">
|
|
<source table="tgt_target_area_assignment" column="effect2"/>
|
|
<destination table="tgt_effect_type" column="id"/>
|
|
</foreignKey>
|
|
</table>
|
|
<table name="tgt_config">
|
|
<column name="id" datatype="integer" isPrimaryKey="1">
|
|
<sequence start="1" increment="1"/>
|
|
</column>
|
|
<column name="participant_id" datatype="integer"/>
|
|
</table>
|
|
</tables>
|
|
<views/>
|
|
<dbServiceStructs>
|
|
<serviceStruct name="TgtConfig" table="tgt_config"/>
|
|
<serviceStruct name="TgtShootbackArea" table="tgt_shootback_area"/>
|
|
<serviceStruct name="TgtShootbackTarget" table="tgt_shootback_target"/>
|
|
<serviceStruct name="TgtTargetAreaAssignment" table="tgt_target_area_assignment"/>
|
|
<table name="tgt_config"/>
|
|
<table name="tgt_shootback_area"/>
|
|
<table name="tgt_shootback_target"/>
|
|
<table name="tgt_target_area_assignment"/>
|
|
</dbServiceStructs>
|
|
<enumerations>
|
|
<enumeration name="Effect" table="tgt_effect_type">
|
|
<attribute key="NearMiss" value="0"/>
|
|
<attribute key="MobilityKill" value="1"/>
|
|
<attribute key="WeaponKill" value="2"/>
|
|
</enumeration>
|
|
<enumeration name="Mode">
|
|
<attribute key="Deactivated" value="0"/>
|
|
<attribute key="ShootBack" value="1"/>
|
|
<attribute key="ShootFirst" value="2"/>
|
|
<attribute key="NoWeapon" value="3"/>
|
|
</enumeration>
|
|
<enumeration name="TgtCommand">
|
|
<attribute key="Unknown" value="0"/>
|
|
<attribute key="RequestTechnicalState" value="1"/>
|
|
<attribute key="SetMode" value="2"/>
|
|
<attribute key="SetWeapon" value="3"/>
|
|
<attribute key="PlaySound" value="4"/>
|
|
<attribute key="RequestParameter" value="5"/>
|
|
<attribute key="SetParameter" value="6"/>
|
|
</enumeration>
|
|
</enumerations>
|
|
</service>
|