@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,586 @@
|
|
|
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 Cross connector",
|
|
3
|
+
"description": "Cross connector",
|
|
4
|
+
"widgetSizeX": 1,
|
|
5
|
+
"widgetSizeY": 1,
|
|
6
|
+
"stateRenderFunction": "const {\n flowAnimationWidth: lineWidth,\n flowAnimationColor: lineColor,\n flowStyleDash: dashWidth,\n flowStyleGap: dashGap,\n flowDashCap: dashCap\n} = ctx.properties;\n\nconst leftLine = \"M0 100H100\";\nconst leftLineReversed = \"M 100,100 H 0\";\nconst topLine = \"M100 97L100 0\";\nconst topLineReversed = \"M 100,0 V 97\";\nconst rightLine = \"M100 100H200\";\nconst rightLineReversed = \"M 200,100 H 100\";\nconst bottomLine = \"M 100,200 V 103\";\nconst bottomLineReversed = \"M 100,103 V 200\";\n\nprepareFlowAnimation('left', leftLine, leftLineReversed);\nprepareFlowAnimation('top', topLine, topLineReversed);\nprepareFlowAnimation('right', rightLine, rightLineReversed);\nprepareFlowAnimation('bottom', bottomLine, bottomLineReversed);\n\nfunction prepareFlowAnimation(prefix, line, reversedLine) {\n const flowAnimation = ctx.values[prefix + 'Flow'];\n const flowDirection = ctx.values[prefix + 'FlowDirection'];\n const flowAnimationSpeed = ctx.values[prefix + 'FlowAnimationSpeed'];\n\n const animation = ctx.tags[prefix + 'Line'][0];\n const duration = 1 / flowAnimationSpeed;\n \n let animateFlow = ctx.api.connectorAnimation(animation);\n \n if (flowAnimation) {\n if (!animateFlow) {\n animateFlow = ctx.api.connectorAnimate(animation, line, reversedLine).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": "line",
|
|
10
|
+
"stateRenderFunction": "element.stroke(ctx.properties.lineColor);\nelement.attr({'stroke-width': ctx.properties.mainLineSize});",
|
|
11
|
+
"actions": null
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"tag": "line-color",
|
|
15
|
+
"stateRenderFunction": "element.fill(ctx.properties.lineColor);",
|
|
16
|
+
"actions": null
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"behavior": [
|
|
20
|
+
{
|
|
21
|
+
"id": "leftFlow",
|
|
22
|
+
"name": "{i18n:scada.symbol.flow-animation}",
|
|
23
|
+
"hint": "{i18n:scada.symbol.flow-animation-hint}",
|
|
24
|
+
"group": "{i18n:scada.symbol.left-connector}",
|
|
25
|
+
"type": "value",
|
|
26
|
+
"valueType": "BOOLEAN",
|
|
27
|
+
"trueLabel": "{i18n:scada.symbol.present}",
|
|
28
|
+
"falseLabel": "{i18n:scada.symbol.absent}",
|
|
29
|
+
"stateLabel": "{i18n:scada.symbol.flow-present}",
|
|
30
|
+
"defaultGetValueSettings": {
|
|
31
|
+
"action": "DO_NOTHING",
|
|
32
|
+
"defaultValue": false,
|
|
33
|
+
"executeRpc": {
|
|
34
|
+
"method": "getState",
|
|
35
|
+
"requestTimeout": 5000,
|
|
36
|
+
"requestPersistent": false,
|
|
37
|
+
"persistentPollingInterval": 1000
|
|
38
|
+
},
|
|
39
|
+
"getAttribute": {
|
|
40
|
+
"key": "state",
|
|
41
|
+
"scope": null
|
|
42
|
+
},
|
|
43
|
+
"getTimeSeries": {
|
|
44
|
+
"key": "state"
|
|
45
|
+
},
|
|
46
|
+
"getAlarmStatus": {
|
|
47
|
+
"severityList": null,
|
|
48
|
+
"typeList": null
|
|
49
|
+
},
|
|
50
|
+
"dataToValue": {
|
|
51
|
+
"type": "NONE",
|
|
52
|
+
"compareToValue": true,
|
|
53
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"defaultSetValueSettings": null,
|
|
57
|
+
"defaultWidgetActionSettings": null
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "leftFlowDirection",
|
|
61
|
+
"name": "{i18n:scada.symbol.arrow-direction}",
|
|
62
|
+
"hint": "{i18n:scada.symbol.arrow-direction-hint}",
|
|
63
|
+
"group": "{i18n:scada.symbol.left-connector}",
|
|
64
|
+
"type": "value",
|
|
65
|
+
"valueType": "BOOLEAN",
|
|
66
|
+
"trueLabel": "{i18n:scada.symbol.forward}",
|
|
67
|
+
"falseLabel": "{i18n:scada.symbol.reverse}",
|
|
68
|
+
"stateLabel": "{i18n:scada.symbol.forward}",
|
|
69
|
+
"defaultGetValueSettings": {
|
|
70
|
+
"action": "DO_NOTHING",
|
|
71
|
+
"defaultValue": true,
|
|
72
|
+
"executeRpc": {
|
|
73
|
+
"method": "getState",
|
|
74
|
+
"requestTimeout": 5000,
|
|
75
|
+
"requestPersistent": false,
|
|
76
|
+
"persistentPollingInterval": 1000
|
|
77
|
+
},
|
|
78
|
+
"getAttribute": {
|
|
79
|
+
"scope": null,
|
|
80
|
+
"key": "state"
|
|
81
|
+
},
|
|
82
|
+
"getTimeSeries": {
|
|
83
|
+
"key": "state"
|
|
84
|
+
},
|
|
85
|
+
"getAlarmStatus": {
|
|
86
|
+
"severityList": null,
|
|
87
|
+
"typeList": null
|
|
88
|
+
},
|
|
89
|
+
"dataToValue": {
|
|
90
|
+
"type": "NONE",
|
|
91
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
|
|
92
|
+
"compareToValue": true
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"defaultSetValueSettings": null,
|
|
96
|
+
"defaultWidgetActionSettings": null
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"id": "leftFlowAnimationSpeed",
|
|
100
|
+
"name": "{i18n:scada.symbol.flow-animation-speed}",
|
|
101
|
+
"hint": "{i18n:scada.symbol.flow-animation-speed-hint}",
|
|
102
|
+
"group": "{i18n:scada.symbol.left-connector}",
|
|
103
|
+
"type": "value",
|
|
104
|
+
"valueType": "DOUBLE",
|
|
105
|
+
"trueLabel": null,
|
|
106
|
+
"falseLabel": null,
|
|
107
|
+
"stateLabel": null,
|
|
108
|
+
"defaultGetValueSettings": {
|
|
109
|
+
"action": "DO_NOTHING",
|
|
110
|
+
"defaultValue": 1,
|
|
111
|
+
"executeRpc": {
|
|
112
|
+
"method": "getState",
|
|
113
|
+
"requestTimeout": 5000,
|
|
114
|
+
"requestPersistent": false,
|
|
115
|
+
"persistentPollingInterval": 1000
|
|
116
|
+
},
|
|
117
|
+
"getAttribute": {
|
|
118
|
+
"scope": null,
|
|
119
|
+
"key": "state"
|
|
120
|
+
},
|
|
121
|
+
"getTimeSeries": {
|
|
122
|
+
"key": "state"
|
|
123
|
+
},
|
|
124
|
+
"getAlarmStatus": {
|
|
125
|
+
"severityList": null,
|
|
126
|
+
"typeList": null
|
|
127
|
+
},
|
|
128
|
+
"dataToValue": {
|
|
129
|
+
"type": "NONE",
|
|
130
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"defaultSetValueSettings": null,
|
|
134
|
+
"defaultWidgetActionSettings": null
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"id": "topFlow",
|
|
138
|
+
"name": "{i18n:scada.symbol.flow-animation}",
|
|
139
|
+
"hint": "{i18n:scada.symbol.flow-animation-hint}",
|
|
140
|
+
"group": "{i18n:scada.symbol.top-connector}",
|
|
141
|
+
"type": "value",
|
|
142
|
+
"valueType": "BOOLEAN",
|
|
143
|
+
"trueLabel": "{i18n:scada.symbol.present}",
|
|
144
|
+
"falseLabel": "{i18n:scada.symbol.absent}",
|
|
145
|
+
"stateLabel": "{i18n:scada.symbol.fluid-present}",
|
|
146
|
+
"defaultGetValueSettings": {
|
|
147
|
+
"action": "DO_NOTHING",
|
|
148
|
+
"defaultValue": false,
|
|
149
|
+
"executeRpc": {
|
|
150
|
+
"method": "getState",
|
|
151
|
+
"requestTimeout": 5000,
|
|
152
|
+
"requestPersistent": false,
|
|
153
|
+
"persistentPollingInterval": 1000
|
|
154
|
+
},
|
|
155
|
+
"getAttribute": {
|
|
156
|
+
"key": "state",
|
|
157
|
+
"scope": null
|
|
158
|
+
},
|
|
159
|
+
"getTimeSeries": {
|
|
160
|
+
"key": "state"
|
|
161
|
+
},
|
|
162
|
+
"getAlarmStatus": {
|
|
163
|
+
"severityList": null,
|
|
164
|
+
"typeList": null
|
|
165
|
+
},
|
|
166
|
+
"dataToValue": {
|
|
167
|
+
"type": "NONE",
|
|
168
|
+
"compareToValue": true,
|
|
169
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;"
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"defaultSetValueSettings": null,
|
|
173
|
+
"defaultWidgetActionSettings": null
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"id": "topFlowDirection",
|
|
177
|
+
"name": "{i18n:scada.symbol.arrow-direction}",
|
|
178
|
+
"hint": "{i18n:scada.symbol.arrow-direction-hint}",
|
|
179
|
+
"group": "{i18n:scada.symbol.top-connector}",
|
|
180
|
+
"type": "value",
|
|
181
|
+
"valueType": "BOOLEAN",
|
|
182
|
+
"trueLabel": "{i18n:scada.symbol.forward}",
|
|
183
|
+
"falseLabel": "{i18n:scada.symbol.reverse}",
|
|
184
|
+
"stateLabel": "{i18n:scada.symbol.forward}",
|
|
185
|
+
"defaultGetValueSettings": {
|
|
186
|
+
"action": "DO_NOTHING",
|
|
187
|
+
"defaultValue": true,
|
|
188
|
+
"executeRpc": {
|
|
189
|
+
"method": "getState",
|
|
190
|
+
"requestTimeout": 5000,
|
|
191
|
+
"requestPersistent": false,
|
|
192
|
+
"persistentPollingInterval": 1000
|
|
193
|
+
},
|
|
194
|
+
"getAttribute": {
|
|
195
|
+
"scope": null,
|
|
196
|
+
"key": "state"
|
|
197
|
+
},
|
|
198
|
+
"getTimeSeries": {
|
|
199
|
+
"key": "state"
|
|
200
|
+
},
|
|
201
|
+
"getAlarmStatus": {
|
|
202
|
+
"severityList": null,
|
|
203
|
+
"typeList": null
|
|
204
|
+
},
|
|
205
|
+
"dataToValue": {
|
|
206
|
+
"type": "NONE",
|
|
207
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
|
|
208
|
+
"compareToValue": true
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"defaultSetValueSettings": null,
|
|
212
|
+
"defaultWidgetActionSettings": null
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"id": "topFlowAnimationSpeed",
|
|
216
|
+
"name": "{i18n:scada.symbol.flow-animation-speed}",
|
|
217
|
+
"hint": "{i18n:scada.symbol.flow-animation-speed-hint}",
|
|
218
|
+
"group": "{i18n:scada.symbol.top-connector}",
|
|
219
|
+
"type": "value",
|
|
220
|
+
"valueType": "DOUBLE",
|
|
221
|
+
"trueLabel": null,
|
|
222
|
+
"falseLabel": null,
|
|
223
|
+
"stateLabel": null,
|
|
224
|
+
"defaultGetValueSettings": {
|
|
225
|
+
"action": "DO_NOTHING",
|
|
226
|
+
"defaultValue": 1,
|
|
227
|
+
"executeRpc": {
|
|
228
|
+
"method": "getState",
|
|
229
|
+
"requestTimeout": 5000,
|
|
230
|
+
"requestPersistent": false,
|
|
231
|
+
"persistentPollingInterval": 1000
|
|
232
|
+
},
|
|
233
|
+
"getAttribute": {
|
|
234
|
+
"scope": null,
|
|
235
|
+
"key": "state"
|
|
236
|
+
},
|
|
237
|
+
"getTimeSeries": {
|
|
238
|
+
"key": "state"
|
|
239
|
+
},
|
|
240
|
+
"getAlarmStatus": {
|
|
241
|
+
"severityList": null,
|
|
242
|
+
"typeList": null
|
|
243
|
+
},
|
|
244
|
+
"dataToValue": {
|
|
245
|
+
"type": "NONE",
|
|
246
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;"
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"defaultSetValueSettings": null,
|
|
250
|
+
"defaultWidgetActionSettings": null
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"id": "rightFlow",
|
|
254
|
+
"name": "{i18n:scada.symbol.flow-animation}",
|
|
255
|
+
"hint": "{i18n:scada.symbol.flow-animation-hint}",
|
|
256
|
+
"group": "{i18n:scada.symbol.right-connector}",
|
|
257
|
+
"type": "value",
|
|
258
|
+
"valueType": "BOOLEAN",
|
|
259
|
+
"trueLabel": "{i18n:scada.symbol.present}",
|
|
260
|
+
"falseLabel": "{i18n:scada.symbol.absent}",
|
|
261
|
+
"stateLabel": "{i18n:scada.symbol.flow-present}",
|
|
262
|
+
"defaultGetValueSettings": {
|
|
263
|
+
"action": "DO_NOTHING",
|
|
264
|
+
"defaultValue": false,
|
|
265
|
+
"executeRpc": {
|
|
266
|
+
"method": "getState",
|
|
267
|
+
"requestTimeout": 5000,
|
|
268
|
+
"requestPersistent": false,
|
|
269
|
+
"persistentPollingInterval": 1000
|
|
270
|
+
},
|
|
271
|
+
"getAttribute": {
|
|
272
|
+
"key": "state",
|
|
273
|
+
"scope": null
|
|
274
|
+
},
|
|
275
|
+
"getTimeSeries": {
|
|
276
|
+
"key": "state"
|
|
277
|
+
},
|
|
278
|
+
"getAlarmStatus": {
|
|
279
|
+
"severityList": null,
|
|
280
|
+
"typeList": null
|
|
281
|
+
},
|
|
282
|
+
"dataToValue": {
|
|
283
|
+
"type": "NONE",
|
|
284
|
+
"compareToValue": true,
|
|
285
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;"
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
"defaultSetValueSettings": null,
|
|
289
|
+
"defaultWidgetActionSettings": null
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"id": "rightFlowDirection",
|
|
293
|
+
"name": "{i18n:scada.symbol.arrow-direction}",
|
|
294
|
+
"hint": "{i18n:scada.symbol.arrow-direction-hint}",
|
|
295
|
+
"group": "{i18n:scada.symbol.right-connector}",
|
|
296
|
+
"type": "value",
|
|
297
|
+
"valueType": "BOOLEAN",
|
|
298
|
+
"trueLabel": "{i18n:scada.symbol.forward}",
|
|
299
|
+
"falseLabel": "{i18n:scada.symbol.reverse}",
|
|
300
|
+
"stateLabel": "{i18n:scada.symbol.forward}",
|
|
301
|
+
"defaultGetValueSettings": {
|
|
302
|
+
"action": "DO_NOTHING",
|
|
303
|
+
"defaultValue": true,
|
|
304
|
+
"executeRpc": {
|
|
305
|
+
"method": "getState",
|
|
306
|
+
"requestTimeout": 5000,
|
|
307
|
+
"requestPersistent": false,
|
|
308
|
+
"persistentPollingInterval": 1000
|
|
309
|
+
},
|
|
310
|
+
"getAttribute": {
|
|
311
|
+
"scope": null,
|
|
312
|
+
"key": "state"
|
|
313
|
+
},
|
|
314
|
+
"getTimeSeries": {
|
|
315
|
+
"key": "state"
|
|
316
|
+
},
|
|
317
|
+
"getAlarmStatus": {
|
|
318
|
+
"severityList": null,
|
|
319
|
+
"typeList": null
|
|
320
|
+
},
|
|
321
|
+
"dataToValue": {
|
|
322
|
+
"type": "NONE",
|
|
323
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
|
|
324
|
+
"compareToValue": true
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
"defaultSetValueSettings": null,
|
|
328
|
+
"defaultWidgetActionSettings": null
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"id": "rightFlowAnimationSpeed",
|
|
332
|
+
"name": "{i18n:scada.symbol.flow-animation-speed}",
|
|
333
|
+
"hint": "{i18n:scada.symbol.flow-animation-speed-hint}",
|
|
334
|
+
"group": "{i18n:scada.symbol.right-connector}",
|
|
335
|
+
"type": "value",
|
|
336
|
+
"valueType": "DOUBLE",
|
|
337
|
+
"trueLabel": null,
|
|
338
|
+
"falseLabel": null,
|
|
339
|
+
"stateLabel": null,
|
|
340
|
+
"defaultGetValueSettings": {
|
|
341
|
+
"action": "DO_NOTHING",
|
|
342
|
+
"defaultValue": 1,
|
|
343
|
+
"executeRpc": {
|
|
344
|
+
"method": "getState",
|
|
345
|
+
"requestTimeout": 5000,
|
|
346
|
+
"requestPersistent": false,
|
|
347
|
+
"persistentPollingInterval": 1000
|
|
348
|
+
},
|
|
349
|
+
"getAttribute": {
|
|
350
|
+
"scope": null,
|
|
351
|
+
"key": "state"
|
|
352
|
+
},
|
|
353
|
+
"getTimeSeries": {
|
|
354
|
+
"key": "state"
|
|
355
|
+
},
|
|
356
|
+
"getAlarmStatus": {
|
|
357
|
+
"severityList": null,
|
|
358
|
+
"typeList": null
|
|
359
|
+
},
|
|
360
|
+
"dataToValue": {
|
|
361
|
+
"type": "NONE",
|
|
362
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;"
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
"defaultSetValueSettings": null,
|
|
366
|
+
"defaultWidgetActionSettings": null
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"id": "bottomFlow",
|
|
370
|
+
"name": "{i18n:scada.symbol.flow-animation}",
|
|
371
|
+
"hint": "{i18n:scada.symbol.flow-animation-hint}",
|
|
372
|
+
"group": "{i18n:scada.symbol.bottom-connector}",
|
|
373
|
+
"type": "value",
|
|
374
|
+
"valueType": "BOOLEAN",
|
|
375
|
+
"trueLabel": "{i18n:scada.symbol.present}",
|
|
376
|
+
"falseLabel": "{i18n:scada.symbol.absent}",
|
|
377
|
+
"stateLabel": "{i18n:scada.symbol.flow-present}",
|
|
378
|
+
"defaultGetValueSettings": {
|
|
379
|
+
"action": "DO_NOTHING",
|
|
380
|
+
"defaultValue": false,
|
|
381
|
+
"executeRpc": {
|
|
382
|
+
"method": "getState",
|
|
383
|
+
"requestTimeout": 5000,
|
|
384
|
+
"requestPersistent": false,
|
|
385
|
+
"persistentPollingInterval": 1000
|
|
386
|
+
},
|
|
387
|
+
"getAttribute": {
|
|
388
|
+
"key": "state",
|
|
389
|
+
"scope": null
|
|
390
|
+
},
|
|
391
|
+
"getTimeSeries": {
|
|
392
|
+
"key": "state"
|
|
393
|
+
},
|
|
394
|
+
"getAlarmStatus": {
|
|
395
|
+
"severityList": null,
|
|
396
|
+
"typeList": null
|
|
397
|
+
},
|
|
398
|
+
"dataToValue": {
|
|
399
|
+
"type": "NONE",
|
|
400
|
+
"compareToValue": true,
|
|
401
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;"
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
"defaultSetValueSettings": null,
|
|
405
|
+
"defaultWidgetActionSettings": null
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"id": "bottomFlowDirection",
|
|
409
|
+
"name": "{i18n:scada.symbol.arrow-direction}",
|
|
410
|
+
"hint": "{i18n:scada.symbol.arrow-direction-hint}",
|
|
411
|
+
"group": "{i18n:scada.symbol.bottom-connector}",
|
|
412
|
+
"type": "value",
|
|
413
|
+
"valueType": "BOOLEAN",
|
|
414
|
+
"trueLabel": "{i18n:scada.symbol.forward}",
|
|
415
|
+
"falseLabel": "{i18n:scada.symbol.reverse}",
|
|
416
|
+
"stateLabel": "{i18n:scada.symbol.forward}",
|
|
417
|
+
"defaultGetValueSettings": {
|
|
418
|
+
"action": "DO_NOTHING",
|
|
419
|
+
"defaultValue": true,
|
|
420
|
+
"executeRpc": {
|
|
421
|
+
"method": "getState",
|
|
422
|
+
"requestTimeout": 5000,
|
|
423
|
+
"requestPersistent": false,
|
|
424
|
+
"persistentPollingInterval": 1000
|
|
425
|
+
},
|
|
426
|
+
"getAttribute": {
|
|
427
|
+
"scope": null,
|
|
428
|
+
"key": "state"
|
|
429
|
+
},
|
|
430
|
+
"getTimeSeries": {
|
|
431
|
+
"key": "state"
|
|
432
|
+
},
|
|
433
|
+
"getAlarmStatus": {
|
|
434
|
+
"severityList": null,
|
|
435
|
+
"typeList": null
|
|
436
|
+
},
|
|
437
|
+
"dataToValue": {
|
|
438
|
+
"type": "NONE",
|
|
439
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;",
|
|
440
|
+
"compareToValue": true
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
"defaultSetValueSettings": null,
|
|
444
|
+
"defaultWidgetActionSettings": null
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"id": "bottomFlowAnimationSpeed",
|
|
448
|
+
"name": "{i18n:scada.symbol.flow-animation-speed}",
|
|
449
|
+
"hint": "{i18n:scada.symbol.flow-animation-speed-hint}",
|
|
450
|
+
"group": "{i18n:scada.symbol.bottom-connector}",
|
|
451
|
+
"type": "value",
|
|
452
|
+
"valueType": "DOUBLE",
|
|
453
|
+
"trueLabel": null,
|
|
454
|
+
"falseLabel": null,
|
|
455
|
+
"stateLabel": null,
|
|
456
|
+
"defaultGetValueSettings": {
|
|
457
|
+
"action": "DO_NOTHING",
|
|
458
|
+
"defaultValue": 1,
|
|
459
|
+
"executeRpc": {
|
|
460
|
+
"method": "getState",
|
|
461
|
+
"requestTimeout": 5000,
|
|
462
|
+
"requestPersistent": false,
|
|
463
|
+
"persistentPollingInterval": 1000
|
|
464
|
+
},
|
|
465
|
+
"getAttribute": {
|
|
466
|
+
"scope": null,
|
|
467
|
+
"key": "state"
|
|
468
|
+
},
|
|
469
|
+
"getTimeSeries": {
|
|
470
|
+
"key": "state"
|
|
471
|
+
},
|
|
472
|
+
"getAlarmStatus": {
|
|
473
|
+
"severityList": null,
|
|
474
|
+
"typeList": null
|
|
475
|
+
},
|
|
476
|
+
"dataToValue": {
|
|
477
|
+
"type": "NONE",
|
|
478
|
+
"dataToValueFunction": "/* Should return boolean value */\nreturn data;"
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
"defaultSetValueSettings": null,
|
|
482
|
+
"defaultWidgetActionSettings": null
|
|
483
|
+
}
|
|
484
|
+
],
|
|
485
|
+
"properties": [
|
|
486
|
+
{
|
|
487
|
+
"id": "mainLineSize",
|
|
488
|
+
"name": "{i18n:scada.symbol.line}",
|
|
489
|
+
"type": "number",
|
|
490
|
+
"default": 6,
|
|
491
|
+
"required": true,
|
|
492
|
+
"divider": false,
|
|
493
|
+
"fieldSuffix": "px",
|
|
494
|
+
"min": 0,
|
|
495
|
+
"max": 99,
|
|
496
|
+
"step": 1,
|
|
497
|
+
"disabled": false,
|
|
498
|
+
"visible": true
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"id": "lineColor",
|
|
502
|
+
"name": "{i18n:scada.symbol.line}",
|
|
503
|
+
"type": "color",
|
|
504
|
+
"default": "#1A1A1A",
|
|
505
|
+
"disabled": false,
|
|
506
|
+
"visible": true
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"id": "flowAnimationWidth",
|
|
510
|
+
"name": "{i18n:scada.symbol.flow-line}",
|
|
511
|
+
"group": "{i18n:scada.symbol.flow}",
|
|
512
|
+
"type": "number",
|
|
513
|
+
"default": 4,
|
|
514
|
+
"divider": false,
|
|
515
|
+
"fieldSuffix": "px",
|
|
516
|
+
"min": 1,
|
|
517
|
+
"step": 1,
|
|
518
|
+
"disabled": false,
|
|
519
|
+
"visible": true
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"id": "flowAnimationColor",
|
|
523
|
+
"name": "{i18n:scada.symbol.flow-line}",
|
|
524
|
+
"group": "{i18n:scada.symbol.flow}",
|
|
525
|
+
"type": "color",
|
|
526
|
+
"default": "#C8DFF7",
|
|
527
|
+
"disabled": false,
|
|
528
|
+
"visible": true
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"id": "flowStyleDash",
|
|
532
|
+
"name": "{i18n:scada.symbol.flow-line-style}",
|
|
533
|
+
"hint": "{i18n:scada.symbol.flow-style-hint}",
|
|
534
|
+
"group": "{i18n:scada.symbol.flow}",
|
|
535
|
+
"type": "number",
|
|
536
|
+
"default": 10,
|
|
537
|
+
"required": true,
|
|
538
|
+
"subLabel": "{i18n:scada.symbol.dash}",
|
|
539
|
+
"divider": false,
|
|
540
|
+
"fieldSuffix": "px",
|
|
541
|
+
"min": 0,
|
|
542
|
+
"step": 1,
|
|
543
|
+
"disabled": false,
|
|
544
|
+
"visible": true
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"id": "flowStyleGap",
|
|
548
|
+
"name": "{i18n:scada.symbol.flow-line-style}",
|
|
549
|
+
"hint": "{i18n:scada.symbol.flow-style-hint}",
|
|
550
|
+
"group": "{i18n:scada.symbol.flow}",
|
|
551
|
+
"type": "number",
|
|
552
|
+
"default": 10,
|
|
553
|
+
"subLabel": "{i18n:scada.symbol.gap}",
|
|
554
|
+
"fieldSuffix": "px",
|
|
555
|
+
"min": 0,
|
|
556
|
+
"step": 1,
|
|
557
|
+
"disabled": false,
|
|
558
|
+
"visible": true
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"id": "flowDashCap",
|
|
562
|
+
"name": "{i18n:scada.symbol.flow-dash-cap}",
|
|
563
|
+
"group": "{i18n:scada.symbol.flow}",
|
|
564
|
+
"type": "select",
|
|
565
|
+
"default": "butt",
|
|
566
|
+
"items": [
|
|
567
|
+
{
|
|
568
|
+
"value": "butt",
|
|
569
|
+
"label": "{i18n:scada.symbol.dash-cap-butt}"
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"value": "round",
|
|
573
|
+
"label": "{i18n:scada.symbol.dash-cap-round}"
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"value": "square",
|
|
577
|
+
"label": "{i18n:scada.symbol.dash-cap-square}"
|
|
578
|
+
}
|
|
579
|
+
],
|
|
580
|
+
"disabled": false,
|
|
581
|
+
"visible": true
|
|
582
|
+
}
|
|
583
|
+
]
|
|
584
|
+
}]]></tb:metadata>
|
|
585
|
+
<path d="M87 100H113C113 100 100 100 100 86C100 100 87 100 87 100Z" id="path12" fill="#1A1A1A" tb:tag="line-color"/><path d="M87 100H113C113 100 100 100 100 114C100 100 87 100 87 100Z" id="path10" fill="#1A1A1A" tb:tag="line-color"/><path d="M0 100H85C93.2843 100 100 93.2843 100 85V0" stroke-width="6" id="path8" stroke="#1A1A1A" tb:tag="line"/><path d="M200 100H115C106.716 100 100 93.2843 100 85V0" stroke-width="6" id="path6" stroke="#1A1A1A" tb:tag="line"/><path d="M0 100H85C93.2843 100 100 106.716 100 115V200" stroke-width="6" id="path4" stroke="#1A1A1A" tb:tag="line"/><path d="M200 100H115C106.716 100 100 106.716 100 115V200" stroke-width="6" id="path2" stroke="#1A1A1A" tb:tag="line"/><g tb:tag="animationGroup"><g tb:tag="leftLine"/><g tb:tag="topLine"/><g tb:tag="rightLine"/><g tb:tag="bottomLine"/></g>
|
|
586
|
+
</svg>
|