@record-evolution/widget-scada 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +50 -0
- package/dist/scada_symbols/3-phase-voltage-relay-hp.svg +549 -0
- package/dist/scada_symbols/apartments-hp.svg +344 -0
- package/dist/scada_symbols/battery-hp.svg +473 -0
- package/dist/scada_symbols/bottom-flow-meter.svg +933 -0
- package/dist/scada_symbols/bottom-light-bulb-hp.svg +346 -0
- package/dist/scada_symbols/bottom-right-elbow-connector-hp.svg +233 -0
- package/dist/scada_symbols/bottom-right-elbow-pipe.svg +532 -0
- package/dist/scada_symbols/bottom-tee-connector-hp.svg +470 -0
- package/dist/scada_symbols/bottom-tee-pipe.svg +857 -0
- package/dist/scada_symbols/centrifugal-pump.svg +626 -0
- package/dist/scada_symbols/conical-tank.svg +1136 -0
- package/dist/scada_symbols/consumers-hp.svg +346 -0
- package/dist/scada_symbols/control-panel-hp.svg +332 -0
- package/dist/scada_symbols/crane-hp.svg +346 -0
- package/dist/scada_symbols/cross-connector-hp.svg +586 -0
- package/dist/scada_symbols/cross-pipe.svg +1051 -0
- package/dist/scada_symbols/curcuit-breaker-hp.svg +444 -0
- package/dist/scada_symbols/cylindrical-tank.svg +1332 -0
- package/dist/scada_symbols/drawwork-hp.svg +355 -0
- package/dist/scada_symbols/drill-hp.svg +354 -0
- package/dist/scada_symbols/drilling-line-hp.svg +361 -0
- package/dist/scada_symbols/drilling-rig-hp.svg +354 -0
- package/dist/scada_symbols/dynamic-horizontal-scale-hp.svg +605 -0
- package/dist/scada_symbols/dynamic-vertical-scale-hp.svg +598 -0
- package/dist/scada_symbols/electrical-distribution-board-hp.svg +332 -0
- package/dist/scada_symbols/electrical-engine-hp.svg +360 -0
- package/dist/scada_symbols/elevated-tank.svg +1564 -0
- package/dist/scada_symbols/energy-meter-hp.svg +488 -0
- package/dist/scada_symbols/extra-long-horizontal-pipe.svg +426 -0
- package/dist/scada_symbols/extra-long-vertical-pipe.svg +438 -0
- package/dist/scada_symbols/filter-hp.svg +287 -0
- package/dist/scada_symbols/four-rate-energy-meter-hp.svg +891 -0
- package/dist/scada_symbols/fuel-generator-hp.svg +359 -0
- package/dist/scada_symbols/gas-preventer-hp.svg +361 -0
- package/dist/scada_symbols/gas-wellhead-hp.svg +363 -0
- package/dist/scada_symbols/heat-exchanger-hp.svg +363 -0
- package/dist/scada_symbols/heat-pump-hp.svg +532 -0
- package/dist/scada_symbols/high-voltage-tower-hp.svg +297 -0
- package/dist/scada_symbols/hook-hp.svg +293 -0
- package/dist/scada_symbols/horizontal-ball-valve.svg +271 -0
- package/dist/scada_symbols/horizontal-broken-pipe.svg +97 -0
- package/dist/scada_symbols/horizontal-connector-hp.svg +268 -0
- package/dist/scada_symbols/horizontal-curcuit-breaker-hp.svg +439 -0
- package/dist/scada_symbols/horizontal-energy-system-controller-hp.svg +378 -0
- package/dist/scada_symbols/horizontal-inline-flow-meter.svg +913 -0
- package/dist/scada_symbols/horizontal-pipe.svg +422 -0
- package/dist/scada_symbols/horizontal-tank-hp.svg +524 -0
- package/dist/scada_symbols/horizontal-tank.svg +1343 -0
- package/dist/scada_symbols/horizontal-valve-hp.svg +392 -0
- package/dist/scada_symbols/horizontal-wheel-valve.svg +300 -0
- package/dist/scada_symbols/house-hp.svg +349 -0
- package/dist/scada_symbols/index.json +702 -0
- package/dist/scada_symbols/industrial-fuel-generator-hp.svg +358 -0
- package/dist/scada_symbols/inverter-hp.svg +578 -0
- package/dist/scada_symbols/large-conical-tank.svg +1146 -0
- package/dist/scada_symbols/large-cylindrical-tank.svg +1323 -0
- package/dist/scada_symbols/large-horizontal-separator-connector-hp.svg +342 -0
- package/dist/scada_symbols/large-horizontal-separator-hp.svg +350 -0
- package/dist/scada_symbols/large-inverter-hp.svg +578 -0
- package/dist/scada_symbols/large-stand-cylindrical-tank.svg +1384 -0
- package/dist/scada_symbols/large-stand-vertical-tank.svg +1386 -0
- package/dist/scada_symbols/large-vertical-separator-connector-hp.svg +350 -0
- package/dist/scada_symbols/large-vertical-separator-hp.svg +350 -0
- package/dist/scada_symbols/large-vertical-tank.svg +1325 -0
- package/dist/scada_symbols/leak-sensor.svg +158 -0
- package/dist/scada_symbols/left-analog-water-level-meter.svg +748 -0
- package/dist/scada_symbols/left-bottom-elbow-connector-hp.svg +233 -0
- package/dist/scada_symbols/left-bottom-elbow-pipe.svg +532 -0
- package/dist/scada_symbols/left-drain-pipe.svg +166 -0
- package/dist/scada_symbols/left-elbow-drain-pipe.svg +181 -0
- package/dist/scada_symbols/left-flow-meter.svg +911 -0
- package/dist/scada_symbols/left-heat-pump.svg +939 -0
- package/dist/scada_symbols/left-motor-pump.svg +541 -0
- package/dist/scada_symbols/left-tee-connector-hp.svg +470 -0
- package/dist/scada_symbols/left-tee-pipe.svg +869 -0
- package/dist/scada_symbols/left-top-elbow-connector-hp.svg +233 -0
- package/dist/scada_symbols/left-top-elbow-pipe.svg +532 -0
- package/dist/scada_symbols/long-bottom-filter.svg +88 -0
- package/dist/scada_symbols/long-horizontal-broken-pipe.svg +97 -0
- package/dist/scada_symbols/long-horizontal-connector-hp.svg +269 -0
- package/dist/scada_symbols/long-horizontal-pipe.svg +488 -0
- package/dist/scada_symbols/long-top-filter.svg +88 -0
- package/dist/scada_symbols/long-vertical-broken-pipe.svg +97 -0
- package/dist/scada_symbols/long-vertical-connector-hp.svg +267 -0
- package/dist/scada_symbols/long-vertical-pipe.svg +485 -0
- package/dist/scada_symbols/low-voltage-tower-hp.svg +278 -0
- package/dist/scada_symbols/low-voltage-transformer-tower-hp.svg +334 -0
- package/dist/scada_symbols/manufacture-hp.svg +344 -0
- package/dist/scada_symbols/meter.svg +751 -0
- package/dist/scada_symbols/oil-pump-hp.svg +357 -0
- package/dist/scada_symbols/platform-hp.svg +267 -0
- package/dist/scada_symbols/pool-hp.svg +523 -0
- package/dist/scada_symbols/pool.svg +998 -0
- package/dist/scada_symbols/power-socket-hp.svg +371 -0
- package/dist/scada_symbols/power-transformer-hp.svg +359 -0
- package/dist/scada_symbols/preventer-hp.svg +343 -0
- package/dist/scada_symbols/pump-hp.svg +368 -0
- package/dist/scada_symbols/right-analog-water-level-meter.svg +748 -0
- package/dist/scada_symbols/right-drain-pipe.svg +167 -0
- package/dist/scada_symbols/right-elbow-drain-pipe.svg +178 -0
- package/dist/scada_symbols/right-flow-meter.svg +911 -0
- package/dist/scada_symbols/right-heat-pump.svg +948 -0
- package/dist/scada_symbols/right-motor-pump.svg +541 -0
- package/dist/scada_symbols/right-tee-connector-hp.svg +470 -0
- package/dist/scada_symbols/right-tee-pipe.svg +857 -0
- package/dist/scada_symbols/rotor-hp.svg +346 -0
- package/dist/scada_symbols/sand-filter-hp.svg +652 -0
- package/dist/scada_symbols/sand-filter.svg +704 -0
- package/dist/scada_symbols/short-bottom-filter.svg +88 -0
- package/dist/scada_symbols/short-left-drain-pipe.svg +160 -0
- package/dist/scada_symbols/short-right-drain-pipe.svg +160 -0
- package/dist/scada_symbols/short-top-filter.svg +88 -0
- package/dist/scada_symbols/short-vertical-tank-hp.svg +522 -0
- package/dist/scada_symbols/simple-horizontal-scale-hp.svg +509 -0
- package/dist/scada_symbols/simple-vertical-scale-hp.svg +509 -0
- package/dist/scada_symbols/single-key-switch-hp.svg +373 -0
- package/dist/scada_symbols/small-cylindrical-tank.svg +1306 -0
- package/dist/scada_symbols/small-horizontal-separator-connector-hp.svg +342 -0
- package/dist/scada_symbols/small-horizontal-separator-hp.svg +342 -0
- package/dist/scada_symbols/small-left-meter.svg +725 -0
- package/dist/scada_symbols/small-left-motor-pump.svg +443 -0
- package/dist/scada_symbols/small-meter.svg +694 -0
- package/dist/scada_symbols/small-power-transformer-hp.svg +359 -0
- package/dist/scada_symbols/small-right-center.svg +725 -0
- package/dist/scada_symbols/small-right-motor-pump.svg +443 -0
- package/dist/scada_symbols/small-spherical-tank.svg +1362 -0
- package/dist/scada_symbols/small-vertical-separator-connector-hp.svg +342 -0
- package/dist/scada_symbols/small-vertical-separator-hp.svg +342 -0
- package/dist/scada_symbols/solar-panel-hp.svg +353 -0
- package/dist/scada_symbols/spherical-tank.svg +1392 -0
- package/dist/scada_symbols/stand-cylindrical-tank.svg +1393 -0
- package/dist/scada_symbols/stand-horizontal-tank.svg +1404 -0
- package/dist/scada_symbols/stand-solar-panel-hp.svg +357 -0
- package/dist/scada_symbols/stand-vertical-short-tank.svg +1366 -0
- package/dist/scada_symbols/stand-vertical-tank.svg +1386 -0
- package/dist/scada_symbols/three-rate-energy-meter-hp.svg +759 -0
- package/dist/scada_symbols/top-flow-meter.svg +927 -0
- package/dist/scada_symbols/top-light-bulb-hp.svg +346 -0
- package/dist/scada_symbols/top-right-elbow-connector-hp.svg +233 -0
- package/dist/scada_symbols/top-right-elbow-pipe.svg +532 -0
- package/dist/scada_symbols/top-tee-connector-hp.svg +470 -0
- package/dist/scada_symbols/top-tee-pipe.svg +857 -0
- package/dist/scada_symbols/turbine-hp.svg +377 -0
- package/dist/scada_symbols/two-key-switch-hp.svg +489 -0
- package/dist/scada_symbols/two-rate-energy-meter-hp.svg +627 -0
- package/dist/scada_symbols/vertical-ball-valve.svg +271 -0
- package/dist/scada_symbols/vertical-broken-pipe.svg +97 -0
- package/dist/scada_symbols/vertical-connector-hp.svg +269 -0
- package/dist/scada_symbols/vertical-energy-system-controller-hp.svg +378 -0
- package/dist/scada_symbols/vertical-inline-flow-meter.svg +913 -0
- package/dist/scada_symbols/vertical-pipe.svg +422 -0
- package/dist/scada_symbols/vertical-short-tank.svg +1305 -0
- package/dist/scada_symbols/vertical-tank-hp.svg +524 -0
- package/dist/scada_symbols/vertical-tank.svg +1326 -0
- package/dist/scada_symbols/vertical-valve-hp.svg +392 -0
- package/dist/scada_symbols/vertical-wheel-valve.svg +300 -0
- package/dist/scada_symbols/voltage-relay-hp.svg +440 -0
- package/dist/scada_symbols/voltage-stabilizer-hp.svg +584 -0
- package/dist/scada_symbols/waterstop.svg +276 -0
- package/dist/scada_symbols/wind-turbine-cluster-hp.svg +370 -0
- package/dist/scada_symbols/wind-turbine-hp.svg +360 -0
- package/dist/widget-scada.js +1331 -0
- package/dist/widget-scada.js.map +1 -0
- package/package.json +61 -0
- package/scada_symbols/3-phase-voltage-relay-hp.svg +549 -0
- package/scada_symbols/apartments-hp.svg +344 -0
- package/scada_symbols/battery-hp.svg +473 -0
- package/scada_symbols/bottom-flow-meter.svg +933 -0
- package/scada_symbols/bottom-light-bulb-hp.svg +346 -0
- package/scada_symbols/bottom-right-elbow-connector-hp.svg +233 -0
- package/scada_symbols/bottom-right-elbow-pipe.svg +532 -0
- package/scada_symbols/bottom-tee-connector-hp.svg +470 -0
- package/scada_symbols/bottom-tee-pipe.svg +857 -0
- package/scada_symbols/centrifugal-pump.svg +626 -0
- package/scada_symbols/conical-tank.svg +1136 -0
- package/scada_symbols/consumers-hp.svg +346 -0
- package/scada_symbols/control-panel-hp.svg +332 -0
- package/scada_symbols/crane-hp.svg +346 -0
- package/scada_symbols/cross-connector-hp.svg +586 -0
- package/scada_symbols/cross-pipe.svg +1051 -0
- package/scada_symbols/curcuit-breaker-hp.svg +444 -0
- package/scada_symbols/cylindrical-tank.svg +1332 -0
- package/scada_symbols/drawwork-hp.svg +355 -0
- package/scada_symbols/drill-hp.svg +354 -0
- package/scada_symbols/drilling-line-hp.svg +361 -0
- package/scada_symbols/drilling-rig-hp.svg +354 -0
- package/scada_symbols/dynamic-horizontal-scale-hp.svg +605 -0
- package/scada_symbols/dynamic-vertical-scale-hp.svg +598 -0
- package/scada_symbols/electrical-distribution-board-hp.svg +332 -0
- package/scada_symbols/electrical-engine-hp.svg +360 -0
- package/scada_symbols/elevated-tank.svg +1564 -0
- package/scada_symbols/energy-meter-hp.svg +488 -0
- package/scada_symbols/extra-long-horizontal-pipe.svg +426 -0
- package/scada_symbols/extra-long-vertical-pipe.svg +438 -0
- package/scada_symbols/filter-hp.svg +287 -0
- package/scada_symbols/four-rate-energy-meter-hp.svg +891 -0
- package/scada_symbols/fuel-generator-hp.svg +359 -0
- package/scada_symbols/gas-preventer-hp.svg +361 -0
- package/scada_symbols/gas-wellhead-hp.svg +363 -0
- package/scada_symbols/heat-exchanger-hp.svg +363 -0
- package/scada_symbols/heat-pump-hp.svg +532 -0
- package/scada_symbols/high-voltage-tower-hp.svg +297 -0
- package/scada_symbols/hook-hp.svg +293 -0
- package/scada_symbols/horizontal-ball-valve.svg +271 -0
- package/scada_symbols/horizontal-broken-pipe.svg +97 -0
- package/scada_symbols/horizontal-connector-hp.svg +268 -0
- package/scada_symbols/horizontal-curcuit-breaker-hp.svg +439 -0
- package/scada_symbols/horizontal-energy-system-controller-hp.svg +378 -0
- package/scada_symbols/horizontal-inline-flow-meter.svg +913 -0
- package/scada_symbols/horizontal-pipe.svg +422 -0
- package/scada_symbols/horizontal-tank-hp.svg +524 -0
- package/scada_symbols/horizontal-tank.svg +1343 -0
- package/scada_symbols/horizontal-valve-hp.svg +392 -0
- package/scada_symbols/horizontal-wheel-valve.svg +300 -0
- package/scada_symbols/house-hp.svg +349 -0
- package/scada_symbols/index.json +702 -0
- package/scada_symbols/industrial-fuel-generator-hp.svg +358 -0
- package/scada_symbols/inverter-hp.svg +578 -0
- package/scada_symbols/large-conical-tank.svg +1146 -0
- package/scada_symbols/large-cylindrical-tank.svg +1323 -0
- package/scada_symbols/large-horizontal-separator-connector-hp.svg +342 -0
- package/scada_symbols/large-horizontal-separator-hp.svg +350 -0
- package/scada_symbols/large-inverter-hp.svg +578 -0
- package/scada_symbols/large-stand-cylindrical-tank.svg +1384 -0
- package/scada_symbols/large-stand-vertical-tank.svg +1386 -0
- package/scada_symbols/large-vertical-separator-connector-hp.svg +350 -0
- package/scada_symbols/large-vertical-separator-hp.svg +350 -0
- package/scada_symbols/large-vertical-tank.svg +1325 -0
- package/scada_symbols/leak-sensor.svg +158 -0
- package/scada_symbols/left-analog-water-level-meter.svg +748 -0
- package/scada_symbols/left-bottom-elbow-connector-hp.svg +233 -0
- package/scada_symbols/left-bottom-elbow-pipe.svg +532 -0
- package/scada_symbols/left-drain-pipe.svg +166 -0
- package/scada_symbols/left-elbow-drain-pipe.svg +181 -0
- package/scada_symbols/left-flow-meter.svg +911 -0
- package/scada_symbols/left-heat-pump.svg +939 -0
- package/scada_symbols/left-motor-pump.svg +541 -0
- package/scada_symbols/left-tee-connector-hp.svg +470 -0
- package/scada_symbols/left-tee-pipe.svg +869 -0
- package/scada_symbols/left-top-elbow-connector-hp.svg +233 -0
- package/scada_symbols/left-top-elbow-pipe.svg +532 -0
- package/scada_symbols/long-bottom-filter.svg +88 -0
- package/scada_symbols/long-horizontal-broken-pipe.svg +97 -0
- package/scada_symbols/long-horizontal-connector-hp.svg +269 -0
- package/scada_symbols/long-horizontal-pipe.svg +488 -0
- package/scada_symbols/long-top-filter.svg +88 -0
- package/scada_symbols/long-vertical-broken-pipe.svg +97 -0
- package/scada_symbols/long-vertical-connector-hp.svg +267 -0
- package/scada_symbols/long-vertical-pipe.svg +485 -0
- package/scada_symbols/low-voltage-tower-hp.svg +278 -0
- package/scada_symbols/low-voltage-transformer-tower-hp.svg +334 -0
- package/scada_symbols/manufacture-hp.svg +344 -0
- package/scada_symbols/meter.svg +751 -0
- package/scada_symbols/oil-pump-hp.svg +357 -0
- package/scada_symbols/platform-hp.svg +267 -0
- package/scada_symbols/pool-hp.svg +523 -0
- package/scada_symbols/pool.svg +998 -0
- package/scada_symbols/power-socket-hp.svg +371 -0
- package/scada_symbols/power-transformer-hp.svg +359 -0
- package/scada_symbols/preventer-hp.svg +343 -0
- package/scada_symbols/pump-hp.svg +368 -0
- package/scada_symbols/right-analog-water-level-meter.svg +748 -0
- package/scada_symbols/right-drain-pipe.svg +167 -0
- package/scada_symbols/right-elbow-drain-pipe.svg +178 -0
- package/scada_symbols/right-flow-meter.svg +911 -0
- package/scada_symbols/right-heat-pump.svg +948 -0
- package/scada_symbols/right-motor-pump.svg +541 -0
- package/scada_symbols/right-tee-connector-hp.svg +470 -0
- package/scada_symbols/right-tee-pipe.svg +857 -0
- package/scada_symbols/rotor-hp.svg +346 -0
- package/scada_symbols/sand-filter-hp.svg +652 -0
- package/scada_symbols/sand-filter.svg +704 -0
- package/scada_symbols/short-bottom-filter.svg +88 -0
- package/scada_symbols/short-left-drain-pipe.svg +160 -0
- package/scada_symbols/short-right-drain-pipe.svg +160 -0
- package/scada_symbols/short-top-filter.svg +88 -0
- package/scada_symbols/short-vertical-tank-hp.svg +522 -0
- package/scada_symbols/simple-horizontal-scale-hp.svg +509 -0
- package/scada_symbols/simple-vertical-scale-hp.svg +509 -0
- package/scada_symbols/single-key-switch-hp.svg +373 -0
- package/scada_symbols/small-cylindrical-tank.svg +1306 -0
- package/scada_symbols/small-horizontal-separator-connector-hp.svg +342 -0
- package/scada_symbols/small-horizontal-separator-hp.svg +342 -0
- package/scada_symbols/small-left-meter.svg +725 -0
- package/scada_symbols/small-left-motor-pump.svg +443 -0
- package/scada_symbols/small-meter.svg +694 -0
- package/scada_symbols/small-power-transformer-hp.svg +359 -0
- package/scada_symbols/small-right-center.svg +725 -0
- package/scada_symbols/small-right-motor-pump.svg +443 -0
- package/scada_symbols/small-spherical-tank.svg +1362 -0
- package/scada_symbols/small-vertical-separator-connector-hp.svg +342 -0
- package/scada_symbols/small-vertical-separator-hp.svg +342 -0
- package/scada_symbols/solar-panel-hp.svg +353 -0
- package/scada_symbols/spherical-tank.svg +1392 -0
- package/scada_symbols/stand-cylindrical-tank.svg +1393 -0
- package/scada_symbols/stand-horizontal-tank.svg +1404 -0
- package/scada_symbols/stand-solar-panel-hp.svg +357 -0
- package/scada_symbols/stand-vertical-short-tank.svg +1366 -0
- package/scada_symbols/stand-vertical-tank.svg +1386 -0
- package/scada_symbols/three-rate-energy-meter-hp.svg +759 -0
- package/scada_symbols/top-flow-meter.svg +927 -0
- package/scada_symbols/top-light-bulb-hp.svg +346 -0
- package/scada_symbols/top-right-elbow-connector-hp.svg +233 -0
- package/scada_symbols/top-right-elbow-pipe.svg +532 -0
- package/scada_symbols/top-tee-connector-hp.svg +470 -0
- package/scada_symbols/top-tee-pipe.svg +857 -0
- package/scada_symbols/turbine-hp.svg +377 -0
- package/scada_symbols/two-key-switch-hp.svg +489 -0
- package/scada_symbols/two-rate-energy-meter-hp.svg +627 -0
- package/scada_symbols/vertical-ball-valve.svg +271 -0
- package/scada_symbols/vertical-broken-pipe.svg +97 -0
- package/scada_symbols/vertical-connector-hp.svg +269 -0
- package/scada_symbols/vertical-energy-system-controller-hp.svg +378 -0
- package/scada_symbols/vertical-inline-flow-meter.svg +913 -0
- package/scada_symbols/vertical-pipe.svg +422 -0
- package/scada_symbols/vertical-short-tank.svg +1305 -0
- package/scada_symbols/vertical-tank-hp.svg +524 -0
- package/scada_symbols/vertical-tank.svg +1326 -0
- package/scada_symbols/vertical-valve-hp.svg +392 -0
- package/scada_symbols/vertical-wheel-valve.svg +300 -0
- package/scada_symbols/voltage-relay-hp.svg +440 -0
- package/scada_symbols/voltage-stabilizer-hp.svg +584 -0
- package/scada_symbols/waterstop.svg +276 -0
- package/scada_symbols/wind-turbine-cluster-hp.svg +370 -0
- package/scada_symbols/wind-turbine-hp.svg +360 -0
- package/src/default-data.json +18 -0
- package/src/definition-schema.d.ts +1521 -0
- package/src/definition-schema.json +5228 -0
- package/src/scada-runtime.ts +1290 -0
- package/src/widget-scada.ts +269 -0
- package/thumbnail.png +0 -0
|
@@ -0,0 +1,598 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:tb="https://thingsboard.io/svg" width="400" height="800" fill="none" version="1.1" viewBox="0 0 400 800"><tb:metadata xmlns=""><![CDATA[{
|
|
2
|
+
"title": "HP Dynamic vertical scale",
|
|
3
|
+
"description": "Dynamic vertical scale with current volume value and dynamically configurable warning and critical scale.",
|
|
4
|
+
"searchTags": [
|
|
5
|
+
"scale"
|
|
6
|
+
],
|
|
7
|
+
"widgetSizeX": 2,
|
|
8
|
+
"widgetSizeY": 4,
|
|
9
|
+
"tags": [
|
|
10
|
+
{
|
|
11
|
+
"tag": "clickArea",
|
|
12
|
+
"stateRenderFunction": null,
|
|
13
|
+
"actions": {
|
|
14
|
+
"click": {
|
|
15
|
+
"actionFunction": "ctx.api.callAction(event, 'click');"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"tag": "highCriticalScale",
|
|
21
|
+
"stateRenderFunction": "function calculateOffset(value, minValue, maxValue) {\n const clampedValue = Math.max(Math.min(value, Math.max(minValue, maxValue)), Math.min(minValue, maxValue));\n const normalizedValue = minValue < maxValue\n ? (clampedValue - minValue) / (maxValue - minValue)\n : (minValue - clampedValue) / (minValue - maxValue);\n return normalizedValue * 653;\n}\n\nconst { value, highCriticalState } = ctx.values;\nconst {\n minValue,\n maxValue,\n showHighCriticalScale,\n activeCriticalScaleColor,\n defaultCriticalScaleColor\n} = ctx.properties;\n\nif (showHighCriticalScale && highCriticalState !== null) {\n element.show();\n const offset = calculateOffset(highCriticalState, minValue, maxValue);\n element.height(653 - offset);\n} else {\n element.hide();\n}\n\nif (showHighCriticalScale && value !== null && highCriticalState !== null) {\n const isActive = minValue < maxValue ? value >= highCriticalState : value <= highCriticalState;\n element.fill(isActive ? activeCriticalScaleColor : defaultCriticalScaleColor);\n}",
|
|
22
|
+
"actions": null
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"tag": "highWarningScale",
|
|
26
|
+
"stateRenderFunction": "function calculateOffset(value, minValue, maxValue) {\n const clampedValue = Math.max(Math.min(value, Math.max(minValue, maxValue)), Math.min(minValue, maxValue));\n const normalizedValue = minValue < maxValue\n ? (clampedValue - minValue) / (maxValue - minValue)\n : (minValue - clampedValue) / (minValue - maxValue);\n return normalizedValue * 653;\n}\n\nconst { value, highWarningState, highCriticalState: initialHighCriticalState } = ctx.values;\nconst {\n minValue,\n maxValue,\n showHighCriticalScale,\n showHighWarningScale,\n activeWarningScaleColor,\n defaultWarningScaleColor\n} = ctx.properties;\n\nif (showHighWarningScale && highWarningState !== null) {\n element.show();\n const offset = calculateOffset(highWarningState, minValue, maxValue);\n element.height(653 - offset);\n} else {\n element.hide();\n}\n\nif (showHighWarningScale && value !== null) {\n let adjustedHighCriticalState = initialHighCriticalState;\n if (!showHighCriticalScale) {\n adjustedHighCriticalState = minValue < maxValue ? Number.MAX_SAFE_INTEGER : Number.MIN_SAFE_INTEGER;\n }\n if (highWarningState !== null && adjustedHighCriticalState !== null) {\n let adjustedHighWarningState = highWarningState;\n if (minValue > maxValue) {\n [adjustedHighCriticalState, adjustedHighWarningState] = [adjustedHighWarningState, adjustedHighCriticalState];\n }\n const isActive = value < adjustedHighCriticalState && value >= adjustedHighWarningState;\n element.fill(isActive ? activeWarningScaleColor : defaultWarningScaleColor);\n }\n}",
|
|
27
|
+
"actions": null
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"tag": "label",
|
|
31
|
+
"stateRenderFunction": "if (ctx.properties.label) {\n element.show();\n ctx.api.font(element, ctx.properties.labelFont, ctx.properties.labelColor);\n ctx.api.text(element, ctx.properties.labelText);\n} else {\n element.hide();\n}",
|
|
32
|
+
"actions": null
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"tag": "lowCriticalScale",
|
|
36
|
+
"stateRenderFunction": "function calculateOffset(value, minValue, maxValue) {\n const clampedValue = Math.max(Math.min(value, Math.max(minValue, maxValue)), Math.min(minValue, maxValue));\n const normalizedValue = minValue < maxValue\n ? (clampedValue - minValue) / (maxValue - minValue)\n : (minValue - clampedValue) / (minValue - maxValue);\n return normalizedValue * 653;\n}\n\nconst { value, lowCriticalState: lowCriticalValue } = ctx.values;\nconst {\n minValue,\n maxValue,\n showLowCriticalScale,\n activeCriticalScaleColor,\n defaultCriticalScaleColor\n} = ctx.properties;\n\nif (showLowCriticalScale && lowCriticalValue !== null) {\n element.show();\n const offset = calculateOffset(lowCriticalValue, minValue, maxValue);\n element.height(offset);\n} else {\n element.hide();\n}\n\nif (showLowCriticalScale && value !== null && lowCriticalValue !== null) {\n const isActive = minValue < maxValue ? value <= lowCriticalValue : value >= lowCriticalValue;\n element.fill(isActive ? activeCriticalScaleColor : defaultCriticalScaleColor);\n}",
|
|
37
|
+
"actions": null
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"tag": "lowWarningScale",
|
|
41
|
+
"stateRenderFunction": "function calculateOffset(value, minValue, maxValue) {\n const clampedValue = Math.max(Math.min(value, Math.max(minValue, maxValue)), Math.min(minValue, maxValue));\n const normalizedValue = minValue < maxValue\n ? (clampedValue - minValue) / (maxValue - minValue)\n : (minValue - clampedValue) / (minValue - maxValue);\n return normalizedValue * 653;\n}\n\nconst {\n value,\n lowWarningState,\n lowCriticalState: initialLowCriticalState\n} = ctx.values;\nconst {\n minValue,\n maxValue,\n showLowWarningScale,\n showLowCriticalScale,\n activeWarningScaleColor,\n defaultWarningScaleColor\n} = ctx.properties;\n\nif (showLowWarningScale && lowWarningState !== null) {\n element.show();\n const offset = calculateOffset(lowWarningState, minValue, maxValue);\n element.height(offset);\n} else {\n element.hide();\n}\n\nif (showLowWarningScale && value !== null) {\n let adjustedLowCriticalState = initialLowCriticalState;\n if (!showLowCriticalScale) {\n adjustedLowCriticalState = minValue < maxValue ? Number.MIN_SAFE_INTEGER : Number.MAX_SAFE_INTEGER;\n }\n if (initialLowCriticalState !== null && lowWarningState !== null) {\n let adjustedLowWarningState = lowWarningState;\n if (minValue > maxValue) {\n [adjustedLowCriticalState, adjustedLowWarningState] = [adjustedLowWarningState, adjustedLowCriticalState];\n }\n const isActive = value > adjustedLowCriticalState && value <= adjustedLowWarningState;\n element.fill(isActive ? activeWarningScaleColor : defaultWarningScaleColor);\n }\n}\n",
|
|
42
|
+
"actions": null
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"tag": "maxValue",
|
|
46
|
+
"stateRenderFunction": "if (ctx.properties.minMaxValue) {\n ctx.api.text(element, ctx.api.convertUnitValue(ctx.properties.maxValue, ctx.properties.units).toFixed(0));\n}",
|
|
47
|
+
"actions": null
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"tag": "minMaxValue",
|
|
51
|
+
"stateRenderFunction": "if (ctx.properties.minMaxValue) {\n element.show();\n} else {\n element.hide();\n}",
|
|
52
|
+
"actions": null
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"tag": "minValue",
|
|
56
|
+
"stateRenderFunction": "if (ctx.properties.minMaxValue) {\n ctx.api.text(element, ctx.api.convertUnitValue(ctx.properties.minValue, ctx.properties.units).toFixed(0));\n}",
|
|
57
|
+
"actions": null
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"tag": "scaleBackground",
|
|
61
|
+
"stateRenderFunction": "element.fill(ctx.properties.scaleColor);",
|
|
62
|
+
"actions": null
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"tag": "target",
|
|
66
|
+
"stateRenderFunction": "function calculateOffset(value, minValue, maxValue) {\n var clampedValue = Math.max(Math.min(value, Math.max(minValue, maxValue)), Math.min(minValue, maxValue));\n var normalizedValue = minValue < maxValue\n ? (clampedValue - minValue) / (maxValue - minValue)\n : (minValue - clampedValue) / (minValue - maxValue);\n var offset = normalizedValue * 653;\n return offset;\n}\n\nvar minValue = ctx.properties.minValue;\nvar maxValue = ctx.properties.maxValue;\nvar showTarget = ctx.properties.showTarget;\nvar targetValue = ctx.values.targetValue;\n\nif (showTarget && targetValue !== null) {\n element.show();\n var offset = calculateOffset(targetValue, minValue, maxValue);\n element.transform({translateY: -Math.min(Math.max(offset-17, 0), 619)});\n} else {\n element.hide();\n}",
|
|
67
|
+
"actions": null
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"tag": "targetBackground",
|
|
71
|
+
"stateRenderFunction": "element.fill(ctx.properties.targetColor);",
|
|
72
|
+
"actions": null
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"tag": "units",
|
|
76
|
+
"stateRenderFunction": "if (ctx.properties.showUnits) {\n element.show();\n ctx.api.font(element, ctx.properties.unitsFont, ctx.properties.unitsColor);\n ctx.api.text(element, ctx.api.unitSymbol(ctx.properties.units));\n} else {\n element.hide();\n}",
|
|
77
|
+
"actions": null
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"tag": "value",
|
|
81
|
+
"stateRenderFunction": "if (ctx.properties.value) {\n element.show();\n ctx.api.font(element, ctx.properties.valueFont, ctx.properties.valueColor);\n ctx.api.text(element, ctx.api.formatValue(ctx.values.value, {units: ctx.properties.units, decimals: ctx.properties.valueDecimals, ignoreUnitSymbol: true}));\n} else {\n element.hide();\n}",
|
|
82
|
+
"actions": null
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"tag": "valueArrowPosition",
|
|
86
|
+
"stateRenderFunction": "function calculateOffset(value, minValue, maxValue) {\n var clampedValue = Math.max(Math.min(value, Math.max(minValue, maxValue)), Math.min(minValue, maxValue));\n var normalizedValue = minValue < maxValue\n ? (clampedValue - minValue) / (maxValue - minValue)\n : (minValue - clampedValue) / (minValue - maxValue);\n var offset = normalizedValue * 653;\n return offset;\n}\n\n\nvar minValue = ctx.properties.minValue;\nvar maxValue = ctx.properties.maxValue;\nvar value = ctx.values.value;\n\nif (value !== null) {\n var offset = calculateOffset(value, minValue, maxValue);\n element.transform({translateY: -offset});\n}\n",
|
|
87
|
+
"actions": null
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"tag": "valuePointer",
|
|
91
|
+
"stateRenderFunction": "element.fill(ctx.properties.arrowColor);",
|
|
92
|
+
"actions": null
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"tag": "valueTextPositon",
|
|
96
|
+
"stateRenderFunction": "function calculateOffset(value, minValue, maxValue) {\n var clampedValue = Math.max(Math.min(value, Math.max(minValue, maxValue)), Math.min(minValue, maxValue));\n var normalizedValue = minValue < maxValue\n ? (clampedValue - minValue) / (maxValue - minValue)\n : (minValue - clampedValue) / (minValue - maxValue);\n var offset = normalizedValue * 653;\n return offset;\n}\n\nvar minValue = ctx.properties.minValue;\nvar maxValue = ctx.properties.maxValue;\nvar value = ctx.values.value;\n\nif (value !== null) {\n var offset = calculateOffset(value, minValue, maxValue);\n element.transform({translateY: -offset});\n}\n",
|
|
97
|
+
"actions": null
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
"behavior": [
|
|
101
|
+
{
|
|
102
|
+
"id": "value",
|
|
103
|
+
"name": "{i18n:scada.symbol.value}",
|
|
104
|
+
"hint": "{i18n:scada.symbol.value-hint}",
|
|
105
|
+
"group": null,
|
|
106
|
+
"type": "value",
|
|
107
|
+
"valueType": "DOUBLE",
|
|
108
|
+
"trueLabel": null,
|
|
109
|
+
"falseLabel": null,
|
|
110
|
+
"stateLabel": null,
|
|
111
|
+
"defaultGetValueSettings": {
|
|
112
|
+
"action": "GET_TIME_SERIES",
|
|
113
|
+
"defaultValue": null,
|
|
114
|
+
"executeRpc": {
|
|
115
|
+
"method": "getState",
|
|
116
|
+
"requestTimeout": 5000,
|
|
117
|
+
"requestPersistent": false,
|
|
118
|
+
"persistentPollingInterval": 1000
|
|
119
|
+
},
|
|
120
|
+
"getAttribute": {
|
|
121
|
+
"scope": null,
|
|
122
|
+
"key": "state"
|
|
123
|
+
},
|
|
124
|
+
"getTimeSeries": {
|
|
125
|
+
"key": "temperature"
|
|
126
|
+
},
|
|
127
|
+
"dataToValue": {
|
|
128
|
+
"type": "NONE",
|
|
129
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"defaultSetValueSettings": null,
|
|
133
|
+
"defaultWidgetActionSettings": null
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"id": "highCriticalState",
|
|
137
|
+
"name": "{i18n:scada.symbol.high-critical-state}",
|
|
138
|
+
"hint": "{i18n:scada.symbol.high-critical-state-hint}",
|
|
139
|
+
"group": null,
|
|
140
|
+
"type": "value",
|
|
141
|
+
"valueType": "DOUBLE",
|
|
142
|
+
"trueLabel": null,
|
|
143
|
+
"falseLabel": null,
|
|
144
|
+
"stateLabel": null,
|
|
145
|
+
"defaultGetValueSettings": {
|
|
146
|
+
"action": "DO_NOTHING",
|
|
147
|
+
"defaultValue": 85,
|
|
148
|
+
"executeRpc": {
|
|
149
|
+
"method": "getState",
|
|
150
|
+
"requestTimeout": 5000,
|
|
151
|
+
"requestPersistent": false,
|
|
152
|
+
"persistentPollingInterval": 1000
|
|
153
|
+
},
|
|
154
|
+
"getAttribute": {
|
|
155
|
+
"scope": "SERVER_SCOPE",
|
|
156
|
+
"key": "highCriticalState"
|
|
157
|
+
},
|
|
158
|
+
"getTimeSeries": {
|
|
159
|
+
"key": "state"
|
|
160
|
+
},
|
|
161
|
+
"dataToValue": {
|
|
162
|
+
"type": "NONE",
|
|
163
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;"
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"defaultSetValueSettings": null,
|
|
167
|
+
"defaultWidgetActionSettings": null
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"id": "highWarningState",
|
|
171
|
+
"name": "{i18n:scada.symbol.high-warning-state}",
|
|
172
|
+
"hint": "{i18n:scada.symbol.high-warning-state-hint}",
|
|
173
|
+
"group": null,
|
|
174
|
+
"type": "value",
|
|
175
|
+
"valueType": "DOUBLE",
|
|
176
|
+
"trueLabel": null,
|
|
177
|
+
"falseLabel": null,
|
|
178
|
+
"stateLabel": null,
|
|
179
|
+
"defaultGetValueSettings": {
|
|
180
|
+
"action": "DO_NOTHING",
|
|
181
|
+
"defaultValue": 70,
|
|
182
|
+
"executeRpc": {
|
|
183
|
+
"method": "getState",
|
|
184
|
+
"requestTimeout": 5000,
|
|
185
|
+
"requestPersistent": false,
|
|
186
|
+
"persistentPollingInterval": 1000
|
|
187
|
+
},
|
|
188
|
+
"getAttribute": {
|
|
189
|
+
"scope": "SERVER_SCOPE",
|
|
190
|
+
"key": "highWarningState"
|
|
191
|
+
},
|
|
192
|
+
"getTimeSeries": {
|
|
193
|
+
"key": "state"
|
|
194
|
+
},
|
|
195
|
+
"dataToValue": {
|
|
196
|
+
"type": "NONE",
|
|
197
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"defaultSetValueSettings": null,
|
|
201
|
+
"defaultWidgetActionSettings": null
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"id": "lowWarningState",
|
|
205
|
+
"name": "{i18n:scada.symbol.low-warning-state}",
|
|
206
|
+
"hint": "{i18n:scada.symbol.low-warning-state-hint}",
|
|
207
|
+
"group": null,
|
|
208
|
+
"type": "value",
|
|
209
|
+
"valueType": "DOUBLE",
|
|
210
|
+
"trueLabel": null,
|
|
211
|
+
"falseLabel": null,
|
|
212
|
+
"stateLabel": null,
|
|
213
|
+
"defaultGetValueSettings": {
|
|
214
|
+
"action": "DO_NOTHING",
|
|
215
|
+
"defaultValue": 30,
|
|
216
|
+
"executeRpc": {
|
|
217
|
+
"method": "getState",
|
|
218
|
+
"requestTimeout": 5000,
|
|
219
|
+
"requestPersistent": false,
|
|
220
|
+
"persistentPollingInterval": 1000
|
|
221
|
+
},
|
|
222
|
+
"getAttribute": {
|
|
223
|
+
"scope": "SERVER_SCOPE",
|
|
224
|
+
"key": "lowWarningState"
|
|
225
|
+
},
|
|
226
|
+
"getTimeSeries": {
|
|
227
|
+
"key": "state"
|
|
228
|
+
},
|
|
229
|
+
"dataToValue": {
|
|
230
|
+
"type": "NONE",
|
|
231
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;"
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
"defaultSetValueSettings": null,
|
|
235
|
+
"defaultWidgetActionSettings": null
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"id": "lowCriticalState",
|
|
239
|
+
"name": "{i18n:scada.symbol.low-critical-state}",
|
|
240
|
+
"hint": "{i18n:scada.symbol.low-critical-state-hint}",
|
|
241
|
+
"group": null,
|
|
242
|
+
"type": "value",
|
|
243
|
+
"valueType": "DOUBLE",
|
|
244
|
+
"trueLabel": null,
|
|
245
|
+
"falseLabel": null,
|
|
246
|
+
"stateLabel": null,
|
|
247
|
+
"defaultGetValueSettings": {
|
|
248
|
+
"action": "DO_NOTHING",
|
|
249
|
+
"defaultValue": 15,
|
|
250
|
+
"executeRpc": {
|
|
251
|
+
"method": "getState",
|
|
252
|
+
"requestTimeout": 5000,
|
|
253
|
+
"requestPersistent": false,
|
|
254
|
+
"persistentPollingInterval": 1000
|
|
255
|
+
},
|
|
256
|
+
"getAttribute": {
|
|
257
|
+
"scope": "SERVER_SCOPE",
|
|
258
|
+
"key": "lowCriticalState"
|
|
259
|
+
},
|
|
260
|
+
"getTimeSeries": {
|
|
261
|
+
"key": "state"
|
|
262
|
+
},
|
|
263
|
+
"dataToValue": {
|
|
264
|
+
"type": "NONE",
|
|
265
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;"
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
"defaultSetValueSettings": null,
|
|
269
|
+
"defaultWidgetActionSettings": null
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"id": "targetValue",
|
|
273
|
+
"name": "{i18n:scada.symbol.target-value}",
|
|
274
|
+
"hint": "{i18n:scada.symbol.target-value-hint}",
|
|
275
|
+
"group": null,
|
|
276
|
+
"type": "value",
|
|
277
|
+
"valueType": "DOUBLE",
|
|
278
|
+
"trueLabel": null,
|
|
279
|
+
"falseLabel": null,
|
|
280
|
+
"stateLabel": null,
|
|
281
|
+
"defaultGetValueSettings": {
|
|
282
|
+
"action": "GET_ATTRIBUTE",
|
|
283
|
+
"defaultValue": null,
|
|
284
|
+
"executeRpc": {
|
|
285
|
+
"method": "getState",
|
|
286
|
+
"requestTimeout": 5000,
|
|
287
|
+
"requestPersistent": false,
|
|
288
|
+
"persistentPollingInterval": 1000
|
|
289
|
+
},
|
|
290
|
+
"getAttribute": {
|
|
291
|
+
"scope": "SERVER_SCOPE",
|
|
292
|
+
"key": "target"
|
|
293
|
+
},
|
|
294
|
+
"getTimeSeries": {
|
|
295
|
+
"key": "state"
|
|
296
|
+
},
|
|
297
|
+
"dataToValue": {
|
|
298
|
+
"type": "NONE",
|
|
299
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;"
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
"defaultSetValueSettings": null,
|
|
303
|
+
"defaultWidgetActionSettings": null
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"id": "click",
|
|
307
|
+
"name": "{i18n:scada.symbol.on-click}",
|
|
308
|
+
"hint": "{i18n:scada.symbol.on-click-hint}",
|
|
309
|
+
"group": null,
|
|
310
|
+
"type": "widgetAction",
|
|
311
|
+
"valueType": "BOOLEAN",
|
|
312
|
+
"trueLabel": null,
|
|
313
|
+
"falseLabel": null,
|
|
314
|
+
"stateLabel": null,
|
|
315
|
+
"defaultGetValueSettings": null,
|
|
316
|
+
"defaultSetValueSettings": null,
|
|
317
|
+
"defaultWidgetActionSettings": {
|
|
318
|
+
"type": "doNothing",
|
|
319
|
+
"targetDashboardStateId": null,
|
|
320
|
+
"openRightLayout": false,
|
|
321
|
+
"setEntityId": false,
|
|
322
|
+
"stateEntityParamName": null
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
],
|
|
326
|
+
"properties": [
|
|
327
|
+
{
|
|
328
|
+
"id": "minMaxValue",
|
|
329
|
+
"name": "{i18n:scada.symbol.min-max-value}",
|
|
330
|
+
"type": "switch",
|
|
331
|
+
"default": false,
|
|
332
|
+
"disabled": false,
|
|
333
|
+
"visible": true
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"id": "minValue",
|
|
337
|
+
"name": "{i18n:scada.symbol.min-max-value}",
|
|
338
|
+
"type": "number",
|
|
339
|
+
"default": 0,
|
|
340
|
+
"required": true,
|
|
341
|
+
"subLabel": "{i18n:scada.symbol.min-value}",
|
|
342
|
+
"step": 1,
|
|
343
|
+
"disabled": false,
|
|
344
|
+
"visible": true
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"id": "maxValue",
|
|
348
|
+
"name": "{i18n:scada.symbol.min-max-value}",
|
|
349
|
+
"type": "number",
|
|
350
|
+
"default": 100,
|
|
351
|
+
"required": true,
|
|
352
|
+
"subLabel": "{i18n:scada.symbol.max-value}",
|
|
353
|
+
"step": 1,
|
|
354
|
+
"disabled": false,
|
|
355
|
+
"visible": true
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"id": "value",
|
|
359
|
+
"name": "{i18n:scada.symbol.value}",
|
|
360
|
+
"type": "switch",
|
|
361
|
+
"default": true,
|
|
362
|
+
"disabled": false,
|
|
363
|
+
"visible": true
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"id": "valueDecimals",
|
|
367
|
+
"name": "{i18n:scada.symbol.value}",
|
|
368
|
+
"type": "number",
|
|
369
|
+
"default": 0,
|
|
370
|
+
"required": true,
|
|
371
|
+
"subLabel": "Decimals",
|
|
372
|
+
"min": 0,
|
|
373
|
+
"max": 10,
|
|
374
|
+
"step": 1,
|
|
375
|
+
"disabled": false,
|
|
376
|
+
"visible": true
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"id": "valueFont",
|
|
380
|
+
"name": "{i18n:scada.symbol.value}",
|
|
381
|
+
"type": "font",
|
|
382
|
+
"default": {
|
|
383
|
+
"size": 60,
|
|
384
|
+
"sizeUnit": "px",
|
|
385
|
+
"family": "Roboto",
|
|
386
|
+
"weight": "400",
|
|
387
|
+
"style": "normal"
|
|
388
|
+
},
|
|
389
|
+
"disabled": false,
|
|
390
|
+
"visible": true
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"id": "valueColor",
|
|
394
|
+
"name": "{i18n:scada.symbol.value}",
|
|
395
|
+
"type": "color",
|
|
396
|
+
"default": "#002878",
|
|
397
|
+
"disabled": false,
|
|
398
|
+
"visible": true
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"id": "label",
|
|
402
|
+
"name": "{i18n:scada.symbol.label}",
|
|
403
|
+
"type": "switch",
|
|
404
|
+
"default": true,
|
|
405
|
+
"disabled": false,
|
|
406
|
+
"visible": true
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"id": "labelText",
|
|
410
|
+
"name": "{i18n:scada.symbol.label}",
|
|
411
|
+
"type": "text",
|
|
412
|
+
"default": "Outdoor",
|
|
413
|
+
"fieldClass": "flex",
|
|
414
|
+
"disabled": false,
|
|
415
|
+
"visible": true
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"id": "labelFont",
|
|
419
|
+
"name": "{i18n:scada.symbol.label}",
|
|
420
|
+
"type": "font",
|
|
421
|
+
"default": {
|
|
422
|
+
"size": 56,
|
|
423
|
+
"sizeUnit": "px",
|
|
424
|
+
"family": "Roboto",
|
|
425
|
+
"weight": "500",
|
|
426
|
+
"style": "normal"
|
|
427
|
+
},
|
|
428
|
+
"disabled": false,
|
|
429
|
+
"visible": true
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"id": "labelColor",
|
|
433
|
+
"name": "{i18n:scada.symbol.label}",
|
|
434
|
+
"type": "color",
|
|
435
|
+
"default": "#000000DE",
|
|
436
|
+
"disabled": false,
|
|
437
|
+
"visible": true
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"id": "showUnits",
|
|
441
|
+
"name": "{i18n:scada.symbol.units}",
|
|
442
|
+
"type": "switch",
|
|
443
|
+
"default": true,
|
|
444
|
+
"disabled": false,
|
|
445
|
+
"visible": true
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"id": "units",
|
|
449
|
+
"name": "{i18n:scada.symbol.units}",
|
|
450
|
+
"type": "units",
|
|
451
|
+
"default": "°C",
|
|
452
|
+
"required": false,
|
|
453
|
+
"supportsUnitConversion": true,
|
|
454
|
+
"disabled": false,
|
|
455
|
+
"visible": true
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"id": "unitsFont",
|
|
459
|
+
"name": "{i18n:scada.symbol.units}",
|
|
460
|
+
"type": "font",
|
|
461
|
+
"default": {
|
|
462
|
+
"size": 56,
|
|
463
|
+
"sizeUnit": "px",
|
|
464
|
+
"family": "Roboto",
|
|
465
|
+
"weight": "500",
|
|
466
|
+
"style": "normal"
|
|
467
|
+
},
|
|
468
|
+
"disabled": false,
|
|
469
|
+
"visible": true
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"id": "unitsColor",
|
|
473
|
+
"name": "{i18n:scada.symbol.units}",
|
|
474
|
+
"type": "color",
|
|
475
|
+
"default": "#000000DE",
|
|
476
|
+
"disabled": false,
|
|
477
|
+
"visible": true
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"id": "arrowColor",
|
|
481
|
+
"name": "{i18n:scada.symbol.arrow-color}",
|
|
482
|
+
"type": "color",
|
|
483
|
+
"default": "#666666",
|
|
484
|
+
"disabled": false,
|
|
485
|
+
"visible": true
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"id": "showTarget",
|
|
489
|
+
"name": "{i18n:scada.symbol.target}",
|
|
490
|
+
"type": "switch",
|
|
491
|
+
"default": false,
|
|
492
|
+
"disabled": false,
|
|
493
|
+
"visible": true
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"id": "targetColor",
|
|
497
|
+
"name": "{i18n:scada.symbol.target}",
|
|
498
|
+
"type": "color",
|
|
499
|
+
"default": "#DEDEDE",
|
|
500
|
+
"disableOnProperty": "showTarget",
|
|
501
|
+
"disabled": true,
|
|
502
|
+
"visible": true
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"id": "showHighCriticalScale",
|
|
506
|
+
"name": "{i18n:scada.symbol.show-high-critical-scale}",
|
|
507
|
+
"type": "switch",
|
|
508
|
+
"default": true,
|
|
509
|
+
"disabled": false,
|
|
510
|
+
"visible": true
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"id": "showHighWarningScale",
|
|
514
|
+
"name": "{i18n:scada.symbol.show-high-warning-scale}",
|
|
515
|
+
"type": "switch",
|
|
516
|
+
"default": true,
|
|
517
|
+
"disabled": false,
|
|
518
|
+
"visible": true
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"id": "showLowWarningScale",
|
|
522
|
+
"name": "{i18n:scada.symbol.show-low-warning-scale}",
|
|
523
|
+
"type": "switch",
|
|
524
|
+
"default": true,
|
|
525
|
+
"disabled": false,
|
|
526
|
+
"visible": true
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"id": "showLowCriticalScale",
|
|
530
|
+
"name": "{i18n:scada.symbol.show-low-critical-scale}",
|
|
531
|
+
"type": "switch",
|
|
532
|
+
"default": true,
|
|
533
|
+
"disabled": false,
|
|
534
|
+
"visible": true
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"id": "scaleColor",
|
|
538
|
+
"name": "{i18n:scada.symbol.scale-color}",
|
|
539
|
+
"type": "color",
|
|
540
|
+
"default": "#C8DFF7",
|
|
541
|
+
"disabled": false,
|
|
542
|
+
"visible": true
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"id": "defaultWarningScaleColor",
|
|
546
|
+
"name": "{i18n:scada.symbol.warning-scale-color}",
|
|
547
|
+
"type": "color",
|
|
548
|
+
"default": "#EBEBEB",
|
|
549
|
+
"subLabel": "Default",
|
|
550
|
+
"disabled": false,
|
|
551
|
+
"visible": true
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"id": "activeWarningScaleColor",
|
|
555
|
+
"name": "{i18n:scada.symbol.warning-scale-color}",
|
|
556
|
+
"type": "color",
|
|
557
|
+
"default": "#FAA405",
|
|
558
|
+
"subLabel": "Active",
|
|
559
|
+
"disabled": false,
|
|
560
|
+
"visible": true
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"id": "defaultCriticalScaleColor",
|
|
564
|
+
"name": "{i18n:scada.symbol.critical-scale-color}",
|
|
565
|
+
"type": "color",
|
|
566
|
+
"default": "#666666",
|
|
567
|
+
"subLabel": "Default",
|
|
568
|
+
"disabled": false,
|
|
569
|
+
"visible": true
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"id": "activeCriticalScaleColor",
|
|
573
|
+
"name": "{i18n:scada.symbol.critical-scale-color}",
|
|
574
|
+
"type": "color",
|
|
575
|
+
"default": "#D12730",
|
|
576
|
+
"subLabel": "Active",
|
|
577
|
+
"disabled": false,
|
|
578
|
+
"visible": true
|
|
579
|
+
}
|
|
580
|
+
]
|
|
581
|
+
}]]></tb:metadata>
|
|
582
|
+
<text x="206.16602" y="43.234375" fill="#000000" font-family="Roboto, sans-serif" font-size="56px" font-weight="400" text-anchor="middle" tb:tag="label" xml:space="preserve"><tspan transform="translate(0,-144)" dominant-baseline="middle">Outdoor</tspan></text><text x="195.21875" y="770" fill="#000000" font-family="Roboto, sans-serif" font-size="40px" font-weight="400" text-anchor="middle" tb:tag="units" xml:space="preserve"><tspan transform="translate(0,-144)" dominant-baseline="middle">°C</tspan></text><g stroke="#000" tb:tag="scale">
|
|
583
|
+
<rect x="176.5" y="83" width="41" height="652" fill="#c8dff7" tb:tag="scaleBackground"/>
|
|
584
|
+
<rect transform="scale(1,-1)" x="176.5" y="-735" width="41" height="164" fill="#ebebeb" tb:tag="lowWarningScale"/>
|
|
585
|
+
<rect x="176.5" y="83.5" width="41" height="164" fill="#ebebeb" tb:tag="highWarningScale"/>
|
|
586
|
+
<rect transform="scale(1,-1)" x="176.5" y="-735" width="41" height="81" fill="#666" tb:tag="lowCriticalScale"/>
|
|
587
|
+
<rect x="176.5" y="83.5" width="41" height="81" fill="#666" tb:tag="highCriticalScale"/>
|
|
588
|
+
</g><g fill="#666" font-family="Roboto, sans-serif" font-size="32px" font-weight="500" style="display: none;" tb:tag="minMaxValue">
|
|
589
|
+
<text x="237.48438" y="97" tb:tag="maxValue" xml:space="preserve" style=""><tspan dominant-baseline="middle">100</tspan></text>
|
|
590
|
+
<text x="238.89062" y="727" tb:tag="minValue" xml:space="preserve" style=""><tspan dominant-baseline="middle">0</tspan></text>
|
|
591
|
+
</g><g transform="translate(0,-180)" tb:tag="valueArrowPosition">
|
|
592
|
+
<path d="m168 735-42-24v48z" fill="#666" tb:tag="valuePointer"/>
|
|
593
|
+
</g><g transform="translate(0,-180)" tb:tag="valueTextPositon">
|
|
594
|
+
<text x="223.60547" y="739.125" fill="#002878" font-family="Roboto, sans-serif" font-size="60px" font-weight="400" tb:tag="value" xml:space="preserve"><tspan dominant-baseline="middle">26</tspan></text>
|
|
595
|
+
</g><g transform="translate(0,-400)" style="display: none;" tb:tag="target">
|
|
596
|
+
<rect transform="rotate(-45)" x="-379.76" y="636.31" width="22" height="22" fill="#dedede" stroke="#000" stroke-width="2" tb:tag="targetBackground" style=""/>
|
|
597
|
+
</g><path d="m134.53 0s-134.53 0-134.53 134v656.72c0 5.3024 3.5817 9.2808 8 9.2808h384c4.418 0 8-3.9784 8-9.2808v-656.72c0-134-132.14-134-132.14-134h-67.86zm134.14 162.4c-2.5773 0-4.6667 2.5072-4.6667 5.6v600.8c0 3.0928 2.0893 5.6 4.6667 5.6h29.333c2.5773 0 4.6667-2.5072 4.6667-5.6v-600.8c0-3.0928-2.0893-5.6-4.6667-5.6z" fill="#000" fill-opacity="0" tb:tag="clickArea"/>
|
|
598
|
+
</svg>
|