Repository navigation
Expand file tree
/
Copy pathDesktop.view
More file actions
170 lines (170 loc) · 7.56 KB
/
Copy pathDesktop.view
File metadata and controls
170 lines (170 loc) · 7.56 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
163
164
165
166
167
168
169
170
<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/Usage.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": "ObjectResolver"
},
{
"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": "Usage",
"name": "Usage",
"content": "Pages/Usage.content",
"icon": "%tr%TR_Icon_Usage_normal%/tr%",
"iconActive": "%tr%TR_Icon_Usage_active%/tr%",
"iconPressed": "%tr%TR_Icon_Usage_pressed%/tr%"
},
{
"id": "Implementation",
"name": "Implementation",
"content": "Pages/Implementation.content",
"icon": "%tr%TR_Icon_Implementation_normal%/tr%",
"iconActive": "%tr%TR_Icon_Implementation_active%/tr%",
"iconPressed": "%tr%TR_Icon_Implementation_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="Number1 to 3" 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 symbols, Number" data-tchmi-word-wrap="False">
<script data-tchmi-target-attribute="data-tchmi-class-names" type="application/json">
[
"text-size-default"
]
</script>
</div>
<div id="Number1Label" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiTextblock" data-tchmi-left="216" data-tchmi-top="12" data-tchmi-height="24" data-tchmi-width="100" data-tchmi-text="Number1" data-tchmi-word-wrap="False">
<script data-tchmi-target-attribute="data-tchmi-class-names" type="application/json">
[
"text-size-default"
]
</script>
</div>
<div id="Number1Input" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiSpinboxInput" data-tchmi-left="216" data-tchmi-top="40" data-tchmi-height="36" data-tchmi-width="100" data-tchmi-auto-focus-out="True" data-tchmi-decimal-digits="0" data-tchmi-reset-to-last-valid-value="True" data-tchmi-value="%i%Number1|BindingMode=TwoWay%/i%"></div>
<div id="Number2Label" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiTextblock" data-tchmi-left="328" data-tchmi-top="12" data-tchmi-height="24" data-tchmi-width="100" data-tchmi-text="Number2" data-tchmi-word-wrap="False">
<script data-tchmi-target-attribute="data-tchmi-class-names" type="application/json">
[
"text-size-default"
]
</script>
</div>
<div id="Number2Input" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiSpinboxInput" data-tchmi-left="328" data-tchmi-top="40" data-tchmi-height="36" data-tchmi-width="100" data-tchmi-auto-focus-out="True" data-tchmi-decimal-digits="0" data-tchmi-reset-to-last-valid-value="True" data-tchmi-value="%i%Number2|BindingMode=TwoWay%/i%"></div>
<div id="Number3Label" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiTextblock" data-tchmi-left="440" data-tchmi-top="12" data-tchmi-height="24" data-tchmi-width="100" data-tchmi-text="Number3" data-tchmi-word-wrap="False">
<script data-tchmi-target-attribute="data-tchmi-class-names" type="application/json">
[
"text-size-default"
]
</script>
</div>
<div id="Number3Input" data-tchmi-type="TcHmi.Controls.Beckhoff.TcHmiSpinboxInput" data-tchmi-left="440" data-tchmi-top="40" data-tchmi-height="36" data-tchmi-width="100" data-tchmi-auto-focus-out="True" data-tchmi-decimal-digits="0" data-tchmi-reset-to-last-valid-value="True" data-tchmi-value="%i%Number3|BindingMode=TwoWay%/i%"></div>
<div id="FooterDivider" data-tchmi-type="TcHmi.Controls.System.TcHmiContainer" data-tchmi-left="564" 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="588" data-tchmi-top="18" data-tchmi-height="60" data-tchmi-right="32" data-tchmi-text="Change a value here or in MyControl on the page. Both are bound to the same internal symbols with BindingMode=TwoWay, so every input shows the new value." 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/Usage.content"></div>
</div>