王意伟 2 years ago
parent c3898f9963
commit 0966db0d93

@ -285,3 +285,11 @@ Step 2: 打开文件
Step 3: if 打开文件失败 then 提示打开文件失败并结束 Step 3: if 打开文件失败 then 提示打开文件失败并结束
Step 4: 将所有库存记录写入文件 Step 4: 将所有库存记录写入文件
Step 5: 关闭文件 Step 5: 关闭文件
![](save_data.svg)
### print_data
### query_data
### add_data
### update_data
### delete_data
### sort_data
### make_chart

@ -0,0 +1,91 @@
<mxfile host="65bd71144e">
<diagram id="i68sKa4qSy_DR3-xR5vY" name="第 1 页">
<mxGraphModel dx="560" dy="527" 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="4" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="2" target="3">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="2" value="sava_data" style="ellipse;whiteSpace=wrap;html=1;align=center;" vertex="1" parent="1">
<mxGeometry x="90" y="90" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="6" value="" style="edgeStyle=none;html=1;" edge="1" parent="1" source="3">
<mxGeometry relative="1" as="geometry">
<mxPoint x="150" y="330" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="20" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="3">
<mxGeometry relative="1" as="geometry">
<mxPoint x="150" y="320" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="3" value="输入文件名" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="75" y="210" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="7" style="edgeStyle=none;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" edge="1" parent="1" source="5">
<mxGeometry relative="1" as="geometry">
<mxPoint x="150" y="330" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="9" value="" style="edgeStyle=none;html=1;" edge="1" parent="1" source="5" target="8">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="11" value="" style="edgeStyle=none;html=1;" edge="1" parent="1" source="5" target="10">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="5" value="打开文件" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="75" y="320" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="24" style="edgeStyle=none;html=1;" edge="1" parent="1" source="8">
<mxGeometry relative="1" as="geometry">
<mxPoint x="150" y="640" as="targetPoint"/>
<Array as="points">
<mxPoint x="470" y="360"/>
<mxPoint x="470" y="640"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="8" value="提示打开文件失败" style="whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="280" y="330" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="13" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;startArrow=none;" edge="1" parent="1" source="14">
<mxGeometry relative="1" as="geometry">
<mxPoint x="150" y="590" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="16" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="10">
<mxGeometry relative="1" as="geometry">
<mxPoint x="150" y="550" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="10" value="将所有成绩记录写入文件" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="70" y="440" width="160" height="80" as="geometry"/>
</mxCell>
<mxCell id="15" value="" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;endArrow=none;" edge="1" parent="1" source="10" target="14">
<mxGeometry relative="1" as="geometry">
<mxPoint x="150" y="520" as="sourcePoint"/>
<mxPoint x="150" y="590" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="17" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="14" target="18">
<mxGeometry relative="1" as="geometry">
<mxPoint x="150" y="660" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="14" value="关闭文件" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="65" y="550" width="170" height="80" as="geometry"/>
</mxCell>
<mxCell id="18" value="结束" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="90" y="660" width="120" height="70" as="geometry"/>
</mxCell>
<mxCell id="22" value="Y" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="140" y="400" width="60" height="30" as="geometry"/>
</mxCell>
<mxCell id="23" value="N" style="text;strokeColor=none;align=center;fillColor=none;html=1;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="220" y="330" width="60" height="30" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 13 KiB

Loading…
Cancel
Save