test(mtconnect): canned probe/current/sample XML fixtures incl. forced-gap (Task 4)
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<MTConnectStreams xmlns="urn:mtconnect.org:MTConnectStreams:1.3"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="urn:mtconnect.org:MTConnectStreams:1.3 http://www.mtconnect.org/schemas/MTConnectStreams_1.3.xsd">
|
||||
<!--
|
||||
Ring-buffer-overflow / forced-nextSequence-gap fixture.
|
||||
firstSequence (5000) is strictly greater than any requestedFrom the driver would plausibly
|
||||
have used to continue from current.xml/sample.xml (last nextSequence was 113), and is also
|
||||
comfortably greater than the requestedFrom=1 asserted by Task 7's IsSequenceGap(1, chunk)==true
|
||||
test. instanceId is identical to current.xml/sample.xml so the gap - not an agent restart -
|
||||
is what's under test.
|
||||
-->
|
||||
<Header creationTime="2026-07-24T12:05:00.000Z"
|
||||
sender="fixture-agent"
|
||||
instanceId="1655000000"
|
||||
version="1.3.0.12"
|
||||
assetBufferSize="1024"
|
||||
assetCount="0"
|
||||
bufferSize="131072"
|
||||
firstSequence="5000"
|
||||
lastSequence="5004"
|
||||
nextSequence="5005"/>
|
||||
<Streams>
|
||||
<DeviceStream name="VMC-3Axis" uuid="dev1-uuid">
|
||||
<ComponentStream component="Path" componentId="dev1_path" name="path">
|
||||
<Samples>
|
||||
<Position dataItemId="dev1_pos" timestamp="2026-07-24T12:05:00.100Z" sequence="5000" subType="ACTUAL">200.0000</Position>
|
||||
<PathFeedrate dataItemId="dev1_vibration_ts" timestamp="2026-07-24T12:05:00.200Z" sequence="5001"
|
||||
sampleCount="10" sampleRate="100">3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 4.0</PathFeedrate>
|
||||
</Samples>
|
||||
<Events>
|
||||
<PartCount dataItemId="dev1_partcount" timestamp="2026-07-24T12:05:00.300Z" sequence="5002">99</PartCount>
|
||||
<Execution dataItemId="dev1_execution" timestamp="2026-07-24T12:05:00.400Z" sequence="5003">ACTIVE</Execution>
|
||||
<Program dataItemId="dev1_program" timestamp="2026-07-24T12:05:00.500Z" sequence="5004">O5678</Program>
|
||||
</Events>
|
||||
</ComponentStream>
|
||||
</DeviceStream>
|
||||
</Streams>
|
||||
</MTConnectStreams>
|
||||
Reference in New Issue
Block a user