-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathstationeers - thermostat ic.drawio
73 lines (73 loc) · 9.2 KB
/
stationeers - thermostat ic.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<mxfile host="app.diagrams.net" modified="2021-11-21T21:08:08.906Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36" etag="lRoT1b7Ip17-55pG3Dxe" version="15.8.3" type="github">
<diagram id="WjzMCz5cW0PldS_9bLKK" name="Page-1">
<mxGraphModel dx="1422" dy="705" grid="1" gridSize="20" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="pGxV4Dc_NRkMVQoQ9aw1-36" value="" style="rounded=0;whiteSpace=wrap;html=1;fontFamily=Atkinson Hyperlegible;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DAtkinson%2BHyperlegible;fontSize=20;fillColor=none;pointerEvents=0;dashed=1;" vertex="1" parent="1">
<mxGeometry x="160" y="240" width="560" height="600" as="geometry" />
</mxCell>
<mxCell id="pGxV4Dc_NRkMVQoQ9aw1-7" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontFamily=Atkinson Hyperlegible;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DAtkinson%2BHyperlegible;fontSize=12;" edge="1" parent="1" source="pGxV4Dc_NRkMVQoQ9aw1-31" target="pGxV4Dc_NRkMVQoQ9aw1-23">
<mxGeometry relative="1" as="geometry">
<mxPoint x="320" y="420" as="sourcePoint" />
<mxPoint x="420" y="580" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="rk5oXhjm5HisSccfo7RU-22" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontFamily=Atkinson Hyperlegible;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DAtkinson%2BHyperlegible;fontSize=12;" parent="1" source="rk5oXhjm5HisSccfo7RU-21" target="pGxV4Dc_NRkMVQoQ9aw1-30" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="240" y="360" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="rk5oXhjm5HisSccfo7RU-21" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#000000;fontFamily=Atkinson Hyperlegible;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DAtkinson%2BHyperlegible;fontSize=12;" parent="1" vertex="1">
<mxGeometry x="300" y="400" width="40" height="40" as="geometry" />
</mxCell>
<mxCell id="pGxV4Dc_NRkMVQoQ9aw1-19" value="temp &gt; maxtemp" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.25;exitY=0;exitDx=0;exitDy=0;entryX=0.25;entryY=1;entryDx=0;entryDy=0;fontFamily=Atkinson Hyperlegible;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DAtkinson%2BHyperlegible;fontSize=12;" edge="1" parent="1" source="pGxV4Dc_NRkMVQoQ9aw1-22" target="pGxV4Dc_NRkMVQoQ9aw1-27">
<mxGeometry relative="1" as="geometry">
<mxPoint x="440" y="400" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="pGxV4Dc_NRkMVQoQ9aw1-21" value="temp &lt; mintemp" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.75;exitY=1;exitDx=0;exitDy=0;entryX=0.75;entryY=0;entryDx=0;entryDy=0;fontFamily=Atkinson Hyperlegible;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DAtkinson%2BHyperlegible;fontSize=12;" edge="1" parent="1" source="pGxV4Dc_NRkMVQoQ9aw1-23" target="pGxV4Dc_NRkMVQoQ9aw1-24">
<mxGeometry relative="1" as="geometry">
<mxPoint x="485" y="680" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="pGxV4Dc_NRkMVQoQ9aw1-22" value="idle (1)" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;rounded=1;fontSize=12;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;fontFamily=Atkinson Hyperlegible;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DAtkinson%2BHyperlegible;" vertex="1" parent="1">
<mxGeometry x="480" y="480" width="160" height="120" as="geometry" />
</mxCell>
<mxCell id="pGxV4Dc_NRkMVQoQ9aw1-23" value="Heater.On = 0
Cooler.On = 0" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;fontFamily=Atkinson Hyperlegible;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DAtkinson%2BHyperlegible;" vertex="1" parent="pGxV4Dc_NRkMVQoQ9aw1-22">
<mxGeometry y="30" width="160" height="90" as="geometry" />
</mxCell>
<mxCell id="pGxV4Dc_NRkMVQoQ9aw1-28" value="temp &gt;= sp" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.25;exitY=0;exitDx=0;exitDy=0;entryX=0.25;entryY=1;entryDx=0;entryDy=0;fontFamily=Atkinson Hyperlegible;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DAtkinson%2BHyperlegible;fontSize=12;" edge="1" parent="1" source="pGxV4Dc_NRkMVQoQ9aw1-24" target="pGxV4Dc_NRkMVQoQ9aw1-23">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="pGxV4Dc_NRkMVQoQ9aw1-24" value="heating (3)" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;rounded=1;fontSize=12;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;fontFamily=Atkinson Hyperlegible;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DAtkinson%2BHyperlegible;" vertex="1" parent="1">
<mxGeometry x="480" y="680" width="160" height="120" as="geometry" />
</mxCell>
<mxCell id="pGxV4Dc_NRkMVQoQ9aw1-25" value="Heater.On = 1
Cooler.On = 0" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;fontFamily=Atkinson Hyperlegible;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DAtkinson%2BHyperlegible;" vertex="1" parent="pGxV4Dc_NRkMVQoQ9aw1-24">
<mxGeometry y="30" width="160" height="90" as="geometry" />
</mxCell>
<mxCell id="pGxV4Dc_NRkMVQoQ9aw1-26" value="cooling (2)" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;rounded=1;fontSize=12;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;fontFamily=Atkinson Hyperlegible;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DAtkinson%2BHyperlegible;" vertex="1" parent="1">
<mxGeometry x="480" y="280" width="160" height="120" as="geometry" />
</mxCell>
<mxCell id="pGxV4Dc_NRkMVQoQ9aw1-27" value="Heater.On = 0
Cooler.On = 1" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;fontFamily=Atkinson Hyperlegible;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DAtkinson%2BHyperlegible;" vertex="1" parent="pGxV4Dc_NRkMVQoQ9aw1-26">
<mxGeometry y="30" width="160" height="90" as="geometry" />
</mxCell>
<mxCell id="pGxV4Dc_NRkMVQoQ9aw1-29" value="temp &lt;= sp" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.75;exitY=1;exitDx=0;exitDy=0;entryX=0.75;entryY=0;entryDx=0;entryDy=0;fontFamily=Atkinson Hyperlegible;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DAtkinson%2BHyperlegible;fontSize=12;" edge="1" parent="1" source="pGxV4Dc_NRkMVQoQ9aw1-27" target="pGxV4Dc_NRkMVQoQ9aw1-22">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="pGxV4Dc_NRkMVQoQ9aw1-30" value="start (0)" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;rounded=1;fontSize=12;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;fontFamily=Atkinson Hyperlegible;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DAtkinson%2BHyperlegible;" vertex="1" parent="1">
<mxGeometry x="240" y="480" width="160" height="120" as="geometry" />
</mxCell>
<mxCell id="pGxV4Dc_NRkMVQoQ9aw1-31" value="maxtemp = sp + deadzone
mintemp = sp - deadzone" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;fontFamily=Atkinson Hyperlegible;fontSource=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DAtkinson%2BHyperlegible;" vertex="1" parent="pGxV4Dc_NRkMVQoQ9aw1-30">
<mxGeometry y="30" width="160" height="90" as="geometry" />
</mxCell>
<mxCell id="pGxV4Dc_NRkMVQoQ9aw1-32" value="State Machine" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=20;fontFamily=Atkinson Hyperlegible;fontStyle=0" vertex="1" parent="1">
<mxGeometry x="240" y="760" width="160" height="40" as="geometry" />
</mxCell>
<mxCell id="pGxV4Dc_NRkMVQoQ9aw1-33" value="Thermostat" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=24;fontFamily=Atkinson Hyperlegible;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="360" y="200" width="160" height="40" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>