SEsource/软件工程详细设计/软件工程详细设计画的一些图/适配器模式对数据预处理UML.drawio

138 lines
16 KiB
Plaintext

<mxfile host="Electron" modified="2023-05-29T07:09:58.398Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/21.2.8 Chrome/112.0.5615.165 Electron/24.2.0 Safari/537.36" etag="qoo0JOJV6Nv2PLJIInUW" version="21.2.8" type="device">
<diagram name="第 1 页" id="G8mdv7kd9gx86Ux9LwoB">
<mxGraphModel dx="1036" dy="614" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="N3lR1C2nprlTYybS1b60-269" value="&lt;&lt;interface&gt;&gt;&#xa;RawData" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=47.099998474121094;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=0;marginBottom=0;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="410" y="827" width="97" height="86.0999984741211" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-270" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="N3lR1C2nprlTYybS1b60-269">
<mxGeometry y="47.099998474121094" width="97" height="8" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-271" value="+getData()" style="text;strokeColor=#d79b00;fillColor=#ffe6cc;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="N3lR1C2nprlTYybS1b60-269">
<mxGeometry y="55.099998474121094" width="97" height="31" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-272" value="VehicleSensor" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=28.720001220703125;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=0;marginBottom=0;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="114" y="1154" width="120" height="65.72000122070312" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-273" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="N3lR1C2nprlTYybS1b60-272">
<mxGeometry y="28.720001220703125" width="120" height="8" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-274" value="+getCount()" style="text;strokeColor=#d79b00;fillColor=#ffe6cc;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="N3lR1C2nprlTYybS1b60-272">
<mxGeometry y="36.720001220703125" width="120" height="29" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-275" value="PersonSensor" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=28.720001220703125;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=0;marginBottom=0;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="391" y="1154" width="115" height="65.72000122070312" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-276" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="N3lR1C2nprlTYybS1b60-275">
<mxGeometry y="28.720001220703125" width="115" height="8" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-277" value="+getCount()" style="text;strokeColor=#d79b00;fillColor=#ffe6cc;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="N3lR1C2nprlTYybS1b60-275">
<mxGeometry y="36.720001220703125" width="115" height="29" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-278" value="VehicleSensorAdapter" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=31.399998982747395;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=0;marginBottom=0;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="60" y="990" width="228" height="101.39999898274739" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-279" value="-vehicleSensor: VehicleSensor" style="text;strokeColor=#d79b00;fillColor=#ffe6cc;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="N3lR1C2nprlTYybS1b60-278">
<mxGeometry y="31.399998982747395" width="228" height="31" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-280" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="N3lR1C2nprlTYybS1b60-278">
<mxGeometry y="62.39999898274739" width="228" height="8" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-281" value="+getData(): RawData" style="text;strokeColor=#d79b00;fillColor=#ffe6cc;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="N3lR1C2nprlTYybS1b60-278">
<mxGeometry y="70.39999898274739" width="228" height="31" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-282" value="PersonSensorAdapter" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=31.399998982747395;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=0;marginBottom=0;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="338" y="990" width="220" height="101.39999898274739" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-283" value="-personSensor: PersonSensor" style="text;strokeColor=#d79b00;fillColor=#ffe6cc;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="N3lR1C2nprlTYybS1b60-282">
<mxGeometry y="31.399998982747395" width="220" height="31" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-284" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="N3lR1C2nprlTYybS1b60-282">
<mxGeometry y="62.39999898274739" width="220" height="8" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-285" value="+getData(): RawData" style="text;strokeColor=#d79b00;fillColor=#ffe6cc;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="N3lR1C2nprlTYybS1b60-282">
<mxGeometry y="70.39999898274739" width="220" height="31" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-286" value="DataPreprocessor" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=25.91111077202691;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=0;marginBottom=0;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="608" y="979" width="397" height="111.91111077202692" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-287" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="N3lR1C2nprlTYybS1b60-286">
<mxGeometry y="25.91111077202691" width="397" height="8" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-288" value="+interpolate(rawData: RawData): ProcessedData" style="text;strokeColor=#d79b00;fillColor=#ffe6cc;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="N3lR1C2nprlTYybS1b60-286">
<mxGeometry y="33.91111077202691" width="397" height="26" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-289" value="+removeOutliers(rawData: RawData): ProcessedData" style="text;strokeColor=#d79b00;fillColor=#ffe6cc;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="N3lR1C2nprlTYybS1b60-286">
<mxGeometry y="59.91111077202691" width="397" height="26" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-290" value="+normalizeData(rawData: RawData): ProcessedData" style="text;strokeColor=#d79b00;fillColor=#ffe6cc;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="N3lR1C2nprlTYybS1b60-286">
<mxGeometry y="85.91111077202692" width="397" height="26" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-291" value="ProcessedData" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=27.8;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=0;marginBottom=0;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="365" y="630" width="187" height="147.8" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-292" value="-vehicleCount: int" style="text;strokeColor=#d79b00;fillColor=#ffe6cc;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="N3lR1C2nprlTYybS1b60-291">
<mxGeometry y="27.8" width="187" height="28" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-293" value="-personCount: int" style="text;strokeColor=#d79b00;fillColor=#ffe6cc;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="N3lR1C2nprlTYybS1b60-291">
<mxGeometry y="55.8" width="187" height="28" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-294" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="N3lR1C2nprlTYybS1b60-291">
<mxGeometry y="83.8" width="187" height="8" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-295" value="+getVehicleCount(): int" style="text;strokeColor=#d79b00;fillColor=#ffe6cc;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="N3lR1C2nprlTYybS1b60-291">
<mxGeometry y="91.8" width="187" height="28" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-296" value="+getPersonCount(): int" style="text;strokeColor=#d79b00;fillColor=#ffe6cc;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="N3lR1C2nprlTYybS1b60-291">
<mxGeometry y="119.8" width="187" height="28" as="geometry" />
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-297" value="" style="curved=1;dashed=1;startArrow=block;startSize=16;startFill=0;endArrow=none;exitX=-0.002255193965951192;exitY=0.6287455953311372;entryX=0.5009697027373732;entryY=0.0039215461880553;rounded=0;strokeWidth=2;" edge="1" parent="1" source="N3lR1C2nprlTYybS1b60-269" target="N3lR1C2nprlTYybS1b60-278">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="174" y="954" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-298" value="" style="curved=1;dashed=1;startArrow=block;startSize=16;startFill=0;endArrow=none;exitX=0.4303236763421146;exitY=1.0019607543945312;entryX=0.502073842828924;entryY=0.0039215461880553;rounded=0;strokeWidth=2;" edge="1" parent="1" source="N3lR1C2nprlTYybS1b60-269" target="N3lR1C2nprlTYybS1b60-282">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="448" y="954" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-299" value="" style="curved=1;dashed=1;startArrow=block;startSize=16;startFill=0;endArrow=none;exitX=1.001353037726019;exitY=0.7036852334506716;entryX=0.1966009007178729;entryY=0.0015999755859375;rounded=0;strokeWidth=2;" edge="1" parent="1" source="N3lR1C2nprlTYybS1b60-269" target="N3lR1C2nprlTYybS1b60-286">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="638" y="954" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-300" value="" style="curved=1;startArrow=none;endArrow=open;endSize=12;exitX=0.5009697027373732;exitY=1.0058823005825865;entryX=0.5018424352010091;entryY=-0.0025000572204589844;rounded=0;strokeWidth=2;" edge="1" parent="1" source="N3lR1C2nprlTYybS1b60-278" target="N3lR1C2nprlTYybS1b60-272">
<mxGeometry relative="1" as="geometry">
<Array as="points" />
</mxGeometry>
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-301" value="" style="curved=1;startArrow=none;endArrow=open;endSize=12;exitX=0.502073842828924;exitY=1.0058823005825865;entryX=0.4996195254118546;entryY=-0.0025000572204589844;rounded=0;strokeWidth=2;" edge="1" parent="1" source="N3lR1C2nprlTYybS1b60-282" target="N3lR1C2nprlTYybS1b60-275">
<mxGeometry relative="1" as="geometry">
<Array as="points" />
</mxGeometry>
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-302" value="" style="curved=1;startArrow=none;endArrow=open;endSize=12;exitX=0.5186407176045371;exitY=0.0015999755859375;entryX=1.001353037726019;entryY=0.6023328053239684;rounded=0;strokeWidth=2;" edge="1" parent="1" source="N3lR1C2nprlTYybS1b60-286" target="N3lR1C2nprlTYybS1b60-269">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="817" y="954" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="N3lR1C2nprlTYybS1b60-303" value="" style="curved=1;startArrow=none;endArrow=open;endSize=12;exitX=0.49976601830140793;exitY=1;entryX=0.4995489218800338;entryY=0;rounded=0;strokeWidth=2;" edge="1" parent="1" source="N3lR1C2nprlTYybS1b60-291" target="N3lR1C2nprlTYybS1b60-269">
<mxGeometry relative="1" as="geometry">
<Array as="points" />
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>