|
1 |
| -<mxfile host="Electron" modified="2025-01-18T04:50:04.830Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/21.2.1 Chrome/112.0.5615.87 Electron/24.1.2 Safari/537.36" etag="pqYs0wU_KYr6dbkVGuE0" version="21.2.1" type="device"> |
| 1 | +<mxfile host="Electron" modified="2025-02-28T07:26:44.008Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.2.5 Chrome/120.0.6099.109 Electron/28.1.0 Safari/537.36" etag="cyMs0HYJES8RfmmC9SH7" version="24.2.5" type="device"> |
2 | 2 | <diagram name="Page-1" id="BROWTK-tv3HINJJnRvhU">
|
3 |
| - <mxGraphModel dx="2398" dy="929" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0"> |
| 3 | + <mxGraphModel dx="2924" dy="1204" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0"> |
4 | 4 | <root>
|
5 | 5 | <mxCell id="0" />
|
6 | 6 | <mxCell id="1" parent="0" />
|
7 |
| - <mxCell id="bSppNkpc9tK16JuNjW37-8" value="Server Application" style="rounded=1;whiteSpace=wrap;html=1;fontSize=32;horizontal=0;verticalAlign=top;" vertex="1" parent="1"> |
8 |
| - <mxGeometry x="260" y="90" width="570" height="630" as="geometry" /> |
| 7 | + <mxCell id="_VD7dqKGONi1E9zeLE5r-3" value="Server Appication<br>as<div>TCP Server</div>" style="rounded=1;whiteSpace=wrap;html=1;align=right;fontSize=24;fillColor=#f5f5f5;fontColor=#67AB9F;strokeColor=#666666;" parent="1" vertex="1"> |
| 8 | + <mxGeometry x="-40" y="1060" width="710" height="260" as="geometry" /> |
9 | 9 | </mxCell>
|
10 |
| - <mxCell id="bSppNkpc9tK16JuNjW37-6" value="<font style="font-size: 32px;">CSM Module System</font>" style="rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontSize=27;" vertex="1" parent="1"> |
11 |
| - <mxGeometry x="330" y="140" width="450" height="340" as="geometry" /> |
| 10 | + <mxCell id="bSppNkpc9tK16JuNjW37-8" value="Server Application" style="rounded=1;whiteSpace=wrap;html=1;fontSize=32;horizontal=0;verticalAlign=top;" parent="1" vertex="1"> |
| 11 | + <mxGeometry x="250" y="70" width="570" height="630" as="geometry" /> |
12 | 12 | </mxCell>
|
13 |
| - <mxCell id="bSppNkpc9tK16JuNjW37-1" value="AI (CSM Module1)" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1"> |
14 |
| - <mxGeometry x="380" y="210" width="170" height="110" as="geometry" /> |
| 13 | + <mxCell id="bSppNkpc9tK16JuNjW37-6" value="<font style="font-size: 32px;">CSM Module System</font>" style="rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontSize=27;" parent="1" vertex="1"> |
| 14 | + <mxGeometry x="320" y="120" width="450" height="340" as="geometry" /> |
15 | 15 | </mxCell>
|
16 |
| - <mxCell id="bSppNkpc9tK16JuNjW37-2" value="DIO1 (CSM Module2)" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1"> |
17 |
| - <mxGeometry x="380" y="330" width="170" height="110" as="geometry" /> |
| 16 | + <mxCell id="bSppNkpc9tK16JuNjW37-1" value="AI (CSM Module1)" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1"> |
| 17 | + <mxGeometry x="370" y="190" width="170" height="110" as="geometry" /> |
18 | 18 | </mxCell>
|
19 |
| - <mxCell id="bSppNkpc9tK16JuNjW37-3" value="DIO1 (CSM Module3)" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1"> |
20 |
| - <mxGeometry x="560" y="210" width="170" height="110" as="geometry" /> |
| 19 | + <mxCell id="bSppNkpc9tK16JuNjW37-2" value="DIO1 (CSM Module2)" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1"> |
| 20 | + <mxGeometry x="370" y="310" width="170" height="110" as="geometry" /> |
21 | 21 | </mxCell>
|
22 |
| - <mxCell id="bSppNkpc9tK16JuNjW37-4" value="Measure (CSM Module4)" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1"> |
23 |
| - <mxGeometry x="560" y="330" width="170" height="110" as="geometry" /> |
| 22 | + <mxCell id="bSppNkpc9tK16JuNjW37-3" value="DIO1 (CSM Module3)" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1"> |
| 23 | + <mxGeometry x="550" y="190" width="170" height="110" as="geometry" /> |
24 | 24 | </mxCell>
|
25 |
| - <mxCell id="bSppNkpc9tK16JuNjW37-7" value="CSM TCP Router&nbsp;<br style="font-size: 32px;">(based on JKI TCP Server)" style="rounded=1;whiteSpace=wrap;html=1;fontSize=32;" vertex="1" parent="1"> |
26 |
| - <mxGeometry x="330" y="580" width="450" height="100" as="geometry" /> |
| 25 | + <mxCell id="bSppNkpc9tK16JuNjW37-4" value="Measure (CSM Module4)" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1"> |
| 26 | + <mxGeometry x="550" y="310" width="170" height="110" as="geometry" /> |
27 | 27 | </mxCell>
|
28 |
| - <mxCell id="bSppNkpc9tK16JuNjW37-9" value="Client Application" style="rounded=1;whiteSpace=wrap;html=1;horizontal=0;verticalAlign=bottom;fontSize=32;" vertex="1" parent="1"> |
29 |
| - <mxGeometry x="-320" y="100" width="470" height="620" as="geometry" /> |
| 28 | + <mxCell id="bSppNkpc9tK16JuNjW37-7" value="CSM TCP Router&nbsp;<br style="font-size: 32px;">(based on JKI TCP Server)" style="rounded=1;whiteSpace=wrap;html=1;fontSize=32;" parent="1" vertex="1"> |
| 29 | + <mxGeometry x="320" y="560" width="450" height="100" as="geometry" /> |
30 | 30 | </mxCell>
|
31 |
| - <mxCell id="bSppNkpc9tK16JuNjW37-11" value="<h1 style="border-color: var(--border-color); text-align: left; background-color: rgb(251, 251, 251);">Server&nbsp;&nbsp;CSM Command</h1>" style="shape=flexArrow;endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="bSppNkpc9tK16JuNjW37-7" target="bSppNkpc9tK16JuNjW37-6"> |
| 31 | + <mxCell id="bSppNkpc9tK16JuNjW37-9" value="Client Application" style="rounded=1;whiteSpace=wrap;html=1;horizontal=0;verticalAlign=bottom;fontSize=32;" parent="1" vertex="1"> |
| 32 | + <mxGeometry x="-330" y="80" width="470" height="620" as="geometry" /> |
| 33 | + </mxCell> |
| 34 | + <mxCell id="bSppNkpc9tK16JuNjW37-11" value="<h1 style="border-color: var(--border-color); text-align: left; background-color: rgb(251, 251, 251);">Server&nbsp;&nbsp;CSM Command</h1>" style="shape=flexArrow;endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="1" source="bSppNkpc9tK16JuNjW37-7" target="bSppNkpc9tK16JuNjW37-6" edge="1"> |
32 | 35 | <mxGeometry y="25" width="50" height="50" relative="1" as="geometry">
|
33 |
| - <mxPoint x="510" y="560" as="sourcePoint" /> |
34 |
| - <mxPoint x="555" y="510" as="targetPoint" /> |
| 36 | + <mxPoint x="500" y="540" as="sourcePoint" /> |
| 37 | + <mxPoint x="545" y="490" as="targetPoint" /> |
35 | 38 | <mxPoint as="offset" />
|
36 | 39 | </mxGeometry>
|
37 | 40 | </mxCell>
|
38 |
| - <mxCell id="bSppNkpc9tK16JuNjW37-14" value="" style="shape=flexArrow;endArrow=classic;html=1;rounded=0;entryX=-0.002;entryY=0.84;entryDx=0;entryDy=0;entryPerimeter=0;endWidth=55;endSize=19.44;" edge="1" parent="1" target="bSppNkpc9tK16JuNjW37-8"> |
| 41 | + <mxCell id="bSppNkpc9tK16JuNjW37-14" value="" style="shape=flexArrow;endArrow=classic;html=1;rounded=0;entryX=-0.002;entryY=0.84;entryDx=0;entryDy=0;entryPerimeter=0;endWidth=55;endSize=19.44;" parent="1" target="bSppNkpc9tK16JuNjW37-8" edge="1"> |
39 | 42 | <mxGeometry width="50" height="50" relative="1" as="geometry">
|
40 |
| - <mxPoint x="150" y="619" as="sourcePoint" /> |
41 |
| - <mxPoint x="200" y="610" as="targetPoint" /> |
| 43 | + <mxPoint x="140" y="599" as="sourcePoint" /> |
| 44 | + <mxPoint x="190" y="590" as="targetPoint" /> |
42 | 45 | </mxGeometry>
|
43 | 46 | </mxCell>
|
44 |
| - <mxCell id="bSppNkpc9tK16JuNjW37-15" value="<h1>Server Build-in Command</h1><div></div>CSM TCP Router 定义的指令,用于管理和显示帮助<ul><li>List: 列出所有的 CSM 模块</li><li>List API: 列出CSM 模块的参数</li><li>Help: 显示CSM模块的帮助(VI Description)</li></ul><p></p><p><br></p>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;" vertex="1" parent="1"> |
45 |
| - <mxGeometry x="-290" y="320" width="340" height="160" as="geometry" /> |
| 47 | + <mxCell id="bSppNkpc9tK16JuNjW37-15" value="<h1>Server Build-in Command</h1><div></div>CSM TCP Router 定义的指令,用于管理和显示帮助<ul><li>List: 列出所有的 CSM 模块</li><li>List API: 列出CSM 模块的参数</li><li>Help: 显示CSM模块的帮助(VI Description)</li></ul><p></p><p><br></p>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;" parent="1" vertex="1"> |
| 48 | + <mxGeometry x="-300" y="300" width="340" height="160" as="geometry" /> |
| 49 | + </mxCell> |
| 50 | + <mxCell id="bSppNkpc9tK16JuNjW37-16" value="<h1>Server<span style="background-color: initial; font-size: 12px; font-weight: normal;">&nbsp;&nbsp;</span>CSM Command</h1><div>由 CSM 模块定义的指令</div><p>CSM 的所有消息,都被转发到 CSM Modules 中执行,因此支持的消息种类,由Server 中的CSM Module System 中的CSM模块决定</p>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;" parent="1" vertex="1"> |
| 51 | + <mxGeometry x="-300" y="490" width="340" height="160" as="geometry" /> |
| 52 | + </mxCell> |
| 53 | + <mxCell id="bSppNkpc9tK16JuNjW37-17" value="<h1>Client-Def Command</h1><div>Client 定义的本地指令,和server无关</div><p></p><ul><li>Switch: 切换发送的CSM模块,节省键入CSM模块名称</li><li>Script: 导入执行 scipt 文本</li></ul>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;" parent="1" vertex="1"> |
| 54 | + <mxGeometry x="-300" y="110" width="340" height="160" as="geometry" /> |
| 55 | + </mxCell> |
| 56 | + <mxCell id="_VD7dqKGONi1E9zeLE5r-1" value="TCP Layer( Reusable)" style="rounded=1;whiteSpace=wrap;html=1;fontSize=24;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=#67AB9F;" parent="1" vertex="1"> |
| 57 | + <mxGeometry x="-10" y="1090" width="460" height="60" as="geometry" /> |
| 58 | + </mxCell> |
| 59 | + <mxCell id="_VD7dqKGONi1E9zeLE5r-2" value="<span style="font-size: 24px;">Code Based CSM Framework</span><div><span style="font-size: 24px;">(Based on the Requirements)</span></div>" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontColor=#67AB9F;" parent="1" vertex="1"> |
| 60 | + <mxGeometry x="-10" y="1160" width="460" height="140" as="geometry" /> |
| 61 | + </mxCell> |
| 62 | + <mxCell id="_VD7dqKGONi1E9zeLE5r-10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;strokeWidth=4;dashed=1;strokeColor=#97D077;" parent="1" source="_VD7dqKGONi1E9zeLE5r-4" target="_VD7dqKGONi1E9zeLE5r-1" edge="1"> |
| 63 | + <mxGeometry relative="1" as="geometry" /> |
| 64 | + </mxCell> |
| 65 | + <mxCell id="_VD7dqKGONi1E9zeLE5r-4" value="TCP Client" style="outlineConnect=0;dashed=0;verticalLabelPosition=top;verticalAlign=bottom;align=center;html=1;shape=mxgraph.aws3.management_console;fillColor=#D2D3D3;gradientColor=none;labelPosition=center;fontColor=#67AB9F;" parent="1" vertex="1"> |
| 66 | + <mxGeometry x="50" y="790" width="100" height="100" as="geometry" /> |
| 67 | + </mxCell> |
| 68 | + <mxCell id="_VD7dqKGONi1E9zeLE5r-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;strokeWidth=4;dashed=1;strokeColor=#97D077;" parent="1" source="_VD7dqKGONi1E9zeLE5r-5" target="_VD7dqKGONi1E9zeLE5r-1" edge="1"> |
| 69 | + <mxGeometry relative="1" as="geometry" /> |
| 70 | + </mxCell> |
| 71 | + <mxCell id="_VD7dqKGONi1E9zeLE5r-5" value="TCP Client" style="outlineConnect=0;dashed=0;verticalLabelPosition=top;verticalAlign=bottom;align=center;html=1;shape=mxgraph.aws3.management_console;fillColor=#D2D3D3;gradientColor=none;labelPosition=center;fontColor=#67AB9F;" parent="1" vertex="1"> |
| 72 | + <mxGeometry x="170" y="790" width="100" height="100" as="geometry" /> |
| 73 | + </mxCell> |
| 74 | + <mxCell id="_VD7dqKGONi1E9zeLE5r-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;strokeWidth=4;dashed=1;strokeColor=#97D077;" parent="1" source="_VD7dqKGONi1E9zeLE5r-6" target="_VD7dqKGONi1E9zeLE5r-1" edge="1"> |
| 75 | + <mxGeometry relative="1" as="geometry" /> |
46 | 76 | </mxCell>
|
47 |
| - <mxCell id="bSppNkpc9tK16JuNjW37-16" value="<h1>Server<span style="background-color: initial; font-size: 12px; font-weight: normal;">&nbsp;&nbsp;</span>CSM Command</h1><div>由 CSM 模块定义的指令</div><p>CSM 的所有消息,都被转发到 CSM Modules 中执行,因此支持的消息种类,由Server 中的CSM Module System 中的CSM模块决定</p>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;" vertex="1" parent="1"> |
48 |
| - <mxGeometry x="-290" y="510" width="340" height="160" as="geometry" /> |
| 77 | + <mxCell id="_VD7dqKGONi1E9zeLE5r-6" value="TCP Client" style="outlineConnect=0;dashed=0;verticalLabelPosition=top;verticalAlign=bottom;align=center;html=1;shape=mxgraph.aws3.management_console;fillColor=#D2D3D3;gradientColor=none;labelPosition=center;fontColor=#67AB9F;" parent="1" vertex="1"> |
| 78 | + <mxGeometry x="290" y="790" width="100" height="100" as="geometry" /> |
49 | 79 | </mxCell>
|
50 |
| - <mxCell id="bSppNkpc9tK16JuNjW37-17" value="<h1>Client-Def Command</h1><div>Client 定义的本地指令,和server无关</div><p></p><ul><li>Switch: 切换发送的CSM模块,节省键入CSM模块名称</li><li>Script: 导入执行 scipt 文本</li></ul>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;" vertex="1" parent="1"> |
51 |
| - <mxGeometry x="-290" y="130" width="340" height="160" as="geometry" /> |
| 80 | + <mxCell id="_VD7dqKGONi1E9zeLE5r-14" value="<h1 style="margin-top: 0px;">TCP Command</h1><p></p><ol style="font-size: 15px;"><li style=""><font style="font-size: 15px;">| Length(4 Bytes) | CSM Command(Text) |</font></li><li style=""><font style="font-size: 15px;">All CSM command from your code is supported</font></li><li style=""><font style="font-size: 15px;">System command provided by TCP Layer is supported<br>list/help/list api ...</font></li></ol><p style="font-size: 15px;"></p><p style="font-size: 15px;"><br></p>" style="text;html=1;whiteSpace=wrap;overflow=hidden;rounded=0;fontColor=#67AB9F;" parent="1" vertex="1"> |
| 81 | + <mxGeometry x="370" y="910" width="430" height="120" as="geometry" /> |
52 | 82 | </mxCell>
|
53 | 83 | </root>
|
54 | 84 | </mxGraphModel>
|
|
0 commit comments