Compare commits

..

No commits in common. '227ba9dba83d877c00e1b3d00202a5f9892a9a07' and '0e115f34d2424e5f56c5d0cac7021f9ea2b4db88' have entirely different histories.

@ -358,7 +358,7 @@ Step 2.5: if c == CMD_PRINT then 打印数据
Step 2.6:
![picture-main.draw](/picture-main.drawio.svg)
![主程序流程图](images/main.drawio.svg)
#### save_data
@ -370,7 +370,7 @@ Step 4: 将所有库存记录写入文件
Step 5: 关闭文件
![picture-save.draw](/picture-save.drawio.svg)
![保存数据流程图](images/save_data.drawio.svg)
#### add_data
@ -381,7 +381,7 @@ Step 4: 输入学生名和学生数量
Step 5: 添加新学生到数据
Step 6: 提示添加成功
![picture-add](/picture-add.drawio.svg)
![添加库存记录流程图](images/add_data.drawio.svg)
### query_data

@ -1,111 +0,0 @@
<mxfile host="65bd71144e">
<diagram id="5sBLNUMCJy76M6u4WCoL" name="Page-1">
<mxGraphModel dx="917" dy="664" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" background="#ffffff" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="3" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontColor=#000000;strokeColor=#000000;" parent="1" source="2" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="170" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="2" value="add_data" style="ellipse;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="70" y="60" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="5" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="4" target="6" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="300" y="210" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="8" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="4" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="290" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="4" value="数据库满?" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="55" y="170" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="25" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="6" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="810" as="targetPoint"/>
<Array as="points">
<mxPoint x="470" y="210"/>
<mxPoint x="470" y="810"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="6" value="提示数据库满" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="280" y="180" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="7" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="225" y="175" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="9" value="N" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="135" y="255" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="11" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="10" target="12" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="410" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="10" value="输入图书编号" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="55" y="290" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="13" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="12" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="280" y="430" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="16" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="12" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="510" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="12" value="图书编号存在?" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="55" y="390" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="26" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="14" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="470" y="430" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="14" value="提示图书已存在" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="280" y="400" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="15" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="225" y="405" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="17" value="N" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="135" y="475" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="19" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="18" target="20" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="630" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="18" value="输入图书编号和数量" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="55" y="510" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="21" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="20" target="22" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="720" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="20" value="添加新图书到数据" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="55" y="610" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="23" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="22" target="24" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="820" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="22" value="提示添加成功" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="55" y="710" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="24" value="" style="ellipse;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="70" y="820" width="120" height="80" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

@ -1,312 +0,0 @@
<mxfile host="65bd71144e">
<diagram id="Ve7y_Xmv1_xOL1hUhJ5_" name="Page-1">
<mxGraphModel dx="917" dy="1764" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" background="#ffffff" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="3" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontColor=#000000;labelBackgroundColor=#FAFAFA;strokeColor=#000000;" edge="1" parent="1" source="2">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="180" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="2" value="init" style="ellipse;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#000000;labelBackgroundColor=#FFFFFF;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="80" y="60" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="5" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="4" target="6">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="280" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="4" value="显示菜单" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="80" y="180" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="9" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="6">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="370" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="6" value="选择菜单命令" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="80" y="280" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="8" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="7" target="2">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="7" value="main" style="ellipse;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="80" y="-50" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="11" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="10">
<mxGeometry relative="1" as="geometry">
<mxPoint x="310" y="410" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="12" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="10" target="13">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="490" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="10" value="读取数据" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="370" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="14" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="13">
<mxGeometry relative="1" as="geometry">
<mxPoint x="310" y="520" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="15" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="13">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="600" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="13" value="保存数据" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="480" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="17" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="16">
<mxGeometry relative="1" as="geometry">
<mxPoint x="310" y="640" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="18" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="16">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="710" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="16" value="打印数据" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="600" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="20" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="19">
<mxGeometry relative="1" as="geometry">
<mxPoint x="310" y="750" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="21" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="19">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="830" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="19" value="查询数据" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="710" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="23" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="22">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="940" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="24" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="22">
<mxGeometry relative="1" as="geometry">
<mxPoint x="310" y="870" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="22" value="添加数据" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="830" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="26" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="25">
<mxGeometry relative="1" as="geometry">
<mxPoint x="310" y="980" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="27" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="25" target="28">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="1050" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="25" value="更新数据" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="940" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="29" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="28">
<mxGeometry relative="1" as="geometry">
<mxPoint x="310" y="1090" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="30" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="28" target="31">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="1160" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="28" value="删除数据" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="1050" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="32" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="31">
<mxGeometry relative="1" as="geometry">
<mxPoint x="310" y="1200" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="33" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="31">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="1270" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="31" value="对数据排序" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="1160" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="35" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="34">
<mxGeometry relative="1" as="geometry">
<mxPoint x="310" y="1310" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="45" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="34">
<mxGeometry relative="1" as="geometry">
<mxPoint x="310" y="1410" as="targetPoint"/>
<Array as="points">
<mxPoint x="140" y="1410"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="46" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="34">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="1450" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="34" value="生成图表报表" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="1270" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="68" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="36">
<mxGeometry relative="1" as="geometry">
<mxPoint x="490" y="410" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="36" value="read_data" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="310" y="380" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="69" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="37">
<mxGeometry relative="1" as="geometry">
<mxPoint x="490" y="520" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="37" value="save_data" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="310" y="490" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="70" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="38">
<mxGeometry relative="1" as="geometry">
<mxPoint x="490" y="640" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="38" value="print_data" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="310" y="610" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="71" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="39">
<mxGeometry relative="1" as="geometry">
<mxPoint x="490" y="750" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="39" value="query_data" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="310" y="720" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="72" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="40">
<mxGeometry relative="1" as="geometry">
<mxPoint x="490" y="870" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="40" value="add_data" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="310" y="840" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="73" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="41">
<mxGeometry relative="1" as="geometry">
<mxPoint x="490" y="980" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="41" value="update_data" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="310" y="950" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="74" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="42">
<mxGeometry relative="1" as="geometry">
<mxPoint x="490" y="1090" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="42" value="delete_data" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="310" y="1060" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="75" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="43">
<mxGeometry relative="1" as="geometry">
<mxPoint x="490" y="1200" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="43" value="sort_data" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="310" y="1170" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="76" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="44">
<mxGeometry relative="1" as="geometry">
<mxPoint x="490" y="1310" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="44" value="make_chart" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="310" y="1280" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="77" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="48">
<mxGeometry relative="1" as="geometry">
<mxPoint x="490" y="1410" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="48" value="命令错误,重新选择" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="310" y="1380" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="50" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="49" target="51">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="1560" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="66" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="49">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="160" as="targetPoint"/>
<Array as="points">
<mxPoint x="490" y="1490"/>
<mxPoint x="490" y="160"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="49" value="确定退出" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="1450" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="52" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="51" target="53">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="1640" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="51" value="quit" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="80" y="1560" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="53" value="" style="ellipse;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="80" y="1640" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="54" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="245" y="385" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="55" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="245" y="495" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="56" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="245" y="605" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="57" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="245" y="725" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="58" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="245" y="850" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="59" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="245" y="955" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="60" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="245" y="1065" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="61" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="245" y="1175" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="62" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="245" y="1285" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="63" value="N" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="245" y="1385" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="64" value="N" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="150" y="1370" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="65" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="145" y="1415" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="67" value="N" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="215" y="1455" width="30" height="30" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

@ -1,76 +0,0 @@
<mxfile host="65bd71144e">
<diagram id="gGfFuJy0CrLTynzOE54l" name="Page-1">
<mxGraphModel dx="917" dy="664" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" background="#ffffff" 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;fontColor=#000000;strokeColor=#000000;" edge="1" parent="1" source="3">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="470" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="3" value="save_data" style="ellipse;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="80" y="350" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="6" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="5" target="7">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="580" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="5" value="输入文件名" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="470" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="8" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="7">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="690" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="14" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="7">
<mxGeometry relative="1" as="geometry">
<mxPoint x="300" y="620" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="7" value="打开文件" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="580" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="10" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="9">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="800" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="9" value="将所有库存记录写入文件" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="690" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="12" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="11" target="13">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="910" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="11" value="关闭文件" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="800" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="13" value="" style="ellipse;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="80" y="900" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="18" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="15">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="890" as="targetPoint"/>
<Array as="points">
<mxPoint x="460" y="620"/>
<mxPoint x="460" y="890"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="15" value="提示打开文件失败" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="300" y="590" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="16" value="N" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="235" y="595" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="17" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="150" y="660" width="30" height="30" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
Loading…
Cancel
Save