From 952f5eff251f7fea48c916cc3d063d78cf73a925 Mon Sep 17 00:00:00 2001 From: xiao dong <1844263540@qq.com> Date: Sun, 21 May 2023 15:04:11 +0800 Subject: [PATCH 1/6] confirm --- pictures/confirm.drawio.svg | 90 +++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 pictures/confirm.drawio.svg diff --git a/pictures/confirm.drawio.svg b/pictures/confirm.drawio.svg new file mode 100644 index 0000000..8dc9893 --- /dev/null +++ b/pictures/confirm.drawio.svg @@ -0,0 +1,90 @@ + + + + + + + + + + + confirm + + + + + + confirm + + + + + + + + + + + 提示确定要退出吗 + + + + + + 提示确定要退出吗 + + + + + + + + + + + 退出? + + + + + + 退出? + + + + + + + + + + + 确认 + + + + + + 确认 + + + + + + + + + + + + + + + + + + Text is not SVG - cannot display + + + + \ No newline at end of file From 5df5344798939af790bace7c656ec4bc47c5bc42 Mon Sep 17 00:00:00 2001 From: xiao dong <1844263540@qq.com> Date: Sun, 21 May 2023 15:04:45 +0800 Subject: [PATCH 2/6] confirm --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 2c307c0..157f9ff 100644 --- a/README.md +++ b/README.md @@ -347,3 +347,4 @@ Step 2.12: if c == CMD_QUIT then 退出 Step 1: 输出 确定要退出吗 Step 2: if 确认 then 退出 +![](pictures/confirm.drawio.svg) From e93fbab44e3ea3c16f47b9f776b32b357cf50fe9 Mon Sep 17 00:00:00 2001 From: huyunan <3313842905@qq.com> Date: Sun, 21 May 2023 15:12:18 +0800 Subject: [PATCH 3/6] data --- README.md | 18 +++-- data.drawio.svg | 170 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 178 insertions(+), 10 deletions(-) create mode 100644 data.drawio.svg diff --git a/README.md b/README.md index 7b0c3e6..b60fcfa 100644 --- a/README.md +++ b/README.md @@ -343,20 +343,18 @@ Step 2.12: if c == CMD_QUIT then 退出 ![](pictures/main_chart.drawio.svg) +#### save_data +Step 1: 输入文件名 +Step 2: 打开文件 +Step 3: if 打开文件失败 then 提示打开文件失败并结束 +Step 4: 将所有库存记录写入文件 +Step 5: 关闭文件 - +![](pictures/data.drawio.svg) #### make_chart Step 1: 读取文件 Step 2: 显示图表 -![](pictures/make_chart.drawio.svg) - - -#### confirm - -Step 1: 输出 确定要退出吗 -Step 2: if 确认 then 退出 - -![](pictures/confirm.drawio.svg) +![](pictures/make_chart.drawio.svg) \ No newline at end of file diff --git a/data.drawio.svg b/data.drawio.svg new file mode 100644 index 0000000..ce072f3 --- /dev/null +++ b/data.drawio.svg @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + save_data + + + + + + + save_data + + + + + + + + + + + + + + 输入文件名 + + + + + + + 输入文件名 + + + + + + + + + + + + + + 打开文件 + + + + + + + 打开文件 + + + + + + + + + + + + + + 打开文件成功? + + + + + + + 打开文件成功? + + + + + + + + + + + + + + + 把 + + + 所有库存记录写入文档 + + + + + + + + 把所有库存记录写入文档 + + + + + + + + + + + + + + + + 关闭文件 + + + + + + + 关闭文件 + + + + + + + + + + + + + + + + 提示打开文件失败 + + + + + + + 提示打开文件失败 + + + + + + + + + + Text is not SVG - cannot display + + + + \ No newline at end of file From a22c4c334ea5153d55d8e15ab1a1149dd233a210 Mon Sep 17 00:00:00 2001 From: huyunan <3313842905@qq.com> Date: Sun, 21 May 2023 15:12:33 +0800 Subject: [PATCH 4/6] data --- data.drawio.svg => pictures/data.drawio.svg | 125 +++++++++-------- pictures/read.drawio.svg | 144 ++++++++++++++++++++ 2 files changed, 205 insertions(+), 64 deletions(-) rename data.drawio.svg => pictures/data.drawio.svg (56%) create mode 100644 pictures/read.drawio.svg diff --git a/data.drawio.svg b/pictures/data.drawio.svg similarity index 56% rename from data.drawio.svg rename to pictures/data.drawio.svg index ce072f3..ae0dab7 100644 --- a/data.drawio.svg +++ b/pictures/data.drawio.svg @@ -1,13 +1,13 @@ - + - - - + + + - + @@ -17,147 +17,144 @@ - + save_data - - - + + + + + + + - + - 输入文件名 + 打开文件成功? - - 输入文件名 + + 打开文件成功? - - - + + + + + + + - + - - 打开文件 + + 关闭文件 - - 打开文件 + + 关闭文件 - - - + + + + + - + - 打开文件成功? + 提示打开文件失败 - - 打开文件成功? + + 提示打开文件失败 - - - + + + + - + - - - 把 - - - 所有库存记录写入文档 - - + + 输入文件名 + - - 把所有库存记录写入文档 + + 输入文件名 - - - - - + + + - - + + - - 关闭文件 - + 打开文件夹 - - 关闭文件 + + 打开文件夹 - - - - - + - + - 提示打开文件失败 + 把所有库存记录写入文件 - - 提示打开文件失败 + + 把所有库存记录写入文件 - diff --git a/pictures/read.drawio.svg b/pictures/read.drawio.svg new file mode 100644 index 0000000..1ef4a42 --- /dev/null +++ b/pictures/read.drawio.svg @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + read_data + + + + + + + read_data + + + + + + + + + + + + + + + + 打开文件 + + + + + + + 打开文件 + + + + + + + + + + + + + + + + 文件为空? + + + + + + + 文件为空? + + + + + + + + + + + + + + 读取文件 + + + + + + + 读取文件 + + + + + + + + + + + + + + 显示数据,记录 + + + + + + + 显示数据,记录 + + + + + + + + + + + + + + + 输入文件名 + + + + + + + 输入文件名 + + + + + + + + + Text is not SVG - cannot display + + + + \ No newline at end of file From 016902f583a53d148bf443db9d0bafd7742bc629 Mon Sep 17 00:00:00 2001 From: xiao dong <1844263540@qq.com> Date: Sun, 21 May 2023 15:14:08 +0800 Subject: [PATCH 5/6] 1 --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b60fcfa..de559bc 100644 --- a/README.md +++ b/README.md @@ -352,9 +352,11 @@ Step 4: 将所有库存记录写入文件 Step 5: 关闭文件 ![](pictures/data.drawio.svg) + #### make_chart Step 1: 读取文件 Step 2: 显示图表 -![](pictures/make_chart.drawio.svg) \ No newline at end of file +![](pictures/make_chart.drawio.svg) + From 97652a292de652e725da30ac7e1e2f0d29639af6 Mon Sep 17 00:00:00 2001 From: xiao dong <1844263540@qq.com> Date: Sun, 21 May 2023 15:15:28 +0800 Subject: [PATCH 6/6] confirm --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index de559bc..71898dc 100644 --- a/README.md +++ b/README.md @@ -360,3 +360,9 @@ Step 2: 显示图表 ![](pictures/make_chart.drawio.svg) +#### confirm + +Step 1: 输出 确定要退出吗 +Step 2: if 确认 then 退出 + +![](pictures/confirm.drawio.svg) \ No newline at end of file