Browse Source

- 删除了list命令
- 用select取代了list命令
又转不动了wcnm

NandHyf 1 year ago
parent
commit
7f115b581a

+ 0 - 202
Archived/KBC-chart.drawio

@@ -1,202 +0,0 @@
-<mxfile host="app.diagrams.net" modified="2023-10-19T08:27:22.379Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.46" etag="S_qfIjpJ4JBCC-FvRaBK" version="22.0.5" type="device">
-  <diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
-    <mxGraphModel dx="800" dy="443" 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="WIyWlLk6GJQsqaUBKTNV-0" />
-        <mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0" />
-        <mxCell id="nhFDIQsgN1y8CI52urcy-187" value="Class" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
-          <mxGeometry x="244" y="110" width="140" height="180" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-188" value="class_uid" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="nhFDIQsgN1y8CI52urcy-187" vertex="1">
-          <mxGeometry y="30" width="140" height="30" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-189" value="class_name" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="nhFDIQsgN1y8CI52urcy-187" vertex="1">
-          <mxGeometry y="60" width="140" height="30" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-193" value="used_board" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="nhFDIQsgN1y8CI52urcy-187" vertex="1">
-          <mxGeometry y="90" width="140" height="30" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-192" value="status" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="nhFDIQsgN1y8CI52urcy-187" vertex="1">
-          <mxGeometry y="120" width="140" height="30" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-191" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="nhFDIQsgN1y8CI52urcy-187" vertex="1">
-          <mxGeometry y="150" width="140" height="30" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-194" value="Board" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
-          <mxGeometry x="44" y="110" width="140" height="150" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-195" value="board_uid" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="nhFDIQsgN1y8CI52urcy-194" vertex="1">
-          <mxGeometry y="30" width="140" height="30" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-196" value="board_name" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="nhFDIQsgN1y8CI52urcy-194" vertex="1">
-          <mxGeometry y="60" width="140" height="30" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-198" value="status" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="nhFDIQsgN1y8CI52urcy-194" vertex="1">
-          <mxGeometry y="90" width="140" height="30" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-199" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="nhFDIQsgN1y8CI52urcy-194" vertex="1">
-          <mxGeometry y="120" width="140" height="30" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-201" value="Event" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
-          <mxGeometry x="444" y="110" width="140" height="330" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-202" value="event_uid" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="nhFDIQsgN1y8CI52urcy-201" vertex="1">
-          <mxGeometry y="30" width="140" height="30" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-203" value="event_name" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="nhFDIQsgN1y8CI52urcy-201" vertex="1">
-          <mxGeometry y="60" width="140" height="30" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-204" value="event_dscrp" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="nhFDIQsgN1y8CI52urcy-201" vertex="1">
-          <mxGeometry y="90" width="140" height="30" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-205" value="event_creator" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="nhFDIQsgN1y8CI52urcy-201" vertex="1">
-          <mxGeometry y="120" width="140" height="30" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-206" value="createdTime:datetime" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="nhFDIQsgN1y8CI52urcy-201" vertex="1">
-          <mxGeometry y="150" width="140" height="30" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-207" value="class_created" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="nhFDIQsgN1y8CI52urcy-201" vertex="1">
-          <mxGeometry y="180" width="140" height="30" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-212" value="ddlTime:datetime" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="nhFDIQsgN1y8CI52urcy-201" vertex="1">
-          <mxGeometry y="210" width="140" height="30" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-211" value="alertTime:alertFunc" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="nhFDIQsgN1y8CI52urcy-201" vertex="1">
-          <mxGeometry y="240" width="140" height="30" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-210" value="current_class" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="nhFDIQsgN1y8CI52urcy-201" vertex="1">
-          <mxGeometry y="270" width="140" height="30" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-213" value="status" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="nhFDIQsgN1y8CI52urcy-201" vertex="1">
-          <mxGeometry y="300" width="140" height="30" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-214" value="Stucked" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
-          <mxGeometry x="644" y="110" width="140" height="150" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-215" value="board_uid" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="nhFDIQsgN1y8CI52urcy-214" vertex="1">
-          <mxGeometry y="30" width="140" height="30" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-216" value="event_uid" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="nhFDIQsgN1y8CI52urcy-214" vertex="1">
-          <mxGeometry y="60" width="140" height="30" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-218" value="stucked_time:datetime" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="nhFDIQsgN1y8CI52urcy-214" vertex="1">
-          <mxGeometry y="90" width="140" height="30" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-219" value="solved_time:datetime" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="nhFDIQsgN1y8CI52urcy-214" vertex="1">
-          <mxGeometry y="120" width="140" height="30" as="geometry" />
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-230" value="" style="endArrow=oval;html=1;rounded=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;dashed=1;entryX=1.001;entryY=0.591;entryDx=0;entryDy=0;edgeStyle=orthogonalEdgeStyle;startArrow=oval;startFill=1;endFill=1;entryPerimeter=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="nhFDIQsgN1y8CI52urcy-193" target="nhFDIQsgN1y8CI52urcy-195" edge="1">
-          <mxGeometry width="50" height="50" relative="1" as="geometry">
-            <mxPoint x="200.35999999999999" y="218.04999999999998" as="sourcePoint" />
-            <mxPoint x="184" y="152" as="targetPoint" />
-          </mxGeometry>
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-231" value="" style="endArrow=oval;html=1;rounded=0;entryX=0.999;entryY=0.617;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;dashed=1;edgeStyle=orthogonalEdgeStyle;startArrow=oval;startFill=1;endFill=1;entryPerimeter=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="nhFDIQsgN1y8CI52urcy-210" target="nhFDIQsgN1y8CI52urcy-188" edge="1">
-          <mxGeometry width="50" height="50" relative="1" as="geometry">
-            <mxPoint x="354" y="300" as="sourcePoint" />
-            <mxPoint x="404" y="250" as="targetPoint" />
-            <Array as="points">
-              <mxPoint x="400" y="395" />
-              <mxPoint x="400" y="159" />
-              <mxPoint x="384" y="159" />
-            </Array>
-          </mxGeometry>
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-232" value="" style="endArrow=oval;html=1;rounded=0;dashed=1;endFill=1;startArrow=oval;startFill=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;edgeStyle=orthogonalEdgeStyle;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="nhFDIQsgN1y8CI52urcy-216" target="nhFDIQsgN1y8CI52urcy-202" edge="1">
-          <mxGeometry width="50" height="50" relative="1" as="geometry">
-            <mxPoint x="544" y="210" as="sourcePoint" />
-            <mxPoint x="594" y="160" as="targetPoint" />
-            <Array as="points">
-              <mxPoint x="614" y="185" />
-              <mxPoint x="614" y="155" />
-            </Array>
-          </mxGeometry>
-        </mxCell>
-        <mxCell id="nhFDIQsgN1y8CI52urcy-233" value="" style="endArrow=oval;startArrow=oval;html=1;rounded=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;edgeStyle=orthogonalEdgeStyle;startFill=1;endFill=1;dashed=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="nhFDIQsgN1y8CI52urcy-195" target="nhFDIQsgN1y8CI52urcy-215" edge="1">
-          <mxGeometry width="50" height="50" relative="1" as="geometry">
-            <mxPoint x="594" y="210" as="sourcePoint" />
-            <mxPoint x="644" y="160" as="targetPoint" />
-            <Array as="points">
-              <mxPoint x="214" y="150" />
-              <mxPoint x="214" y="80" />
-              <mxPoint x="624" y="80" />
-              <mxPoint x="624" y="155" />
-            </Array>
-          </mxGeometry>
-        </mxCell>
-        <mxCell id="Gs5nCNOHAZd9Ihr5n0aR-0" value="" style="endArrow=oval;html=1;rounded=0;entryX=0.999;entryY=0.302;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;dashed=1;edgeStyle=orthogonalEdgeStyle;endFill=1;entryPerimeter=0;startArrow=oval;startFill=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="nhFDIQsgN1y8CI52urcy-207" target="nhFDIQsgN1y8CI52urcy-188">
-          <mxGeometry width="50" height="50" relative="1" as="geometry">
-            <mxPoint x="300" y="410" as="sourcePoint" />
-            <mxPoint x="350" y="360" as="targetPoint" />
-          </mxGeometry>
-        </mxCell>
-        <mxCell id="Gs5nCNOHAZd9Ihr5n0aR-1" value="Controller" style="swimlane;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
-          <mxGeometry x="240" y="680" width="200" height="520" as="geometry" />
-        </mxCell>
-        <mxCell id="Gs5nCNOHAZd9Ihr5n0aR-20" value="transit = app_command&lt;br style=&quot;border-color: var(--border-color);&quot;&gt;+ dbType&lt;br style=&quot;border-color: var(--border-color);&quot;&gt;+dbPath" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="Gs5nCNOHAZd9Ihr5n0aR-1">
-          <mxGeometry x="40" y="90" width="120" height="60" as="geometry" />
-        </mxCell>
-        <mxCell id="Gs5nCNOHAZd9Ihr5n0aR-30" value="var" style="whiteSpace=wrap;html=1;rounded=0;" vertex="1" parent="Gs5nCNOHAZd9Ihr5n0aR-1">
-          <mxGeometry x="40" y="170" width="120" height="60" as="geometry" />
-        </mxCell>
-        <mxCell id="Gs5nCNOHAZd9Ihr5n0aR-2" value="Stateful" style="swimlane;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
-          <mxGeometry x="440" y="680" width="200" height="520" as="geometry" />
-        </mxCell>
-        <mxCell id="Gs5nCNOHAZd9Ihr5n0aR-24" value="exec()" style="whiteSpace=wrap;html=1;rounded=0;" vertex="1" parent="Gs5nCNOHAZd9Ihr5n0aR-2">
-          <mxGeometry x="40" y="90" width="120" height="60" as="geometry" />
-        </mxCell>
-        <mxCell id="Gs5nCNOHAZd9Ihr5n0aR-28" value="return" style="whiteSpace=wrap;html=1;rounded=0;" vertex="1" parent="Gs5nCNOHAZd9Ihr5n0aR-2">
-          <mxGeometry x="40" y="170" width="120" height="60" as="geometry" />
-        </mxCell>
-        <mxCell id="Gs5nCNOHAZd9Ihr5n0aR-3" value="Model" style="swimlane;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
-          <mxGeometry x="640" y="680" width="200" height="520" as="geometry" />
-        </mxCell>
-        <mxCell id="Gs5nCNOHAZd9Ihr5n0aR-26" value="modify model" style="whiteSpace=wrap;html=1;rounded=0;" vertex="1" parent="Gs5nCNOHAZd9Ihr5n0aR-3">
-          <mxGeometry x="40" y="90" width="120" height="60" as="geometry" />
-        </mxCell>
-        <mxCell id="Gs5nCNOHAZd9Ihr5n0aR-4" value="UI" style="swimlane;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
-          <mxGeometry x="40" y="680" width="200" height="520" as="geometry" />
-        </mxCell>
-        <mxCell id="Gs5nCNOHAZd9Ihr5n0aR-5" value="开始" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.terminator;whiteSpace=wrap;" vertex="1" parent="Gs5nCNOHAZd9Ihr5n0aR-4">
-          <mxGeometry x="50" y="40" width="100" height="60" as="geometry" />
-        </mxCell>
-        <mxCell id="Gs5nCNOHAZd9Ihr5n0aR-32" value="Refresh View" style="whiteSpace=wrap;html=1;rounded=0;" vertex="1" parent="Gs5nCNOHAZd9Ihr5n0aR-4">
-          <mxGeometry x="40" y="170" width="120" height="60" as="geometry" />
-        </mxCell>
-        <mxCell id="Gs5nCNOHAZd9Ihr5n0aR-6" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="Gs5nCNOHAZd9Ihr5n0aR-5" target="Gs5nCNOHAZd9Ihr5n0aR-20">
-          <mxGeometry relative="1" as="geometry">
-            <mxPoint x="260" y="800" as="targetPoint" />
-            <Array as="points">
-              <mxPoint x="140" y="800" />
-            </Array>
-          </mxGeometry>
-        </mxCell>
-        <mxCell id="Gs5nCNOHAZd9Ihr5n0aR-8" value="App command" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="Gs5nCNOHAZd9Ihr5n0aR-6">
-          <mxGeometry x="-0.0056" relative="1" as="geometry">
-            <mxPoint x="-14" as="offset" />
-          </mxGeometry>
-        </mxCell>
-        <mxCell id="Gs5nCNOHAZd9Ihr5n0aR-16" value="响应命令的逻辑" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
-          <mxGeometry x="40" y="650" width="100" height="30" as="geometry" />
-        </mxCell>
-        <mxCell id="Gs5nCNOHAZd9Ihr5n0aR-25" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="Gs5nCNOHAZd9Ihr5n0aR-20" target="Gs5nCNOHAZd9Ihr5n0aR-24">
-          <mxGeometry relative="1" as="geometry" />
-        </mxCell>
-        <mxCell id="Gs5nCNOHAZd9Ihr5n0aR-27" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="Gs5nCNOHAZd9Ihr5n0aR-24" target="Gs5nCNOHAZd9Ihr5n0aR-26">
-          <mxGeometry relative="1" as="geometry" />
-        </mxCell>
-        <mxCell id="Gs5nCNOHAZd9Ihr5n0aR-29" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="Gs5nCNOHAZd9Ihr5n0aR-26" target="Gs5nCNOHAZd9Ihr5n0aR-28">
-          <mxGeometry relative="1" as="geometry">
-            <mxPoint x="540" y="770" as="sourcePoint" />
-          </mxGeometry>
-        </mxCell>
-        <mxCell id="Gs5nCNOHAZd9Ihr5n0aR-31" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="Gs5nCNOHAZd9Ihr5n0aR-28" target="Gs5nCNOHAZd9Ihr5n0aR-30">
-          <mxGeometry relative="1" as="geometry" />
-        </mxCell>
-        <mxCell id="Gs5nCNOHAZd9Ihr5n0aR-33" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="Gs5nCNOHAZd9Ihr5n0aR-30" target="Gs5nCNOHAZd9Ihr5n0aR-32">
-          <mxGeometry relative="1" as="geometry" />
-        </mxCell>
-      </root>
-    </mxGraphModel>
-  </diagram>
-</mxfile>

BIN
Archived/command_struct.v1.0.png


BIN
command_structure_v2.0.png


BIN
command_structure_v4.0.png


+ 32 - 24
debug_backlog.md

@@ -23,15 +23,38 @@
 
 
 # ----- Reference for dev -----
-[list]
-> list board <boardName>
-SELECT
+[select]
+> /: select board <boardName>
+/<boardName>/: 
+
+> /: select class <className>
+> /: select event <eventName>
+<errCode_syntax>
+
+
+> /<boardName>/: select class <className>
+/<boardName>/<className>/: 
+
+> /<boardName>/: select event <eventName>
+/<boardName>/<className>/<eventName>/: 
+如果没有event(主要是没有class) -> errCode_not_existed
+是否在当前看板内创建事件并为其添加分类
+
+
+> /<boardName>/: select board <boardName>
+> /<boardName>/: ..
+/<boardName>/: 
+
+
+> /<boardName>/: select board <boardName2>
+/<boardName2>/: 
+
+> /<boardName>/: select board <boardName2>/<className>/<eventName>
+
+> /<boardName>/: select class <boardName2>/<className>
+
 
-> list class <className> in <boardName>
-SELECT 
 
-> list event -> err <errCode_syntax>: # 或者说这里该是事件详情吗?(展开事件那种)
-(展开事件详情)SELECT 
 
 [add]
 > add board <boardName>
@@ -55,13 +78,13 @@ is_exist()
         INSERT INTO Class VALUES
         (<class_name>, <used_board>, <status>)
 
-> add event <eventName> to <boardName>/<className>
+> add event <eventName> to <boardName>/<className> # className 做二级响应choose Class
 is_exist()
     y:
         <errCode_existed>
         "已有重复, 是否前往"y/n?
 
-    n: # 这里默认了一个意输错的异常处理: 如果boardName或者ClassName输错了则直接创建一个新的, 即"我们始终相信你知道自己在做什么"的原则
+    n: # 这里默认了一个意e输错的异常处理: 如果boardName或者ClassName输错了则直接创建一个新的, 即"我们始终相信你知道自己在做什么"的原则
         INSERT INTO Event VALUES
         (<EventName>, <event_dscrp>, <event_creator>, <createdTime>, <classCreated>, <ddlTime>, <alertTime>, <currentClass>, <status>)
 
@@ -111,21 +134,6 @@ b. currentPath: emm
 # 记得设置 currentPath = "/" 
 "SELECT name FROM sqlite_master WHERE type='table';"
 
-> <boardName>
-is_exist()
-
-    > <className>
-
-        > <eventName>
-
-> <boardName>/<className>
-
-> <boardName>/<className>/<eventName>
-
-> <className>/<eventName>
-> <eventName>
-<errCode_syntax>
-
 
 # ----- errCode 汇总 -----
 1. syntax_error

+ 5 - 6
dev_config.toml

@@ -8,23 +8,22 @@ displayTime = "utc+8"
 
 # ----- App Command to DB Syntax Translation -----
 [sqlite3]
-# app_command[0] -> command1
+# app_command[0]
 "/" = "SELECT name FROM sqlite_master WHERE type='table';"
-list = "SELECT "
+select = "SELECT "
 create = "CREATE "
 add = "INSERT INTO "
 edit = "UPDATE "
 delete = "UPDATE " # change stauts to "deleted"
 
-# app_command[1] -> obj1
+# app_command[1]
 board = "TABLE {tableName}({uid}, {objName}, {status})"
 class = "TABLE {tableName}({uid}, {objName}, {used_board}, {status})"
 event = "TABLE {tableName}({uid}, {objName}, {event_dscrp}, {event_creator}, {createdTime}, {class_created}, {ddlTime}, {alertTime}, {currentClass}, {status})"
-
+# "/" -> " " in Stateful
 stucked = "TABLE {tableName}({uid}, {event_uid}, {stucked_time}, {solved_time})"
 
-# app_command[2] -> tag
-"-name" = ""
+# app_command[3] && [4]
 "-d" = ""
 "-ddl" = ""
 to = "here is to"

BIN
tableDesign_v2.0.png


+ 29 - 0
test command.txt

@@ -0,0 +1,29 @@
+[list]
+list board
+
+[add]
+add board 测试看板1
+add class 测试类目1 to 测试看板1
+add class 测试类目1 to 测试看板2 # 此时的异常
+add event 测试事件1 to 测试看板1 / 测试类目1
+
+[edit]
+edit board 测试看板1 to 测试看板3
+edit board 测试看板1 to 测试看板4
+
+edit class 测试类目1 to 测试类目2
+edit class 测试看板1 to 测试类目3
+edit 
+
+[move]
+move events
+
+[delete]
+delete board
+
+[/]
+测试看板3
+
+测试看板3/测试类目2
+
+测试看板3