@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,297 @@
|
|
|
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 High voltage tower",
|
|
3
|
+
"description": "High voltage tower with various states.",
|
|
4
|
+
"searchTags": [
|
|
5
|
+
"power",
|
|
6
|
+
"energy"
|
|
7
|
+
],
|
|
8
|
+
"widgetSizeX": 2,
|
|
9
|
+
"widgetSizeY": 4,
|
|
10
|
+
"tags": [
|
|
11
|
+
{
|
|
12
|
+
"tag": "background",
|
|
13
|
+
"stateRenderFunction": "element.attr({fill: ctx.properties.backgroundColor});",
|
|
14
|
+
"actions": null
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"tag": "clickArea",
|
|
18
|
+
"stateRenderFunction": null,
|
|
19
|
+
"actions": {
|
|
20
|
+
"click": {
|
|
21
|
+
"actionFunction": "ctx.api.callAction(event, 'click');"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"tag": "critical",
|
|
27
|
+
"stateRenderFunction": "element.attr({fill: ctx.properties.criticalColor});\nif (ctx.values.critical) {\n element.show();\n} else {\n element.hide();\n}\n\nvar elementCriticalAnimation = element.remember('criticalAnimation');\nvar criticalAnimation = ctx.values.critical && ctx.values.criticalAnimation;\n\nif (elementCriticalAnimation !== criticalAnimation) {\n element.remember('criticalAnimation', criticalAnimation);\n if (criticalAnimation) {\n ctx.api.cssAnimate(element, 500).attr({opacity: 0.15}).loop(0, true);\n } else {\n ctx.api.resetCssAnimation(element);\n }\n}\n\n",
|
|
28
|
+
"actions": {
|
|
29
|
+
"click": {
|
|
30
|
+
"actionFunction": "ctx.api.callAction(event, 'criticalClick');"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"tag": "warning",
|
|
36
|
+
"stateRenderFunction": "element.attr({fill: ctx.properties.warningColor});\nvar warning = ctx.values.warning && !(ctx.values.warning && ctx.values.critical)\nif (warning) {\n element.show();\n} else {\n element.hide();\n}\n\nvar elementCriticalAnimation = element.remember('criticalAnimation');\nvar criticalAnimation = warning && ctx.values.criticalAnimation;\n\nif (elementCriticalAnimation !== criticalAnimation) {\n element.remember('criticalAnimation', criticalAnimation);\n if (criticalAnimation) {\n ctx.api.cssAnimate(element, 500).attr({opacity: 0.15}).loop(0, true);\n } else {\n ctx.api.resetCssAnimation(element);\n }\n}\n",
|
|
37
|
+
"actions": {
|
|
38
|
+
"click": {
|
|
39
|
+
"actionFunction": "ctx.api.callAction(event, 'warningClick');"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"behavior": [
|
|
45
|
+
{
|
|
46
|
+
"id": "warning",
|
|
47
|
+
"name": "{i18n:scada.symbol.warning}",
|
|
48
|
+
"hint": "{i18n:scada.symbol.warning-state-hint}",
|
|
49
|
+
"group": "{i18n:scada.symbol.warning-state}",
|
|
50
|
+
"type": "value",
|
|
51
|
+
"valueType": "BOOLEAN",
|
|
52
|
+
"trueLabel": null,
|
|
53
|
+
"falseLabel": null,
|
|
54
|
+
"stateLabel": "{i18n:scada.symbol.warning}",
|
|
55
|
+
"defaultGetValueSettings": {
|
|
56
|
+
"action": "GET_ALARM_STATUS",
|
|
57
|
+
"defaultValue": false,
|
|
58
|
+
"executeRpc": {
|
|
59
|
+
"method": "getState",
|
|
60
|
+
"requestTimeout": 5000,
|
|
61
|
+
"requestPersistent": false,
|
|
62
|
+
"persistentPollingInterval": 1000
|
|
63
|
+
},
|
|
64
|
+
"getAttribute": {
|
|
65
|
+
"scope": null,
|
|
66
|
+
"key": "state"
|
|
67
|
+
},
|
|
68
|
+
"getTimeSeries": {
|
|
69
|
+
"key": "state"
|
|
70
|
+
},
|
|
71
|
+
"getAlarmStatus": {
|
|
72
|
+
"severityList": [
|
|
73
|
+
"MAJOR",
|
|
74
|
+
"MINOR",
|
|
75
|
+
"WARNING",
|
|
76
|
+
"INDETERMINATE"
|
|
77
|
+
],
|
|
78
|
+
"typeList": null
|
|
79
|
+
},
|
|
80
|
+
"dataToValue": {
|
|
81
|
+
"type": "NONE",
|
|
82
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
|
|
83
|
+
"compareToValue": true
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"defaultSetValueSettings": null,
|
|
87
|
+
"defaultWidgetActionSettings": null
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"id": "warningClick",
|
|
91
|
+
"name": "{i18n:scada.symbol.warning-click}",
|
|
92
|
+
"hint": "{i18n:scada.symbol.on-click-hint}",
|
|
93
|
+
"group": "{i18n:scada.symbol.warning-state}",
|
|
94
|
+
"type": "widgetAction",
|
|
95
|
+
"valueType": "BOOLEAN",
|
|
96
|
+
"trueLabel": null,
|
|
97
|
+
"falseLabel": null,
|
|
98
|
+
"stateLabel": null,
|
|
99
|
+
"defaultGetValueSettings": null,
|
|
100
|
+
"defaultSetValueSettings": null,
|
|
101
|
+
"defaultWidgetActionSettings": {
|
|
102
|
+
"type": "doNothing",
|
|
103
|
+
"targetDashboardStateId": null,
|
|
104
|
+
"openRightLayout": false,
|
|
105
|
+
"setEntityId": false,
|
|
106
|
+
"stateEntityParamName": null
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"id": "critical",
|
|
111
|
+
"name": "{i18n:scada.symbol.critical}",
|
|
112
|
+
"hint": "{i18n:scada.symbol.critical-state-hint}",
|
|
113
|
+
"group": "{i18n:scada.symbol.critical-state}",
|
|
114
|
+
"type": "value",
|
|
115
|
+
"valueType": "BOOLEAN",
|
|
116
|
+
"trueLabel": null,
|
|
117
|
+
"falseLabel": null,
|
|
118
|
+
"stateLabel": "{i18n:scada.symbol.critical}",
|
|
119
|
+
"defaultGetValueSettings": {
|
|
120
|
+
"action": "GET_ALARM_STATUS",
|
|
121
|
+
"defaultValue": false,
|
|
122
|
+
"executeRpc": {
|
|
123
|
+
"method": "getState",
|
|
124
|
+
"requestTimeout": 5000,
|
|
125
|
+
"requestPersistent": false,
|
|
126
|
+
"persistentPollingInterval": 1000
|
|
127
|
+
},
|
|
128
|
+
"getAttribute": {
|
|
129
|
+
"scope": null,
|
|
130
|
+
"key": "state"
|
|
131
|
+
},
|
|
132
|
+
"getTimeSeries": {
|
|
133
|
+
"key": "state"
|
|
134
|
+
},
|
|
135
|
+
"getAlarmStatus": {
|
|
136
|
+
"severityList": [
|
|
137
|
+
"CRITICAL"
|
|
138
|
+
],
|
|
139
|
+
"typeList": null
|
|
140
|
+
},
|
|
141
|
+
"dataToValue": {
|
|
142
|
+
"type": "NONE",
|
|
143
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
|
|
144
|
+
"compareToValue": true
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"defaultSetValueSettings": null,
|
|
148
|
+
"defaultWidgetActionSettings": null
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"id": "criticalClick",
|
|
152
|
+
"name": "{i18n:scada.symbol.critical-click}",
|
|
153
|
+
"hint": "{i18n:scada.symbol.on-click-hint}",
|
|
154
|
+
"group": "{i18n:scada.symbol.critical-state}",
|
|
155
|
+
"type": "widgetAction",
|
|
156
|
+
"valueType": "BOOLEAN",
|
|
157
|
+
"trueLabel": null,
|
|
158
|
+
"falseLabel": null,
|
|
159
|
+
"stateLabel": null,
|
|
160
|
+
"defaultGetValueSettings": null,
|
|
161
|
+
"defaultSetValueSettings": null,
|
|
162
|
+
"defaultWidgetActionSettings": {
|
|
163
|
+
"type": "doNothing",
|
|
164
|
+
"targetDashboardStateId": null,
|
|
165
|
+
"openRightLayout": false,
|
|
166
|
+
"setEntityId": false,
|
|
167
|
+
"stateEntityParamName": null
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"id": "criticalAnimation",
|
|
172
|
+
"name": "{i18n:scada.symbol.warning-critical-state-animation}",
|
|
173
|
+
"hint": "{i18n:scada.symbol.warning-critical-state-animation-hint}",
|
|
174
|
+
"group": null,
|
|
175
|
+
"type": "value",
|
|
176
|
+
"valueType": "BOOLEAN",
|
|
177
|
+
"trueLabel": null,
|
|
178
|
+
"falseLabel": null,
|
|
179
|
+
"stateLabel": "{i18n:scada.symbol.animation}",
|
|
180
|
+
"defaultGetValueSettings": {
|
|
181
|
+
"action": "DO_NOTHING",
|
|
182
|
+
"defaultValue": false,
|
|
183
|
+
"executeRpc": {
|
|
184
|
+
"method": "getState",
|
|
185
|
+
"requestTimeout": 5000,
|
|
186
|
+
"requestPersistent": false,
|
|
187
|
+
"persistentPollingInterval": 1000
|
|
188
|
+
},
|
|
189
|
+
"getAttribute": {
|
|
190
|
+
"key": "state",
|
|
191
|
+
"scope": null
|
|
192
|
+
},
|
|
193
|
+
"getTimeSeries": {
|
|
194
|
+
"key": "state"
|
|
195
|
+
},
|
|
196
|
+
"dataToValue": {
|
|
197
|
+
"type": "NONE",
|
|
198
|
+
"compareToValue": true,
|
|
199
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"defaultSetValueSettings": null,
|
|
203
|
+
"defaultWidgetActionSettings": null
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"id": "click",
|
|
207
|
+
"name": "{i18n:scada.symbol.on-click}",
|
|
208
|
+
"hint": "{i18n:scada.symbol.on-click-hint}",
|
|
209
|
+
"group": null,
|
|
210
|
+
"type": "widgetAction",
|
|
211
|
+
"valueType": "BOOLEAN",
|
|
212
|
+
"trueLabel": null,
|
|
213
|
+
"falseLabel": null,
|
|
214
|
+
"stateLabel": null,
|
|
215
|
+
"defaultGetValueSettings": null,
|
|
216
|
+
"defaultSetValueSettings": null,
|
|
217
|
+
"defaultWidgetActionSettings": {
|
|
218
|
+
"type": "doNothing",
|
|
219
|
+
"targetDashboardStateId": null,
|
|
220
|
+
"openRightLayout": false,
|
|
221
|
+
"setEntityId": false,
|
|
222
|
+
"stateEntityParamName": null
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
],
|
|
226
|
+
"properties": [
|
|
227
|
+
{
|
|
228
|
+
"id": "backgroundColor",
|
|
229
|
+
"name": "{i18n:scada.symbol.background-color}",
|
|
230
|
+
"type": "color",
|
|
231
|
+
"default": "#999999",
|
|
232
|
+
"divider": false
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"id": "warningColor",
|
|
236
|
+
"name": "{i18n:scada.symbol.alarm-colors}",
|
|
237
|
+
"type": "color",
|
|
238
|
+
"default": "#FAA405",
|
|
239
|
+
"subLabel": "{i18n:scada.symbol.warning}",
|
|
240
|
+
"divider": true,
|
|
241
|
+
"disabled": false,
|
|
242
|
+
"visible": true
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"id": "criticalColor",
|
|
246
|
+
"name": "{i18n:scada.symbol.alarm-colors}",
|
|
247
|
+
"type": "color",
|
|
248
|
+
"default": "#D12730",
|
|
249
|
+
"subLabel": "{i18n:scada.symbol.critical}",
|
|
250
|
+
"disabled": false,
|
|
251
|
+
"visible": true
|
|
252
|
+
}
|
|
253
|
+
]
|
|
254
|
+
}]]></tb:metadata>
|
|
255
|
+
<g fill="#999" stroke="#1a1a1a" tb:tag="background">
|
|
256
|
+
<path d="m140 300h120" stroke-width="2"/>
|
|
257
|
+
<path d="m397 240v63" stroke-width="6"/>
|
|
258
|
+
<path d="m312 100v50" stroke-width="2"/>
|
|
259
|
+
<path d="m88 100v50" stroke-width="2"/>
|
|
260
|
+
<path d="m3 240v63" stroke-width="6"/>
|
|
261
|
+
<path d="m294 150h36" stroke-width="2"/>
|
|
262
|
+
<path d="m70 150h36" stroke-width="2"/>
|
|
263
|
+
<path d="m259.73 61 66.5 38h-252.47l66.5-38z" stroke-width="2"/>
|
|
264
|
+
<path d="m399.62 239h-399.23l139.46-58h120.32z" stroke-width="2.0004"/>
|
|
265
|
+
<path d="m259.02 299.7 99.599 497.5-158.17-79.085-0.447-0.224-0.447 0.224-158.17 79.085 99.599-497.5 0.019-0.097v-238.19l59-59.983 59 59.983v238.19z" stroke-width="2"/>
|
|
266
|
+
<path d="m200.08 718.22-130.08-67.22" stroke-width="2.0033"/>
|
|
267
|
+
<path d="m200.08 584-129.08 67.226" stroke-width="2.0006"/>
|
|
268
|
+
<path d="m200 718.22 130.08-67.22" stroke-width="2.0033"/>
|
|
269
|
+
<path d="m200 584 129.08 67.226" stroke-width="2.0006"/>
|
|
270
|
+
<path d="m200 584.22 105.08-54.222" stroke-width="2.0009"/>
|
|
271
|
+
<path d="m200 476 105.08 54.222" stroke-width="2.0009"/>
|
|
272
|
+
<path d="m200 476.52 85.077-44.225" stroke-width="2.0013"/>
|
|
273
|
+
<path d="m200 387.29 85.073 44.215" stroke-width="2.0113"/>
|
|
274
|
+
<path d="m200 387.22 69.098-35.23" stroke-width="1.9864"/>
|
|
275
|
+
<path d="m200.09 387.22-69.098-35.23" stroke-width="1.9864"/>
|
|
276
|
+
<path d="m200.09 475.5-85.094-43.216" stroke-width="2.0007"/>
|
|
277
|
+
<path d="m200.09 387.28-85.094 43.216" stroke-width="2.0007"/>
|
|
278
|
+
<path d="m200.08 584.22-105.08-54.222" stroke-width="2.0009"/>
|
|
279
|
+
<path d="m200.08 476-105.08 54.219" stroke-width="2.004"/>
|
|
280
|
+
<path d="m141 300h118" stroke-width="2"/>
|
|
281
|
+
<path d="m141 61h118" stroke-width="2"/>
|
|
282
|
+
<path d="m141 181h118" stroke-width="2"/>
|
|
283
|
+
<path d="m141 239h118" stroke-width="2"/>
|
|
284
|
+
<path d="m141 99h118" stroke-width="2"/>
|
|
285
|
+
<path d="m141 61h118" stroke-width="2"/>
|
|
286
|
+
</g><path d="m134.53 0s-134.53 0-134.53 134v656.72c0 5.3024 3.5818 9.2806 8 9.2806h384c4.418 0 8-3.9784 8-9.2806v-656.72c0-134-132.14-134-132.14-134h-67.86zm134.14 162.4c-2.5774 0-4.6666 2.5072-4.6666 5.6v600.8c0 3.0928 2.0894 5.6 4.6666 5.6h29.332c2.5774 0 4.6666-2.5072 4.6666-5.6v-600.8c0-3.0928-2.0894-5.6-4.6666-5.6z" fill-opacity="0" tb:tag="clickArea"/><g transform="translate(0,716)" fill="#d12730" style="display: none;" tb:tag="critical">
|
|
287
|
+
<rect width="84" height="84" rx="4" fill="#fff" style=""/>
|
|
288
|
+
<rect width="84" height="84" rx="4" style=""/>
|
|
289
|
+
<rect x="2" y="2" width="80" height="80" rx="2" stroke="#000" stroke-opacity=".87" stroke-width="4" style=""/>
|
|
290
|
+
<path d="m44.559 27.562-0.4688 20.059h-4.0234l-0.4883-20.059zm-5.1172 26.211c0-0.7161 0.2344-1.3151 0.7031-1.7968 0.4818-0.4948 1.1459-0.7422 1.9922-0.7422 0.8334 0 1.4909 0.2474 1.9727 0.7422 0.4817 0.4817 0.7226 1.0807 0.7226 1.7968 0 0.6901-0.2409 1.2826-0.7226 1.7774-0.4818 0.4818-1.1393 0.7226-1.9727 0.7226-0.8463 0-1.5104-0.2408-1.9922-0.7226-0.4687-0.4948-0.7031-1.0873-0.7031-1.7774z" fill="#000" fill-opacity=".87" style=""/>
|
|
291
|
+
</g><g transform="translate(0 720.94)" fill="#faa405" style="display: none;" tb:tag="warning">
|
|
292
|
+
<path d="m35.955 2.2112c1.4741-2.9482 5.6813-2.9482 7.1554 0l35.528 71.056c1.3298 2.6596-0.6042 5.7889-3.5777 5.7889h-71.056c-2.9735 0-4.9075-3.1292-3.5777-5.7889z" fill="#fff" style=""/>
|
|
293
|
+
<path d="m35.955 2.2112c1.4741-2.9482 5.6813-2.9482 7.1554 0l35.528 71.056c1.3298 2.6596-0.6042 5.7889-3.5777 5.7889h-71.056c-2.9735 0-4.9075-3.1292-3.5777-5.7889z" style=""/>
|
|
294
|
+
<path d="m37.72 3.1061c0.7371-1.4741 2.8407-1.4741 3.5778-1e-5l35.528 71.056c0.6649 1.3298-0.3021 2.8944-1.7888 2.8944h-71.056c-1.4868 0-2.4538-1.5646-1.7889-2.8944z" stroke="#000" stroke-opacity=".87" stroke-width="4" style=""/>
|
|
295
|
+
<path d="m42.092 32.618-0.4688 20.059h-4.0234l-0.4883-20.059zm-5.1172 26.211c0-0.7161 0.2344-1.3151 0.7031-1.7968 0.4818-0.4948 1.1459-0.7422 1.9922-0.7422 0.8334 0 1.4909 0.2474 1.9727 0.7422 0.4817 0.4817 0.7226 1.0807 0.7226 1.7968 0 0.6901-0.2409 1.2826-0.7226 1.7774-0.4818 0.4818-1.1393 0.7226-1.9727 0.7226-0.8463 0-1.5104-0.2408-1.9922-0.7226-0.4687-0.4948-0.7031-1.0873-0.7031-1.7774z" fill="#000" fill-opacity=".87" style=""/>
|
|
296
|
+
</g>
|
|
297
|
+
</svg>
|
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:tb="https://thingsboard.io/svg" width="200" height="400" fill="none" version="1.1" viewBox="0 0 200 400"><tb:metadata xmlns=""><![CDATA[{
|
|
2
|
+
"title": "HP Hook",
|
|
3
|
+
"description": "Hook with various states.",
|
|
4
|
+
"searchTags": [
|
|
5
|
+
"hook",
|
|
6
|
+
"drilling"
|
|
7
|
+
],
|
|
8
|
+
"widgetSizeX": 1,
|
|
9
|
+
"widgetSizeY": 2,
|
|
10
|
+
"tags": [
|
|
11
|
+
{
|
|
12
|
+
"tag": "clickArea",
|
|
13
|
+
"stateRenderFunction": null,
|
|
14
|
+
"actions": {
|
|
15
|
+
"click": {
|
|
16
|
+
"actionFunction": "ctx.api.callAction(event, 'click');"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"tag": "critical",
|
|
22
|
+
"stateRenderFunction": "element.attr({fill: ctx.properties.criticalColor});\nif (ctx.values.critical) {\n element.show();\n} else {\n element.hide();\n}\n\nvar elementCriticalAnimation = element.remember('criticalAnimation');\nvar criticalAnimation = ctx.values.critical && ctx.values.criticalAnimation;\n\nif (elementCriticalAnimation !== criticalAnimation) {\n element.remember('criticalAnimation', criticalAnimation);\n if (criticalAnimation) {\n ctx.api.cssAnimate(element, 500).attr({opacity: 0.15}).loop(0, true);\n } else {\n ctx.api.resetCssAnimation(element);\n }\n}\n\n",
|
|
23
|
+
"actions": {
|
|
24
|
+
"click": {
|
|
25
|
+
"actionFunction": "ctx.api.callAction(event, 'criticalClick');"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"tag": "hook",
|
|
31
|
+
"stateRenderFunction": "element.attr({fill: ctx.properties.hookColor});",
|
|
32
|
+
"actions": null
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"tag": "warning",
|
|
36
|
+
"stateRenderFunction": "element.attr({fill: ctx.properties.warningColor});\nvar warning = ctx.values.warning && !(ctx.values.warning && ctx.values.critical)\nif (warning) {\n element.show();\n} else {\n element.hide();\n}\n\nvar elementCriticalAnimation = element.remember('criticalAnimation');\nvar criticalAnimation = warning && ctx.values.criticalAnimation;\n\nif (elementCriticalAnimation !== criticalAnimation) {\n element.remember('criticalAnimation', criticalAnimation);\n if (criticalAnimation) {\n ctx.api.cssAnimate(element, 500).attr({opacity: 0.15}).loop(0, true);\n } else {\n ctx.api.resetCssAnimation(element);\n }\n}\n",
|
|
37
|
+
"actions": {
|
|
38
|
+
"click": {
|
|
39
|
+
"actionFunction": "ctx.api.callAction(event, 'warningClick');"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"behavior": [
|
|
45
|
+
{
|
|
46
|
+
"id": "warning",
|
|
47
|
+
"name": "{i18n:scada.symbol.warning}",
|
|
48
|
+
"hint": "{i18n:scada.symbol.warning-state-hint}",
|
|
49
|
+
"group": "{i18n:scada.symbol.warning-state}",
|
|
50
|
+
"type": "value",
|
|
51
|
+
"valueType": "BOOLEAN",
|
|
52
|
+
"trueLabel": null,
|
|
53
|
+
"falseLabel": null,
|
|
54
|
+
"stateLabel": "{i18n:scada.symbol.warning}",
|
|
55
|
+
"defaultGetValueSettings": {
|
|
56
|
+
"action": "GET_ALARM_STATUS",
|
|
57
|
+
"defaultValue": false,
|
|
58
|
+
"executeRpc": {
|
|
59
|
+
"method": "getState",
|
|
60
|
+
"requestTimeout": 5000,
|
|
61
|
+
"requestPersistent": false,
|
|
62
|
+
"persistentPollingInterval": 1000
|
|
63
|
+
},
|
|
64
|
+
"getAttribute": {
|
|
65
|
+
"scope": null,
|
|
66
|
+
"key": "state"
|
|
67
|
+
},
|
|
68
|
+
"getTimeSeries": {
|
|
69
|
+
"key": "state"
|
|
70
|
+
},
|
|
71
|
+
"getAlarmStatus": {
|
|
72
|
+
"severityList": [
|
|
73
|
+
"MAJOR",
|
|
74
|
+
"MINOR",
|
|
75
|
+
"WARNING",
|
|
76
|
+
"INDETERMINATE"
|
|
77
|
+
],
|
|
78
|
+
"typeList": null
|
|
79
|
+
},
|
|
80
|
+
"dataToValue": {
|
|
81
|
+
"type": "NONE",
|
|
82
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
|
|
83
|
+
"compareToValue": true
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"defaultSetValueSettings": null,
|
|
87
|
+
"defaultWidgetActionSettings": null
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"id": "warningClick",
|
|
91
|
+
"name": "{i18n:scada.symbol.warning-click}",
|
|
92
|
+
"hint": "{i18n:scada.symbol.on-click-hint}",
|
|
93
|
+
"group": "{i18n:scada.symbol.warning-state}",
|
|
94
|
+
"type": "widgetAction",
|
|
95
|
+
"valueType": "BOOLEAN",
|
|
96
|
+
"trueLabel": null,
|
|
97
|
+
"falseLabel": null,
|
|
98
|
+
"stateLabel": null,
|
|
99
|
+
"defaultGetValueSettings": null,
|
|
100
|
+
"defaultSetValueSettings": null,
|
|
101
|
+
"defaultWidgetActionSettings": {
|
|
102
|
+
"type": "doNothing",
|
|
103
|
+
"targetDashboardStateId": null,
|
|
104
|
+
"openRightLayout": false,
|
|
105
|
+
"setEntityId": false,
|
|
106
|
+
"stateEntityParamName": null
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"id": "critical",
|
|
111
|
+
"name": "{i18n:scada.symbol.critical}",
|
|
112
|
+
"hint": "{i18n:scada.symbol.critical-state-hint}",
|
|
113
|
+
"group": "{i18n:scada.symbol.critical-state}",
|
|
114
|
+
"type": "value",
|
|
115
|
+
"valueType": "BOOLEAN",
|
|
116
|
+
"trueLabel": null,
|
|
117
|
+
"falseLabel": null,
|
|
118
|
+
"stateLabel": "{i18n:scada.symbol.critical}",
|
|
119
|
+
"defaultGetValueSettings": {
|
|
120
|
+
"action": "GET_ALARM_STATUS",
|
|
121
|
+
"defaultValue": false,
|
|
122
|
+
"executeRpc": {
|
|
123
|
+
"method": "getState",
|
|
124
|
+
"requestTimeout": 5000,
|
|
125
|
+
"requestPersistent": false,
|
|
126
|
+
"persistentPollingInterval": 1000
|
|
127
|
+
},
|
|
128
|
+
"getAttribute": {
|
|
129
|
+
"scope": null,
|
|
130
|
+
"key": "state"
|
|
131
|
+
},
|
|
132
|
+
"getTimeSeries": {
|
|
133
|
+
"key": "state"
|
|
134
|
+
},
|
|
135
|
+
"getAlarmStatus": {
|
|
136
|
+
"severityList": [
|
|
137
|
+
"CRITICAL"
|
|
138
|
+
],
|
|
139
|
+
"typeList": null
|
|
140
|
+
},
|
|
141
|
+
"dataToValue": {
|
|
142
|
+
"type": "NONE",
|
|
143
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
|
|
144
|
+
"compareToValue": true
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"defaultSetValueSettings": null,
|
|
148
|
+
"defaultWidgetActionSettings": null
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"id": "criticalClick",
|
|
152
|
+
"name": "{i18n:scada.symbol.critical-click}",
|
|
153
|
+
"hint": "{i18n:scada.symbol.on-click-hint}",
|
|
154
|
+
"group": "{i18n:scada.symbol.critical-state}",
|
|
155
|
+
"type": "widgetAction",
|
|
156
|
+
"valueType": "BOOLEAN",
|
|
157
|
+
"trueLabel": null,
|
|
158
|
+
"falseLabel": null,
|
|
159
|
+
"stateLabel": null,
|
|
160
|
+
"defaultGetValueSettings": null,
|
|
161
|
+
"defaultSetValueSettings": null,
|
|
162
|
+
"defaultWidgetActionSettings": {
|
|
163
|
+
"type": "doNothing",
|
|
164
|
+
"targetDashboardStateId": null,
|
|
165
|
+
"openRightLayout": false,
|
|
166
|
+
"setEntityId": false,
|
|
167
|
+
"stateEntityParamName": null
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"id": "criticalAnimation",
|
|
172
|
+
"name": "{i18n:scada.symbol.warning-critical-state-animation}",
|
|
173
|
+
"hint": "{i18n:scada.symbol.warning-critical-state-animation-hint}",
|
|
174
|
+
"group": null,
|
|
175
|
+
"type": "value",
|
|
176
|
+
"valueType": "BOOLEAN",
|
|
177
|
+
"trueLabel": null,
|
|
178
|
+
"falseLabel": null,
|
|
179
|
+
"stateLabel": "{i18n:scada.symbol.animation}",
|
|
180
|
+
"defaultGetValueSettings": {
|
|
181
|
+
"action": "DO_NOTHING",
|
|
182
|
+
"defaultValue": false,
|
|
183
|
+
"executeRpc": {
|
|
184
|
+
"method": "getState",
|
|
185
|
+
"requestTimeout": 5000,
|
|
186
|
+
"requestPersistent": false,
|
|
187
|
+
"persistentPollingInterval": 1000
|
|
188
|
+
},
|
|
189
|
+
"getAttribute": {
|
|
190
|
+
"key": "state",
|
|
191
|
+
"scope": null
|
|
192
|
+
},
|
|
193
|
+
"getTimeSeries": {
|
|
194
|
+
"key": "state"
|
|
195
|
+
},
|
|
196
|
+
"dataToValue": {
|
|
197
|
+
"type": "NONE",
|
|
198
|
+
"compareToValue": true,
|
|
199
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"defaultSetValueSettings": null,
|
|
203
|
+
"defaultWidgetActionSettings": null
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"id": "click",
|
|
207
|
+
"name": "{i18n:scada.symbol.on-click}",
|
|
208
|
+
"hint": "{i18n:scada.symbol.on-click-hint}",
|
|
209
|
+
"group": null,
|
|
210
|
+
"type": "widgetAction",
|
|
211
|
+
"valueType": "BOOLEAN",
|
|
212
|
+
"trueLabel": null,
|
|
213
|
+
"falseLabel": null,
|
|
214
|
+
"stateLabel": null,
|
|
215
|
+
"defaultGetValueSettings": null,
|
|
216
|
+
"defaultSetValueSettings": null,
|
|
217
|
+
"defaultWidgetActionSettings": {
|
|
218
|
+
"type": "doNothing",
|
|
219
|
+
"targetDashboardStateId": null,
|
|
220
|
+
"openRightLayout": false,
|
|
221
|
+
"setEntityId": false,
|
|
222
|
+
"stateEntityParamName": null
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
],
|
|
226
|
+
"properties": [
|
|
227
|
+
{
|
|
228
|
+
"id": "hookColor",
|
|
229
|
+
"name": "{i18n:scada.symbol.hook-color}",
|
|
230
|
+
"type": "color",
|
|
231
|
+
"default": "#FFFFFF",
|
|
232
|
+
"required": null,
|
|
233
|
+
"subLabel": "",
|
|
234
|
+
"divider": false,
|
|
235
|
+
"fieldSuffix": null,
|
|
236
|
+
"disableOnProperty": null,
|
|
237
|
+
"rowClass": "",
|
|
238
|
+
"fieldClass": "",
|
|
239
|
+
"min": null,
|
|
240
|
+
"max": null,
|
|
241
|
+
"step": null
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"id": "warningColor",
|
|
245
|
+
"name": "{i18n:scada.symbol.alarm-colors}",
|
|
246
|
+
"type": "color",
|
|
247
|
+
"default": "#FAA405",
|
|
248
|
+
"required": null,
|
|
249
|
+
"subLabel": "{i18n:scada.symbol.warning}",
|
|
250
|
+
"divider": true,
|
|
251
|
+
"fieldSuffix": null,
|
|
252
|
+
"disableOnProperty": null,
|
|
253
|
+
"rowClass": "",
|
|
254
|
+
"fieldClass": "",
|
|
255
|
+
"min": null,
|
|
256
|
+
"max": null,
|
|
257
|
+
"step": null
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"id": "criticalColor",
|
|
261
|
+
"name": "{i18n:scada.symbol.alarm-colors}",
|
|
262
|
+
"type": "color",
|
|
263
|
+
"default": "#D12730",
|
|
264
|
+
"required": null,
|
|
265
|
+
"subLabel": "{i18n:scada.symbol.critical}",
|
|
266
|
+
"divider": null,
|
|
267
|
+
"fieldSuffix": null,
|
|
268
|
+
"disableOnProperty": null,
|
|
269
|
+
"rowClass": "",
|
|
270
|
+
"fieldClass": "",
|
|
271
|
+
"min": null,
|
|
272
|
+
"max": null,
|
|
273
|
+
"step": null
|
|
274
|
+
}
|
|
275
|
+
]
|
|
276
|
+
}]]></tb:metadata>
|
|
277
|
+
<g fill="#fff" stroke="#1a1a1a" stroke-width="2" tb:tag="hook">
|
|
278
|
+
<path d="m83.979 279.78c2.3649-3.644 3.8966-6.715 4.6115-9.864 0.64089-2.823 0.61129-5.644 0.017-8.921h30.209c0.58999 3.566 0.85699 11.114-3.162 23.222-1.333 4.015-4.2859 7.854-8.1039 11.674-3.19 3.19-6.9109 6.3-10.681 9.45-0.74019 0.619-1.4823 1.239-2.2226 1.862-4.4846 3.772-8.8978 7.63-12.264 11.697-3.3665 4.066-5.7648 8.433-6.0848 13.232-0.61659 9.244 1.9776 15.781 5.8941 20.39 3.8938 4.582 9.0245 7.176 13.366 8.691 3.3656 1.175 10.24 1.992 16.594-0.225 3.199-1.116 6.2889-3.011 8.7169-6.037 2.429-3.028 4.149-7.131 4.6969-12.59 0.34899-3.477 0.60699-6.524 0.82999-9.148 0.119-1.403 0.22699-2.684 0.33399-3.846 0.311-3.382 0.60399-5.72 1.064-7.249 0.46099-1.528 0.96899-1.88 1.476-1.959 0.33699-0.054 0.81799-0.013 1.519 0.199 0.69499 0.211 1.536 0.57 2.566 1.084 11.321 5.643 15.547 14.835 16.45 23.832 0.90798 9.053-1.564 17.881-3.637 22.532-8.6369 19.376-26.348 31.189-48.797 31.189-13.468 0-23.767-2.387-32.055-6.711-8.2843-4.322-14.63-10.617-20.134-18.55-4.4111-6.357-8.8287-16.852-9.925-28.56-1.0945-11.689 1.1254-24.52 9.889-35.661 8.2183-10.447 16.325-15.531 23.129-19.132 1.2292-0.65 2.4347-1.261 3.5979-1.851 2.0264-1.027 3.9244-1.989 5.5955-2.981 2.6649-1.581 4.9275-3.332 6.5092-5.769z"/>
|
|
279
|
+
<path d="m58.08 261.38c-1.9988-1.28-4.4082-3.607-7.1067-6.92-2.688-3.299-5.6227-7.526-8.6813-12.552-6.1167-10.053-12.701-23.261-18.777-38.55-12.154-30.585-22.24-69.418-22.511-107.89-0.43146-61.407 29.982-85.126 51.186-90.56 10.719-2.7467 30.395-3.9859 49.703-3.9086 19.316 0.07727 38.034 1.4712 46.85 3.9039 17.425 4.8087 50.257 32.066 50.257 90.571 0 32.108-9.83 70.081-22.104 101.85-6.133 15.874-12.866 30.17-19.264 41.38-6.423 11.254-12.436 19.266-17.095 22.714-1.119 0.828-3.04 1.62-5.682 2.327-2.615 0.701-5.841 1.294-9.494 1.775-7.304 0.96-16.24 1.459-25.255 1.477-9.0138 0.019-18.079-0.442-25.642-1.393-3.7817-0.476-7.1717-1.072-9.9838-1.787-2.8296-0.72-5.0029-1.542-6.4004-2.437z"/>
|
|
280
|
+
</g><mask id="path-5-inside-1_4471_52357" fill="#ffffff">
|
|
281
|
+
<path d="m172.8 99c0 39.765-32.236 72-72 72-39.765 0-72-32.235-72-72 0-39.764 32.236-72 72-72 39.764 0 72 32.236 72 72zm-132.78 0c0 33.57 27.214 60.784 60.784 60.784 33.57 0 60.784-27.214 60.784-60.784 0-33.57-27.214-60.784-60.784-60.784-33.57 0-60.784 27.214-60.784 60.784z"/>
|
|
282
|
+
</mask><path d="m172.8 99c0 39.765-32.236 72-72 72-39.765 0-72-32.235-72-72 0-39.764 32.236-72 72-72 39.764 0 72 32.236 72 72zm-132.78 0c0 33.57 27.214 60.784 60.784 60.784 33.57 0 60.784-27.214 60.784-60.784 0-33.57-27.214-60.784-60.784-60.784-33.57 0-60.784 27.214-60.784 60.784z" fill="#dedede" mask="url(#path-5-inside-1_4471_52357)" stroke="#1a1a1a" stroke-width="4"/><path d="m67.264 0s-67.264 0-67.264 67v328.36c0 2.6512 1.7909 4.6404 4 4.6404h192c2.209 0 4-1.9892 4-4.6404v-328.36c0-67-66.07-67-66.07-67h-33.929zm67.07 81.2c-1.2887 0-2.3333 1.2536-2.3333 2.8v300.4c0 1.5464 1.0447 2.8 2.3333 2.8h14.666c1.2887 0 2.3333-1.2536 2.3333-2.8v-300.4c0-1.5464-1.0447-2.8-2.3333-2.8z" fill="#000" fill-opacity="0" tb:tag="clickArea"/><g fill="#d12730" style="display: none;" tb:tag="critical">
|
|
283
|
+
<rect width="84" height="84" rx="4" fill="#fff" style=""/>
|
|
284
|
+
<rect width="84" height="84" rx="4" style=""/>
|
|
285
|
+
<rect x="2" y="2" width="80" height="80" rx="2" stroke="#000" stroke-opacity=".87" stroke-width="4" style=""/>
|
|
286
|
+
<path d="m44.559 27.562-0.4688 20.059h-4.0234l-0.4883-20.059zm-5.1172 26.211c0-0.7161 0.2344-1.3151 0.7031-1.7968 0.4818-0.4948 1.1459-0.7422 1.9922-0.7422 0.8334 0 1.4909 0.2474 1.9727 0.7422 0.4817 0.4817 0.7226 1.0807 0.7226 1.7968 0 0.6901-0.2409 1.2826-0.7226 1.7774-0.4818 0.4818-1.1393 0.7226-1.9727 0.7226-0.8463 0-1.5104-0.2408-1.9922-0.7226-0.4687-0.4948-0.7031-1.0873-0.7031-1.7774z" fill="#000" fill-opacity=".87" style=""/>
|
|
287
|
+
</g><g fill="#faa405" style="display: none;" tb:tag="warning">
|
|
288
|
+
<path d="m38.422 7.1554c1.4741-2.9482 5.6813-2.9482 7.1554 0l35.528 71.056c1.3298 2.6596-0.6042 5.7889-3.5777 5.7889h-71.056c-2.9735 0-4.9075-3.1292-3.5777-5.7889z" fill="#fff" style=""/>
|
|
289
|
+
<path d="m38.422 7.1554c1.4741-2.9482 5.6813-2.9482 7.1554 0l35.528 71.056c1.3298 2.6596-0.6042 5.7889-3.5777 5.7889h-71.056c-2.9735 0-4.9075-3.1292-3.5777-5.7889z" style=""/>
|
|
290
|
+
<path d="m40.211 8.0498c0.7371-1.4741 2.8407-1.4741 3.5778-1e-5l35.528 71.056c0.6649 1.3298-0.3021 2.8944-1.7888 2.8944h-71.056c-1.4868 0-2.4538-1.5646-1.7889-2.8944z" stroke="#000" stroke-opacity=".87" stroke-width="4" style=""/>
|
|
291
|
+
<path d="m44.559 37.562-0.4688 20.059h-4.0234l-0.4883-20.059zm-5.1172 26.211c0-0.7161 0.2344-1.3151 0.7031-1.7968 0.4818-0.4948 1.1459-0.7422 1.9922-0.7422 0.8334 0 1.4909 0.2474 1.9727 0.7422 0.4817 0.4817 0.7226 1.0807 0.7226 1.7968 0 0.6901-0.2409 1.2826-0.7226 1.7774-0.4818 0.4818-1.1393 0.7226-1.9727 0.7226-0.8463 0-1.5104-0.2408-1.9922-0.7226-0.4687-0.4948-0.7031-1.0873-0.7031-1.7774z" fill="#000" fill-opacity=".87" style=""/>
|
|
292
|
+
</g>
|
|
293
|
+
</svg>
|