-
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
183 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,183 @@ | ||
<?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_CSS" xsi:schemaLocation="http://www.omg.org/spec/XTCE/20180204 https://www.omg.org/spec/XTCE/20180204/SpaceSystem.xsd"> | ||
<xtce:SpaceSystem name="GENERIC_CSS_DATA_TLM"> | ||
<xtce:TelemetryMetaData> | ||
<xtce:ParameterTypeSet> | ||
<xtce:IntegerParameterType name="RAW_CSS_0_Type" shortDescription="Raw css[0] (0-65535)" signed="false"> | ||
<xtce:IntegerDataEncoding sizeInBits="16" encoding="unsigned" byteOrder="leastSignificantByteFirst"/> | ||
</xtce:IntegerParameterType> | ||
<xtce:IntegerParameterType name="RAW_CSS_1_Type" shortDescription="Raw css[1] (0-65535)" signed="false"> | ||
<xtce:IntegerDataEncoding sizeInBits="16" encoding="unsigned" byteOrder="leastSignificantByteFirst"/> | ||
</xtce:IntegerParameterType> | ||
<xtce:IntegerParameterType name="RAW_CSS_2_Type" shortDescription="Raw css[2] (0-65535)" signed="false"> | ||
<xtce:IntegerDataEncoding sizeInBits="16" encoding="unsigned" byteOrder="leastSignificantByteFirst"/> | ||
</xtce:IntegerParameterType> | ||
<xtce:IntegerParameterType name="RAW_CSS_3_Type" shortDescription="Raw css[3] (0-65535)" signed="false"> | ||
<xtce:IntegerDataEncoding sizeInBits="16" encoding="unsigned" byteOrder="leastSignificantByteFirst"/> | ||
</xtce:IntegerParameterType> | ||
<xtce:IntegerParameterType name="RAW_CSS_4_Type" shortDescription="Raw css[4] (0-65535)" signed="false"> | ||
<xtce:IntegerDataEncoding sizeInBits="16" encoding="unsigned" byteOrder="leastSignificantByteFirst"/> | ||
</xtce:IntegerParameterType> | ||
<xtce:IntegerParameterType name="RAW_CSS_5_Type" shortDescription="Raw css[5] (0-65535)" signed="false"> | ||
<xtce:IntegerDataEncoding sizeInBits="16" encoding="unsigned" byteOrder="leastSignificantByteFirst"/> | ||
</xtce:IntegerParameterType> | ||
</xtce:ParameterTypeSet> | ||
<xtce:ParameterSet> | ||
<xtce:Parameter name="RAW_CSS_0" parameterTypeRef="RAW_CSS_0_Type"/> | ||
<xtce:Parameter name="RAW_CSS_1" parameterTypeRef="RAW_CSS_1_Type"/> | ||
<xtce:Parameter name="RAW_CSS_2" parameterTypeRef="RAW_CSS_2_Type"/> | ||
<xtce:Parameter name="RAW_CSS_3" parameterTypeRef="RAW_CSS_3_Type"/> | ||
<xtce:Parameter name="RAW_CSS_4" parameterTypeRef="RAW_CSS_4_Type"/> | ||
<xtce:Parameter name="RAW_CSS_5" parameterTypeRef="RAW_CSS_5_Type"/> | ||
</xtce:ParameterSet> | ||
<xtce:ContainerSet> | ||
<xtce:SequenceContainer name="GENERIC_CSS_DATA_TLM" shortDescription="GENERIC_CSS_Device_tlm_t"> | ||
<xtce:EntryList> | ||
<xtce:ParameterRefEntry parameterRef="RAW_CSS_0"/> | ||
<xtce:ParameterRefEntry parameterRef="RAW_CSS_1"/> | ||
<xtce:ParameterRefEntry parameterRef="RAW_CSS_2"/> | ||
<xtce:ParameterRefEntry parameterRef="RAW_CSS_3"/> | ||
<xtce:ParameterRefEntry parameterRef="RAW_CSS_4"/> | ||
<xtce:ParameterRefEntry parameterRef="RAW_CSS_5"/> | ||
</xtce:EntryList> | ||
<xtce:BaseContainer containerRef="/CCSDS/CCSDS_TM"> | ||
<xtce:RestrictionCriteria> | ||
<xtce:ComparisonList> | ||
<xtce:Comparison parameterRef="/CCSDS/CCSDS_STREAMID" value="2321"/> | ||
</xtce:ComparisonList> | ||
</xtce:RestrictionCriteria> | ||
</xtce:BaseContainer> | ||
</xtce:SequenceContainer> | ||
</xtce:ContainerSet> | ||
</xtce:TelemetryMetaData> | ||
</xtce:SpaceSystem> | ||
<xtce:SpaceSystem name="GENERIC_CSS_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_CSS_HK_TLM" shortDescription="GENERIC_CSS_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="2320"/> | ||
</xtce:ComparisonList> | ||
</xtce:RestrictionCriteria> | ||
</xtce:BaseContainer> | ||
</xtce:SequenceContainer> | ||
</xtce:ContainerSet> | ||
</xtce:TelemetryMetaData> | ||
</xtce:SpaceSystem> | ||
<xtce:SpaceSystem name="CMD"> | ||
<xtce:CommandMetaData> | ||
<xtce:ArgumentTypeSet/> | ||
<xtce:MetaCommandSet> | ||
<xtce:MetaCommand name="GENERIC_CSS_REQ_DATA"> | ||
<xtce:BaseMetaCommand metaCommandRef="/CCSDS/CCSDS_TC"> | ||
<xtce:ArgumentAssignmentList> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_STREAMID" argumentValue="6417"/> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_FC" argumentValue="1"/> | ||
</xtce:ArgumentAssignmentList> | ||
</xtce:BaseMetaCommand> | ||
<xtce:ArgumentList/> | ||
<xtce:CommandContainer name="GENERIC_CSS_GENERIC_CSS_REQ_DATA_CommandContainer"> | ||
<xtce:EntryList/> | ||
</xtce:CommandContainer> | ||
</xtce:MetaCommand> | ||
<xtce:MetaCommand name="GENERIC_CSS_REQ_HK"> | ||
<xtce:BaseMetaCommand metaCommandRef="/CCSDS/CCSDS_TC"> | ||
<xtce:ArgumentAssignmentList> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_STREAMID" argumentValue="6417"/> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_FC" argumentValue="0"/> | ||
</xtce:ArgumentAssignmentList> | ||
</xtce:BaseMetaCommand> | ||
<xtce:ArgumentList/> | ||
<xtce:CommandContainer name="GENERIC_CSS_GENERIC_CSS_REQ_HK_CommandContainer"> | ||
<xtce:EntryList/> | ||
</xtce:CommandContainer> | ||
</xtce:MetaCommand> | ||
<xtce:MetaCommand name="GENERIC_CSS_DISABLE_CC"> | ||
<xtce:BaseMetaCommand metaCommandRef="/CCSDS/CCSDS_TC"> | ||
<xtce:ArgumentAssignmentList> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_STREAMID" argumentValue="6416"/> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_FC" argumentValue="3"/> | ||
</xtce:ArgumentAssignmentList> | ||
</xtce:BaseMetaCommand> | ||
<xtce:ArgumentList/> | ||
<xtce:CommandContainer name="GENERIC_CSS_GENERIC_CSS_DISABLE_CC_CommandContainer"> | ||
<xtce:EntryList/> | ||
</xtce:CommandContainer> | ||
</xtce:MetaCommand> | ||
<xtce:MetaCommand name="GENERIC_CSS_ENABLE_CC"> | ||
<xtce:BaseMetaCommand metaCommandRef="/CCSDS/CCSDS_TC"> | ||
<xtce:ArgumentAssignmentList> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_STREAMID" argumentValue="6416"/> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_FC" argumentValue="2"/> | ||
</xtce:ArgumentAssignmentList> | ||
</xtce:BaseMetaCommand> | ||
<xtce:ArgumentList/> | ||
<xtce:CommandContainer name="GENERIC_CSS_GENERIC_CSS_ENABLE_CC_CommandContainer"> | ||
<xtce:EntryList/> | ||
</xtce:CommandContainer> | ||
</xtce:MetaCommand> | ||
<xtce:MetaCommand name="GENERIC_CSS_RST_COUNTERS_CC"> | ||
<xtce:BaseMetaCommand metaCommandRef="/CCSDS/CCSDS_TC"> | ||
<xtce:ArgumentAssignmentList> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_STREAMID" argumentValue="6416"/> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_FC" argumentValue="1"/> | ||
</xtce:ArgumentAssignmentList> | ||
</xtce:BaseMetaCommand> | ||
<xtce:ArgumentList/> | ||
<xtce:CommandContainer name="GENERIC_CSS_GENERIC_CSS_RST_COUNTERS_CC_CommandContainer"> | ||
<xtce:EntryList/> | ||
</xtce:CommandContainer> | ||
</xtce:MetaCommand> | ||
<xtce:MetaCommand name="GENERIC_CSS_NOOP_CC"> | ||
<xtce:BaseMetaCommand metaCommandRef="/CCSDS/CCSDS_TC"> | ||
<xtce:ArgumentAssignmentList> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_STREAMID" argumentValue="6416"/> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_FC" argumentValue="0"/> | ||
</xtce:ArgumentAssignmentList> | ||
</xtce:BaseMetaCommand> | ||
<xtce:ArgumentList/> | ||
<xtce:CommandContainer name="GENERIC_CSS_GENERIC_CSS_NOOP_CC_CommandContainer"> | ||
<xtce:EntryList/> | ||
</xtce:CommandContainer> | ||
</xtce:MetaCommand> | ||
</xtce:MetaCommandSet> | ||
</xtce:CommandMetaData> | ||
</xtce:SpaceSystem> | ||
</xtce:SpaceSystem> |