test(mtconnect): canned probe/current/sample XML fixtures incl. forced-gap (Task 4)

This commit is contained in:
Joseph Doherty
2026-07-24 13:53:15 -04:00
parent 93f2501552
commit 817cc9d729
5 changed files with 198 additions and 0 deletions
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<MTConnectDevices xmlns="urn:mtconnect.org:MTConnectDevices:1.3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:mtconnect.org:MTConnectDevices:1.3 http://www.mtconnect.org/schemas/MTConnectDevices_1.3.xsd">
<Header creationTime="2026-07-24T12:00:00Z"
sender="fixture-agent"
instanceId="1655000000"
version="1.3.0.12"
assetBufferSize="1024"
assetCount="0"
bufferSize="131072"/>
<Devices>
<Device id="dev1" name="VMC-3Axis" uuid="dev1-uuid">
<Description manufacturer="Fixture Corp">Test fixture device for MTConnect driver unit tests</Description>
<DataItems>
<!-- EVENT, controlled-vocabulary, directly on the Device (no nested Component) -->
<DataItem id="dev1_avail" category="EVENT" type="AVAILABILITY"/>
</DataItems>
<Components>
<Controller id="dev1_controller" name="controller">
<Components>
<Path id="dev1_path" name="path">
<DataItems>
<!-- SAMPLE with units -->
<DataItem id="dev1_pos" category="SAMPLE" type="POSITION" subType="ACTUAL"
units="MILLIMETER" nativeUnits="MILLIMETER"/>
<!-- SAMPLE, representation=TIME_SERIES with sampleCount -->
<DataItem id="dev1_vibration_ts" category="SAMPLE" type="PATH_FEEDRATE"
representation="TIME_SERIES" units="MILLIMETER/SECOND"
nativeUnits="MILLIMETER/SECOND" sampleCount="10" sampleRate="100"/>
<!-- EVENT, numeric type -->
<DataItem id="dev1_partcount" category="EVENT" type="PART_COUNT"/>
<!-- EVENT, controlled vocabulary -->
<DataItem id="dev1_execution" category="EVENT" type="EXECUTION"/>
<!-- EVENT, free text -->
<DataItem id="dev1_program" category="EVENT" type="PROGRAM"/>
<!-- CONDITION -->
<DataItem id="dev1_system_cond" category="CONDITION" type="SYSTEM"/>
</DataItems>
</Path>
</Components>
</Controller>
</Components>
</Device>
</Devices>
</MTConnectDevices>