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

51 lines
2.1 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="TestCommand" kind="active" namespace="AcTest">
<import_port_type>Autocoders/Python/test/command_string/TestPortAi.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>
<!-- Input test command -->
<command kind="async" 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="string" size="20">
<comment>The string argument</comment>
</arg>
<arg name="arg3" 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>
</commands>
<ports>
<port name="CmdDisp" kind="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::Test" kind="async_input" >
<comment>
A test port
</comment>
</port>
</ports>
</component>