2025-06-27 06:15:49 +00:00
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" data-diagram-type="STATE" height="1003px" preserveAspectRatio="none" style="width:858px;height:1003px;background:#FFFFFF;" version="1.1" viewBox="0 0 858 1003" width="858px" zoomAndPan="magnify"><title>Measurement-Acquisition State Machine (error causes shown)</title><defs/><g><g class="title" data-source-line="5"><text fill="#000000" font-family="Verdana" font-size="22" font-weight="bold" lengthAdjust="spacing" textLength="773.5449" x="38.1067" y="35.4209">Measurement-Acquisition State Machine (error causes shown)</text></g><g id="InitIonizationChamber"><rect fill="#D3D3D3" height="50.2656" rx="12.5" ry="12.5" style="stroke:#000000;stroke-width:1;" width="226.7129" x="452.64" y="154.6094"/><line style="stroke:#000000;stroke-width:1;" x1="452.64" x2="679.3529" y1="180.9063" y2="180.9063"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="154.7041" x="488.6444" y="172.6045">InitIonizationChamber</text><text fill="#000000" font-family="Verdana" font-size="12" lengthAdjust="spacing" textLength="206.7129" x="457.64" y="197.0449">entry / application_layer.connect()</text></g><g id="InitMeasurementStorage"><rect fill="#D3D3D3" height="50.2656" rx="12.5" ry="12.5" style="stroke:#000000;stroke-width:1;" width="259.9824" x="259.01" y="281.8694"/><line style="stroke:#000000;stroke-width:1;" x1="259.01" x2="518.9924" y1="308.1663" y2="308.1663"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="173.5781" x="302.2121" y="299.8645">InitMeasurementStorage</text><text fill="#000000" font-family="Verdana" font-size="12" lengthAdjust="spacing" textLength="239.9824" x="264.01" y="324.3049">entry / measurement_storage.connect()</text></g><g id="GetMeasurement"><rect fill="#D3D3D3" height="64.2344" rx="12.5" ry="12.5" style="stroke:#000000;stroke-width:1;" width="252.793" x="262.6" y="409.1394"/><line style="stroke:#000000;stroke-width:1;" x1="262.6" x2="515.393" y1="435.4363" y2="435.4363"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="121.3721" x="328.3104" y="427.1345">GetMeasurement</text><text fill="#000000" font-family="Verdana" font-size="12" lengthAdjust="spacing" textLength="186.668" x="267.6" y="451.5749">entry / device_measurement =</text><text fill="#000000" font-family="Verdana" font-size="12" lengthAdjust="spacing" textLength="225.1641" x="275.2289" y="465.5437">application_layer.get_measurement()</text></g><g id="SaveMeasurement"><rect fill="#D3D3D3" height="64.2344" rx="12.5" ry="12.5" style="stroke:#000000;stroke-width:1;" width="325.5371" x="226.23" y="550.3694"/><line style="stroke:#000000;stroke-width:1;" x1="226.23" x2="551.7671" y1="576.6663" y2="576.6663"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="130.7852" x="323.606" y="568.3645">SaveMeasurement</text><text fill="#000000" font-family="Verdana" font-size="12" lengthAdjust="spacing" textLength="305.5371" x="231.23" y="592.8049">entry / measurement_storage.save_measurement(</text><text fill="#000000" font-family="Verdana" font-size="12" lengthAdjust="spacing" textLength="175.834" x="231.23" y="606.7737">now(), device_measurement)</text></g><g id="ShowMeasurement"><rect fill="#D3D3D3" height="50.2656" rx="12.5" ry="12.5" style="stroke:#000000;stroke-width:1;" width="230.3574" x="125.82" y="736.6094"/><line style="stroke:#000000;stroke-width:1;" x1="125.82" x2="356.1774" y1="762.9063" y2="762.9063"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="134.1963" x="173.9006" y="754.6045">ShowMeasurement</text><text fill="#000000" font-family="Verdana" font-size="12" lengthAdjust="spacing" textLength="210.3574" x="130.82" y="779.0449">entry / print(device_measurement)</text></g><g id="Error"><rect fill="#FF5555" height="50.2656" rx="12.5" ry="12.5" style="stroke:#000000;stroke-width:1;" width="150.9395" x="350.53" y="863.8694"/><line style="st
|