@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,271 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:tb="https://thingsboard.io/svg" width="200" height="200" fill="none" version="1.1" viewBox="0 0 200 200"><tb:metadata xmlns=""><![CDATA[{
|
|
2
|
+
"title": "Vertical ball valve",
|
|
3
|
+
"description": "Vertical ball valve with open/close animation and state colors.",
|
|
4
|
+
"searchTags": [
|
|
5
|
+
"valve",
|
|
6
|
+
"ball"
|
|
7
|
+
],
|
|
8
|
+
"widgetSizeX": 1,
|
|
9
|
+
"widgetSizeY": 1,
|
|
10
|
+
"tags": [
|
|
11
|
+
{
|
|
12
|
+
"tag": "background",
|
|
13
|
+
"stateRenderFunction": "var opened = ctx.values.opened;\nvar openAnimate = element.remember('openAnimate');\nvar color = opened ? ctx.properties.openedColor : ctx.properties.closedColor;\nif (!openAnimate) {\n element.attr({fill: color});\n} else {\n ctx.api.cssAnimate(element, 500).attr({fill: color});\n element.remember('openAnimate', false);\n}\n",
|
|
14
|
+
"actions": null
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"tag": "clickArea",
|
|
18
|
+
"stateRenderFunction": null,
|
|
19
|
+
"actions": {
|
|
20
|
+
"click": {
|
|
21
|
+
"actionFunction": " ctx.tags.wheel.forEach(e => {\n e.remember('openAnimate', true);\n });\n ctx.tags.background.forEach(e => {\n e.remember('openAnimate', true);\n });\n\n\nvar opened = ctx.values.opened;\nvar action = opened ? 'close' : 'open';\n\nctx.api.callAction(event, action, undefined, {\n next: () => {\n ctx.api.setValue('opened', !opened);\n }\n});"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"tag": "wheel",
|
|
27
|
+
"stateRenderFunction": "var opened = ctx.values.opened;\nvar openAnimate = element.remember('openAnimate');\nvar angle = opened ? ctx.properties.openedRotationAngle : ctx.properties.closedRotationAngle;\nif (!openAnimate) {\n element.transform({rotate: angle, originY: 100});\n} else {\n ctx.api.cssAnimate(element, 500).transform({rotate: angle, originY: 100});\n element.remember('openAnimate', false);\n}\n",
|
|
28
|
+
"actions": null
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"behavior": [
|
|
32
|
+
{
|
|
33
|
+
"id": "opened",
|
|
34
|
+
"name": "{i18n:scada.symbol.opened}",
|
|
35
|
+
"hint": "{i18n:scada.symbol.opened-hint}",
|
|
36
|
+
"group": null,
|
|
37
|
+
"type": "value",
|
|
38
|
+
"valueType": "BOOLEAN",
|
|
39
|
+
"trueLabel": null,
|
|
40
|
+
"falseLabel": null,
|
|
41
|
+
"stateLabel": "{i18n:scada.symbol.opened}",
|
|
42
|
+
"defaultGetValueSettings": {
|
|
43
|
+
"action": "GET_ATTRIBUTE",
|
|
44
|
+
"defaultValue": false,
|
|
45
|
+
"executeRpc": {
|
|
46
|
+
"method": "getState",
|
|
47
|
+
"requestTimeout": 5000,
|
|
48
|
+
"requestPersistent": false,
|
|
49
|
+
"persistentPollingInterval": 1000
|
|
50
|
+
},
|
|
51
|
+
"getAttribute": {
|
|
52
|
+
"scope": "SHARED_SCOPE",
|
|
53
|
+
"key": "open"
|
|
54
|
+
},
|
|
55
|
+
"getTimeSeries": {
|
|
56
|
+
"key": "state"
|
|
57
|
+
},
|
|
58
|
+
"dataToValue": {
|
|
59
|
+
"type": "NONE",
|
|
60
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
|
|
61
|
+
"compareToValue": true
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"defaultSetValueSettings": null,
|
|
65
|
+
"defaultWidgetActionSettings": null
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"id": "open",
|
|
69
|
+
"name": "{i18n:scada.symbol.open}",
|
|
70
|
+
"hint": "{i18n:scada.symbol.open-hint}",
|
|
71
|
+
"group": null,
|
|
72
|
+
"type": "action",
|
|
73
|
+
"valueType": "BOOLEAN",
|
|
74
|
+
"trueLabel": null,
|
|
75
|
+
"falseLabel": null,
|
|
76
|
+
"stateLabel": null,
|
|
77
|
+
"defaultGetValueSettings": null,
|
|
78
|
+
"defaultSetValueSettings": {
|
|
79
|
+
"action": "SET_ATTRIBUTE",
|
|
80
|
+
"executeRpc": {
|
|
81
|
+
"method": "setState",
|
|
82
|
+
"requestTimeout": 5000,
|
|
83
|
+
"requestPersistent": false,
|
|
84
|
+
"persistentPollingInterval": 1000
|
|
85
|
+
},
|
|
86
|
+
"setAttribute": {
|
|
87
|
+
"scope": "SHARED_SCOPE",
|
|
88
|
+
"key": "open"
|
|
89
|
+
},
|
|
90
|
+
"putTimeSeries": {
|
|
91
|
+
"key": "state"
|
|
92
|
+
},
|
|
93
|
+
"valueToData": {
|
|
94
|
+
"type": "CONSTANT",
|
|
95
|
+
"constantValue": true,
|
|
96
|
+
"valueToDataFunction": "/* Convert input boolean value to RPC parameters or attribute/time-series value */\nreturn value;"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"defaultWidgetActionSettings": null
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"id": "close",
|
|
103
|
+
"name": "{i18n:scada.symbol.close}",
|
|
104
|
+
"hint": "{i18n:scada.symbol.close-hint}",
|
|
105
|
+
"group": null,
|
|
106
|
+
"type": "action",
|
|
107
|
+
"valueType": "BOOLEAN",
|
|
108
|
+
"trueLabel": null,
|
|
109
|
+
"falseLabel": null,
|
|
110
|
+
"stateLabel": null,
|
|
111
|
+
"defaultGetValueSettings": null,
|
|
112
|
+
"defaultSetValueSettings": {
|
|
113
|
+
"action": "SET_ATTRIBUTE",
|
|
114
|
+
"executeRpc": {
|
|
115
|
+
"method": "setState",
|
|
116
|
+
"requestTimeout": 5000,
|
|
117
|
+
"requestPersistent": false,
|
|
118
|
+
"persistentPollingInterval": 1000
|
|
119
|
+
},
|
|
120
|
+
"setAttribute": {
|
|
121
|
+
"scope": "SHARED_SCOPE",
|
|
122
|
+
"key": "open"
|
|
123
|
+
},
|
|
124
|
+
"putTimeSeries": {
|
|
125
|
+
"key": "state"
|
|
126
|
+
},
|
|
127
|
+
"valueToData": {
|
|
128
|
+
"type": "CONSTANT",
|
|
129
|
+
"constantValue": false,
|
|
130
|
+
"valueToDataFunction": "/* Convert input boolean value to RPC parameters or attribute/time-series value */\nreturn value;"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"defaultWidgetActionSettings": null
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
"properties": [
|
|
137
|
+
{
|
|
138
|
+
"id": "openedColor",
|
|
139
|
+
"name": "{i18n:scada.symbol.opened-color}",
|
|
140
|
+
"type": "color",
|
|
141
|
+
"default": "#1C943E",
|
|
142
|
+
"required": null,
|
|
143
|
+
"subLabel": null,
|
|
144
|
+
"divider": null,
|
|
145
|
+
"fieldSuffix": null,
|
|
146
|
+
"disableOnProperty": null,
|
|
147
|
+
"rowClass": "",
|
|
148
|
+
"fieldClass": "",
|
|
149
|
+
"min": null,
|
|
150
|
+
"max": null,
|
|
151
|
+
"step": null
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"id": "closedColor",
|
|
155
|
+
"name": "{i18n:scada.symbol.closed-color}",
|
|
156
|
+
"type": "color",
|
|
157
|
+
"default": "#696969",
|
|
158
|
+
"required": null,
|
|
159
|
+
"subLabel": null,
|
|
160
|
+
"divider": null,
|
|
161
|
+
"fieldSuffix": null,
|
|
162
|
+
"disableOnProperty": null,
|
|
163
|
+
"rowClass": "",
|
|
164
|
+
"fieldClass": "",
|
|
165
|
+
"min": null,
|
|
166
|
+
"max": null,
|
|
167
|
+
"step": null
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"id": "openedRotationAngle",
|
|
171
|
+
"name": "{i18n:scada.symbol.opened-rotation-angle}",
|
|
172
|
+
"type": "number",
|
|
173
|
+
"default": 0,
|
|
174
|
+
"required": true,
|
|
175
|
+
"subLabel": null,
|
|
176
|
+
"divider": null,
|
|
177
|
+
"fieldSuffix": null,
|
|
178
|
+
"disableOnProperty": null,
|
|
179
|
+
"rowClass": "",
|
|
180
|
+
"fieldClass": "",
|
|
181
|
+
"min": -179,
|
|
182
|
+
"max": 179,
|
|
183
|
+
"step": null
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"id": "closedRotationAngle",
|
|
187
|
+
"name": "{i18n:scada.symbol.closed-rotation-angle}",
|
|
188
|
+
"type": "number",
|
|
189
|
+
"default": 90,
|
|
190
|
+
"required": true,
|
|
191
|
+
"subLabel": null,
|
|
192
|
+
"divider": null,
|
|
193
|
+
"fieldSuffix": null,
|
|
194
|
+
"disableOnProperty": null,
|
|
195
|
+
"rowClass": "",
|
|
196
|
+
"fieldClass": "",
|
|
197
|
+
"min": -179,
|
|
198
|
+
"max": 179,
|
|
199
|
+
"step": null
|
|
200
|
+
}
|
|
201
|
+
]
|
|
202
|
+
}]]></tb:metadata>
|
|
203
|
+
<defs>
|
|
204
|
+
<linearGradient id="paint0_linear_1595_99338" x1="58.72" x2="58.3" y1="46.5" y2="153.51" gradientTransform="rotate(-90,100,100)" gradientUnits="userSpaceOnUse">
|
|
205
|
+
<stop stop-color="#020202" stop-opacity=".35" offset="0"/>
|
|
206
|
+
<stop stop-color="#020202" stop-opacity=".12" offset=".18316"/>
|
|
207
|
+
<stop stop-color="#fff" stop-opacity=".08" offset=".35085"/>
|
|
208
|
+
<stop stop-color="#fff" stop-opacity=".25" offset=".49829"/>
|
|
209
|
+
<stop stop-color="#fff" stop-opacity=".08" offset=".64825"/>
|
|
210
|
+
<stop stop-color="#020202" stop-opacity=".12" offset=".82318"/>
|
|
211
|
+
<stop stop-color="#020202" stop-opacity=".35" offset="1"/>
|
|
212
|
+
</linearGradient>
|
|
213
|
+
<filter id="filter0_d_1595_99338" x="65" y="65" width="131" height="70" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse">
|
|
214
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
215
|
+
<feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
|
|
216
|
+
<feOffset/>
|
|
217
|
+
<feGaussianBlur stdDeviation="4"/>
|
|
218
|
+
<feComposite in2="hardAlpha" operator="out"/>
|
|
219
|
+
<feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
|
|
220
|
+
<feBlend in2="BackgroundImageFix" result="effect1_dropShadow_1595_99338"/>
|
|
221
|
+
<feBlend in="SourceGraphic" in2="effect1_dropShadow_1595_99338" result="shape"/>
|
|
222
|
+
</filter>
|
|
223
|
+
<filter id="filter1_d_1595_99338" x="100" y="76.174" width="100" height="47.652" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse">
|
|
224
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
225
|
+
<feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
|
|
226
|
+
<feOffset/>
|
|
227
|
+
<feGaussianBlur stdDeviation="2"/>
|
|
228
|
+
<feComposite in2="hardAlpha" operator="out"/>
|
|
229
|
+
<feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
|
|
230
|
+
<feBlend in2="BackgroundImageFix" result="effect1_dropShadow_1595_99338"/>
|
|
231
|
+
<feBlend in="SourceGraphic" in2="effect1_dropShadow_1595_99338" result="shape"/>
|
|
232
|
+
</filter>
|
|
233
|
+
<radialGradient id="paint1_radial_1595_99338" cx="0" cy="0" r="1" gradientTransform="matrix(0,10.846,-89.342,0,180.83,100.52)" gradientUnits="userSpaceOnUse">
|
|
234
|
+
<stop stop-color="#fff" offset="0"/>
|
|
235
|
+
<stop stop-color="#9B9B9B" offset="1"/>
|
|
236
|
+
</radialGradient>
|
|
237
|
+
<filter id="filter2_ii_1595_99338" x="69.875" y="69.875" width="60.25" height="60.25" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse">
|
|
238
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
239
|
+
<feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
240
|
+
<feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
|
|
241
|
+
<feOffset dx="3.12497" dy="-3.12497"/>
|
|
242
|
+
<feGaussianBlur stdDeviation="3.12497"/>
|
|
243
|
+
<feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"/>
|
|
244
|
+
<feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"/>
|
|
245
|
+
<feBlend in2="shape" result="effect1_innerShadow_1595_99338"/>
|
|
246
|
+
<feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
|
|
247
|
+
<feOffset dx="-3.12497" dy="3.12497"/>
|
|
248
|
+
<feGaussianBlur stdDeviation="3.12497"/>
|
|
249
|
+
<feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"/>
|
|
250
|
+
<feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/>
|
|
251
|
+
<feBlend in2="effect1_innerShadow_1595_99338" result="effect2_innerShadow_1595_99338"/>
|
|
252
|
+
</filter>
|
|
253
|
+
<filter id="filter3_i_1595_99338" x="72" y="77" width="51" height="51" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse">
|
|
254
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
255
|
+
<feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
256
|
+
<feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
|
|
257
|
+
<feOffset dx="-5" dy="5"/>
|
|
258
|
+
<feGaussianBlur stdDeviation="4"/>
|
|
259
|
+
<feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"/>
|
|
260
|
+
<feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
|
|
261
|
+
<feBlend in2="shape" result="effect1_innerShadow_1595_99338"/>
|
|
262
|
+
</filter>
|
|
263
|
+
</defs><rect transform="rotate(-90)" x="-198.5" y="51.5" width="11" height="97" rx="5.5" fill="#d9d9d9" stroke="#727171" stroke-width="3"/><path d="m63.075 186s-5.5691-25.882-8.8079-43c-3.1469-16.632-3.767-26.182-3.767-43s0.6201-26.368 3.767-43c3.2388-17.118 8.8079-43 8.8079-43h73.833s4.816 25.882 8.055 43c3.147 16.632 4.374 26.182 4.52 43 0.147 16.807-0.639 26.377-3.767 43-3.231 17.177-8.808 43-8.808 43z" fill="#1c943e" tb:tag="background"/><path d="m63.075 186s-5.5691-25.882-8.8079-43c-3.1469-16.632-3.767-26.182-3.767-43s0.6201-26.368 3.767-43c3.2388-17.118 8.8079-43 8.8079-43h73.833s4.816 25.882 8.055 43c3.147 16.632 4.374 26.182 4.52 43 0.147 16.807-0.639 26.377-3.767 43-3.231 17.177-8.808 43-8.808 43z" fill="url(#paint0_linear_1595_99338)" style="fill:url(#paint0_linear_1595_99338)"/><path d="m63.621 18.62c0.281-1.321 0.5079-2.384 0.6661-3.123h71.375c0.137 0.738 0.333 1.787 0.575 3.086 0.502 2.694 1.205 6.465 2.01 10.77 1.608 8.611 3.622 19.362 5.242 27.923 3.135 16.568 4.349 26.026 4.494 42.734 0.146 16.714-0.632 26.186-3.741 42.71-1.613 8.5733-3.812 19.311-5.61 27.912-0.898 4.299-1.696 8.0616-2.269 10.749-0.281 1.3186-0.508 2.3784-0.666 3.1159h-71.41c-0.1582-0.7391-0.3851-1.8016-0.6661-3.1235-0.5724-2.6925-1.3694-6.4608-2.2675-10.764-1.7967-8.6083-3.9963-19.347-5.6129-27.892-3.1259-16.521-3.7409-25.975-3.7409-42.721s0.615-26.2 3.7409-42.721c1.6166-8.545 3.8162-19.283 5.6129-27.892 0.8981-4.303 1.6951-8.071 2.2675-10.764z" stroke="#000" stroke-opacity=".12" stroke-width="3"/><rect transform="rotate(-90)" x="-12.5" y="51.5" width="11" height="97" rx="5.5" fill="#d9d9d9" stroke="#727171" stroke-width="3"/><g tb:tag="wheel">
|
|
264
|
+
<path transform="rotate(-90,100,100)" d="m100 80.174s21.238 7.876 45.5 8c14.198 0.0726 28.327-1.0525 38.64-2.1526 8.35-0.8908 15.86 5.581 15.86 13.979 0 8.3981-7.51 14.869-15.86 13.979-10.313-1.1-24.442-2.226-38.64-2.153-24.262 0.124-45.5 8-45.5 8z" fill="url(#paint1_radial_1595_99338)" style="fill:url(#paint1_radial_1595_99338);filter:url(#filter1_d_1595_99338)"/>
|
|
265
|
+
<path transform="rotate(-90,100,100)" d="m100.5 119.12v-38.234c0.09 0.0315 0.19 0.0659 0.298 0.1029 0.632 0.217 1.561 0.5266 2.75 0.8983 2.38 0.7432 5.804 1.7348 9.988 2.7301 8.365 1.99 19.78 3.9978 31.961 4.06 14.224 0.0727 28.373-1.0542 38.696-2.1554 8.068-0.8607 15.307 5.3942 15.307 13.482 0 8.0871-7.239 14.342-15.307 13.481-10.323-1.101-24.472-2.228-38.696-2.155-12.181 0.062-23.596 2.07-31.961 4.06-4.184 0.995-7.608 1.987-9.988 2.73-1.189 0.372-2.118 0.681-2.75 0.898-0.108 0.037-0.208 0.072-0.298 0.103z" stroke="#000" stroke-opacity=".12" style="filter:url(#filter1_d_1595_99338)"/>
|
|
266
|
+
</g><g filter="url(#filter2_ii_1595_99338)">
|
|
267
|
+
<circle cx="100" cy="100" r="27" fill="#d9d9d9"/>
|
|
268
|
+
</g><path d="m123 100c0 12.703-10.297 23-23 23-12.702 0-23-10.297-23-23 0-12.702 10.298-23 23-23 12.703 0 23 10.298 23 23z" fill="#000" fill-opacity=".05" style="filter:url(#filter0_d_1595_99338)"/><g filter="url(#filter3_i_1595_99338)">
|
|
269
|
+
<path d="m123 100c0 12.703-10.297 23-23 23-12.702 0-23-10.297-23-23 0-12.702 10.298-23 23-23 12.703 0 23 10.298 23 23z" fill="#1c943e" tb:tag="background"/>
|
|
270
|
+
</g><path d="m122 100c0 12.15-9.85 22-22 22s-22-9.85-22-22 9.8497-22 22-22c12.15 0 22 9.8497 22 22z" stroke="#fff" stroke-width="2"/><path d="m97.283 90.614c0-0.647-0.6112-1.1214-1.2155-0.8901-4.133 1.5825-7.0677 5.5867-7.0677 10.276 0 6.0751 4.9249 11 11 11 6.075 0 11-4.925 11-11 0-4.5642-2.78-8.4791-6.739-10.144-0.609-0.2563-1.243 0.2209-1.243 0.882 0 0.4223 0.268 0.7938 0.655 0.9649 3.18 1.4098 5.398 4.5944 5.398 8.2973 0 5.0101-4.061 9.0711-9.071 9.0711s-9.0714-4.061-9.0714-9.0711c0-3.8068 2.3447-7.0658 5.6688-8.4117 0.4019-0.1628 0.6858-0.541 0.6858-0.9746z" clip-rule="evenodd" fill="#fff" fill-rule="evenodd"/><path d="m99.514 87.637c0-0.3519 0.2852-0.6372 0.6373-0.6372 0.352 0 0.637 0.2853 0.637 0.6372v10.401c0 0.3519-0.285 0.6372-0.637 0.6372-0.3521 0-0.6373-0.2853-0.6373-0.6372z" fill="#fff"/><rect transform="rotate(-90)" x="-200" y="50" width="200" height="100" fill="#000" fill-opacity="0" stroke-width="0" tb:tag="clickArea"/>
|
|
271
|
+
</svg>
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:tb="https://thingsboard.io/svg" width="200" height="200" fill="none" version="1.1" viewBox="0 0 200 200"><tb:metadata xmlns=""><![CDATA[{
|
|
2
|
+
"title": "Vertical broken pipe",
|
|
3
|
+
"description": "Vertical broken pipe.",
|
|
4
|
+
"searchTags": [
|
|
5
|
+
"pipe",
|
|
6
|
+
"vertical pipe",
|
|
7
|
+
"broken pipe"
|
|
8
|
+
],
|
|
9
|
+
"widgetSizeX": 1,
|
|
10
|
+
"widgetSizeY": 1,
|
|
11
|
+
"tags": [
|
|
12
|
+
{
|
|
13
|
+
"tag": "clickArea",
|
|
14
|
+
"stateRenderFunction": null,
|
|
15
|
+
"actions": {
|
|
16
|
+
"click": {
|
|
17
|
+
"actionFunction": "ctx.api.callAction(event, 'click');"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"tag": "pipe-background",
|
|
23
|
+
"stateRenderFunction": "var color = ctx.properties.pipeColor;\nelement.attr({fill: color});",
|
|
24
|
+
"actions": null
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"behavior": [
|
|
28
|
+
{
|
|
29
|
+
"id": "click",
|
|
30
|
+
"name": "{i18n:scada.symbol.on-click}",
|
|
31
|
+
"hint": "{i18n:scada.symbol.on-click-hint}",
|
|
32
|
+
"group": null,
|
|
33
|
+
"type": "widgetAction",
|
|
34
|
+
"valueType": "BOOLEAN",
|
|
35
|
+
"trueLabel": null,
|
|
36
|
+
"falseLabel": null,
|
|
37
|
+
"stateLabel": null,
|
|
38
|
+
"defaultGetValueSettings": null,
|
|
39
|
+
"defaultSetValueSettings": null,
|
|
40
|
+
"defaultWidgetActionSettings": {
|
|
41
|
+
"type": "doNothing",
|
|
42
|
+
"targetDashboardStateId": null,
|
|
43
|
+
"openRightLayout": false,
|
|
44
|
+
"setEntityId": false,
|
|
45
|
+
"stateEntityParamName": null
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"properties": [
|
|
50
|
+
{
|
|
51
|
+
"id": "pipeColor",
|
|
52
|
+
"name": "{i18n:scada.symbol.pipe-color}",
|
|
53
|
+
"type": "color",
|
|
54
|
+
"default": "#FFFFFF",
|
|
55
|
+
"required": null,
|
|
56
|
+
"subLabel": null,
|
|
57
|
+
"divider": null,
|
|
58
|
+
"fieldSuffix": null,
|
|
59
|
+
"disableOnProperty": null,
|
|
60
|
+
"rowClass": "",
|
|
61
|
+
"fieldClass": "",
|
|
62
|
+
"min": null,
|
|
63
|
+
"max": null,
|
|
64
|
+
"step": null
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
}]]></tb:metadata>
|
|
68
|
+
<g tb:tag="clickArea">
|
|
69
|
+
<path d="m63.5 186.5s0.2293-53.5 0-60.5-6.5-17-6.5-17l21.5 14.5 6.5-14.5 9 10.5 11-14.5 6.5 18.5 6-10 11.5 2.5 14-7s-7.5 10-7.5 17v60.5h-72z" fill="#fff" tb:tag="pipe-background"/>
|
|
70
|
+
<path d="m63.5 186.5s0.2293-53.5 0-60.5-6.5-17-6.5-17l21.5 14.5 6.5-14.5 9 10.5 11-14.5 6.5 18.5 6-10 11.5 2.5 14-7s-7.5 10-7.5 17v60.5h-72z" fill="url(#paint0_linear_2474_252378)"/>
|
|
71
|
+
<path d="m61.52 114.23c-0.0889-0.188-0.1777-0.374-0.2661-0.556l16.407 11.066 1.4782 0.997 0.7293-1.627 5.5321-12.341 7.4602 8.703 1.2101 1.412 1.1238-1.481 9.314-12.278 5.576 15.868 1.058 3.013 1.643-2.738 5.447-9.078 10.448 2.272 0.517 0.112 0.473-0.236 9.023-4.512c-0.249 0.421-0.502 0.861-0.755 1.317-1.883 3.389-3.939 7.935-3.939 11.853v59h-68.994l0.0033-0.807c0.0058-1.476 0.0139-3.594 0.0228-6.157 0.0179-5.125 0.0394-12.032 0.0538-19.158 0.0286-14.23 0.0289-29.393-0.0868-32.927-0.1255-3.83-1.8722-8.32-3.4792-11.717z" stroke="#000" stroke-opacity=".12" stroke-width="3"/>
|
|
72
|
+
<path d="m58 94.5s7.395-13.5 7.5-18.5 0-62 0-62h72s-0.086 54.5 0 62 4.5 18.5 4.5 18.5l-13.5-6-14 15-5-16.5-6 7.5-13-6-13 18-4.5-19.5-15 7.5z" fill="#fff" tb:tag="pipe-background"/>
|
|
73
|
+
<path d="m58 94.5s7.395-13.5 7.5-18.5 0-62 0-62h72s-0.086 54.5 0 62 4.5 18.5 4.5 18.5l-13.5-6-14 15-5-16.5-6 7.5-13-6-13 18-4.5-19.5-15 7.5z" fill="url(#paint1_linear_2474_252378)"/>
|
|
74
|
+
<path d="m67.003 15.5h68.995l-2e-3 0.8543c-2e-3 1.5049-5e-3 3.6632-8e-3 6.2766-7e-3 5.2267-0.015 12.274-0.02 19.555-0.011 14.556-0.011 30.069 0.032 33.831 0.046 3.9731 1.225 8.7675 2.346 12.479 0.357 1.1792 0.712 2.2636 1.031 3.1964l-10.268-4.5635-0.976-0.4341-0.73 0.7813-12.223 13.096-4.244-14.008-0.827-2.7275-1.78 2.2255-5.267 6.5829-13.055-6.0254-0.7231 1.0013-11.065 15.321-3.757-16.28-0.4284-1.8563-12.574 6.2868c0.5039-1.009 1.0566-2.1442 1.611-3.3352 0.9404-2.0204 1.8953-4.222 2.6248-6.2504 0.7123-1.9804 1.2726-3.9616 1.3044-5.4761 0.0529-2.5216 0.0528-18.048 0.0397-32.908-0.0066-7.4379-0.0164-14.72-0.0246-20.142-0.0041-2.711-0.0078-4.9572-0.0105-6.5257l-0.0017-0.9564z" stroke="#000" stroke-opacity=".12" stroke-width="3"/>
|
|
75
|
+
<rect transform="rotate(-90 51.5 198.5)" x="51.5" y="198.5" width="11" height="97" rx="5.5" fill="#D9D9D9" stroke="#727171" stroke-width="3"/>
|
|
76
|
+
<rect transform="rotate(-90 51.5 12.5)" x="51.5" y="12.5" width="11" height="97" rx="5.5" fill="#D9D9D9" stroke="#727171" stroke-width="3"/>
|
|
77
|
+
</g><defs>
|
|
78
|
+
<linearGradient id="paint0_linear_2474_252378" x1="63.5" x2="135.5" y1="167.52" y2="167.97" gradientUnits="userSpaceOnUse">
|
|
79
|
+
<stop stop-color="#727171" offset="0"/>
|
|
80
|
+
<stop stop-color="#727171" stop-opacity=".35" offset=".26388"/>
|
|
81
|
+
<stop stop-color="#727171" stop-opacity=".1" offset=".41759"/>
|
|
82
|
+
<stop stop-color="#fff" stop-opacity="0" offset=".49829"/>
|
|
83
|
+
<stop stop-color="#727171" stop-opacity=".1" offset=".58094"/>
|
|
84
|
+
<stop stop-color="#727171" stop-opacity=".35" offset=".71855"/>
|
|
85
|
+
<stop stop-color="#727171" offset="1"/>
|
|
86
|
+
</linearGradient>
|
|
87
|
+
<linearGradient id="paint1_linear_2474_252378" x1="65.5" x2="137.5" y1="70.24" y2="70.67" gradientUnits="userSpaceOnUse">
|
|
88
|
+
<stop stop-color="#727171" offset="0"/>
|
|
89
|
+
<stop stop-color="#727171" stop-opacity=".35" offset=".26388"/>
|
|
90
|
+
<stop stop-color="#727171" stop-opacity=".1" offset=".41759"/>
|
|
91
|
+
<stop stop-color="#fff" stop-opacity="0" offset=".49829"/>
|
|
92
|
+
<stop stop-color="#727171" stop-opacity=".1" offset=".58094"/>
|
|
93
|
+
<stop stop-color="#727171" stop-opacity=".35" offset=".71855"/>
|
|
94
|
+
<stop stop-color="#727171" offset="1"/>
|
|
95
|
+
</linearGradient>
|
|
96
|
+
</defs>
|
|
97
|
+
</svg>
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:tb="https://thingsboard.io/svg" width="200" height="200" fill="none" version="1.1" viewBox="0 0 200 200"><tb:metadata xmlns=""><![CDATA[{
|
|
2
|
+
"title": "HP Vertical connector",
|
|
3
|
+
"description": "Vertical connector with an optional directional arrow to visually indicate flow.",
|
|
4
|
+
"widgetSizeX": 1,
|
|
5
|
+
"widgetSizeY": 1,
|
|
6
|
+
"stateRenderFunction": "const {\n flowAnimation,\n arrowDirection: flowDirection,\n flowAnimationSpeed\n} = ctx.values;\nconst {\n flowAnimationWidth: lineWidth,\n flowAnimationColor: lineColor,\n flowStyleDash: dashWidth,\n flowStyleGap: dashGap,\n flowDashCap: dashCap\n} = ctx.properties;\nconst line = ctx.tags.line[0].attr('d');\nconst lineReversed = 'M 100,0 V 200';\nconst animation = ctx.tags.animationGroup[0];\nconst duration = 1 / flowAnimationSpeed;\n\nlet animateFlow = ctx.api.connectorAnimation(animation);\n\nif (flowAnimation) {\n if (!animateFlow) {\n animateFlow = ctx.api.connectorAnimate(animation, line, lineReversed).flowAppearance(lineWidth, lineColor, dashCap, dashWidth, dashGap).duration(duration).direction(flowDirection).play();\n } else {\n animateFlow.duration(duration).direction(flowDirection).play();\n }\n} else {\n if (animateFlow) {\n animateFlow.finish();\n }\n}\n",
|
|
7
|
+
"tags": [
|
|
8
|
+
{
|
|
9
|
+
"tag": "arrow",
|
|
10
|
+
"stateRenderFunction": "var arrow = ctx.values.arrow;\nif (arrow) {\n element.show();\n element.stroke(ctx.properties.lineColor).fill(ctx.properties.lineColor);\n var arrowDirection = ctx.values.arrowDirection;\n var direticon = element.remember('direticon');\n var angle = arrowDirection ? 0 : 180;\n if (!direticon) {\n element.transform({rotate: angle});\n } else {\n ctx.api.transform({rotate: angle, originY: 100});\n element.remember('direticon', false);\n }\n} else {\n element.hide();\n}",
|
|
11
|
+
"actions": null
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"tag": "line",
|
|
15
|
+
"stateRenderFunction": "element.stroke(ctx.properties.lineColor);\nelement.attr({'stroke-width': ctx.properties.mainLineSize});",
|
|
16
|
+
"actions": null
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"behavior": [
|
|
20
|
+
{
|
|
21
|
+
"id": "arrow",
|
|
22
|
+
"name": "{i18n:scada.symbol.arrow-presence}",
|
|
23
|
+
"hint": "{i18n:scada.symbol.arrow-presence-hint}",
|
|
24
|
+
"group": null,
|
|
25
|
+
"type": "value",
|
|
26
|
+
"valueType": "BOOLEAN",
|
|
27
|
+
"trueLabel": "{i18n:scada.symbol.present}",
|
|
28
|
+
"falseLabel": "{i18n:scada.symbol.absent}",
|
|
29
|
+
"stateLabel": "{i18n:scada.symbol.arrow-present}",
|
|
30
|
+
"defaultGetValueSettings": {
|
|
31
|
+
"action": "DO_NOTHING",
|
|
32
|
+
"defaultValue": true,
|
|
33
|
+
"executeRpc": {
|
|
34
|
+
"method": "getState",
|
|
35
|
+
"requestTimeout": 5000,
|
|
36
|
+
"requestPersistent": false,
|
|
37
|
+
"persistentPollingInterval": 1000
|
|
38
|
+
},
|
|
39
|
+
"getAttribute": {
|
|
40
|
+
"scope": null,
|
|
41
|
+
"key": "state"
|
|
42
|
+
},
|
|
43
|
+
"getTimeSeries": {
|
|
44
|
+
"key": "state"
|
|
45
|
+
},
|
|
46
|
+
"dataToValue": {
|
|
47
|
+
"type": "NONE",
|
|
48
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
|
|
49
|
+
"compareToValue": true
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"defaultSetValueSettings": null,
|
|
53
|
+
"defaultWidgetActionSettings": null
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "flowAnimation",
|
|
57
|
+
"name": "{i18n:scada.symbol.flow-animation}",
|
|
58
|
+
"hint": "{i18n:scada.symbol.flow-animation-hint}",
|
|
59
|
+
"group": null,
|
|
60
|
+
"type": "value",
|
|
61
|
+
"valueType": "BOOLEAN",
|
|
62
|
+
"trueLabel": "{i18n:scada.symbol.present}",
|
|
63
|
+
"falseLabel": "{i18n:scada.symbol.absent}",
|
|
64
|
+
"stateLabel": "{i18n:scada.symbol.flow-present}",
|
|
65
|
+
"defaultGetValueSettings": {
|
|
66
|
+
"action": "DO_NOTHING",
|
|
67
|
+
"defaultValue": false,
|
|
68
|
+
"executeRpc": {
|
|
69
|
+
"method": "getState",
|
|
70
|
+
"requestTimeout": 5000,
|
|
71
|
+
"requestPersistent": false,
|
|
72
|
+
"persistentPollingInterval": 1000
|
|
73
|
+
},
|
|
74
|
+
"getAttribute": {
|
|
75
|
+
"key": "state",
|
|
76
|
+
"scope": null
|
|
77
|
+
},
|
|
78
|
+
"getTimeSeries": {
|
|
79
|
+
"key": "state"
|
|
80
|
+
},
|
|
81
|
+
"getAlarmStatus": {
|
|
82
|
+
"severityList": null,
|
|
83
|
+
"typeList": null
|
|
84
|
+
},
|
|
85
|
+
"dataToValue": {
|
|
86
|
+
"type": "NONE",
|
|
87
|
+
"compareToValue": true,
|
|
88
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"defaultSetValueSettings": null,
|
|
92
|
+
"defaultWidgetActionSettings": null
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"id": "arrowDirection",
|
|
96
|
+
"name": "{i18n:scada.symbol.arrow-direction}",
|
|
97
|
+
"hint": "{i18n:scada.symbol.arrow-direction-hint}",
|
|
98
|
+
"group": null,
|
|
99
|
+
"type": "value",
|
|
100
|
+
"valueType": "BOOLEAN",
|
|
101
|
+
"trueLabel": "{i18n:scada.symbol.forward}",
|
|
102
|
+
"falseLabel": "{i18n:scada.symbol.reverse}",
|
|
103
|
+
"stateLabel": "{i18n:scada.symbol.forward}",
|
|
104
|
+
"defaultGetValueSettings": {
|
|
105
|
+
"action": "DO_NOTHING",
|
|
106
|
+
"defaultValue": true,
|
|
107
|
+
"executeRpc": {
|
|
108
|
+
"method": "getState",
|
|
109
|
+
"requestTimeout": 5000,
|
|
110
|
+
"requestPersistent": false,
|
|
111
|
+
"persistentPollingInterval": 1000
|
|
112
|
+
},
|
|
113
|
+
"getAttribute": {
|
|
114
|
+
"scope": null,
|
|
115
|
+
"key": "state"
|
|
116
|
+
},
|
|
117
|
+
"getTimeSeries": {
|
|
118
|
+
"key": "state"
|
|
119
|
+
},
|
|
120
|
+
"dataToValue": {
|
|
121
|
+
"type": "NONE",
|
|
122
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
|
|
123
|
+
"compareToValue": true
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"defaultSetValueSettings": null,
|
|
127
|
+
"defaultWidgetActionSettings": null
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"id": "flowAnimationSpeed",
|
|
131
|
+
"name": "{i18n:scada.symbol.flow-animation-speed}",
|
|
132
|
+
"hint": "{i18n:scada.symbol.flow-animation-speed-hint}",
|
|
133
|
+
"group": null,
|
|
134
|
+
"type": "value",
|
|
135
|
+
"valueType": "DOUBLE",
|
|
136
|
+
"trueLabel": null,
|
|
137
|
+
"falseLabel": null,
|
|
138
|
+
"stateLabel": null,
|
|
139
|
+
"defaultGetValueSettings": {
|
|
140
|
+
"action": "DO_NOTHING",
|
|
141
|
+
"defaultValue": 1,
|
|
142
|
+
"executeRpc": {
|
|
143
|
+
"method": "getState",
|
|
144
|
+
"requestTimeout": 5000,
|
|
145
|
+
"requestPersistent": false,
|
|
146
|
+
"persistentPollingInterval": 1000
|
|
147
|
+
},
|
|
148
|
+
"getAttribute": {
|
|
149
|
+
"scope": null,
|
|
150
|
+
"key": "state"
|
|
151
|
+
},
|
|
152
|
+
"getTimeSeries": {
|
|
153
|
+
"key": "state"
|
|
154
|
+
},
|
|
155
|
+
"getAlarmStatus": {
|
|
156
|
+
"severityList": null,
|
|
157
|
+
"typeList": null
|
|
158
|
+
},
|
|
159
|
+
"dataToValue": {
|
|
160
|
+
"type": "NONE",
|
|
161
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"defaultSetValueSettings": null,
|
|
165
|
+
"defaultWidgetActionSettings": null
|
|
166
|
+
}
|
|
167
|
+
],
|
|
168
|
+
"properties": [
|
|
169
|
+
{
|
|
170
|
+
"id": "mainLineSize",
|
|
171
|
+
"name": "{i18n:scada.symbol.line}",
|
|
172
|
+
"type": "number",
|
|
173
|
+
"default": 6,
|
|
174
|
+
"required": true,
|
|
175
|
+
"divider": false,
|
|
176
|
+
"fieldSuffix": "px",
|
|
177
|
+
"min": 0,
|
|
178
|
+
"max": 99,
|
|
179
|
+
"step": 1,
|
|
180
|
+
"disabled": false,
|
|
181
|
+
"visible": true
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"id": "lineColor",
|
|
185
|
+
"name": "{i18n:scada.symbol.line}",
|
|
186
|
+
"type": "color",
|
|
187
|
+
"default": "#1A1A1A",
|
|
188
|
+
"disabled": false,
|
|
189
|
+
"visible": true
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"id": "flowAnimationWidth",
|
|
193
|
+
"name": "{i18n:scada.symbol.flow-line}",
|
|
194
|
+
"group": "{i18n:scada.symbol.flow}",
|
|
195
|
+
"type": "number",
|
|
196
|
+
"default": 4,
|
|
197
|
+
"divider": false,
|
|
198
|
+
"fieldSuffix": "px",
|
|
199
|
+
"min": 1,
|
|
200
|
+
"step": 1,
|
|
201
|
+
"disabled": false,
|
|
202
|
+
"visible": true
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"id": "flowAnimationColor",
|
|
206
|
+
"name": "{i18n:scada.symbol.flow-line}",
|
|
207
|
+
"group": "{i18n:scada.symbol.flow}",
|
|
208
|
+
"type": "color",
|
|
209
|
+
"default": "#C8DFF7",
|
|
210
|
+
"disabled": false,
|
|
211
|
+
"visible": true
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"id": "flowStyleDash",
|
|
215
|
+
"name": "{i18n:scada.symbol.flow-line-style}",
|
|
216
|
+
"hint": "{i18n:scada.symbol.flow-style-hint}",
|
|
217
|
+
"group": "{i18n:scada.symbol.flow}",
|
|
218
|
+
"type": "number",
|
|
219
|
+
"default": 10,
|
|
220
|
+
"required": true,
|
|
221
|
+
"subLabel": "{i18n:scada.symbol.dash}",
|
|
222
|
+
"divider": false,
|
|
223
|
+
"fieldSuffix": "px",
|
|
224
|
+
"min": 0,
|
|
225
|
+
"step": 1,
|
|
226
|
+
"disabled": false,
|
|
227
|
+
"visible": true
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"id": "flowStyleGap",
|
|
231
|
+
"name": "{i18n:scada.symbol.flow-line-style}",
|
|
232
|
+
"hint": "{i18n:scada.symbol.flow-style-hint}",
|
|
233
|
+
"group": "{i18n:scada.symbol.flow}",
|
|
234
|
+
"type": "number",
|
|
235
|
+
"default": 10,
|
|
236
|
+
"subLabel": "{i18n:scada.symbol.gap}",
|
|
237
|
+
"fieldSuffix": "px",
|
|
238
|
+
"min": 0,
|
|
239
|
+
"step": 1,
|
|
240
|
+
"disabled": false,
|
|
241
|
+
"visible": true
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"id": "flowDashCap",
|
|
245
|
+
"name": "{i18n:scada.symbol.flow-dash-cap}",
|
|
246
|
+
"group": "{i18n:scada.symbol.flow}",
|
|
247
|
+
"type": "select",
|
|
248
|
+
"default": "butt",
|
|
249
|
+
"items": [
|
|
250
|
+
{
|
|
251
|
+
"value": "butt",
|
|
252
|
+
"label": "{i18n:scada.symbol.dash-cap-butt}"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"value": "round",
|
|
256
|
+
"label": "{i18n:scada.symbol.dash-cap-round}"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"value": "square",
|
|
260
|
+
"label": "{i18n:scada.symbol.dash-cap-square}"
|
|
261
|
+
}
|
|
262
|
+
],
|
|
263
|
+
"disabled": false,
|
|
264
|
+
"visible": true
|
|
265
|
+
}
|
|
266
|
+
]
|
|
267
|
+
}]]></tb:metadata>
|
|
268
|
+
<path d="M 100,200 V 0" stroke="#1A1A1A" stroke-width="6" tb:tag="line"/><path d="M100 71L129 129H71L100 71Z" fill="#1A1A1A" tb:tag="arrow"/><g tb:tag="animationGroup"/>
|
|
269
|
+
</svg>
|