Skip to content

Commit 5804460

Browse files
committed
backup doc
1 parent c477ca8 commit 5804460

8 files changed

Lines changed: 121 additions & 2 deletions

.doc/.$CSM-TCP-Router.drawio.bkp

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
<mxfile host="Electron" modified="2025-01-18T04:49:51.208Z" 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="U4GdApsKHqageru5Hlf-" version="21.2.1" type="device">
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">
4+
<root>
5+
<mxCell id="0" />
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" />
9+
</mxCell>
10+
<mxCell id="bSppNkpc9tK16JuNjW37-6" value="&lt;font style=&quot;font-size: 32px;&quot;&gt;CSM Module System&lt;/font&gt;" 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" />
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" />
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" />
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" />
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" />
24+
</mxCell>
25+
<mxCell id="bSppNkpc9tK16JuNjW37-7" value="CSM TCP Router&amp;nbsp;&lt;br style=&quot;font-size: 32px;&quot;&gt;(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" />
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" />
30+
</mxCell>
31+
<mxCell id="bSppNkpc9tK16JuNjW37-11" value="&lt;h1 style=&quot;border-color: var(--border-color); text-align: left; background-color: rgb(251, 251, 251);&quot;&gt;Server&amp;nbsp;&amp;nbsp;CSM Command&lt;/h1&gt;" 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">
32+
<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" />
35+
<mxPoint as="offset" />
36+
</mxGeometry>
37+
</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">
39+
<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" />
42+
</mxGeometry>
43+
</mxCell>
44+
<mxCell id="bSppNkpc9tK16JuNjW37-15" value="&lt;h1&gt;Server Build-in Command&lt;/h1&gt;&lt;div&gt;&lt;/div&gt;CSM TCP Router 定义的指令,用于管理和显示帮助&lt;ul&gt;&lt;li&gt;List: 列出所有的 CSM 模块&lt;/li&gt;&lt;li&gt;List API: 列出CSM 模块的参数&lt;/li&gt;&lt;li&gt;Help: 显示CSM模块的帮助(VI Description)&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;" 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" />
46+
</mxCell>
47+
<mxCell id="bSppNkpc9tK16JuNjW37-16" value="&lt;h1&gt;Server&lt;span style=&quot;background-color: initial; font-size: 12px; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;CSM Command&lt;/h1&gt;&lt;div&gt;由 CSM 模块定义的指令&lt;/div&gt;&lt;p&gt;CSM 的所有消息,都被转发到 CSM Modules 中执行,因此支持的消息种类,由Server 中的CSM Module System 中的CSM模块决定&lt;/p&gt;" 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" />
49+
</mxCell>
50+
<mxCell id="bSppNkpc9tK16JuNjW37-17" value="&lt;h1&gt;Client-Def Command&lt;/h1&gt;&lt;div&gt;Client 定义的本地指令,和server无关&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Switch: 切换发送的CSM模块,节省键入CSM模块名称&lt;/li&gt;&lt;li&gt;Script: 导入执行 scipt 文本&lt;/li&gt;&lt;/ul&gt;" 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" />
52+
</mxCell>
53+
</root>
54+
</mxGraphModel>
55+
</diagram>
56+
</mxfile>
199 KB
Loading

.doc/CSM-TCP-Router Sever BD.png

237 KB
Loading

.doc/CSM-TCP-Router.drawio

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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">
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">
4+
<root>
5+
<mxCell id="0" />
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" />
9+
</mxCell>
10+
<mxCell id="bSppNkpc9tK16JuNjW37-6" value="&lt;font style=&quot;font-size: 32px;&quot;&gt;CSM Module System&lt;/font&gt;" 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" />
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" />
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" />
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" />
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" />
24+
</mxCell>
25+
<mxCell id="bSppNkpc9tK16JuNjW37-7" value="CSM TCP Router&amp;nbsp;&lt;br style=&quot;font-size: 32px;&quot;&gt;(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" />
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" />
30+
</mxCell>
31+
<mxCell id="bSppNkpc9tK16JuNjW37-11" value="&lt;h1 style=&quot;border-color: var(--border-color); text-align: left; background-color: rgb(251, 251, 251);&quot;&gt;Server&amp;nbsp;&amp;nbsp;CSM Command&lt;/h1&gt;" 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">
32+
<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" />
35+
<mxPoint as="offset" />
36+
</mxGeometry>
37+
</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">
39+
<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" />
42+
</mxGeometry>
43+
</mxCell>
44+
<mxCell id="bSppNkpc9tK16JuNjW37-15" value="&lt;h1&gt;Server Build-in Command&lt;/h1&gt;&lt;div&gt;&lt;/div&gt;CSM TCP Router 定义的指令,用于管理和显示帮助&lt;ul&gt;&lt;li&gt;List: 列出所有的 CSM 模块&lt;/li&gt;&lt;li&gt;List API: 列出CSM 模块的参数&lt;/li&gt;&lt;li&gt;Help: 显示CSM模块的帮助(VI Description)&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;" 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" />
46+
</mxCell>
47+
<mxCell id="bSppNkpc9tK16JuNjW37-16" value="&lt;h1&gt;Server&lt;span style=&quot;background-color: initial; font-size: 12px; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;CSM Command&lt;/h1&gt;&lt;div&gt;由 CSM 模块定义的指令&lt;/div&gt;&lt;p&gt;CSM 的所有消息,都被转发到 CSM Modules 中执行,因此支持的消息种类,由Server 中的CSM Module System 中的CSM模块决定&lt;/p&gt;" 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" />
49+
</mxCell>
50+
<mxCell id="bSppNkpc9tK16JuNjW37-17" value="&lt;h1&gt;Client-Def Command&lt;/h1&gt;&lt;div&gt;Client 定义的本地指令,和server无关&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Switch: 切换发送的CSM模块,节省键入CSM模块名称&lt;/li&gt;&lt;li&gt;Script: 导入执行 scipt 文本&lt;/li&gt;&lt;/ul&gt;" 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" />
52+
</mxCell>
53+
</root>
54+
</mxGraphModel>
55+
</diagram>
56+
</mxfile>

.doc/CSM-TCP-Router.drawio.png

114 KB
Loading

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1-
![image](https://github.com/NEVSTOP-LAB/CSM-Remote-Call-App/assets/8196752/b4e9ca97-3171-4793-b8ab-b4fb69098724)
1+
![image](.doc/CSM-TCP-Router.drawio.png)
2+
3+
**CSM-TCP-Router Server**
4+
5+
![CSM-TCP-Router Server BD](.doc/CSM-TCP-Router%20Sever%20BD.png)
6+
7+
**CSM-TCP-Router Client**
8+
9+
![CSM-TCP-Client-Console FP](.doc/CSM-TCP-Router%20Client%20Console%20FP.png)
210

3-
![image](https://github.com/NEVSTOP-LAB/CSM-Remote-Call-App/assets/8196752/ac438a36-2dc3-4dd4-aad2-d44caf842008)
411

512
Deps:
613

Server/CSM-TCP-Router(Server).vi

-8 Bytes
Binary file not shown.

Server/Connection Handler VI.vi

-12 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)