|
27 | 27 | @click="createProtocolConnection($event)" |
28 | 28 | > |
29 | 29 | <v-icon dark> mdi-plus </v-icon> |
30 | | - New Connection |
| 30 | + {{msg.connNewConnection}} |
31 | 31 | </v-btn> |
32 | 32 | </v-col> |
33 | 33 |
|
|
40 | 40 | class="title grey--text text--lighten-1 font-weight-light" |
41 | 41 | style="align-self: center" |
42 | 42 | > |
43 | | - Select a Connection |
| 43 | + {{msg.connSelectConnection}} |
44 | 44 | </div> |
45 | 45 | <v-card |
46 | 46 | v-else |
|
56 | 56 | outlined |
57 | 57 | clearable |
58 | 58 | :input-value="active" |
59 | | - label="Name" |
| 59 | + :label="msg.connConnectionName" |
60 | 60 | hide-details="auto" |
61 | 61 | v-model="selected.name" |
62 | 62 | @change="updateProtocolConnection" |
|
77 | 77 | <v-icon dark> mdi-minus </v-icon> |
78 | 78 | </v-btn> |
79 | 79 | </template> |
80 | | - <span>Delete protocol connection!</span> |
| 80 | + <span>{{msg.connDeleteConnection}}</span> |
81 | 81 | </v-tooltip> |
82 | 82 |
|
83 | | - <v-dialog v-model="dialogDelConn" max-width="290"> |
| 83 | + <v-dialog v-model="dialogDelConn" max-width="400"> |
84 | 84 | <v-card> |
85 | 85 | <v-card-title class="headline"> |
86 | | - Delete connection! |
| 86 | + {{msg.connDeleteConnection}} |
87 | 87 | </v-card-title> |
88 | 88 |
|
89 | 89 | <v-card-text> |
90 | | - Please confirm removal of protocol connection. |
| 90 | + {{msg.connDeleteConnectionConfirm}} |
91 | 91 | </v-card-text> |
92 | 92 |
|
93 | 93 | <v-card-actions> |
|
98 | 98 | text |
99 | 99 | @click="dialogDelConn = false" |
100 | 100 | > |
101 | | - Cancel |
| 101 | + {{msg.connDeleteConnectionCancel}} |
102 | 102 | </v-btn> |
103 | 103 |
|
104 | 104 | <v-btn |
|
109 | 109 | deleteProtocolConnection($event); |
110 | 110 | " |
111 | 111 | > |
112 | | - Delete Connection! |
| 112 | + {{msg.connDeleteConnectionExecute}} |
113 | 113 | </v-btn> |
114 | 114 | </v-card-actions> |
115 | 115 | </v-card> |
|
123 | 123 | min="1" |
124 | 124 | clearable |
125 | 125 | :input-value="active" |
126 | | - label="Connection Number" |
| 126 | + :label="msg.connConnectionNumber" |
127 | 127 | hide-details="auto" |
128 | 128 | v-model="selected.protocolConnectionNumber" |
129 | 129 | @change="updateProtocolConnection" |
|
135 | 135 | outlined |
136 | 136 | clearable |
137 | 137 | :input-value="active" |
138 | | - label="Description" |
| 138 | + :label="msg.connDescription" |
139 | 139 | hide-details="auto" |
140 | 140 | v-model="selected.description" |
141 | 141 | @change="updateProtocolConnection" |
|
145 | 145 | v-model="selected.enabled" |
146 | 146 | inset |
147 | 147 | color="primary" |
148 | | - :label="`Enabled: ${selected.enabled.toString()}`" |
| 148 | + :label="`${msg.connEnabled}${selected.enabled?msg.connEnabledTrue:msg.connEnabledFalse}`" |
149 | 149 | @change="updateProtocolConnection" |
150 | 150 | class="mb-0" |
151 | 151 | ></v-switch> |
|
154 | 154 | v-model="selected.commandsEnabled" |
155 | 155 | inset |
156 | 156 | color="primary" |
157 | | - :label="`Commands Enabled: ${selected.commandsEnabled.toString()}`" |
| 157 | + :label="`${msg.connCmdEnabled}${selected.commandsEnabled?msg.connCmdEnabledTrue:msg.connCmdEnabledFalse}`" |
158 | 158 | @change="updateProtocolConnection" |
159 | 159 | class="mt-0" |
160 | 160 | ></v-switch> |
161 | 161 |
|
162 | 162 | <v-select |
163 | 163 | prepend-inner-icon="mdi-cogs" |
164 | 164 | :items="driverNameItems" |
165 | | - label="Protocol driver" |
| 165 | + :label="msg.connProtocolDriver" |
166 | 166 | v-model="selected.protocolDriver" |
167 | 167 | outlined |
168 | 168 | @change="updateProtocolConnection" |
|
176 | 176 | min="1" |
177 | 177 | clearable |
178 | 178 | :input-value="active" |
179 | | - label="Instance Number" |
| 179 | + :label="msg.connInstanceNumber" |
180 | 180 | hide-details="auto" |
181 | 181 | v-model="selected.protocolDriverInstanceNumber" |
182 | 182 | @change="updateProtocolConnection" |
183 | 183 | ></v-text-field> |
184 | 184 |
|
185 | 185 | <v-card class="mx-auto" tile> |
186 | 186 | <v-list flat dense shaped subheader> |
187 | | - <v-subheader>Protocol Connection Parameters</v-subheader> |
| 187 | + <v-subheader>{{msg.connProtocolConnectionParameters}}</v-subheader> |
188 | 188 |
|
189 | 189 | <v-list-item-group multiple active-class=""> |
190 | 190 |
|
191 | | - |
192 | 191 | <v-list-item |
193 | 192 | v-if=" |
194 | 193 | [ |
|
210 | 209 | type="number" |
211 | 210 | min="0" |
212 | 211 | :input-value="active" |
213 | | - label="Local link address" |
| 212 | + :label="msg.connLocalLinkAddress" |
214 | 213 | hide-details="auto" |
215 | 214 | v-model="selected.localLinkAddress" |
216 | 215 | @change="updateProtocolConnection" |
217 | 216 | ></v-text-field> |
218 | 217 | </v-list-item-action> |
219 | 218 | <v-list-item-content> |
220 | 219 | <v-list-item-title |
221 | | - >Local Link Address</v-list-item-title |
| 220 | + >{{msg.connLocalLinkAddressTitle}}</v-list-item-title |
222 | 221 | > |
223 | 222 | <v-list-item-subtitle |
224 | | - >Integer number</v-list-item-subtitle |
| 223 | + >{{msg.connLocalLinkAddressHint}}</v-list-item-subtitle |
225 | 224 | > |
226 | 225 | </v-list-item-content> |
227 | 226 | </template> |
|
248 | 247 | type="number" |
249 | 248 | min="0" |
250 | 249 | :input-value="active" |
251 | | - label="Remote link address" |
| 250 | + :label="msg.connRemoteLinkAddress" |
252 | 251 | hide-details="auto" |
253 | 252 | v-model="selected.remoteLinkAddress" |
254 | 253 | @change="updateProtocolConnection" |
255 | 254 | ></v-text-field> |
256 | 255 | </v-list-item-action> |
257 | 256 | <v-list-item-content> |
258 | 257 | <v-list-item-title |
259 | | - >Remote Link Address</v-list-item-title |
| 258 | + >{{msg.connRemoteLinkAddressTitle}}</v-list-item-title |
260 | 259 | > |
261 | 260 | <v-list-item-subtitle |
262 | | - >Integer number</v-list-item-subtitle |
| 261 | + >{{msg.connRemoteLinkAddressHint}}</v-list-item-subtitle |
263 | 262 | > |
264 | 263 | </v-list-item-content> |
265 | 264 | </template> |
|
279 | 278 | chips |
280 | 279 | small-chips |
281 | 280 | deletable-chips |
282 | | - label="Remote Endpoint URLs" |
| 281 | + :label="msg.connRemoteEndpointsUrls" |
283 | 282 | multiple |
284 | 283 | @change="updateProtocolConnection" |
285 | 284 | ></v-autocomplete> |
|
299 | 298 | <v-icon dark> mdi-plus </v-icon> |
300 | 299 | </v-btn> |
301 | 300 | </template> |
302 | | - <span>Add new endpoint URL!</span> |
| 301 | + <span>{{msg.connRemoteEndpointsAddNew}}</span> |
303 | 302 | </v-tooltip> |
304 | 303 | <v-dialog |
305 | 304 | v-model="dialogAddURL" |
|
308 | 307 | > |
309 | 308 | <v-card> |
310 | 309 | <v-card-title class="headline"> |
311 | | - Add a new OPC-UA URL! |
| 310 | + {{msg.connRemoteEndpointsAddNew}} |
312 | 311 | </v-card-title> |
313 | 312 |
|
314 | 313 | <v-card-title class="headline"> |
315 | 314 | <v-text-field |
316 | | - label="New URL" |
| 315 | + :label="msg.connRemoteEndpointsNewUrl" |
317 | 316 | v-model="newURL" |
318 | 317 | :rules="[rules.required, rules.opcUrl]" |
319 | 318 | ></v-text-field> |
|
327 | 326 | text |
328 | 327 | @click="dialogAddURL = false" |
329 | 328 | > |
330 | | - Cancel |
| 329 | + {{msg.connRemoteEndpointsNewUrlCancel}} |
331 | 330 | </v-btn> |
332 | 331 |
|
333 | 332 | <v-btn |
|
338 | 337 | addNewURL($event); |
339 | 338 | " |
340 | 339 | > |
341 | | - Add URL! |
| 340 | + {{msg.connRemoteEndpointsNewUrlExecute}} |
342 | 341 | </v-btn> |
343 | 342 | </v-card-actions> |
344 | 343 | </v-card> |
|
356 | 355 | <v-text-field |
357 | 356 | type="string" |
358 | 357 | :input-value="active" |
359 | | - label="Publishing interval" |
| 358 | + :label="msg.connConfigFileName" |
360 | 359 | hide-details="auto" |
361 | 360 | v-model="selected.configFileName" |
362 | 361 | @change="updateProtocolConnection" |
363 | 362 | ></v-text-field> |
364 | 363 | </v-list-item-action> |
365 | 364 |
|
366 | 365 | <v-list-item-content> |
367 | | - <v-list-item-title>Config file name</v-list-item-title> |
| 366 | + <v-list-item-title>{{msg.connConfigFileNameTitle}}</v-list-item-title> |
368 | 367 | <v-list-item-subtitle |
369 | | - >XML config file name with path.</v-list-item-subtitle |
| 368 | + >{{msg.connConfigFileNameHint}}</v-list-item-subtitle |
370 | 369 | > |
371 | 370 | </v-list-item-content> |
372 | 371 | </template> |
373 | 372 | </v-list-item> |
374 | 373 |
|
375 | | - <v-list-item |
| 374 | + <v-list-item class="ma-0" |
376 | 375 | v-if=" |
377 | 376 | [ |
378 | 377 | 'OPC-UA' |
379 | 378 | ].includes(selected.protocolDriver) |
380 | 379 | " |
381 | 380 | > |
382 | | - <v-switch |
| 381 | + <v-switch class="ma-0" |
383 | 382 | v-model="selected.useSecurity" |
384 | 383 | inset |
385 | 384 | color="primary" |
386 | | - :label="`Use security (certificates, encryption)`" |
| 385 | + :label="`${msg.connUseSecurity}${selected.useSecurity?msg.connUseSecurityTrue:msg.connUseSecurityFalse}`" |
387 | 386 | @change="updateProtocolConnection" |
388 | 387 | ></v-switch> |
389 | 388 | </v-list-item> |
390 | 389 |
|
391 | | - <v-list-item |
| 390 | + <v-list-item class="ma-0" |
392 | 391 | v-if=" |
393 | 392 | [ |
394 | 393 | 'OPC-UA' |
395 | 394 | ].includes(selected.protocolDriver) |
396 | 395 | " |
397 | 396 | > |
398 | | - <v-switch |
| 397 | + <v-switch class="ma-0" |
399 | 398 | v-model="selected.autoCreateTags" |
400 | 399 | inset |
401 | 400 | color="primary" |
402 | | - :label="`Auto create tags (server browse)`" |
| 401 | + :label="`${msg.connAutoCreateTags}${selected.autoCreateTags?msg.connAutoCreateTagsTrue:msg.connAutoCreateTagsFalse}`" |
403 | 402 | @change="updateProtocolConnection" |
404 | 403 | ></v-switch> |
405 | 404 | </v-list-item> |
|
416 | 415 | <v-text-field |
417 | 416 | type="number" |
418 | 417 | :input-value="active" |
419 | | - label="Publishing interval" |
| 418 | + :label="msg.connPublishingInterval" |
420 | 419 | hide-details="auto" |
421 | 420 | v-model="selected.autoCreateTagPublishingInterval" |
422 | 421 | @change="updateProtocolConnection" |
423 | 422 | ></v-text-field> |
424 | 423 | </v-list-item-action> |
425 | 424 |
|
426 | 425 | <v-list-item-content> |
427 | | - <v-list-item-title>Default publishing interval</v-list-item-title> |
| 426 | + <v-list-item-title>{{msg.connPublishingIntervalTitle}}</v-list-item-title> |
428 | 427 | <v-list-item-subtitle |
429 | | - >In seconds (for auto created tags).</v-list-item-subtitle |
| 428 | + >{{msg.connPublishingIntervalHint}}</v-list-item-subtitle |
430 | 429 | > |
431 | 430 | </v-list-item-content> |
432 | 431 | </template> |
|
444 | 443 | <v-text-field |
445 | 444 | type="number" |
446 | 445 | :input-value="active" |
447 | | - label="Sampling interval" |
| 446 | + :label="msg.connSamplingInterval" |
448 | 447 | hide-details="auto" |
449 | 448 | v-model="selected.autoCreateTagSamplingInterval" |
450 | 449 | @change="updateProtocolConnection" |
451 | 450 | ></v-text-field> |
452 | 451 | </v-list-item-action> |
453 | 452 | <v-list-item-content> |
454 | | - <v-list-item-title>Default sampling interval on server</v-list-item-title> |
| 453 | + <v-list-item-title>{{msg.connSamplingIntervalTitle}}</v-list-item-title> |
455 | 454 | <v-list-item-subtitle |
456 | | - >In seconds (0=auto adjusted by the OPC server).</v-list-item-subtitle |
| 455 | + >{{msg.connSamplingIntervalHint}}</v-list-item-subtitle |
457 | 456 | > |
458 | 457 | </v-list-item-content> |
459 | 458 | </template> |
|
471 | 470 | <v-text-field |
472 | 471 | type="number" |
473 | 472 | :input-value="active" |
474 | | - label="Queue size" |
| 473 | + :label="msg.connServerQueueSize" |
475 | 474 | hide-details="auto" |
476 | 475 | v-model="selected.autoCreateTagQueueSize" |
477 | 476 | @change="updateProtocolConnection" |
478 | 477 | ></v-text-field> |
479 | 478 | </v-list-item-action> |
480 | 479 | <v-list-item-content> |
481 | | - <v-list-item-title>Default sampling queue size on server</v-list-item-title> |
| 480 | + <v-list-item-title>{{msg.connServerQueueSizeTitle}}</v-list-item-title> |
482 | 481 | <v-list-item-subtitle |
483 | | - >Use zero to avoid buffering on the OPC server.</v-list-item-subtitle |
| 482 | + >{{msg.connServerQueueSizeHint}}</v-list-item-subtitle |
484 | 483 | > |
485 | 484 | </v-list-item-content> |
486 | 485 | </template> |
|
497 | 496 | <v-text-field |
498 | 497 | type="number" |
499 | 498 | :input-value="active" |
500 | | - label="Timeout keep-alive" |
| 499 | + :label="msg.connTimeoutKeepalive" |
501 | 500 | hide-details="auto" |
502 | 501 | v-model="selected.timeoutMs" |
503 | 502 | @change="updateProtocolConnection" |
504 | 503 | ></v-text-field> |
505 | 504 | </v-list-item-action> |
506 | 505 | <v-list-item-content> |
507 | | - <v-list-item-title>Timeout interval for keep-alive messages</v-list-item-title> |
| 506 | + <v-list-item-title>{{msg.connTimeoutKeepaliveTitle}}</v-list-item-title> |
508 | 507 | <v-list-item-subtitle |
509 | | - >In milliseconds.</v-list-item-subtitle |
| 508 | + >{{msg.connTimeoutKeepaliveHint}}</v-list-item-subtitle |
510 | 509 | > |
511 | 510 | </v-list-item-content> |
512 | 511 | </template> |
|
0 commit comments