Joshua Anderson 8058e79185 Remove schema refrence in XML files
Our XML files had incorrect schema paths, so they needed to be corrected or removed.
Because of the upcoming transition to F'' YAML modeling, removing the schema refrences is an easier
approach than correcting all component xml files.
2021-06-01 20:38:33 -07:00

70 lines
2.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- Note: sync attribute can be sync, async, or guarded. Only for input />
Note: priority attribute can be high, medium, low or interrupt.
Only valid for active components input.
Note kind attribute of component can be ether active or passive.
-->
<component name="Test1" kind="active" namespace="Cmd">
<import_port_type>Autocoders/Python/test/command_multi_inst/Test2PortAi.xml</import_port_type>
<import_port_type>Fw/Cmd/CmdPortAi.xml</import_port_type>
<import_port_type>Fw/Cmd/CmdRegPortAi.xml</import_port_type>
<import_port_type>Fw/Cmd/CmdResponsePortAi.xml</import_port_type>
<comment>A component with a single command</comment>
<commands opcode_base="0x10,0x20">
<!-- Input test command -->
<command kind="guarded" opcode="0x100" mnemonic="TEST_CMD_1" >
<comment>
A test command
</comment>
<args>
<arg name="arg1" type="I32">
<comment>The I32 command argument</comment>
</arg>
<arg name="arg2" type="F32">
<comment>The F32 command argument</comment>
</arg>
<arg name="arg3" type="U8">
<comment>The U8 command argument</comment>
</arg>
<arg name="arg4" type="ENUM">
<enum name="SomeEnum">
<item name="MEMB1"/>
<item name="MEMB2"/>
<item name="MEMB3" value="7" comment="This member is important"/>
<item name="MEMB4" value="15"/>
</enum>
<comment>The ENUM argument</comment>
</arg>
</args>
</command>
<command kind="async" opcode="0x200" mnemonic="TEST_CMD_2" >
<comment>
A test command
</comment>
<args>
<arg name="arg1" type="U32">
<comment>The U32 command argument</comment>
</arg>
<arg name="arg2" type="F64">
<comment>The F64 command argument</comment>
</arg>
<arg name="arg3" type="I8">
<comment>The I8 command argument</comment>
</arg>
</args>
</command>
</commands>
<ports>
<port name="CmdDisp" kind="async_input" data_type="Fw::Cmd" max_number="1" role="Cmd"/>
<port name="CmdReg" kind="output" data_type="Fw::CmdReg" max_number="1" role="CmdRegistration"/>
<port name="CmdStatus" kind="output" data_type="Fw::CmdResponse" max_number="1" role="CmdResponse"/>
<port name="aport" data_type="Another::Test2" kind="sync_input" >
<comment>
A test port
</comment>
</port>
</ports>
</component>