EMS,硬件设计文件以及软件功能验证程序

This commit is contained in:
张鹏
2024-11-19 17:24:00 +08:00
parent 068b96a0ca
commit 3e80f8466a
351 changed files with 1109995 additions and 57 deletions

BIN
3.Document/EMS接口.xlsx Normal file

Binary file not shown.

View File

@@ -0,0 +1,102 @@
<mxfile host="Electron" modified="2024-02-27T04:50:20.111Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/23.1.5 Chrome/120.0.6099.109 Electron/28.1.0 Safari/537.36" etag="K-gryP8AF-YbN9ktW9iI" version="23.1.5" type="device">
<diagram name="第 1 页" id="StER5yXRsaRphMbpVGWp">
<mxGraphModel dx="989" dy="582" 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="0" />
<mxCell id="1" parent="0" />
<mxCell id="MwPUREPPGs4Gp4KJim2g-28" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="MwPUREPPGs4Gp4KJim2g-1" target="MwPUREPPGs4Gp4KJim2g-2">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-1" value="开始" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="360" y="40" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-2" value="数据采集模块" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="360" y="200" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-3" value="PCS" 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;fontSize=14;" vertex="1" parent="1">
<mxGeometry y="320" width="240" height="230" as="geometry">
<mxRectangle x="650" y="295" width="60" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-4" value="直流侧分支电压/电流/功率" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-3">
<mxGeometry y="30" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-5" value="交流侧电压/电流/有功功率/无功功率" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-3">
<mxGeometry y="55" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-6" value="功率因数" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-3">
<mxGeometry y="80" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-9" value="频率&lt;span style=&quot;white-space: pre; font-size: 14px;&quot;&gt;&#x9;&lt;/span&gt;" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-3">
<mxGeometry y="105" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-10" value="温度" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-3">
<mxGeometry y="130" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-11" value="运行状态和模式" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-3">
<mxGeometry y="155" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-12" value="报警及故障信息" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-3">
<mxGeometry y="180" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-13" value="日/累计充电量、放电量" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-3">
<mxGeometry y="205" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-14" value="" style="group;fontSize=14;" vertex="1" connectable="0" parent="1">
<mxGeometry x="50" y="40" width="140" height="230" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-15" value="BMS&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;/div&gt;" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-14">
<mxGeometry width="140" height="230" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-16" value="电压" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-14">
<mxGeometry x="11.666666666666664" y="42.368421052631575" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-17" value="电流" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-14">
<mxGeometry x="11.666666666666664" y="66.57894736842105" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-18" value="温度" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-14">
<mxGeometry x="11.666666666666664" y="90.78947368421053" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-19" value="SOC" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-14">
<mxGeometry x="11.666666666666664" y="115" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-20" value="SOH" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-14">
<mxGeometry x="11.666666666666664" y="139.21052631578945" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-21" value="报警信息" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-14">
<mxGeometry x="11.666666666666664" y="163.42105263157896" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-22" value="历史信息" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-14">
<mxGeometry x="11.666666666666664" y="187.6315789473684" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-23" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="MwPUREPPGs4Gp4KJim2g-15" target="MwPUREPPGs4Gp4KJim2g-2">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="280" y="155" />
<mxPoint x="280" y="230" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-24" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" target="MwPUREPPGs4Gp4KJim2g-2">
<mxGeometry relative="1" as="geometry">
<mxPoint x="240" y="450" as="sourcePoint" />
<Array as="points">
<mxPoint x="240" y="450" />
<mxPoint x="280" y="450" />
<mxPoint x="280" y="230" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-27" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="MwPUREPPGs4Gp4KJim2g-25" target="MwPUREPPGs4Gp4KJim2g-2">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-25" value="消防数据" style="html=1;whiteSpace=wrap;container=1;recursiveResize=0;collapsible=0;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="560" y="195" width="160" height="70" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-26" value="" style="triangle;html=1;whiteSpace=wrap;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-25">
<mxGeometry x="20" y="20" width="20" height="30" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,63 @@
<mxfile host="Electron" modified="2024-02-27T01:58:41.551Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/23.1.5 Chrome/120.0.6099.109 Electron/28.1.0 Safari/537.36" etag="l4QeA0rWeucGa3lLUvSu" version="23.1.5" type="device">
<diagram name="第 1 页" id="ftT1DfmIoviXozPjJUjn">
<mxGraphModel dx="819" dy="482" 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="0" />
<mxCell id="1" parent="0" />
<mxCell id="NOo-vIapXB3uev-CWLWw-10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="NOo-vIapXB3uev-CWLWw-1" target="NOo-vIapXB3uev-CWLWw-7">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="NOo-vIapXB3uev-CWLWw-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="NOo-vIapXB3uev-CWLWw-1" target="NOo-vIapXB3uev-CWLWw-2">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="700" y="230" />
<mxPoint x="380" y="230" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="NOo-vIapXB3uev-CWLWw-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="NOo-vIapXB3uev-CWLWw-1" target="NOo-vIapXB3uev-CWLWw-4">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="700" y="230" />
<mxPoint x="540" y="230" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="NOo-vIapXB3uev-CWLWw-13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="NOo-vIapXB3uev-CWLWw-1" target="NOo-vIapXB3uev-CWLWw-8">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="700" y="230" />
<mxPoint x="860" y="230" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="NOo-vIapXB3uev-CWLWw-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="NOo-vIapXB3uev-CWLWw-1" target="NOo-vIapXB3uev-CWLWw-9">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="700" y="230" />
<mxPoint x="1020" y="230" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="NOo-vIapXB3uev-CWLWw-1" value="开始" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="640" y="120" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="NOo-vIapXB3uev-CWLWw-2" value="通信模块" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="320" y="280" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="NOo-vIapXB3uev-CWLWw-4" value="数据采集模块" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="480" y="280" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="NOo-vIapXB3uev-CWLWw-7" value="数据处理模块" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="640" y="280" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="NOo-vIapXB3uev-CWLWw-8" value="数据存储模块" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="800" y="280" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="NOo-vIapXB3uev-CWLWw-9" value="故障处理模块" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="960" y="280" width="120" height="60" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

View File

@@ -0,0 +1,86 @@
<mxfile host="Electron" modified="2024-02-27T04:42:23.695Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/23.1.5 Chrome/120.0.6099.109 Electron/28.1.0 Safari/537.36" etag="r6TYPNUMHQgbVP8x5j6Q" version="23.1.5" type="device">
<diagram name="第 1 页" id="wZXtJSTUOwxlKyad_IcY">
<mxGraphModel dx="1816" dy="582" 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="0" />
<mxCell id="1" parent="0" />
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-3" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="mfdwJJDZe7u5N-Mu5MIC-1" target="mfdwJJDZe7u5N-Mu5MIC-2">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-1" value="开始" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="360" y="80" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-14" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;shape=flexArrow;startArrow=block;" edge="1" parent="1" source="mfdwJJDZe7u5N-Mu5MIC-2" target="mfdwJJDZe7u5N-Mu5MIC-6">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-22" value="RS485" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="mfdwJJDZe7u5N-Mu5MIC-14">
<mxGeometry x="-0.1017" y="-2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;shape=flexArrow;startArrow=block;" edge="1" parent="1" source="mfdwJJDZe7u5N-Mu5MIC-2" target="mfdwJJDZe7u5N-Mu5MIC-4">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="40" y="270" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-20" value="MQTT4G" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="mfdwJJDZe7u5N-Mu5MIC-16">
<mxGeometry x="0.0528" y="-2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-17" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;shape=flexArrow;startArrow=block;" edge="1" parent="1" source="mfdwJJDZe7u5N-Mu5MIC-2" target="mfdwJJDZe7u5N-Mu5MIC-5">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="380" y="330" />
<mxPoint x="230" y="330" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-21" value="RS232" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="mfdwJJDZe7u5N-Mu5MIC-17">
<mxGeometry x="-0.0843" y="1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;shape=flexArrow;startArrow=block;" edge="1" parent="1" source="mfdwJJDZe7u5N-Mu5MIC-2" target="mfdwJJDZe7u5N-Mu5MIC-11">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="460" y="330" />
<mxPoint x="610" y="330" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-23" value="RS485" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="mfdwJJDZe7u5N-Mu5MIC-18">
<mxGeometry x="-0.1586" y="1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;shape=flexArrow;startArrow=block;" edge="1" parent="1" source="mfdwJJDZe7u5N-Mu5MIC-2" target="mfdwJJDZe7u5N-Mu5MIC-12">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-2" value="通信模块" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="360" y="240" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-15" value="" style="group" vertex="1" connectable="0" parent="1">
<mxGeometry x="-20" y="380" width="860" height="100" as="geometry" />
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-4" value="云平台" style="ellipse;shape=cloud;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="mfdwJJDZe7u5N-Mu5MIC-15">
<mxGeometry width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-5" value="显示屏" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;fontSize=14;" vertex="1" parent="mfdwJJDZe7u5N-Mu5MIC-15">
<mxGeometry x="190" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-6" value="BMS" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;" vertex="1" parent="mfdwJJDZe7u5N-Mu5MIC-15">
<mxGeometry x="410" width="60" height="80" as="geometry" />
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-11" value="PCS" style="shape=document;whiteSpace=wrap;html=1;boundedLbl=1;" vertex="1" parent="mfdwJJDZe7u5N-Mu5MIC-15">
<mxGeometry x="570" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-12" value="外部算法" style="shape=note;whiteSpace=wrap;html=1;backgroundOutline=1;darkOpacity=0.05;" vertex="1" parent="mfdwJJDZe7u5N-Mu5MIC-15">
<mxGeometry x="780" width="80" height="100" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,69 @@
<mxfile host="Electron" modified="2024-02-23T03:42:39.649Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/23.1.5 Chrome/120.0.6099.109 Electron/28.1.0 Safari/537.36" etag="la5LmbhIWGYRMnUgAcz9" version="23.1.5" type="device">
<diagram name="第 1 页" id="o40eKuZfAmv-pvZ0BMqk">
<mxGraphModel dx="1098" dy="1997" 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="0" />
<mxCell id="1" parent="0" />
<mxCell id="BLmQiMgbdmIIyh1eJDI9-1" value="决策调度" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="360" y="120" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="BLmQiMgbdmIIyh1eJDI9-2" value="BMS" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;" parent="1" vertex="1">
<mxGeometry x="220" y="110" width="60" height="80" as="geometry" />
</mxCell>
<mxCell id="BLmQiMgbdmIIyh1eJDI9-3" value="PCS" style="shape=internalStorage;whiteSpace=wrap;html=1;backgroundOutline=1;" parent="1" vertex="1">
<mxGeometry x="560" y="110" width="80" height="80" as="geometry" />
</mxCell>
<mxCell id="BLmQiMgbdmIIyh1eJDI9-4" value="" style="shape=flexArrow;endArrow=classic;html=1;rounded=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="BLmQiMgbdmIIyh1eJDI9-1" target="BLmQiMgbdmIIyh1eJDI9-2" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="340" y="240" as="sourcePoint" />
<mxPoint x="390" y="190" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="BLmQiMgbdmIIyh1eJDI9-6" value="RS485" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="BLmQiMgbdmIIyh1eJDI9-4" vertex="1" connectable="0">
<mxGeometry x="-0.045" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="BLmQiMgbdmIIyh1eJDI9-5" value="" style="shape=flexArrow;endArrow=classic;html=1;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="BLmQiMgbdmIIyh1eJDI9-1" target="BLmQiMgbdmIIyh1eJDI9-3" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="400" y="220" as="sourcePoint" />
<mxPoint x="320" y="220" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="BLmQiMgbdmIIyh1eJDI9-7" value="RS485" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="BLmQiMgbdmIIyh1eJDI9-5" vertex="1" connectable="0">
<mxGeometry x="-0.295" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="BLmQiMgbdmIIyh1eJDI9-8" value="云平台" style="ellipse;shape=cloud;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="360" y="-40" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="BLmQiMgbdmIIyh1eJDI9-9" value="" style="shape=flexArrow;endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" parent="1" source="BLmQiMgbdmIIyh1eJDI9-1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="340" y="110" as="sourcePoint" />
<mxPoint x="420" y="40" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="BLmQiMgbdmIIyh1eJDI9-10" value="MQTT4G" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="BLmQiMgbdmIIyh1eJDI9-9" vertex="1" connectable="0">
<mxGeometry x="0.2" y="1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="BLmQiMgbdmIIyh1eJDI9-11" value="显示屏" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;" parent="1" vertex="1">
<mxGeometry x="360" y="250" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="BLmQiMgbdmIIyh1eJDI9-12" value="" style="shape=flexArrow;endArrow=classic;html=1;rounded=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="BLmQiMgbdmIIyh1eJDI9-1" target="BLmQiMgbdmIIyh1eJDI9-11" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="420" y="190" as="sourcePoint" />
<mxPoint x="390" y="180" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="BLmQiMgbdmIIyh1eJDI9-13" value="RS232" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="BLmQiMgbdmIIyh1eJDI9-12" vertex="1" connectable="0">
<mxGeometry x="-0.3029" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

View File

@@ -0,0 +1,97 @@
<mxfile host="Electron" modified="2024-02-23T03:31:12.765Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/23.1.5 Chrome/120.0.6099.109 Electron/28.1.0 Safari/537.36" etag="8I0dJ4FLSCLv6WKDIUET" version="23.1.5" type="device">
<diagram name="第 1 页" id="j2pekVCHCiXTXO9xga9T">
<mxGraphModel dx="915" dy="690" 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="0" />
<mxCell id="1" parent="0" />
<mxCell id="BdiOioDjGQ_xy7A03iCK-4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="BdiOioDjGQ_xy7A03iCK-2" target="BdiOioDjGQ_xy7A03iCK-3">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="BdiOioDjGQ_xy7A03iCK-2" value="能源数据预处理数据" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="80" y="120" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="BdiOioDjGQ_xy7A03iCK-9" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="BdiOioDjGQ_xy7A03iCK-3" target="BdiOioDjGQ_xy7A03iCK-7">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="BdiOioDjGQ_xy7A03iCK-3" value="安全相关参数数据" style="whiteSpace=wrap;html=1;rounded=1;" vertex="1" parent="1">
<mxGeometry x="80" y="260" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="BdiOioDjGQ_xy7A03iCK-8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="BdiOioDjGQ_xy7A03iCK-6" target="BdiOioDjGQ_xy7A03iCK-7">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="BdiOioDjGQ_xy7A03iCK-6" value="安全数据预处理数据" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="280" y="120" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="BdiOioDjGQ_xy7A03iCK-13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="BdiOioDjGQ_xy7A03iCK-7" target="BdiOioDjGQ_xy7A03iCK-6">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="420" y="290" />
<mxPoint x="420" y="150" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="BdiOioDjGQ_xy7A03iCK-14" value="NO" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="BdiOioDjGQ_xy7A03iCK-13">
<mxGeometry x="-0.767" y="-2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="BdiOioDjGQ_xy7A03iCK-15" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="BdiOioDjGQ_xy7A03iCK-7" target="BdiOioDjGQ_xy7A03iCK-2">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="440" y="290" />
<mxPoint x="440" y="100" />
<mxPoint x="140" y="100" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="BdiOioDjGQ_xy7A03iCK-20" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="BdiOioDjGQ_xy7A03iCK-7" target="BdiOioDjGQ_xy7A03iCK-17">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="BdiOioDjGQ_xy7A03iCK-21" value="YES" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="BdiOioDjGQ_xy7A03iCK-20">
<mxGeometry x="-0.0408" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="BdiOioDjGQ_xy7A03iCK-7" value="是否异常" style="rhombus;whiteSpace=wrap;html=1;rounded=1;" vertex="1" parent="1">
<mxGeometry x="300" y="250" width="80" height="80" as="geometry" />
</mxCell>
<mxCell id="BdiOioDjGQ_xy7A03iCK-16" value="发出告警信息" style="shape=callout;whiteSpace=wrap;html=1;perimeter=calloutPerimeter;rotation=0;" vertex="1" parent="1">
<mxGeometry x="80" y="360" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="BdiOioDjGQ_xy7A03iCK-24" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="BdiOioDjGQ_xy7A03iCK-17" target="BdiOioDjGQ_xy7A03iCK-23">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="BdiOioDjGQ_xy7A03iCK-27" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="BdiOioDjGQ_xy7A03iCK-17" target="BdiOioDjGQ_xy7A03iCK-25">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="260" y="430" />
<mxPoint x="260" y="570" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="BdiOioDjGQ_xy7A03iCK-17" value="故障诊断与定位" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="280" y="400" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="BdiOioDjGQ_xy7A03iCK-22" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0;entryDx=60;entryDy=80;entryPerimeter=0;" edge="1" parent="1" source="BdiOioDjGQ_xy7A03iCK-7" target="BdiOioDjGQ_xy7A03iCK-16">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="340" y="380" />
<mxPoint x="250" y="380" />
<mxPoint x="250" y="460" />
<mxPoint x="140" y="460" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="BdiOioDjGQ_xy7A03iCK-26" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="BdiOioDjGQ_xy7A03iCK-23" target="BdiOioDjGQ_xy7A03iCK-25">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="BdiOioDjGQ_xy7A03iCK-23" value="安全约束管理" style="whiteSpace=wrap;html=1;rounded=1;" vertex="1" parent="1">
<mxGeometry x="280" y="540" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="BdiOioDjGQ_xy7A03iCK-25" value="日志记录" style="shape=internalStorage;whiteSpace=wrap;html=1;backgroundOutline=1;" vertex="1" parent="1">
<mxGeometry x="80" y="525" width="120" height="90" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

View File

@@ -0,0 +1,53 @@
<mxfile host="Electron" modified="2024-02-23T02:21:53.162Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/23.1.5 Chrome/120.0.6099.109 Electron/28.1.0 Safari/537.36" etag="buTt1GVG5CypHXC77eJq" version="23.1.5" type="device">
<diagram name="第 1 页" id="2pROHHlouF5UQCImX0TO">
<mxGraphModel dx="627" dy="473" 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="0" />
<mxCell id="1" parent="0" />
<mxCell id="C9JLfhc9lZ5gFYDEsYam-3" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;" edge="1" parent="1" source="C9JLfhc9lZ5gFYDEsYam-1" target="C9JLfhc9lZ5gFYDEsYam-2">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="C9JLfhc9lZ5gFYDEsYam-21" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="C9JLfhc9lZ5gFYDEsYam-1" target="C9JLfhc9lZ5gFYDEsYam-17">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="320" y="250" />
<mxPoint x="320" y="375" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="C9JLfhc9lZ5gFYDEsYam-1" value="能源数据预处理" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="160" y="220" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="C9JLfhc9lZ5gFYDEsYam-22" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="C9JLfhc9lZ5gFYDEsYam-2" target="C9JLfhc9lZ5gFYDEsYam-18">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="C9JLfhc9lZ5gFYDEsYam-2" value="决策调度执行数据" style="whiteSpace=wrap;html=1;rounded=1;" vertex="1" parent="1">
<mxGeometry x="160" y="375" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="C9JLfhc9lZ5gFYDEsYam-23" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="C9JLfhc9lZ5gFYDEsYam-9" target="C9JLfhc9lZ5gFYDEsYam-16">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="350" y="250" />
<mxPoint x="350" y="345" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="C9JLfhc9lZ5gFYDEsYam-9" value="安全数据预处理" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="400" y="220" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="C9JLfhc9lZ5gFYDEsYam-15" value="数据库" 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;" vertex="1" parent="1">
<mxGeometry x="390" y="300" width="140" height="120" as="geometry" />
</mxCell>
<mxCell id="C9JLfhc9lZ5gFYDEsYam-16" value="Item 1" style="text;strokeColor=default;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;" vertex="1" parent="C9JLfhc9lZ5gFYDEsYam-15">
<mxGeometry y="30" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="C9JLfhc9lZ5gFYDEsYam-17" value="Item 2" style="text;strokeColor=default;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;" vertex="1" parent="C9JLfhc9lZ5gFYDEsYam-15">
<mxGeometry y="60" width="140" height="30" as="geometry" />
</mxCell>
<mxCell id="C9JLfhc9lZ5gFYDEsYam-18" value="Item 3" style="text;strokeColor=default;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;" vertex="1" parent="C9JLfhc9lZ5gFYDEsYam-15">
<mxGeometry y="90" width="140" height="30" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

View File

@@ -0,0 +1,102 @@
<mxfile host="Electron" modified="2024-02-27T04:50:20.111Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/23.1.5 Chrome/120.0.6099.109 Electron/28.1.0 Safari/537.36" etag="K-gryP8AF-YbN9ktW9iI" version="23.1.5" type="device">
<diagram name="第 1 页" id="StER5yXRsaRphMbpVGWp">
<mxGraphModel dx="989" dy="582" 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="0" />
<mxCell id="1" parent="0" />
<mxCell id="MwPUREPPGs4Gp4KJim2g-28" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="MwPUREPPGs4Gp4KJim2g-1" target="MwPUREPPGs4Gp4KJim2g-2">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-1" value="开始" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="360" y="40" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-2" value="数据采集模块" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="360" y="200" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-3" value="PCS" 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;fontSize=14;" vertex="1" parent="1">
<mxGeometry y="320" width="240" height="230" as="geometry">
<mxRectangle x="650" y="295" width="60" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-4" value="直流侧分支电压/电流/功率" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-3">
<mxGeometry y="30" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-5" value="交流侧电压/电流/有功功率/无功功率" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-3">
<mxGeometry y="55" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-6" value="功率因数" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-3">
<mxGeometry y="80" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-9" value="频率&lt;span style=&quot;white-space: pre; font-size: 14px;&quot;&gt;&#x9;&lt;/span&gt;" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-3">
<mxGeometry y="105" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-10" value="温度" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-3">
<mxGeometry y="130" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-11" value="运行状态和模式" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-3">
<mxGeometry y="155" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-12" value="报警及故障信息" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-3">
<mxGeometry y="180" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-13" value="日/累计充电量、放电量" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-3">
<mxGeometry y="205" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-14" value="" style="group;fontSize=14;" vertex="1" connectable="0" parent="1">
<mxGeometry x="50" y="40" width="140" height="230" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-15" value="BMS&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;/div&gt;" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-14">
<mxGeometry width="140" height="230" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-16" value="电压" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-14">
<mxGeometry x="11.666666666666664" y="42.368421052631575" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-17" value="电流" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-14">
<mxGeometry x="11.666666666666664" y="66.57894736842105" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-18" value="温度" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-14">
<mxGeometry x="11.666666666666664" y="90.78947368421053" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-19" value="SOC" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-14">
<mxGeometry x="11.666666666666664" y="115" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-20" value="SOH" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-14">
<mxGeometry x="11.666666666666664" y="139.21052631578945" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-21" value="报警信息" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-14">
<mxGeometry x="11.666666666666664" y="163.42105263157896" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-22" value="历史信息" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-14">
<mxGeometry x="11.666666666666664" y="187.6315789473684" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-23" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="MwPUREPPGs4Gp4KJim2g-15" target="MwPUREPPGs4Gp4KJim2g-2">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="280" y="155" />
<mxPoint x="280" y="230" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-24" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" target="MwPUREPPGs4Gp4KJim2g-2">
<mxGeometry relative="1" as="geometry">
<mxPoint x="240" y="450" as="sourcePoint" />
<Array as="points">
<mxPoint x="240" y="450" />
<mxPoint x="280" y="450" />
<mxPoint x="280" y="230" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-27" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="MwPUREPPGs4Gp4KJim2g-25" target="MwPUREPPGs4Gp4KJim2g-2">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-25" value="消防数据" style="html=1;whiteSpace=wrap;container=1;recursiveResize=0;collapsible=0;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="560" y="195" width="160" height="70" as="geometry" />
</mxCell>
<mxCell id="MwPUREPPGs4Gp4KJim2g-26" value="" style="triangle;html=1;whiteSpace=wrap;fontSize=14;" vertex="1" parent="MwPUREPPGs4Gp4KJim2g-25">
<mxGeometry x="20" y="20" width="20" height="30" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

View File

@@ -0,0 +1,41 @@
<mxfile host="Electron" modified="2024-02-22T08:42:51.921Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/23.1.5 Chrome/120.0.6099.109 Electron/28.1.0 Safari/537.36" etag="GTesWQlc74um_s54tpI9" version="23.1.5" type="device">
<diagram name="第 1 页" id="1WmF-s6sNNWfaMDjd6Vp">
<mxGraphModel dx="627" dy="473" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="5QhUXT5KkGxpkLXq1CAW-3" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="5QhUXT5KkGxpkLXq1CAW-1" target="5QhUXT5KkGxpkLXq1CAW-2" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="5QhUXT5KkGxpkLXq1CAW-1" value="数据处理" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="530" y="170" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="5QhUXT5KkGxpkLXq1CAW-5" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="5QhUXT5KkGxpkLXq1CAW-2" target="5QhUXT5KkGxpkLXq1CAW-4" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="5QhUXT5KkGxpkLXq1CAW-2" value="调用外部C程序" style="whiteSpace=wrap;html=1;rounded=1;" parent="1" vertex="1">
<mxGeometry x="530" y="310" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="5QhUXT5KkGxpkLXq1CAW-7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="5QhUXT5KkGxpkLXq1CAW-4" target="5QhUXT5KkGxpkLXq1CAW-6" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="790" y="480" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="5QhUXT5KkGxpkLXq1CAW-4" value="算法程序" style="whiteSpace=wrap;html=1;rounded=1;" parent="1" vertex="1">
<mxGeometry x="730" y="310" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="5QhUXT5KkGxpkLXq1CAW-9" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="5QhUXT5KkGxpkLXq1CAW-6" target="5QhUXT5KkGxpkLXq1CAW-8" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="5QhUXT5KkGxpkLXq1CAW-6" value="结论数据" style="whiteSpace=wrap;html=1;rounded=1;" parent="1" vertex="1">
<mxGeometry x="530" y="450" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="5QhUXT5KkGxpkLXq1CAW-8" value="决策调度" style="whiteSpace=wrap;html=1;rounded=1;" parent="1" vertex="1">
<mxGeometry x="530" y="590" width="120" height="60" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

View File

@@ -0,0 +1,109 @@
<mxfile host="app.diagrams.net" modified="2024-02-22T08:21:36.011Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0" etag="mrUdI18lnhvZhbDa070W" version="23.1.5" type="device">
<diagram name="第 1 页" id="MJavB9Kkp3owuNuCYgCi">
<mxGraphModel dx="989" dy="527" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="0k1psyZTOg9ln3w9hUyx-12" value="PCS" 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;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="730" y="290" width="240" height="230" as="geometry">
<mxRectangle x="650" y="295" width="60" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-13" value="直流侧分支电压/电流/功率" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="0k1psyZTOg9ln3w9hUyx-12">
<mxGeometry y="30" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-14" value="交流侧电压/电流/有功功率/无功功率" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="0k1psyZTOg9ln3w9hUyx-12">
<mxGeometry y="55" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-15" value="功率因数" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="0k1psyZTOg9ln3w9hUyx-12">
<mxGeometry y="80" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-17" value="频率&lt;span style=&quot;white-space: pre; font-size: 14px;&quot;&gt;&#x9;&lt;/span&gt;" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="0k1psyZTOg9ln3w9hUyx-12">
<mxGeometry y="105" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-18" value="温度" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="0k1psyZTOg9ln3w9hUyx-12">
<mxGeometry y="130" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-19" value="运行状态和模式" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="0k1psyZTOg9ln3w9hUyx-12">
<mxGeometry y="155" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-22" value="报警及故障信息" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="0k1psyZTOg9ln3w9hUyx-12">
<mxGeometry y="180" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-23" value="日/累计充电量、放电量" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="0k1psyZTOg9ln3w9hUyx-12">
<mxGeometry y="205" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-20" value="" style="group;fontSize=14;" vertex="1" connectable="0" parent="1">
<mxGeometry x="290" y="290" width="140" height="230" as="geometry" />
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-2" value="BMS&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;/div&gt;" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;fontSize=14;" vertex="1" parent="0k1psyZTOg9ln3w9hUyx-20">
<mxGeometry width="140" height="230" as="geometry" />
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-3" value="电压" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="0k1psyZTOg9ln3w9hUyx-20">
<mxGeometry x="11.666666666666664" y="42.368421052631575" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-4" value="电流" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="0k1psyZTOg9ln3w9hUyx-20">
<mxGeometry x="11.666666666666664" y="66.57894736842105" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-6" value="温度" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="0k1psyZTOg9ln3w9hUyx-20">
<mxGeometry x="11.666666666666664" y="90.78947368421053" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-7" value="SOC" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="0k1psyZTOg9ln3w9hUyx-20">
<mxGeometry x="11.666666666666664" y="115" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-8" value="SOH" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="0k1psyZTOg9ln3w9hUyx-20">
<mxGeometry x="11.666666666666664" y="139.21052631578945" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-9" value="报警信息" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="0k1psyZTOg9ln3w9hUyx-20">
<mxGeometry x="11.666666666666664" y="163.42105263157896" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-10" value="历史信息" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="0k1psyZTOg9ln3w9hUyx-20">
<mxGeometry x="11.666666666666664" y="187.6315789473684" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-29" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=14;" edge="1" parent="1" source="0k1psyZTOg9ln3w9hUyx-24" target="0k1psyZTOg9ln3w9hUyx-28">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-24" value="开始" style="ellipse;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="520" y="220" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-31" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=14;" edge="1" parent="1" source="0k1psyZTOg9ln3w9hUyx-28" target="0k1psyZTOg9ln3w9hUyx-30">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-28" value="数据采集" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="520" y="375" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-33" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=14;" edge="1" parent="1" source="0k1psyZTOg9ln3w9hUyx-30" target="0k1psyZTOg9ln3w9hUyx-32">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-30" value="数据处理" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="520" y="512.5" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-32" value="数据应用/存储" style="whiteSpace=wrap;html=1;rounded=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="520" y="652.5" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-35" value="" style="shape=flexArrow;endArrow=classic;html=1;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="1" source="0k1psyZTOg9ln3w9hUyx-2" target="0k1psyZTOg9ln3w9hUyx-28">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="550" y="480" as="sourcePoint" />
<mxPoint x="600" y="430" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-37" value="RS485" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="0k1psyZTOg9ln3w9hUyx-35">
<mxGeometry x="-0.3873" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-36" value="" style="shape=flexArrow;endArrow=classic;html=1;rounded=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="0k1psyZTOg9ln3w9hUyx-17" target="0k1psyZTOg9ln3w9hUyx-28">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="550" y="480" as="sourcePoint" />
<mxPoint x="600" y="430" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="0k1psyZTOg9ln3w9hUyx-38" value="RS485" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="0k1psyZTOg9ln3w9hUyx-36">
<mxGeometry x="-0.0642" y="3" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

View File

@@ -0,0 +1,215 @@
<mxfile host="app.diagrams.net" modified="2024-02-22T08:23:40.618Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0" etag="07zjLY9pQHxAWVATwoLM" version="23.1.5" type="device">
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
<mxGraphModel dx="574" dy="306" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0">
<root>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="YojJ0IkELtMfWaZUnUbh-2" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=16;fontStyle=1" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="YojJ0IkELtMfWaZUnUbh-0" target="YojJ0IkELtMfWaZUnUbh-1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-64" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=16;fontStyle=1" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="YojJ0IkELtMfWaZUnUbh-0" target="YojJ0IkELtMfWaZUnUbh-63">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="554" y="260" />
<mxPoint x="870" y="260" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-0" value="&lt;font style=&quot;font-size: 16px;&quot;&gt;开始&lt;/font&gt;" style="ellipse;whiteSpace=wrap;html=1;fontSize=16;fontStyle=1" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="494" y="140" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=16;fontStyle=1" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="YojJ0IkELtMfWaZUnUbh-1" target="YojJ0IkELtMfWaZUnUbh-5">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-1" value="能源数据采集" style="rounded=1;whiteSpace=wrap;html=1;fontSize=16;fontStyle=1" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="494" y="300" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-39" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=16;fontStyle=1" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="YojJ0IkELtMfWaZUnUbh-5" target="YojJ0IkELtMfWaZUnUbh-38">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-5" value="数据预处理" style="rounded=1;whiteSpace=wrap;html=1;fontSize=16;fontStyle=1" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="494" y="440" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-10" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=16;fontStyle=1" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="YojJ0IkELtMfWaZUnUbh-7" target="YojJ0IkELtMfWaZUnUbh-9">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-7" value="算法处理" style="whiteSpace=wrap;html=1;rounded=1;fontSize=16;fontStyle=1" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="494" y="749" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-49" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=16;fontStyle=1" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="YojJ0IkELtMfWaZUnUbh-9" target="YojJ0IkELtMfWaZUnUbh-14">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="554" y="990" />
<mxPoint x="654" y="990" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-50" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=16;fontStyle=1" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="YojJ0IkELtMfWaZUnUbh-9" target="YojJ0IkELtMfWaZUnUbh-11">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="554" y="990" />
<mxPoint x="454" y="990" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-9" value="决策调度" style="whiteSpace=wrap;html=1;rounded=1;fontSize=16;fontStyle=1" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="494" y="893" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-84" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=16;fontStyle=1" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="YojJ0IkELtMfWaZUnUbh-21" target="YojJ0IkELtMfWaZUnUbh-22">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="320" y="180" />
<mxPoint x="320" y="470" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-21" value="云平台" style="ellipse;shape=cloud;whiteSpace=wrap;html=1;fontSize=16;fontStyle=1" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="177" y="140" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-85" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontSize=16;fontStyle=1" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="YojJ0IkELtMfWaZUnUbh-22" target="YojJ0IkELtMfWaZUnUbh-9">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="230" y="923" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-22" value="参数修改" style="rounded=1;whiteSpace=wrap;html=1;fontSize=16;fontStyle=1" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="177" y="440" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-83" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=16;fontStyle=1" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="YojJ0IkELtMfWaZUnUbh-26" target="YojJ0IkELtMfWaZUnUbh-22">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="320" y="329.9999999999999" />
<mxPoint x="320" y="470" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-26" value="显示屏" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;fontSize=16;fontStyle=1" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="177" y="300" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-36" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0.065;entryY=0.54;entryDx=0;entryDy=0;entryPerimeter=0;fontSize=16;fontStyle=1" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="420" y="1059" as="sourcePoint" />
<mxPoint x="187.8" y="185.2" as="targetPoint" />
<Array as="points">
<mxPoint x="80" y="1059" />
<mxPoint x="80" y="185" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-37" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontSize=16;fontStyle=1" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="420" y="1056" as="sourcePoint" />
<mxPoint x="180" y="329" as="targetPoint" />
<Array as="points">
<mxPoint x="420" y="1059" />
<mxPoint x="80" y="1059" />
<mxPoint x="80" y="329" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-41" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=16;fontStyle=1" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="YojJ0IkELtMfWaZUnUbh-38" target="YojJ0IkELtMfWaZUnUbh-7">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-42" value="NO" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=16;fontStyle=1" vertex="1" connectable="0" parent="YojJ0IkELtMfWaZUnUbh-41">
<mxGeometry x="-0.2381" y="1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-44" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=16;fontStyle=1" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="YojJ0IkELtMfWaZUnUbh-38" target="YojJ0IkELtMfWaZUnUbh-43">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-45" value="YES" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=16;fontStyle=1" vertex="1" connectable="0" parent="YojJ0IkELtMfWaZUnUbh-44">
<mxGeometry x="0.0014" y="-1" relative="1" as="geometry">
<mxPoint x="-8" y="-1" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-60" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;fontSize=16;fontStyle=1" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="YojJ0IkELtMfWaZUnUbh-38" target="YojJ0IkELtMfWaZUnUbh-14">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="554" y="720" />
<mxPoint x="740" y="720" />
<mxPoint x="740" y="1060" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-38" value="是否异常" style="rhombus;whiteSpace=wrap;html=1;fontSize=16;fontStyle=1" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="514" y="570" width="80" height="80" as="geometry" />
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-62" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=16;fontStyle=1" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="YojJ0IkELtMfWaZUnUbh-43" target="YojJ0IkELtMfWaZUnUbh-14">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="710" y="990" />
<mxPoint x="654" y="990" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-43" value="异常处理" style="rounded=1;whiteSpace=wrap;html=1;fontSize=16;fontStyle=1" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="650" y="580" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-81" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontSize=16;fontStyle=1" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="YojJ0IkELtMfWaZUnUbh-11" target="YojJ0IkELtMfWaZUnUbh-1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="454" y="1160" />
<mxPoint x="360" y="1160" />
<mxPoint x="360" y="330" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-11" value="数据上传" style="whiteSpace=wrap;html=1;rounded=1;fontSize=16;fontStyle=1" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="394" y="1030" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-82" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontSize=16;fontStyle=1" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="YojJ0IkELtMfWaZUnUbh-14" target="YojJ0IkELtMfWaZUnUbh-1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="654" y="1160" />
<mxPoint x="360" y="1160" />
<mxPoint x="360" y="330" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-14" value="数据/状态存储" style="whiteSpace=wrap;html=1;rounded=1;fontSize=16;fontStyle=1" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="594" y="1030" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-68" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=16;fontStyle=1" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="YojJ0IkELtMfWaZUnUbh-63" target="YojJ0IkELtMfWaZUnUbh-67">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-63" value="安全数据采集" style="rounded=1;whiteSpace=wrap;html=1;fontSize=16;fontStyle=1" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="810" y="300" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-72" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=16;fontStyle=1" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="YojJ0IkELtMfWaZUnUbh-67" target="YojJ0IkELtMfWaZUnUbh-71">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-67" value="数据预处理" style="whiteSpace=wrap;html=1;rounded=1;fontSize=16;fontStyle=1" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="810" y="440" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-73" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=16;fontStyle=1" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="YojJ0IkELtMfWaZUnUbh-71" target="YojJ0IkELtMfWaZUnUbh-43">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-74" value="YES" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=16;fontStyle=1" vertex="1" connectable="0" parent="YojJ0IkELtMfWaZUnUbh-73">
<mxGeometry x="0.0172" y="2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-78" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;fontSize=16;fontStyle=1" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="YojJ0IkELtMfWaZUnUbh-71" target="YojJ0IkELtMfWaZUnUbh-63">
<mxGeometry relative="1" as="geometry">
<mxPoint x="870" y="400" as="targetPoint" />
<Array as="points">
<mxPoint x="870" y="720" />
<mxPoint x="950" y="720" />
<mxPoint x="950" y="330" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-79" value="NO" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=16;fontStyle=1" vertex="1" connectable="0" parent="YojJ0IkELtMfWaZUnUbh-78">
<mxGeometry x="-0.8732" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="YojJ0IkELtMfWaZUnUbh-71" value="是否异常" style="rhombus;whiteSpace=wrap;html=1;fontSize=16;fontStyle=1" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="830" y="570" width="80" height="80" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

View File

@@ -0,0 +1,63 @@
<mxfile host="Electron" modified="2024-02-27T01:58:41.551Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/23.1.5 Chrome/120.0.6099.109 Electron/28.1.0 Safari/537.36" etag="l4QeA0rWeucGa3lLUvSu" version="23.1.5" type="device">
<diagram name="第 1 页" id="ftT1DfmIoviXozPjJUjn">
<mxGraphModel dx="819" dy="482" 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="0" />
<mxCell id="1" parent="0" />
<mxCell id="NOo-vIapXB3uev-CWLWw-10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="NOo-vIapXB3uev-CWLWw-1" target="NOo-vIapXB3uev-CWLWw-7">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="NOo-vIapXB3uev-CWLWw-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="NOo-vIapXB3uev-CWLWw-1" target="NOo-vIapXB3uev-CWLWw-2">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="700" y="230" />
<mxPoint x="380" y="230" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="NOo-vIapXB3uev-CWLWw-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="NOo-vIapXB3uev-CWLWw-1" target="NOo-vIapXB3uev-CWLWw-4">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="700" y="230" />
<mxPoint x="540" y="230" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="NOo-vIapXB3uev-CWLWw-13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="NOo-vIapXB3uev-CWLWw-1" target="NOo-vIapXB3uev-CWLWw-8">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="700" y="230" />
<mxPoint x="860" y="230" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="NOo-vIapXB3uev-CWLWw-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="NOo-vIapXB3uev-CWLWw-1" target="NOo-vIapXB3uev-CWLWw-9">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="700" y="230" />
<mxPoint x="1020" y="230" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="NOo-vIapXB3uev-CWLWw-1" value="开始" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="640" y="120" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="NOo-vIapXB3uev-CWLWw-2" value="通信模块" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="320" y="280" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="NOo-vIapXB3uev-CWLWw-4" value="数据采集模块" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="480" y="280" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="NOo-vIapXB3uev-CWLWw-7" value="数据处理模块" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="640" y="280" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="NOo-vIapXB3uev-CWLWw-8" value="数据存储模块" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="800" y="280" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="NOo-vIapXB3uev-CWLWw-9" value="故障处理模块" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="960" y="280" width="120" height="60" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

View File

@@ -0,0 +1,313 @@
<mxfile host="Electron" modified="2024-02-23T05:40:12.683Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/23.1.5 Chrome/120.0.6099.109 Electron/28.1.0 Safari/537.36" etag="h8F5uHTJLH27RYapJHZ1" version="23.1.5" type="device">
<diagram name="第 1 页" id="F7oJ2JHgPXLKljYD3b8m">
<mxGraphModel dx="2514" dy="993" 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="0" />
<mxCell id="1" parent="0" />
<mxCell id="yyMN9J0i8VBiSYX7q_AA-2" value="PCS" 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;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="-30" y="370" width="240" height="230" as="geometry">
<mxRectangle x="650" y="295" width="60" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-3" value="直流侧分支电压/电流/功率" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="yyMN9J0i8VBiSYX7q_AA-2">
<mxGeometry y="30" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-4" value="交流侧电压/电流/有功功率/无功功率" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="yyMN9J0i8VBiSYX7q_AA-2">
<mxGeometry y="55" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-5" value="功率因数" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="yyMN9J0i8VBiSYX7q_AA-2">
<mxGeometry y="80" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-43" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;shape=flexArrow;fontSize=14;" edge="1" parent="yyMN9J0i8VBiSYX7q_AA-2" source="yyMN9J0i8VBiSYX7q_AA-6">
<mxGeometry relative="1" as="geometry">
<mxPoint x="330" y="-140" as="targetPoint" />
<Array as="points">
<mxPoint x="280" y="118" />
<mxPoint x="280" y="-140" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-44" value="RS485" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=14;" vertex="1" connectable="0" parent="yyMN9J0i8VBiSYX7q_AA-43">
<mxGeometry x="0.1444" y="-2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-6" value="频率&lt;span style=&quot;white-space: pre; font-size: 14px;&quot;&gt;&#x9;&lt;/span&gt;" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="yyMN9J0i8VBiSYX7q_AA-2">
<mxGeometry y="105" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-7" value="温度" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="yyMN9J0i8VBiSYX7q_AA-2">
<mxGeometry y="130" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-8" value="运行状态和模式" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="yyMN9J0i8VBiSYX7q_AA-2">
<mxGeometry y="155" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-9" value="报警及故障信息" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="yyMN9J0i8VBiSYX7q_AA-2">
<mxGeometry y="180" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-10" value="日/累计充电量、放电量" style="text;strokeColor=default;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;fontSize=14;" vertex="1" parent="yyMN9J0i8VBiSYX7q_AA-2">
<mxGeometry y="205" width="240" height="25" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-11" value="" style="group;fontSize=14;" vertex="1" connectable="0" parent="1">
<mxGeometry x="70" y="115" width="140" height="230" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-12" value="BMS&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;br style=&quot;font-size: 14px;&quot;&gt;&lt;/div&gt;" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;fontSize=14;" vertex="1" parent="yyMN9J0i8VBiSYX7q_AA-11">
<mxGeometry width="140" height="230" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-13" value="电压" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="yyMN9J0i8VBiSYX7q_AA-11">
<mxGeometry x="11.666666666666664" y="42.368421052631575" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-14" value="电流" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="yyMN9J0i8VBiSYX7q_AA-11">
<mxGeometry x="11.666666666666664" y="66.57894736842105" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-15" value="温度" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="yyMN9J0i8VBiSYX7q_AA-11">
<mxGeometry x="11.666666666666664" y="90.78947368421053" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-16" value="SOC" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="yyMN9J0i8VBiSYX7q_AA-11">
<mxGeometry x="11.666666666666664" y="115" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-17" value="SOH" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="yyMN9J0i8VBiSYX7q_AA-11">
<mxGeometry x="11.666666666666664" y="139.21052631578945" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-18" value="报警信息" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="yyMN9J0i8VBiSYX7q_AA-11">
<mxGeometry x="11.666666666666664" y="163.42105263157896" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-19" value="历史信息" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="yyMN9J0i8VBiSYX7q_AA-11">
<mxGeometry x="11.666666666666664" y="187.6315789473684" width="116.66666666666666" height="24.210526315789473" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-20" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=14;" edge="1" parent="1" source="yyMN9J0i8VBiSYX7q_AA-21" target="yyMN9J0i8VBiSYX7q_AA-23">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-91" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=14;" edge="1" parent="1" source="yyMN9J0i8VBiSYX7q_AA-21">
<mxGeometry relative="1" as="geometry">
<mxPoint x="670" y="85" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-21" value="开始" style="ellipse;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="300" y="45" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-33" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=14;" edge="1" parent="1" source="yyMN9J0i8VBiSYX7q_AA-23" target="yyMN9J0i8VBiSYX7q_AA-32">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-86" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fillColor=#60a917;strokeColor=#2D7600;fontSize=14;" edge="1" parent="1" source="yyMN9J0i8VBiSYX7q_AA-23" target="yyMN9J0i8VBiSYX7q_AA-83">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="460" y="230" />
<mxPoint x="460" y="710" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-23" value="能源数据采集" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="300" y="200" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-27" value="" style="shape=flexArrow;endArrow=classic;html=1;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;fontSize=14;" edge="1" parent="1" source="yyMN9J0i8VBiSYX7q_AA-12" target="yyMN9J0i8VBiSYX7q_AA-23">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="330" y="305" as="sourcePoint" />
<mxPoint x="380" y="255" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-28" value="RS485" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=14;" vertex="1" connectable="0" parent="yyMN9J0i8VBiSYX7q_AA-27">
<mxGeometry x="-0.3873" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-35" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeColor=default;fontSize=14;" edge="1" parent="1" source="yyMN9J0i8VBiSYX7q_AA-32" target="yyMN9J0i8VBiSYX7q_AA-34">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-36" value="能源相关数据" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=14;" vertex="1" connectable="0" parent="yyMN9J0i8VBiSYX7q_AA-35">
<mxGeometry x="-0.2357" y="-2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-41" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=14;" edge="1" parent="1" source="yyMN9J0i8VBiSYX7q_AA-32" target="yyMN9J0i8VBiSYX7q_AA-88">
<mxGeometry relative="1" as="geometry">
<mxPoint x="510" y="390" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-42" value="安全相关数据" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=14;" vertex="1" connectable="0" parent="yyMN9J0i8VBiSYX7q_AA-41">
<mxGeometry x="-0.1905" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-32" value="数据预处理" style="whiteSpace=wrap;html=1;fontSize=14;rounded=1;" vertex="1" parent="1">
<mxGeometry x="300" y="360" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-52" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=14;" edge="1" parent="1" source="yyMN9J0i8VBiSYX7q_AA-34" target="yyMN9J0i8VBiSYX7q_AA-51">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-34" value="算法调用" style="whiteSpace=wrap;html=1;fontSize=14;rounded=1;" vertex="1" parent="1">
<mxGeometry x="300" y="500" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-89" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=14;" edge="1" parent="1" source="yyMN9J0i8VBiSYX7q_AA-45" target="yyMN9J0i8VBiSYX7q_AA-88">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-105" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;fillColor=#60a917;strokeColor=#2D7600;fontSize=14;" edge="1" parent="1" source="yyMN9J0i8VBiSYX7q_AA-45" target="yyMN9J0i8VBiSYX7q_AA-83">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-45" value="数据处理" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="670" y="200" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-49" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=14;" edge="1" parent="1" source="yyMN9J0i8VBiSYX7q_AA-47">
<mxGeometry relative="1" as="geometry">
<mxPoint x="790" y="80" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-50" value="I/O" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=14;" vertex="1" connectable="0" parent="yyMN9J0i8VBiSYX7q_AA-49">
<mxGeometry x="0.0182" y="-2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-47" value="消防数据" style="html=1;whiteSpace=wrap;container=1;recursiveResize=0;collapsible=0;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="870" y="45" width="160" height="70" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-48" value="" style="triangle;html=1;whiteSpace=wrap;fontSize=14;" vertex="1" parent="yyMN9J0i8VBiSYX7q_AA-47">
<mxGeometry x="20" y="20" width="20" height="30" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-55" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=14;" edge="1" parent="1" source="yyMN9J0i8VBiSYX7q_AA-51" target="yyMN9J0i8VBiSYX7q_AA-54">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="570" y="600" />
<mxPoint x="360" y="600" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-51" value="外部C算法程序" style="whiteSpace=wrap;html=1;fontSize=14;rounded=1;" vertex="1" parent="1">
<mxGeometry x="510" y="500" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-63" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;shape=flexArrow;startArrow=block;entryX=0.5;entryY=1;entryDx=0;entryDy=0;fontSize=14;" edge="1" parent="1" source="yyMN9J0i8VBiSYX7q_AA-54">
<mxGeometry relative="1" as="geometry">
<mxPoint x="310" y="700" as="sourcePoint" />
<mxPoint x="-240" y="290" as="targetPoint" />
<Array as="points">
<mxPoint x="-240" y="680" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-67" value="RS232" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=14;" vertex="1" connectable="0" parent="yyMN9J0i8VBiSYX7q_AA-63">
<mxGeometry x="0.5667" y="-3" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-84" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fillColor=#60a917;strokeColor=#2D7600;fontSize=14;" edge="1" parent="1" source="yyMN9J0i8VBiSYX7q_AA-54" target="yyMN9J0i8VBiSYX7q_AA-83">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-85" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=14;" edge="1" parent="1" source="yyMN9J0i8VBiSYX7q_AA-54">
<mxGeometry relative="1" as="geometry">
<mxPoint x="360" y="160" as="targetPoint" />
<Array as="points">
<mxPoint x="360" y="820" />
<mxPoint x="-410" y="820" />
<mxPoint x="-410" y="70" />
<mxPoint x="250" y="70" />
<mxPoint x="250" y="160" />
<mxPoint x="330" y="160" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-54" value="决策调度" style="whiteSpace=wrap;html=1;fontSize=14;rounded=1;" vertex="1" parent="1">
<mxGeometry x="300" y="640" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-56" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.458;entryY=1;entryDx=0;entryDy=0;entryPerimeter=0;shape=flexArrow;fontSize=14;" edge="1" parent="1" source="yyMN9J0i8VBiSYX7q_AA-54" target="yyMN9J0i8VBiSYX7q_AA-10">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="80" y="650" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-57" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;shape=flexArrow;fontSize=14;" edge="1" parent="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="300" y="650" as="sourcePoint" />
<mxPoint x="70" y="210" as="targetPoint" />
<Array as="points">
<mxPoint x="-70" y="650" />
<mxPoint x="-70" y="210" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-58" value="RS485" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=14;" vertex="1" connectable="0" parent="yyMN9J0i8VBiSYX7q_AA-57">
<mxGeometry x="-0.6923" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-59" value="云平台" style="ellipse;shape=cloud;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="-280" y="110" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-62" value="显示屏" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="-280" y="230" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-64" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;shape=flexArrow;startArrow=block;fontSize=14;" edge="1" parent="1" target="yyMN9J0i8VBiSYX7q_AA-59">
<mxGeometry relative="1" as="geometry">
<mxPoint x="320" y="700" as="sourcePoint" />
<mxPoint x="-311.60000000000014" y="142.00000000000006" as="targetPoint" />
<Array as="points">
<mxPoint x="320" y="770" />
<mxPoint x="-320" y="770" />
<mxPoint x="-320" y="142" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-66" value="MQTT4G" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=14;" vertex="1" connectable="0" parent="yyMN9J0i8VBiSYX7q_AA-64">
<mxGeometry x="0.4883" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-83" value="数据库" style="shape=internalStorage;whiteSpace=wrap;html=1;backgroundOutline=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="500" y="650" width="120" height="120" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-102" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=14;" edge="1" parent="1" source="yyMN9J0i8VBiSYX7q_AA-88" target="yyMN9J0i8VBiSYX7q_AA-98">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-106" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=14;" edge="1" parent="1" source="yyMN9J0i8VBiSYX7q_AA-88" target="yyMN9J0i8VBiSYX7q_AA-92">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="810" y="390" />
<mxPoint x="810" y="35" />
<mxPoint x="730" y="35" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-107" value="NO" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=14;" vertex="1" connectable="0" parent="yyMN9J0i8VBiSYX7q_AA-106">
<mxGeometry x="-0.9407" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-88" value="是否异常" style="rhombus;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="690" y="350" width="80" height="80" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-93" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=14;" edge="1" parent="1" source="yyMN9J0i8VBiSYX7q_AA-92" target="yyMN9J0i8VBiSYX7q_AA-45">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-92" value="安全数据采集" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="670" y="55" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-94" value="YES" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=14;" vertex="1" connectable="0" parent="1">
<mxGeometry x="729" y="464" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-95" value="发出告警信息" style="shape=callout;whiteSpace=wrap;html=1;perimeter=calloutPerimeter;rotation=0;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="850" y="400" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-96" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=14;" edge="1" parent="1" source="yyMN9J0i8VBiSYX7q_AA-98" target="yyMN9J0i8VBiSYX7q_AA-100">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-98" value="故障诊断与定位" style="rounded=1;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="670" y="500" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-104" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=14;" edge="1" parent="1" source="yyMN9J0i8VBiSYX7q_AA-100" target="yyMN9J0i8VBiSYX7q_AA-101">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-100" value="安全约束管理" style="whiteSpace=wrap;html=1;rounded=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="670" y="640" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-101" value="日志记录" style="shape=internalStorage;whiteSpace=wrap;html=1;backgroundOutline=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="850" y="625" width="120" height="90" as="geometry" />
</mxCell>
<mxCell id="yyMN9J0i8VBiSYX7q_AA-103" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0;entryDx=60;entryDy=80;entryPerimeter=0;fontSize=14;" edge="1" parent="1" source="yyMN9J0i8VBiSYX7q_AA-88" target="yyMN9J0i8VBiSYX7q_AA-95">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="730" y="480" />
</Array>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

View File

@@ -0,0 +1,86 @@
<mxfile host="Electron" modified="2024-02-27T04:42:23.695Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/23.1.5 Chrome/120.0.6099.109 Electron/28.1.0 Safari/537.36" etag="r6TYPNUMHQgbVP8x5j6Q" version="23.1.5" type="device">
<diagram name="第 1 页" id="wZXtJSTUOwxlKyad_IcY">
<mxGraphModel dx="1816" dy="582" 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="0" />
<mxCell id="1" parent="0" />
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-3" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="mfdwJJDZe7u5N-Mu5MIC-1" target="mfdwJJDZe7u5N-Mu5MIC-2">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-1" value="开始" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="360" y="80" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-14" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;shape=flexArrow;startArrow=block;" edge="1" parent="1" source="mfdwJJDZe7u5N-Mu5MIC-2" target="mfdwJJDZe7u5N-Mu5MIC-6">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-22" value="RS485" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="mfdwJJDZe7u5N-Mu5MIC-14">
<mxGeometry x="-0.1017" y="-2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;shape=flexArrow;startArrow=block;" edge="1" parent="1" source="mfdwJJDZe7u5N-Mu5MIC-2" target="mfdwJJDZe7u5N-Mu5MIC-4">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="40" y="270" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-20" value="MQTT4G" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="mfdwJJDZe7u5N-Mu5MIC-16">
<mxGeometry x="0.0528" y="-2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-17" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;shape=flexArrow;startArrow=block;" edge="1" parent="1" source="mfdwJJDZe7u5N-Mu5MIC-2" target="mfdwJJDZe7u5N-Mu5MIC-5">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="380" y="330" />
<mxPoint x="230" y="330" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-21" value="RS232" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="mfdwJJDZe7u5N-Mu5MIC-17">
<mxGeometry x="-0.0843" y="1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;shape=flexArrow;startArrow=block;" edge="1" parent="1" source="mfdwJJDZe7u5N-Mu5MIC-2" target="mfdwJJDZe7u5N-Mu5MIC-11">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="460" y="330" />
<mxPoint x="610" y="330" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-23" value="RS485" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="mfdwJJDZe7u5N-Mu5MIC-18">
<mxGeometry x="-0.1586" y="1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;shape=flexArrow;startArrow=block;" edge="1" parent="1" source="mfdwJJDZe7u5N-Mu5MIC-2" target="mfdwJJDZe7u5N-Mu5MIC-12">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-2" value="通信模块" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="360" y="240" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-15" value="" style="group" vertex="1" connectable="0" parent="1">
<mxGeometry x="-20" y="380" width="860" height="100" as="geometry" />
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-4" value="云平台" style="ellipse;shape=cloud;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="mfdwJJDZe7u5N-Mu5MIC-15">
<mxGeometry width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-5" value="显示屏" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;fontSize=14;" vertex="1" parent="mfdwJJDZe7u5N-Mu5MIC-15">
<mxGeometry x="190" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-6" value="BMS" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;" vertex="1" parent="mfdwJJDZe7u5N-Mu5MIC-15">
<mxGeometry x="410" width="60" height="80" as="geometry" />
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-11" value="PCS" style="shape=document;whiteSpace=wrap;html=1;boundedLbl=1;" vertex="1" parent="mfdwJJDZe7u5N-Mu5MIC-15">
<mxGeometry x="570" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="mfdwJJDZe7u5N-Mu5MIC-12" value="外部算法" style="shape=note;whiteSpace=wrap;html=1;backgroundOutline=1;darkOpacity=0.05;" vertex="1" parent="mfdwJJDZe7u5N-Mu5MIC-15">
<mxGeometry x="780" width="80" height="100" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

View File

@@ -0,0 +1,21 @@
CC = gcc
edit: main.o script.o
$(CC) -o script main.o script.o
main.o: main.c script.h
$(CC) -c main.c
script.o: script.c script.h
$(CC) -c script.c
clean:
rm main.o script.o

View File

@@ -0,0 +1,95 @@
#include <math.h>
#include "script.h"
int readFile() {
char s[] = "/home/ctstor/ctfiles/maxvarindex";
//ֻ<><D6BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>
int fd = open(s, O_RDONLY);
if(fd == -1) {
printf("error is %s\n", strerror(errno));
return;
}
printf("sucess fd = %d\n", fd);
char buf[100];
memset(buf, 0, sizeof(buf));
int a=3999;
//read<61><64><EFBFBD><EFBFBD>0<EFBFBD><30>ʾ<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD>
while(read(fd, buf, sizeof(buf) - 1) > 0) {
printf("%s\n", buf);
char * str=buf;
printf("%s-----\n", str);
sscanf(str,"%d",&a);
memset(buf, 0, sizeof(buf));
}
printf("%d---===--\n", a);
//<2F><><EFBFBD><EFBFBD><EFBFBD>ǹر<C7B9>
close(fd);
return a;
}
int main()
{
//<2F><>ʼ<EFBFBD><CABC>
int nMaxIndex= readFile();
if (CreateRam(0,nMaxIndex)<1)
return;
int i,Number;
int StationNumber;
static int station[2] = {0,285};//0<>ǵ<EFBFBD><C7B5><EFBFBD><EFBFBD>ĵ<EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>285<38><35><EFBFBD>۱<EFBFBD><DBB1>ĵ<EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB><EFBFBD>۱<EFBFBD><DBB1><EFBFBD><EFBFBD><EFBFBD>
static temp1_index =8000; //<2F>м<EFBFBD><D0BC><EFBFBD><EFBFBD><EFBFBD>
while(1){
Number=(int)GetSysItem(142)-1;
StationNumber=(int)GetSysItem(143)-1;
if(StationNumber==0)
{
for (i=0;i<=31;i++)//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>31<33><31><EFBFBD><EFBFBD>
{
SetItemValue(0,temp1_index+i,GetItemValue(0,Number*31+i+station[StationNumber]));
}
//ʵʱ<CAB5><CAB1><EFBFBD><EFBFBD>
SetSysItem( 78 , Number*31+9+station[StationNumber]);//Pa
SetSysItem( 79 , Number*31+10+station[StationNumber]);//Pb
SetSysItem( 80 , Number*31+11+station[StationNumber]);//Pc
SetSysItem( 81 , Number*31+12+station[StationNumber]);//P
//<2F><>ʷ<EFBFBD><CAB7><EFBFBD><EFBFBD>
SetSysItem( 94 , Number*31+9+station[StationNumber]);//Pa
SetSysItem( 95 , Number*31+10+station[StationNumber]);//Pb
SetSysItem( 96 , Number*31+11+station[StationNumber]);//Pc
SetSysItem( 97 , Number*31+12+station[StationNumber]);//P
}
else if(StationNumber==1)
{
for (i=0;i<116;i++)//<2F>۱<EFBFBD><DBB1><EFBFBD><EFBFBD><EFBFBD>116<31><36><EFBFBD><EFBFBD>
{
SetItemValue(0,temp1_index+i,GetItemValue(0,Number*116+i+station[StationNumber]));
}
}
waitForMillisec(2000);
}
return 0;
}

View File

@@ -0,0 +1,95 @@
#include <math.h>
#include "script.h"
int readFile() {
char s[] = "/home/ctstor/ctfiles/maxvarindex";
//ֻ<><D6BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>
int fd = open(s, O_RDONLY);
if(fd == -1) {
printf("error is %s\n", strerror(errno));
return;
}
printf("sucess fd = %d\n", fd);
char buf[100];
memset(buf, 0, sizeof(buf));
int a=3999;
//read<61><64><EFBFBD><EFBFBD>0<EFBFBD><30>ʾ<EFBFBD>ļ<EFBFBD><C4BC><EFBFBD>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD>
while(read(fd, buf, sizeof(buf) - 1) > 0) {
printf("%s\n", buf);
char * str=buf;
printf("%s-----\n", str);
sscanf(str,"%d",&a);
memset(buf, 0, sizeof(buf));
}
printf("%d---===--\n", a);
//<2F><><EFBFBD><EFBFBD><EFBFBD>ǹر<C7B9>
close(fd);
return a;
}
int main()
{
//<2F><>ʼ<EFBFBD><CABC>
int nMaxIndex= readFile();
if (CreateRam(0,nMaxIndex)<1)
return;
int i,Number;
int StationNumber;
static int station[2] = {0,285};//0<>ǵ<EFBFBD><C7B5><EFBFBD><EFBFBD>ĵ<EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>285<38><35><EFBFBD>۱<EFBFBD><DBB1>ĵ<EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB><EFBFBD>۱<EFBFBD><DBB1><EFBFBD><EFBFBD><EFBFBD>
static temp1_index =8000; //<2F>м<EFBFBD><D0BC><EFBFBD><EFBFBD><EFBFBD>
while(1){
Number=(int)GetSysItem(142)-1;
StationNumber=(int)GetSysItem(143)-1;
if(StationNumber==0)
{
for (i=0;i<=31;i++)//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>31<33><31><EFBFBD><EFBFBD>
{
SetItemValue(0,temp1_index+i,GetItemValue(0,Number*31+i+station[StationNumber]));
}
//ʵʱ<CAB5><CAB1><EFBFBD><EFBFBD>
SetSysItem( 78 , Number*31+9+station[StationNumber]);//Pa
SetSysItem( 79 , Number*31+10+station[StationNumber]);//Pb
SetSysItem( 80 , Number*31+11+station[StationNumber]);//Pc
SetSysItem( 81 , Number*31+12+station[StationNumber]);//P
//<2F><>ʷ<EFBFBD><CAB7><EFBFBD><EFBFBD>
SetSysItem( 94 , Number*31+9+station[StationNumber]);//Pa
SetSysItem( 95 , Number*31+10+station[StationNumber]);//Pb
SetSysItem( 96 , Number*31+11+station[StationNumber]);//Pc
SetSysItem( 97 , Number*31+12+station[StationNumber]);//P
}
else if(StationNumber==1)
{
for (i=0;i<116;i++)//<2F>۱<EFBFBD><DBB1><EFBFBD><EFBFBD><EFBFBD>116<31><36><EFBFBD><EFBFBD>
{
SetItemValue(0,temp1_index+i,GetItemValue(0,Number*116+i+station[StationNumber]));
}
}
waitForMillisec(2000);
}
return 0;
}

View File

@@ -0,0 +1,404 @@
#include "script.h"
//<2F><><EFBFBD><EFBFBD>ʵʱ<CAB5><CAB1><EFBFBD>ݿ<EFBFBD>
int OpenRamRt()
{
#ifdef OS_WIN
char chRamName[30] ;
HANDLE hFile;
HANDLE hMapFile = 0;
LPVOID lpMapAddress = 0;
strcpy( chRamName, "RAMRT" );
if ( lpMapAddress ) UnmapViewOfFile( lpMapAddress );
if ( hMapFile ) CloseHandle( hMapFile );
hFile = (HANDLE) 0xFFFFFFFF ;
hMapFile = CreateFileMapping( hFile, NULL, PAGE_READWRITE, 0, STATION_SIZE , (LPCTSTR)chRamName );
if ( hMapFile == NULL ){
lpMapAddress = NULL;
return 0;
}
lpMapAddress = MapViewOfFile( hMapFile,FILE_MAP_ALL_ACCESS,0,0,0 );
pSysItem = ( double * )lpMapAddress ;
pStation = ( StructStation * )( ( double * )lpMapAddress + MAX_SYSITEM ) ;
return 1 ;
#endif
#ifdef OS_UNIX
int shmid ;
void *shmptr ;
if((shmid = shmget( SHMDBKEYRTRAM_RT , STATION_SIZE , SHM_MODE ) ) < 0 ){
return 0 ;
}
shmptr = shmat( shmid, 0, 0 ) ;
if ( shmptr == (void*) -1 ) {
return 0 ;
}
pSysItem = ( double * )shmptr ;
pStation = ( StructStation * )( ( double * )shmptr + MAX_SYSITEM );
return 1 ;
#endif
}
//gaowf 2016.7.25
char CreateRam(int iStationNum, int nMaxIndex)
{
//qDebug( "createram %d", iStationNum );
#ifdef OS_WIN
char chRamName[30] ;
if(iStationNum == 0)
strcpy( chRamName, "RAMRT" );
else
sprintf(chRamName, "%s%d", "RAMRT", iStationNum);
if ( lpMapAddress ) UnmapViewOfFile( lpMapAddress );
if ( hMapFile ) CloseHandle( hMapFile );
HANDLE hFile = (HANDLE) 0xFFFFFFFF ;
int iSize2 ;
nMaxDataNum = nMaxIndex+1;
iSize2 = sizeof( StructStation) + MAX_SYSITEM * sizeof( double ) ;
iSize2 += sizeof(StructData)*(nMaxIndex+1);
hMapFile = OpenFileMapping(FILE_MAP_ALL_ACCESS, FALSE, (LPCTSTR)chRamName);
if(!hMapFile)
hMapFile = CreateFileMapping( hFile, NULL, PAGE_READWRITE, 0, iSize2 , (LPCTSTR)chRamName );
if ( hMapFile == NULL ){
char chMsg[100];
strcpy( chMsg, "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵ" );
::MessageBox( NULL, (LPCTSTR)chMsg , NULL, MB_OK );
lpMapAddress = NULL;
return 0;
}
lpMapAddress = MapViewOfFile( hMapFile,FILE_MAP_ALL_ACCESS,0,0,0 );
pSysItem = ( double * )lpMapAddress ;
pStation = ( StructStation * )( ( double * )lpMapAddress + MAX_SYSITEM ) ;
DataValue = (StructData *)(pStation + 1);
#endif
#ifdef OS_UNIX
int shmid ;
void *shmptr ;
int iSize2=0;
nMaxDataNum = nMaxIndex+1;
iSize2 = sizeof( StructStation) + MAX_SYSITEM * sizeof( double ) ;
iSize2 += sizeof(StructData)*(nMaxIndex+1);
if((shmid = shmget( SHMDBKEYRTRAM_RT , iSize2 , SHM_MODE ) ) < 0 ){
printf("shmget error");
return 0 ;
}
shmptr = shmat( shmid, 0, 0 ) ;
//qDebug("shmat %d", shmptr );
if ( shmptr == (void*) -1 ) {
//qDebug( "shmat error" );
return 0 ;
}
//qDebug ( "shared memory attached" );
pSysItem = ( double * )shmptr ;
pStation = ( StructStation * )( ( double * )shmptr + MAX_SYSITEM );
DataValue = (StructData *)(pStation + 1);
#endif
pStation->iVersion = 1 ;
return 1;
}
//<2F><>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>
void waitForMillisec(int millisec)
{
#ifdef OS_WIN
Sleep(millisec);
#endif
#ifdef OS_UNIX
usleep(millisec*1000);
#endif
}
//<2F><>ȡʵʱ<CAB5><CAB1><EFBFBD>ݿ<EFBFBD><DDBF><EFBFBD>Ӧid<69><64><EFBFBD><EFBFBD>ֵ
double GetItemValue( int iStationid , int id )
{
if( bEmbed ) iStationid = 0 ;
StructStation * pStation1 ;
pStation1 = pStation + iStationid;
if ( id >= nMaxDataNum )
return 0;
else
return DataValue[ id ].dValue ;
}
//<2F><>ȡʵʱ<CAB5><CAB1><EFBFBD>ݿ<EFBFBD><DDBF><EFBFBD>Ӧid<69><64><EFBFBD><EFBFBD><EFBFBD>ݽṹ<DDBD><E1B9B9><EFBFBD><EFBFBD>Ϣ
StructData* GetItem(int iStationid,int id)
{
if( bEmbed ) iStationid = 0 ;
StructStation * pStation1 ;
pStation1 = pStation + iStationid;
if ( id >= nMaxDataNum )
return 0;
else
return &DataValue[ id ] ;
}
//<2F><>ȡʵʱ<CAB5><CAB1><EFBFBD>ݿ<EFBFBD><DDBF><EFBFBD>Ӧid<69><64><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬
char GetItemChangeState( int iStationid, int id )
{
if( bEmbed ) iStationid = 0 ;
StructStation * pStation1 ;
pStation1 = pStation + iStationid;
if ( id >= nMaxDataNum )
return 0;
else
return DataValue[ id ].bChangeState ;
}
//<2F><><EFBFBD><EFBFBD>ʵʱ<CAB5><CAB1><EFBFBD>ݿ<EFBFBD><DDBF><EFBFBD>Ӧid<69><64><EFBFBD><EFBFBD>ֵ
void SetItemValue( int iStationid , int id , double dValue )
{
if( bEmbed ) iStationid = 0 ;
StructStation * pStation1 ;
pStation1 = pStation + iStationid;
if ( id >= nMaxDataNum ) return ;
DataValue[id].dValue = dValue ;
}
//<2F><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ
StructKcData *GetKcData( int iStationid )
{
if( bEmbed ) iStationid = 0 ;
StructStation * pStation1 ;
pStation1 = pStation + iStationid ;
return &pStation1->DataKC;
}
//<2F><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD>־<EFBFBD><D6BE>״̬
int GetKcFlag( int iStationid )
{
if( bEmbed ) iStationid = 0 ;
StructStation * pStation1 ;
pStation1 = pStation + iStationid ;
return pStation1->DataKCFlag;
}
//<2F><><EFBFBD><EFBFBD>ʵʱ<CAB5><CAB1><EFBFBD>ݿ<EFBFBD><DDBF><EFBFBD>Ӧid<69><64><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬
void SetDataState(int iStationid, int id, char bAlarm , char bChangeState)
{
if( bEmbed ) iStationid = 0 ;
StructStation * pStation1 ;
pStation1 = pStation + iStationid;
if ( id >= nMaxDataNum ) return ;
DataValue[id].bAlarm = bAlarm ;
DataValue[id].bChangeState = bChangeState ;
}
//<2F><><EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־
void SetKcFlag(int iStationid, int flag)
{
if( bEmbed ) iStationid = 0 ;
StructStation * pStation1 ;
pStation1 = pStation + iStationid;
pStation1->DataKCFlag = flag;
}
//<2F><><EFBFBD>ÿ<EFBFBD><C3BF>ƴ<EFBFBD> noΪ<6F><CEAA><EFBFBD>ݵ<EFBFBD>id<69><64>data<74>·<EFBFBD><C2B7><EFBFBD>Ϣ
void SetKcData(int iStationid, int no , char *data)
{
if( bEmbed ) iStationid = 0 ;
StructStation * pStation1 ;
pStation1 = pStation + iStationid;
pStation1->DataKC.kcNo = no;
// pStation1->DataKC.dataKC = data;
memset(&pStation1->DataKC.dataKC,0,sizeof(pStation1->DataKC.dataKC));
memcpy(pStation1->DataKC.dataKC, data, strlen(data));
}
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
void SetKcClear(int iStationid,int flag)
{
if( bEmbed ) iStationid = 0 ;
StructStation * pStation1 ;
pStation1 = pStation + iStationid;
if(!flag){
char data[200] = {0} ;
pStation1->DataKCFlag = flag ;
strcpy(pStation1->DataKC.dataKC,data);
}
}
//<2F><><EFBFBD>ö<EFBFBD>Ӧ<EFBFBD><D3A6><EFBFBD>Žṹ<C5BD><E1B9B9><EFBFBD><EFBFBD>Ϣ
void SetStruct(int iNum,char *chMsg)
{
int iStationid = 0 ;
if( bEmbed ) iStationid = 0 ;
StructStation * pStation1 ;
pStation1 = pStation + iStationid;
strcpy(pStation1->chStruct[iNum],chMsg);
}
//<2F><><EFBFBD>ýṹ<C3BD><E1B9B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
void SetStructNum(int iStructNum)
{
int iStationid = 0 ;
if( bEmbed ) iStationid = 0 ;
StructStation * pStation1 ;
pStation1 = pStation + iStationid;
pStation1->StructNum = iStructNum;
}
//<2F><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD><CFB4><EFBFBD><E1B9B9><EFBFBD><EFBFBD>Ϣ
void SetStructUp(int iNum,char *chMsg)
{
int iStationid = 0 ;
if( bEmbed ) iStationid = 0 ;
StructStation * pStation1 ;
pStation1 = pStation + iStationid;
strcpy(pStation1->chStructUp[iNum],chMsg);
}
//<2F><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD><CFB4><EFBFBD><E1B9B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
void SetStructUpNum(int iStructNum)
{
int iStationid = 0 ;
if( bEmbed ) iStationid = 0 ;
StructStation * pStation1 ;
pStation1 = pStation + iStationid;
pStation1->StructUpNum = iStructNum;
}
//<2F><><EFBFBD><EFBFBD><EFBFBD>´<EFBFBD><C2B4><EFBFBD><E1B9B9><EFBFBD><EFBFBD>Ϣ
void SetStructDown(int iNum, char *chMsg)
{
int iStationid = 0 ;
if( bEmbed ) iStationid = 0 ;
StructStation * pStation1 ;
pStation1 = pStation + iStationid;
strcpy(pStation1->chStructDown[iNum],chMsg);
}
//<2F><><EFBFBD><EFBFBD><EFBFBD>´<EFBFBD><C2B4><EFBFBD><E1B9B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
void SetStructDownNum(int iProg ,int iNum)
{
int iStationid = 0 ;
if( bEmbed ) iStationid = 0 ;
StructStation * pStation1 ;
pStation1 = pStation + iStationid;
pStation1->StructDownProg = iProg;
pStation1->StructDownNum = iNum;
}
//<2F><>ȡ<EFBFBD><C8A1>ӦiNum<75><EFBFBD><E1B9B9><EFBFBD><EFBFBD>Ϣ
char * GetStruct(int iNum)
{
int iStationid = 0 ;
if( bEmbed ) iStationid = 0 ;
StructStation * pStation1 ;
pStation1 = pStation + iStationid;
return pStation1->chStruct[iNum];
}
//<2F><>ȡ<EFBFBD><EFBFBD><E1B9B9><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD>
int GetStructNum()
{
int iStationid = 0 ;
if( bEmbed ) iStationid = 0 ;
StructStation * pStation1 ;
pStation1 = pStation + iStationid;
return pStation1->StructNum;
}
//<2F><>ȡ<EFBFBD><C8A1>ӦiNum<75>ϴ<EFBFBD><CFB4><EFBFBD><E1B9B9><EFBFBD><EFBFBD>Ϣ
char *GetStructUp(int iNum)
{
int iStationid = 0 ;
if( bEmbed ) iStationid = 0 ;
StructStation * pStation1 ;
pStation1 = pStation + iStationid;
return pStation1->chStructUp[iNum];
}
//<2F><>ȡ<EFBFBD>ϴ<EFBFBD><CFB4><EFBFBD><E1B9B9><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD>
int GetStructUpNum()
{
int iStationid = 0 ;
if( bEmbed ) iStationid = 0 ;
StructStation * pStation1 ;
pStation1 = pStation + iStationid;
return pStation1->StructUpNum;
}
//<2F><>ȡ<EFBFBD><C8A1>ӦiNum<75>´<EFBFBD><C2B4><EFBFBD><E1B9B9><EFBFBD><EFBFBD>Ϣ
char *GetStructDown(int iNum)
{
int iStationid = 0 ;
if( bEmbed ) iStationid = 0 ;
StructStation * pStation1 ;
pStation1 = pStation + iStationid;
return pStation1->chStructDown[iNum];
}
//<2F><>ȡ<EFBFBD>´<EFBFBD><C2B4><EFBFBD><E1B9B9><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD>
int GetStructDownNum()
{
int iStationid = 0 ;
if( bEmbed ) iStationid = 0 ;
StructStation * pStation1 ;
pStation1 = pStation + iStationid;
return pStation1->StructDownNum;
}
int GetStructDownProgId()
{
int iStationid = 0 ;
if( bEmbed ) iStationid = 0 ;
StructStation * pStation1 ;
pStation1 = pStation + iStationid;
return pStation1->StructDownProg;
}
//<2F><>ȡϵͳ<CFB5><CDB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ
double GetSysItem(int id)
{
return *( pSysItem + id ) ;
}
//<2F><><EFBFBD><EFBFBD>ϵͳ<CFB5><CDB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ
void SetSysItem( int id , double dValue)
{
*( pSysItem + id ) = dValue ;
}

View File

@@ -0,0 +1,127 @@
#ifndef SCRIPT_H
#define SCRIPT_H
#define OS_UNIX
#ifdef OS_UNIX
#include <sys/mman.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/stat.h>
#include <dirent.h>
#include <termios.h>
#include <asm/ioctls.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <sys/time.h>
#include <time.h>
#include <signal.h>
#endif
#ifdef OS_WIN
#include <windows.h>
#include <stdio.h>
#endif
#define SHM_MODE (SHM_R | SHM_W | IPC_CREAT)
#ifdef OS_WIN
#define MAX_NUM 12000
#endif
#ifdef OS_UNIX
#define MAX_NUM 4000
#endif
#define MAX_SYSITEM 200
#define MAX_STRUCT 5
#define MAX_STRUCT_DOWN 5
#define MAX_STRUCT_UP 5
#ifdef OS_WIN
#define STATION_SIZE 200000 //һ<><D2BB>վ<EFBFBD><D5BE><EFBFBD><EFBFBD>ռ<EFBFBD>õĴ<C3B5>С200000 bytes δʹ<CEB4>õĿռ<C4BF><D5BC><EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD>
#endif
#ifdef OS_UNIX
#define SHMDBKEYRTRAM_RT 1829503351 //811047
#define STATION_SIZE 70000
#endif
typedef struct _StructData
{
double dValue ;
char chState ; //ʵʱ<CAB5><CAB1>״ֵ̬
char bAlarm ;
char bChangeState ;
char bVisible;
}StructData;
typedef struct _StructKcData
{
int kcNo;
char dataKC[200];
}StructKcData;
//<2F><>̨<EFBFBD><CCA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵʱ<CAB5><CAB1><EFBFBD>ݿ<EFBFBD>
typedef struct _StructStation
{
int iVersion;
//StructData DataValue[ MAX_NUM ];
int DataKCFlag; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʶ
StructKcData DataKC; //<2F><><EFBFBD><EFBFBD><EFBFBD>
int StructNum; //<2F><EFBFBD><EFBFBD><E1B9B9>ʶ
char chStruct[MAX_STRUCT][200]; //<2F><EFBFBD><EFBFBD><E1B9B9>
int StructUpNum ; //<2F>ϴ<EFBFBD><CFB4><EFBFBD><E1B9B9>ʶ
char chStructUp[MAX_STRUCT_UP][200] ; //<2F>ϴ<EFBFBD><CFB4><EFBFBD><E1B9B9>
int StructDownNum; //<2F>´<EFBFBD><C2B4><EFBFBD><E1B9B9>ʶ
int StructDownProg; //<2F><><EFBFBD><EFBFBD>id
char chStructDown[MAX_STRUCT_DOWN][200]; //<2F>´<EFBFBD><C2B4><EFBFBD><E1B9B9>
}StructStation;
StructStation * pStation ;
StructData *DataValue;
double * pSysItem;
int nMaxDataNum;
char bEmbed;
int OpenRamRt();//<2F>򿪹<EFBFBD><F2BFAAB9><EFBFBD>
char CreateRam(int iStationNum, int nMaxIndex);
double GetItemValue( int iStationid, int id ) ;
char GetItemChangeState( int iStationid, int id ) ;
void SetItemValue( int iStationid , int id , double dValue ) ;
StructKcData * GetKcData(int iStationid);
int GetKcFlag(int iStationid);
StructData* GetItem(int iStationid,int id);
double GetSysItem( int id );
char * GetStruct(int iNum);
int GetStructNum();
char * GetStructDown(int iNum);
int GetStructDownNum();
int GetStructDownProgId();
int GetStructUpNum();
char * GetStructUp(int iNum);
void SetDataState(int iStationid, int id , char bAlarm , char bChangeState);
void SetSysItem( int id , double dValue);
void SetStruct(int iNum, char *chMsg);
void SetStructNum(int iStructNum);
void SetStructDown(int iNum, char *chMsg);
void SetStructDownNum(int iProg ,int iNum);
void SetStructUpNum(int iStructNum);
void SetStructUp(int iNum,char *chMsg);
void SetKcFlag(int iStationid,int flag);
void SetKcData(int iStationid, int no,char *data);
void SetKcClear(int iStationid,int flag);
void waitForMillisec(int millisec);
#endif

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 86 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 77 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 75 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 75 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 78 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 82 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 190 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 177 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 75 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 75 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 75 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 75 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 75 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 75 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 75 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 86 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 77 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 75 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 75 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 82 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 192 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 178 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 75 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 86 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 77 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 75 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 75 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 79 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 82 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 190 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 177 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 75 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 75 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 75 KiB

Some files were not shown because too many files have changed in this diff Show More