Repository navigation
Expand file tree
/
Copy pathDesktop.view
More file actions
162 lines (162 loc) · 6.34 KB
/
Copy pathDesktop.view
File metadata and controls
162 lines (162 loc) · 6.34 KB
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<div id="Desktop" data-tchmi-type="TcHmi.Controls.System.TcHmiView" data-tchmi-top="0" data-tchmi-left="0" data-tchmi-width-unit="%" data-tchmi-width="100" data-tchmi-height-unit="%" data-tchmi-height="100">
<script data-tchmi-target-attribute="data-tchmi-trigger" type="application/json">
[
{
"event": "%ctx%owner::RenderedWidth%/ctx%",
"actions": [
{
"objectType": "Function",
"active": true,
"fn": "TcHmiResponsiveBehaviour",
"fnParams": [
{
"objectType": "Symbol",
"valueType": "tchmi:general#/definitions/String",
"symbolExpression": "%i%MediaQueryList%/i%"
},
{
"objectType": "Symbol",
"valueType": "tchmi:general#/definitions/String",
"symbolExpression": "%i%AffectedControls%/i%"
}
],
"asyncWait": true
}
]
}
]
</script>
<div id="Header_Top" data-tchmi-type="TcHmi.Controls.BaseTemplate.TcHmiHeader" data-tchmi-height="80" data-tchmi-left="0" data-tchmi-top="0" data-tchmi-right="0">
<script data-tchmi-target-attribute="data-tchmi-class-names" type="application/json">
[
"divider",
"divider-top"
]
</script>
<script data-tchmi-target-attribute="data-tchmi-header-items" type="application/json">
[
{
"itemType": "Image",
"priority": "2",
"itemAlign": "Left",
"prefWidth": 288.0,
"prefWidthUnit": "px",
"prefHeight": 95.0,
"prefHeightUnit": "px",
"minWidth": 128.0,
"minWidthUnit": "px",
"classList": [],
"accessRights": [],
"image": "Images/Beckhoff_Logo.svg",
"altText": "Beckhoff",
"targetRegion": "%ctrl%Region_Center%/ctrl%",
"targetContent": "Pages/Esm.content"
},
{
"itemType": "Text",
"priority": "1",
"itemAlign": "Left",
"prefWidth": 288.0,
"prefWidthUnit": "px",
"prefHeight": 95.0,
"prefHeightUnit": "px",
"minWidth": 128.0,
"minWidthUnit": "px",
"classList": [],
"accessRights": [],
"text": "ExampleControls"
},
{
"itemType": "Time",
"priority": "4",
"itemAlign": "Right",
"prefWidth": 128.0,
"prefWidthUnit": "px",
"prefHeight": 48.0,
"prefHeightUnit": "px",
"minWidth": 96.0,
"minWidthUnit": "px",
"classList": [],
"accessRights": [],
"timeDisplayLayout": "TimeDateMultiLine"
}
]
</script>
</div>
<div id="Accordion_Navigation_Right" data-tchmi-type="TcHmi.Controls.BaseTemplate.TcHmiAccordionNavigation" data-tchmi-width="320" data-tchmi-top="%ctrl%Header_Top::Height%/ctrl%" data-tchmi-bottom="0" data-tchmi-right="0" data-tchmi-target-region="%ctrl%Region_Center%/ctrl%" data-tchmi-show-back-button="false">
<script data-tchmi-target-attribute="data-tchmi-class-names" type="application/json">
[
"divider",
"divider-right"
]
</script>
<script data-tchmi-target-attribute="data-tchmi-navigation-items" type="application/json">
[
{
"id": "Esm",
"name": "ESM Control",
"content": "Pages/Esm.content",
"icon": "%tr%TR_Icon_Esm_normal%/tr%",
"iconActive": "%tr%TR_Icon_Esm_active%/tr%",
"iconPressed": "%tr%TR_Icon_Esm_pressed%/tr%"
},
{
"id": "Classic",
"name": "Classic Control",
"content": "Pages/Classic.content",
"icon": "%tr%TR_Icon_Classic_normal%/tr%",
"iconActive": "%tr%TR_Icon_Classic_active%/tr%",
"iconPressed": "%tr%TR_Icon_Classic_pressed%/tr%"
},
{
"id": "ImportVariants",
"name": "Import Variants",
"content": "Pages/ImportVariants.content",
"icon": "%tr%TR_Icon_ImportVariants_normal%/tr%",
"iconActive": "%tr%TR_Icon_ImportVariants_active%/tr%",
"iconPressed": "%tr%TR_Icon_ImportVariants_pressed%/tr%"
}
]
</script>
</div>
<div id="Container_Bottom" data-tchmi-type="TcHmi.Controls.System.TcHmiContainer" data-tchmi-left="0" data-tchmi-bottom="0" data-tchmi-right="%ctrl%Accordion_Navigation_Right::Width%/ctrl%" data-tchmi-height="96">
<script data-tchmi-target-attribute="data-tchmi-class-names" type="application/json">
[
"divider",
"divider-bottom"
]
</script>
<div id="SymbolName" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiTextblock" data-tchmi-left="32" data-tchmi-top="18" data-tchmi-height="28" data-tchmi-width="170" data-tchmi-text="ColorChangeValue" data-tchmi-word-wrap="False">
<script data-tchmi-target-attribute="data-tchmi-class-names" type="application/json">
[
"headline-3"
]
</script>
</div>
<div id="SymbolType" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiTextblock" data-tchmi-left="32" data-tchmi-top="48" data-tchmi-height="24" data-tchmi-width="170" data-tchmi-text="Internal symbol, BOOL" data-tchmi-word-wrap="False">
<script data-tchmi-target-attribute="data-tchmi-class-names" type="application/json">
[
"text-size-default"
]
</script>
</div>
<div id="ValueSwitch" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiToggleSwitch" data-tchmi-left="216" data-tchmi-top="35" data-tchmi-width="60" data-tchmi-height="26" data-tchmi-text="" data-tchmi-state-symbol="%i%ColorChangeValue%/i%"></div>
<div id="ValueSwitchLabel" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiTextblock" data-tchmi-left="288" data-tchmi-top="36" data-tchmi-height="24" data-tchmi-width="90" data-tchmi-text="Value" data-tchmi-word-wrap="False">
<script data-tchmi-target-attribute="data-tchmi-class-names" type="application/json">
[
"text-size-default"
]
</script>
</div>
<div id="FooterDivider" data-tchmi-type="TcHmi.Controls.System.TcHmiContainer" data-tchmi-left="392" data-tchmi-top="20" data-tchmi-width="1" data-tchmi-height="56">
<script data-tchmi-target-attribute="data-tchmi-background-color" type="application/json">
{
"color": "#a3b0bb"
}
</script>
</div>
<div id="FooterHint" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiTextblock" data-tchmi-left="416" data-tchmi-top="18" data-tchmi-height="60" data-tchmi-right="32" data-tchmi-text="Switch Value to change the color of ColorChange. The binding calls the setter of its attribute Value, which toggles a CSS class." data-tchmi-word-wrap="True" data-tchmi-text-font-size="14" data-tchmi-text-font-size-unit="px" data-tchmi-text-vertical-alignment="Center">
</div>
</div>
<div id="Region_Center" data-tchmi-type="TcHmi.Controls.System.TcHmiRegion" data-tchmi-left="0" data-tchmi-top="%ctrl%Header_Top::Height%/ctrl%" data-tchmi-scrolling="Yes" data-tchmi-bottom="%ctrl%Container_Bottom::Height%/ctrl%" data-tchmi-right="%ctrl%Accordion_Navigation_Right::Width%/ctrl%" data-tchmi-target-content="Pages/Esm.content"></div>
</div>