-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nasa/nos3#445] Move XTCE into Components
- Loading branch information
Showing
1 changed file
with
147 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xtce:SpaceSystem xmlns:xtce="http://www.omg.org/spec/XTCE/20180204" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="GENERIC_THRUSTER" xsi:schemaLocation="http://www.omg.org/spec/XTCE/20180204 https://www.omg.org/spec/XTCE/20180204/SpaceSystem.xsd"> | ||
<xtce:SpaceSystem name="GENERIC_THRUSTER_HK_TLM"> | ||
<xtce:TelemetryMetaData> | ||
<xtce:ParameterTypeSet> | ||
<xtce:IntegerParameterType name="CMD_ERR_COUNT_Type" shortDescription="Command Error Count" signed="false"> | ||
<xtce:IntegerDataEncoding sizeInBits="8" encoding="unsigned"/> | ||
</xtce:IntegerParameterType> | ||
<xtce:IntegerParameterType name="CMD_COUNT_Type" shortDescription="Command Count" signed="false"> | ||
<xtce:IntegerDataEncoding sizeInBits="8" encoding="unsigned"/> | ||
</xtce:IntegerParameterType> | ||
<xtce:IntegerParameterType name="DEVICE_ERR_COUNT_Type" shortDescription="Device Command Error Count" signed="false"> | ||
<xtce:IntegerDataEncoding sizeInBits="8" encoding="unsigned"/> | ||
</xtce:IntegerParameterType> | ||
<xtce:IntegerParameterType name="DEVICE_COUNT_Type" shortDescription="Device Command Count" signed="false"> | ||
<xtce:IntegerDataEncoding sizeInBits="8" encoding="unsigned"/> | ||
</xtce:IntegerParameterType> | ||
<xtce:EnumeratedParameterType name="DEVICE_ENABLED_Type" shortDescription="Device Enable Status"> | ||
<xtce:IntegerDataEncoding sizeInBits="8" encoding="unsigned"/> | ||
<xtce:EnumerationList> | ||
<xtce:Enumeration value="0" label="DISABLED"/> | ||
<xtce:Enumeration value="1" label="ENABLED"/> | ||
</xtce:EnumerationList> | ||
</xtce:EnumeratedParameterType> | ||
</xtce:ParameterTypeSet> | ||
<xtce:ParameterSet> | ||
<xtce:Parameter name="CMD_ERR_COUNT" parameterTypeRef="CMD_ERR_COUNT_Type"/> | ||
<xtce:Parameter name="CMD_COUNT" parameterTypeRef="CMD_COUNT_Type"/> | ||
<xtce:Parameter name="DEVICE_ERR_COUNT" parameterTypeRef="DEVICE_ERR_COUNT_Type"/> | ||
<xtce:Parameter name="DEVICE_COUNT" parameterTypeRef="DEVICE_COUNT_Type"/> | ||
<xtce:Parameter name="DEVICE_ENABLED" parameterTypeRef="DEVICE_ENABLED_Type"/> | ||
</xtce:ParameterSet> | ||
<xtce:ContainerSet> | ||
<xtce:SequenceContainer name="GENERIC_THRUSTER_HK_TLM" shortDescription="GENERIC_THRUSTER_Hk_tlm_t"> | ||
<xtce:EntryList> | ||
<xtce:ParameterRefEntry parameterRef="CMD_ERR_COUNT"/> | ||
<xtce:ParameterRefEntry parameterRef="CMD_COUNT"/> | ||
<xtce:ParameterRefEntry parameterRef="DEVICE_ERR_COUNT"/> | ||
<xtce:ParameterRefEntry parameterRef="DEVICE_COUNT"/> | ||
<xtce:ParameterRefEntry parameterRef="DEVICE_ENABLED"/> | ||
</xtce:EntryList> | ||
<xtce:BaseContainer containerRef="/CCSDS/CCSDS_TM"> | ||
<xtce:RestrictionCriteria> | ||
<xtce:ComparisonList> | ||
<xtce:Comparison parameterRef="/CCSDS/CCSDS_STREAMID" value="2282"/> | ||
</xtce:ComparisonList> | ||
</xtce:RestrictionCriteria> | ||
</xtce:BaseContainer> | ||
</xtce:SequenceContainer> | ||
</xtce:ContainerSet> | ||
</xtce:TelemetryMetaData> | ||
</xtce:SpaceSystem> | ||
<xtce:SpaceSystem name="CMD"> | ||
<xtce:CommandMetaData> | ||
<xtce:ArgumentTypeSet> | ||
<xtce:IntegerArgumentType name="THRUSTER_NUMBER_Type" initialValue="0" shortDescription="Thruster number" signed="false"> | ||
<xtce:IntegerDataEncoding sizeInBits="8" encoding="unsigned"/> | ||
<xtce:ValidRange minInclusive="0" maxInclusive="3"/> | ||
</xtce:IntegerArgumentType> | ||
<xtce:IntegerArgumentType name="PERCENTAGE_Type" initialValue="0" shortDescription="Percentage of full thrust, 0 to 100" signed="false"> | ||
<xtce:IntegerDataEncoding sizeInBits="8" encoding="unsigned"/> | ||
<xtce:ValidRange minInclusive="0" maxInclusive="100"/> | ||
</xtce:IntegerArgumentType> | ||
</xtce:ArgumentTypeSet> | ||
<xtce:MetaCommandSet> | ||
<xtce:MetaCommand name="GENERIC_THRUSTER_REQ_HK"> | ||
<xtce:BaseMetaCommand metaCommandRef="/CCSDS/CCSDS_TC"> | ||
<xtce:ArgumentAssignmentList> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_STREAMID" argumentValue="6379"/> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_FC" argumentValue="0"/> | ||
</xtce:ArgumentAssignmentList> | ||
</xtce:BaseMetaCommand> | ||
<xtce:ArgumentList/> | ||
<xtce:CommandContainer name="GENERIC_THRUSTER_GENERIC_THRUSTER_REQ_HK_CommandContainer"> | ||
<xtce:EntryList/> | ||
</xtce:CommandContainer> | ||
</xtce:MetaCommand> | ||
<xtce:MetaCommand name="GENERIC_THRUSTER_PERCENTAGE_CC"> | ||
<xtce:BaseMetaCommand metaCommandRef="/CCSDS/CCSDS_TC"> | ||
<xtce:ArgumentAssignmentList> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_STREAMID" argumentValue="6378"/> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_FC" argumentValue="4"/> | ||
</xtce:ArgumentAssignmentList> | ||
</xtce:BaseMetaCommand> | ||
<xtce:ArgumentList> | ||
<xtce:Argument name="THRUSTER_NUMBER" argumentTypeRef="THRUSTER_NUMBER_Type"/> | ||
<xtce:Argument name="PERCENTAGE" argumentTypeRef="PERCENTAGE_Type"/> | ||
</xtce:ArgumentList> | ||
<xtce:CommandContainer name="GENERIC_THRUSTER_GENERIC_THRUSTER_PERCENTAGE_CC_CommandContainer"> | ||
<xtce:EntryList> | ||
<xtce:ArgumentRefEntry argumentRef="THRUSTER_NUMBER"/> | ||
<xtce:ArgumentRefEntry argumentRef="PERCENTAGE"/> | ||
</xtce:EntryList> | ||
</xtce:CommandContainer> | ||
</xtce:MetaCommand> | ||
<xtce:MetaCommand name="GENERIC_THRUSTER_DISABLE_CC"> | ||
<xtce:BaseMetaCommand metaCommandRef="/CCSDS/CCSDS_TC"> | ||
<xtce:ArgumentAssignmentList> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_STREAMID" argumentValue="6378"/> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_FC" argumentValue="3"/> | ||
</xtce:ArgumentAssignmentList> | ||
</xtce:BaseMetaCommand> | ||
<xtce:ArgumentList/> | ||
<xtce:CommandContainer name="GENERIC_THRUSTER_GENERIC_THRUSTER_DISABLE_CC_CommandContainer"> | ||
<xtce:EntryList/> | ||
</xtce:CommandContainer> | ||
</xtce:MetaCommand> | ||
<xtce:MetaCommand name="GENERIC_THRUSTER_ENABLE_CC"> | ||
<xtce:BaseMetaCommand metaCommandRef="/CCSDS/CCSDS_TC"> | ||
<xtce:ArgumentAssignmentList> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_STREAMID" argumentValue="6378"/> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_FC" argumentValue="2"/> | ||
</xtce:ArgumentAssignmentList> | ||
</xtce:BaseMetaCommand> | ||
<xtce:ArgumentList/> | ||
<xtce:CommandContainer name="GENERIC_THRUSTER_GENERIC_THRUSTER_ENABLE_CC_CommandContainer"> | ||
<xtce:EntryList/> | ||
</xtce:CommandContainer> | ||
</xtce:MetaCommand> | ||
<xtce:MetaCommand name="GENERIC_THRUSTER_RST_COUNTERS_CC"> | ||
<xtce:BaseMetaCommand metaCommandRef="/CCSDS/CCSDS_TC"> | ||
<xtce:ArgumentAssignmentList> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_STREAMID" argumentValue="6378"/> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_FC" argumentValue="1"/> | ||
</xtce:ArgumentAssignmentList> | ||
</xtce:BaseMetaCommand> | ||
<xtce:ArgumentList/> | ||
<xtce:CommandContainer name="GENERIC_THRUSTER_GENERIC_THRUSTER_RST_COUNTERS_CC_CommandContainer"> | ||
<xtce:EntryList/> | ||
</xtce:CommandContainer> | ||
</xtce:MetaCommand> | ||
<xtce:MetaCommand name="GENERIC_THRUSTER_NOOP_CC"> | ||
<xtce:BaseMetaCommand metaCommandRef="/CCSDS/CCSDS_TC"> | ||
<xtce:ArgumentAssignmentList> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_STREAMID" argumentValue="6378"/> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_FC" argumentValue="0"/> | ||
</xtce:ArgumentAssignmentList> | ||
</xtce:BaseMetaCommand> | ||
<xtce:ArgumentList/> | ||
<xtce:CommandContainer name="GENERIC_THRUSTER_GENERIC_THRUSTER_NOOP_CC_CommandContainer"> | ||
<xtce:EntryList/> | ||
</xtce:CommandContainer> | ||
</xtce:MetaCommand> | ||
</xtce:MetaCommandSet> | ||
</xtce:CommandMetaData> | ||
</xtce:SpaceSystem> | ||
</xtce:SpaceSystem> |