@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.
Files changed (332) hide show
  1. package/README.md +50 -0
  2. package/dist/scada_symbols/3-phase-voltage-relay-hp.svg +549 -0
  3. package/dist/scada_symbols/apartments-hp.svg +344 -0
  4. package/dist/scada_symbols/battery-hp.svg +473 -0
  5. package/dist/scada_symbols/bottom-flow-meter.svg +933 -0
  6. package/dist/scada_symbols/bottom-light-bulb-hp.svg +346 -0
  7. package/dist/scada_symbols/bottom-right-elbow-connector-hp.svg +233 -0
  8. package/dist/scada_symbols/bottom-right-elbow-pipe.svg +532 -0
  9. package/dist/scada_symbols/bottom-tee-connector-hp.svg +470 -0
  10. package/dist/scada_symbols/bottom-tee-pipe.svg +857 -0
  11. package/dist/scada_symbols/centrifugal-pump.svg +626 -0
  12. package/dist/scada_symbols/conical-tank.svg +1136 -0
  13. package/dist/scada_symbols/consumers-hp.svg +346 -0
  14. package/dist/scada_symbols/control-panel-hp.svg +332 -0
  15. package/dist/scada_symbols/crane-hp.svg +346 -0
  16. package/dist/scada_symbols/cross-connector-hp.svg +586 -0
  17. package/dist/scada_symbols/cross-pipe.svg +1051 -0
  18. package/dist/scada_symbols/curcuit-breaker-hp.svg +444 -0
  19. package/dist/scada_symbols/cylindrical-tank.svg +1332 -0
  20. package/dist/scada_symbols/drawwork-hp.svg +355 -0
  21. package/dist/scada_symbols/drill-hp.svg +354 -0
  22. package/dist/scada_symbols/drilling-line-hp.svg +361 -0
  23. package/dist/scada_symbols/drilling-rig-hp.svg +354 -0
  24. package/dist/scada_symbols/dynamic-horizontal-scale-hp.svg +605 -0
  25. package/dist/scada_symbols/dynamic-vertical-scale-hp.svg +598 -0
  26. package/dist/scada_symbols/electrical-distribution-board-hp.svg +332 -0
  27. package/dist/scada_symbols/electrical-engine-hp.svg +360 -0
  28. package/dist/scada_symbols/elevated-tank.svg +1564 -0
  29. package/dist/scada_symbols/energy-meter-hp.svg +488 -0
  30. package/dist/scada_symbols/extra-long-horizontal-pipe.svg +426 -0
  31. package/dist/scada_symbols/extra-long-vertical-pipe.svg +438 -0
  32. package/dist/scada_symbols/filter-hp.svg +287 -0
  33. package/dist/scada_symbols/four-rate-energy-meter-hp.svg +891 -0
  34. package/dist/scada_symbols/fuel-generator-hp.svg +359 -0
  35. package/dist/scada_symbols/gas-preventer-hp.svg +361 -0
  36. package/dist/scada_symbols/gas-wellhead-hp.svg +363 -0
  37. package/dist/scada_symbols/heat-exchanger-hp.svg +363 -0
  38. package/dist/scada_symbols/heat-pump-hp.svg +532 -0
  39. package/dist/scada_symbols/high-voltage-tower-hp.svg +297 -0
  40. package/dist/scada_symbols/hook-hp.svg +293 -0
  41. package/dist/scada_symbols/horizontal-ball-valve.svg +271 -0
  42. package/dist/scada_symbols/horizontal-broken-pipe.svg +97 -0
  43. package/dist/scada_symbols/horizontal-connector-hp.svg +268 -0
  44. package/dist/scada_symbols/horizontal-curcuit-breaker-hp.svg +439 -0
  45. package/dist/scada_symbols/horizontal-energy-system-controller-hp.svg +378 -0
  46. package/dist/scada_symbols/horizontal-inline-flow-meter.svg +913 -0
  47. package/dist/scada_symbols/horizontal-pipe.svg +422 -0
  48. package/dist/scada_symbols/horizontal-tank-hp.svg +524 -0
  49. package/dist/scada_symbols/horizontal-tank.svg +1343 -0
  50. package/dist/scada_symbols/horizontal-valve-hp.svg +392 -0
  51. package/dist/scada_symbols/horizontal-wheel-valve.svg +300 -0
  52. package/dist/scada_symbols/house-hp.svg +349 -0
  53. package/dist/scada_symbols/index.json +702 -0
  54. package/dist/scada_symbols/industrial-fuel-generator-hp.svg +358 -0
  55. package/dist/scada_symbols/inverter-hp.svg +578 -0
  56. package/dist/scada_symbols/large-conical-tank.svg +1146 -0
  57. package/dist/scada_symbols/large-cylindrical-tank.svg +1323 -0
  58. package/dist/scada_symbols/large-horizontal-separator-connector-hp.svg +342 -0
  59. package/dist/scada_symbols/large-horizontal-separator-hp.svg +350 -0
  60. package/dist/scada_symbols/large-inverter-hp.svg +578 -0
  61. package/dist/scada_symbols/large-stand-cylindrical-tank.svg +1384 -0
  62. package/dist/scada_symbols/large-stand-vertical-tank.svg +1386 -0
  63. package/dist/scada_symbols/large-vertical-separator-connector-hp.svg +350 -0
  64. package/dist/scada_symbols/large-vertical-separator-hp.svg +350 -0
  65. package/dist/scada_symbols/large-vertical-tank.svg +1325 -0
  66. package/dist/scada_symbols/leak-sensor.svg +158 -0
  67. package/dist/scada_symbols/left-analog-water-level-meter.svg +748 -0
  68. package/dist/scada_symbols/left-bottom-elbow-connector-hp.svg +233 -0
  69. package/dist/scada_symbols/left-bottom-elbow-pipe.svg +532 -0
  70. package/dist/scada_symbols/left-drain-pipe.svg +166 -0
  71. package/dist/scada_symbols/left-elbow-drain-pipe.svg +181 -0
  72. package/dist/scada_symbols/left-flow-meter.svg +911 -0
  73. package/dist/scada_symbols/left-heat-pump.svg +939 -0
  74. package/dist/scada_symbols/left-motor-pump.svg +541 -0
  75. package/dist/scada_symbols/left-tee-connector-hp.svg +470 -0
  76. package/dist/scada_symbols/left-tee-pipe.svg +869 -0
  77. package/dist/scada_symbols/left-top-elbow-connector-hp.svg +233 -0
  78. package/dist/scada_symbols/left-top-elbow-pipe.svg +532 -0
  79. package/dist/scada_symbols/long-bottom-filter.svg +88 -0
  80. package/dist/scada_symbols/long-horizontal-broken-pipe.svg +97 -0
  81. package/dist/scada_symbols/long-horizontal-connector-hp.svg +269 -0
  82. package/dist/scada_symbols/long-horizontal-pipe.svg +488 -0
  83. package/dist/scada_symbols/long-top-filter.svg +88 -0
  84. package/dist/scada_symbols/long-vertical-broken-pipe.svg +97 -0
  85. package/dist/scada_symbols/long-vertical-connector-hp.svg +267 -0
  86. package/dist/scada_symbols/long-vertical-pipe.svg +485 -0
  87. package/dist/scada_symbols/low-voltage-tower-hp.svg +278 -0
  88. package/dist/scada_symbols/low-voltage-transformer-tower-hp.svg +334 -0
  89. package/dist/scada_symbols/manufacture-hp.svg +344 -0
  90. package/dist/scada_symbols/meter.svg +751 -0
  91. package/dist/scada_symbols/oil-pump-hp.svg +357 -0
  92. package/dist/scada_symbols/platform-hp.svg +267 -0
  93. package/dist/scada_symbols/pool-hp.svg +523 -0
  94. package/dist/scada_symbols/pool.svg +998 -0
  95. package/dist/scada_symbols/power-socket-hp.svg +371 -0
  96. package/dist/scada_symbols/power-transformer-hp.svg +359 -0
  97. package/dist/scada_symbols/preventer-hp.svg +343 -0
  98. package/dist/scada_symbols/pump-hp.svg +368 -0
  99. package/dist/scada_symbols/right-analog-water-level-meter.svg +748 -0
  100. package/dist/scada_symbols/right-drain-pipe.svg +167 -0
  101. package/dist/scada_symbols/right-elbow-drain-pipe.svg +178 -0
  102. package/dist/scada_symbols/right-flow-meter.svg +911 -0
  103. package/dist/scada_symbols/right-heat-pump.svg +948 -0
  104. package/dist/scada_symbols/right-motor-pump.svg +541 -0
  105. package/dist/scada_symbols/right-tee-connector-hp.svg +470 -0
  106. package/dist/scada_symbols/right-tee-pipe.svg +857 -0
  107. package/dist/scada_symbols/rotor-hp.svg +346 -0
  108. package/dist/scada_symbols/sand-filter-hp.svg +652 -0
  109. package/dist/scada_symbols/sand-filter.svg +704 -0
  110. package/dist/scada_symbols/short-bottom-filter.svg +88 -0
  111. package/dist/scada_symbols/short-left-drain-pipe.svg +160 -0
  112. package/dist/scada_symbols/short-right-drain-pipe.svg +160 -0
  113. package/dist/scada_symbols/short-top-filter.svg +88 -0
  114. package/dist/scada_symbols/short-vertical-tank-hp.svg +522 -0
  115. package/dist/scada_symbols/simple-horizontal-scale-hp.svg +509 -0
  116. package/dist/scada_symbols/simple-vertical-scale-hp.svg +509 -0
  117. package/dist/scada_symbols/single-key-switch-hp.svg +373 -0
  118. package/dist/scada_symbols/small-cylindrical-tank.svg +1306 -0
  119. package/dist/scada_symbols/small-horizontal-separator-connector-hp.svg +342 -0
  120. package/dist/scada_symbols/small-horizontal-separator-hp.svg +342 -0
  121. package/dist/scada_symbols/small-left-meter.svg +725 -0
  122. package/dist/scada_symbols/small-left-motor-pump.svg +443 -0
  123. package/dist/scada_symbols/small-meter.svg +694 -0
  124. package/dist/scada_symbols/small-power-transformer-hp.svg +359 -0
  125. package/dist/scada_symbols/small-right-center.svg +725 -0
  126. package/dist/scada_symbols/small-right-motor-pump.svg +443 -0
  127. package/dist/scada_symbols/small-spherical-tank.svg +1362 -0
  128. package/dist/scada_symbols/small-vertical-separator-connector-hp.svg +342 -0
  129. package/dist/scada_symbols/small-vertical-separator-hp.svg +342 -0
  130. package/dist/scada_symbols/solar-panel-hp.svg +353 -0
  131. package/dist/scada_symbols/spherical-tank.svg +1392 -0
  132. package/dist/scada_symbols/stand-cylindrical-tank.svg +1393 -0
  133. package/dist/scada_symbols/stand-horizontal-tank.svg +1404 -0
  134. package/dist/scada_symbols/stand-solar-panel-hp.svg +357 -0
  135. package/dist/scada_symbols/stand-vertical-short-tank.svg +1366 -0
  136. package/dist/scada_symbols/stand-vertical-tank.svg +1386 -0
  137. package/dist/scada_symbols/three-rate-energy-meter-hp.svg +759 -0
  138. package/dist/scada_symbols/top-flow-meter.svg +927 -0
  139. package/dist/scada_symbols/top-light-bulb-hp.svg +346 -0
  140. package/dist/scada_symbols/top-right-elbow-connector-hp.svg +233 -0
  141. package/dist/scada_symbols/top-right-elbow-pipe.svg +532 -0
  142. package/dist/scada_symbols/top-tee-connector-hp.svg +470 -0
  143. package/dist/scada_symbols/top-tee-pipe.svg +857 -0
  144. package/dist/scada_symbols/turbine-hp.svg +377 -0
  145. package/dist/scada_symbols/two-key-switch-hp.svg +489 -0
  146. package/dist/scada_symbols/two-rate-energy-meter-hp.svg +627 -0
  147. package/dist/scada_symbols/vertical-ball-valve.svg +271 -0
  148. package/dist/scada_symbols/vertical-broken-pipe.svg +97 -0
  149. package/dist/scada_symbols/vertical-connector-hp.svg +269 -0
  150. package/dist/scada_symbols/vertical-energy-system-controller-hp.svg +378 -0
  151. package/dist/scada_symbols/vertical-inline-flow-meter.svg +913 -0
  152. package/dist/scada_symbols/vertical-pipe.svg +422 -0
  153. package/dist/scada_symbols/vertical-short-tank.svg +1305 -0
  154. package/dist/scada_symbols/vertical-tank-hp.svg +524 -0
  155. package/dist/scada_symbols/vertical-tank.svg +1326 -0
  156. package/dist/scada_symbols/vertical-valve-hp.svg +392 -0
  157. package/dist/scada_symbols/vertical-wheel-valve.svg +300 -0
  158. package/dist/scada_symbols/voltage-relay-hp.svg +440 -0
  159. package/dist/scada_symbols/voltage-stabilizer-hp.svg +584 -0
  160. package/dist/scada_symbols/waterstop.svg +276 -0
  161. package/dist/scada_symbols/wind-turbine-cluster-hp.svg +370 -0
  162. package/dist/scada_symbols/wind-turbine-hp.svg +360 -0
  163. package/dist/widget-scada.js +1331 -0
  164. package/dist/widget-scada.js.map +1 -0
  165. package/package.json +61 -0
  166. package/scada_symbols/3-phase-voltage-relay-hp.svg +549 -0
  167. package/scada_symbols/apartments-hp.svg +344 -0
  168. package/scada_symbols/battery-hp.svg +473 -0
  169. package/scada_symbols/bottom-flow-meter.svg +933 -0
  170. package/scada_symbols/bottom-light-bulb-hp.svg +346 -0
  171. package/scada_symbols/bottom-right-elbow-connector-hp.svg +233 -0
  172. package/scada_symbols/bottom-right-elbow-pipe.svg +532 -0
  173. package/scada_symbols/bottom-tee-connector-hp.svg +470 -0
  174. package/scada_symbols/bottom-tee-pipe.svg +857 -0
  175. package/scada_symbols/centrifugal-pump.svg +626 -0
  176. package/scada_symbols/conical-tank.svg +1136 -0
  177. package/scada_symbols/consumers-hp.svg +346 -0
  178. package/scada_symbols/control-panel-hp.svg +332 -0
  179. package/scada_symbols/crane-hp.svg +346 -0
  180. package/scada_symbols/cross-connector-hp.svg +586 -0
  181. package/scada_symbols/cross-pipe.svg +1051 -0
  182. package/scada_symbols/curcuit-breaker-hp.svg +444 -0
  183. package/scada_symbols/cylindrical-tank.svg +1332 -0
  184. package/scada_symbols/drawwork-hp.svg +355 -0
  185. package/scada_symbols/drill-hp.svg +354 -0
  186. package/scada_symbols/drilling-line-hp.svg +361 -0
  187. package/scada_symbols/drilling-rig-hp.svg +354 -0
  188. package/scada_symbols/dynamic-horizontal-scale-hp.svg +605 -0
  189. package/scada_symbols/dynamic-vertical-scale-hp.svg +598 -0
  190. package/scada_symbols/electrical-distribution-board-hp.svg +332 -0
  191. package/scada_symbols/electrical-engine-hp.svg +360 -0
  192. package/scada_symbols/elevated-tank.svg +1564 -0
  193. package/scada_symbols/energy-meter-hp.svg +488 -0
  194. package/scada_symbols/extra-long-horizontal-pipe.svg +426 -0
  195. package/scada_symbols/extra-long-vertical-pipe.svg +438 -0
  196. package/scada_symbols/filter-hp.svg +287 -0
  197. package/scada_symbols/four-rate-energy-meter-hp.svg +891 -0
  198. package/scada_symbols/fuel-generator-hp.svg +359 -0
  199. package/scada_symbols/gas-preventer-hp.svg +361 -0
  200. package/scada_symbols/gas-wellhead-hp.svg +363 -0
  201. package/scada_symbols/heat-exchanger-hp.svg +363 -0
  202. package/scada_symbols/heat-pump-hp.svg +532 -0
  203. package/scada_symbols/high-voltage-tower-hp.svg +297 -0
  204. package/scada_symbols/hook-hp.svg +293 -0
  205. package/scada_symbols/horizontal-ball-valve.svg +271 -0
  206. package/scada_symbols/horizontal-broken-pipe.svg +97 -0
  207. package/scada_symbols/horizontal-connector-hp.svg +268 -0
  208. package/scada_symbols/horizontal-curcuit-breaker-hp.svg +439 -0
  209. package/scada_symbols/horizontal-energy-system-controller-hp.svg +378 -0
  210. package/scada_symbols/horizontal-inline-flow-meter.svg +913 -0
  211. package/scada_symbols/horizontal-pipe.svg +422 -0
  212. package/scada_symbols/horizontal-tank-hp.svg +524 -0
  213. package/scada_symbols/horizontal-tank.svg +1343 -0
  214. package/scada_symbols/horizontal-valve-hp.svg +392 -0
  215. package/scada_symbols/horizontal-wheel-valve.svg +300 -0
  216. package/scada_symbols/house-hp.svg +349 -0
  217. package/scada_symbols/index.json +702 -0
  218. package/scada_symbols/industrial-fuel-generator-hp.svg +358 -0
  219. package/scada_symbols/inverter-hp.svg +578 -0
  220. package/scada_symbols/large-conical-tank.svg +1146 -0
  221. package/scada_symbols/large-cylindrical-tank.svg +1323 -0
  222. package/scada_symbols/large-horizontal-separator-connector-hp.svg +342 -0
  223. package/scada_symbols/large-horizontal-separator-hp.svg +350 -0
  224. package/scada_symbols/large-inverter-hp.svg +578 -0
  225. package/scada_symbols/large-stand-cylindrical-tank.svg +1384 -0
  226. package/scada_symbols/large-stand-vertical-tank.svg +1386 -0
  227. package/scada_symbols/large-vertical-separator-connector-hp.svg +350 -0
  228. package/scada_symbols/large-vertical-separator-hp.svg +350 -0
  229. package/scada_symbols/large-vertical-tank.svg +1325 -0
  230. package/scada_symbols/leak-sensor.svg +158 -0
  231. package/scada_symbols/left-analog-water-level-meter.svg +748 -0
  232. package/scada_symbols/left-bottom-elbow-connector-hp.svg +233 -0
  233. package/scada_symbols/left-bottom-elbow-pipe.svg +532 -0
  234. package/scada_symbols/left-drain-pipe.svg +166 -0
  235. package/scada_symbols/left-elbow-drain-pipe.svg +181 -0
  236. package/scada_symbols/left-flow-meter.svg +911 -0
  237. package/scada_symbols/left-heat-pump.svg +939 -0
  238. package/scada_symbols/left-motor-pump.svg +541 -0
  239. package/scada_symbols/left-tee-connector-hp.svg +470 -0
  240. package/scada_symbols/left-tee-pipe.svg +869 -0
  241. package/scada_symbols/left-top-elbow-connector-hp.svg +233 -0
  242. package/scada_symbols/left-top-elbow-pipe.svg +532 -0
  243. package/scada_symbols/long-bottom-filter.svg +88 -0
  244. package/scada_symbols/long-horizontal-broken-pipe.svg +97 -0
  245. package/scada_symbols/long-horizontal-connector-hp.svg +269 -0
  246. package/scada_symbols/long-horizontal-pipe.svg +488 -0
  247. package/scada_symbols/long-top-filter.svg +88 -0
  248. package/scada_symbols/long-vertical-broken-pipe.svg +97 -0
  249. package/scada_symbols/long-vertical-connector-hp.svg +267 -0
  250. package/scada_symbols/long-vertical-pipe.svg +485 -0
  251. package/scada_symbols/low-voltage-tower-hp.svg +278 -0
  252. package/scada_symbols/low-voltage-transformer-tower-hp.svg +334 -0
  253. package/scada_symbols/manufacture-hp.svg +344 -0
  254. package/scada_symbols/meter.svg +751 -0
  255. package/scada_symbols/oil-pump-hp.svg +357 -0
  256. package/scada_symbols/platform-hp.svg +267 -0
  257. package/scada_symbols/pool-hp.svg +523 -0
  258. package/scada_symbols/pool.svg +998 -0
  259. package/scada_symbols/power-socket-hp.svg +371 -0
  260. package/scada_symbols/power-transformer-hp.svg +359 -0
  261. package/scada_symbols/preventer-hp.svg +343 -0
  262. package/scada_symbols/pump-hp.svg +368 -0
  263. package/scada_symbols/right-analog-water-level-meter.svg +748 -0
  264. package/scada_symbols/right-drain-pipe.svg +167 -0
  265. package/scada_symbols/right-elbow-drain-pipe.svg +178 -0
  266. package/scada_symbols/right-flow-meter.svg +911 -0
  267. package/scada_symbols/right-heat-pump.svg +948 -0
  268. package/scada_symbols/right-motor-pump.svg +541 -0
  269. package/scada_symbols/right-tee-connector-hp.svg +470 -0
  270. package/scada_symbols/right-tee-pipe.svg +857 -0
  271. package/scada_symbols/rotor-hp.svg +346 -0
  272. package/scada_symbols/sand-filter-hp.svg +652 -0
  273. package/scada_symbols/sand-filter.svg +704 -0
  274. package/scada_symbols/short-bottom-filter.svg +88 -0
  275. package/scada_symbols/short-left-drain-pipe.svg +160 -0
  276. package/scada_symbols/short-right-drain-pipe.svg +160 -0
  277. package/scada_symbols/short-top-filter.svg +88 -0
  278. package/scada_symbols/short-vertical-tank-hp.svg +522 -0
  279. package/scada_symbols/simple-horizontal-scale-hp.svg +509 -0
  280. package/scada_symbols/simple-vertical-scale-hp.svg +509 -0
  281. package/scada_symbols/single-key-switch-hp.svg +373 -0
  282. package/scada_symbols/small-cylindrical-tank.svg +1306 -0
  283. package/scada_symbols/small-horizontal-separator-connector-hp.svg +342 -0
  284. package/scada_symbols/small-horizontal-separator-hp.svg +342 -0
  285. package/scada_symbols/small-left-meter.svg +725 -0
  286. package/scada_symbols/small-left-motor-pump.svg +443 -0
  287. package/scada_symbols/small-meter.svg +694 -0
  288. package/scada_symbols/small-power-transformer-hp.svg +359 -0
  289. package/scada_symbols/small-right-center.svg +725 -0
  290. package/scada_symbols/small-right-motor-pump.svg +443 -0
  291. package/scada_symbols/small-spherical-tank.svg +1362 -0
  292. package/scada_symbols/small-vertical-separator-connector-hp.svg +342 -0
  293. package/scada_symbols/small-vertical-separator-hp.svg +342 -0
  294. package/scada_symbols/solar-panel-hp.svg +353 -0
  295. package/scada_symbols/spherical-tank.svg +1392 -0
  296. package/scada_symbols/stand-cylindrical-tank.svg +1393 -0
  297. package/scada_symbols/stand-horizontal-tank.svg +1404 -0
  298. package/scada_symbols/stand-solar-panel-hp.svg +357 -0
  299. package/scada_symbols/stand-vertical-short-tank.svg +1366 -0
  300. package/scada_symbols/stand-vertical-tank.svg +1386 -0
  301. package/scada_symbols/three-rate-energy-meter-hp.svg +759 -0
  302. package/scada_symbols/top-flow-meter.svg +927 -0
  303. package/scada_symbols/top-light-bulb-hp.svg +346 -0
  304. package/scada_symbols/top-right-elbow-connector-hp.svg +233 -0
  305. package/scada_symbols/top-right-elbow-pipe.svg +532 -0
  306. package/scada_symbols/top-tee-connector-hp.svg +470 -0
  307. package/scada_symbols/top-tee-pipe.svg +857 -0
  308. package/scada_symbols/turbine-hp.svg +377 -0
  309. package/scada_symbols/two-key-switch-hp.svg +489 -0
  310. package/scada_symbols/two-rate-energy-meter-hp.svg +627 -0
  311. package/scada_symbols/vertical-ball-valve.svg +271 -0
  312. package/scada_symbols/vertical-broken-pipe.svg +97 -0
  313. package/scada_symbols/vertical-connector-hp.svg +269 -0
  314. package/scada_symbols/vertical-energy-system-controller-hp.svg +378 -0
  315. package/scada_symbols/vertical-inline-flow-meter.svg +913 -0
  316. package/scada_symbols/vertical-pipe.svg +422 -0
  317. package/scada_symbols/vertical-short-tank.svg +1305 -0
  318. package/scada_symbols/vertical-tank-hp.svg +524 -0
  319. package/scada_symbols/vertical-tank.svg +1326 -0
  320. package/scada_symbols/vertical-valve-hp.svg +392 -0
  321. package/scada_symbols/vertical-wheel-valve.svg +300 -0
  322. package/scada_symbols/voltage-relay-hp.svg +440 -0
  323. package/scada_symbols/voltage-stabilizer-hp.svg +584 -0
  324. package/scada_symbols/waterstop.svg +276 -0
  325. package/scada_symbols/wind-turbine-cluster-hp.svg +370 -0
  326. package/scada_symbols/wind-turbine-hp.svg +360 -0
  327. package/src/default-data.json +18 -0
  328. package/src/definition-schema.d.ts +1521 -0
  329. package/src/definition-schema.json +5228 -0
  330. package/src/scada-runtime.ts +1290 -0
  331. package/src/widget-scada.ts +269 -0
  332. package/thumbnail.png +0 -0
@@ -0,0 +1,300 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:tb="https://thingsboard.io/svg" width="400" height="200" fill="none" version="1.1" viewBox="0 0 400 200"><tb:metadata xmlns=""><![CDATA[{
2
+ "title": "Horizontal wheel valve",
3
+ "description": "Horizontal wheel valve with open/close animation and state colors.",
4
+ "searchTags": [
5
+ "valve",
6
+ "wheel"
7
+ ],
8
+ "widgetSizeX": 2,
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});\n} else {\n ctx.api.cssAnimate(element, 500).transform({rotate: angle});\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
+ <path d="m200 29.489c-28.161 0-44.15 0.82311-72 5-28.662 4.2988-72 17-72 17v-13.99c0-4.4182-3.5817-8-8-8h-26c-4.4183 0-8 3.5818-8 8v126c0 4.418 3.5817 8 8 8h26c4.4183 0 8-3.582 8-8v-14.01s43.238 12.711 72 17c27.834 4.151 43.859 5.195 72 5 28.16-0.19499 44.15-1.823 72-6 28.663-4.299 72-16 72-16v14.01c0 4.418 3.582 8 8 8h26c4.418 0 8-3.582 8-8v-126c0-4.4182-3.582-8-8-8h-26c-4.418 0-8 3.5818-8 8v13.99s-43.337-12.701-72-17c-27.85-4.1769-43.839-5-72-5z" fill="#1c943e" tb:tag="background"/><rect x="1.5" y="52.5" width="11" height="97" rx="5.5" fill="#d9d9d9" stroke="#727171" stroke-width="3"/><rect x="14" y="30" width="42" height="142" rx="8" fill="url(#paint0_linear_1343_53957)" style="fill:url(#paint0_linear_1343_53957)"/><rect x="15.5" y="31.5" width="39" height="139" rx="6.5" stroke="#000" stroke-opacity=".12" stroke-width="3"/><path d="m56 51.988s43.338-12.701 72-17c27.85-4.1769 43.839-5 72-5s44.15 0.8231 72 5c28.663 4.2988 72 17 72 17v98s-43.337 11.701-72 16c-27.85 4.177-43.84 5.806-72 6-28.141 0.195-44.166-0.849-72-5-28.762-4.289-72-17-72-17z" fill="url(#paint1_linear_1343_53957)" style="fill:url(#paint1_linear_1343_53957)"/><path d="m341.67 52.876c0.314 0.09 0.591 0.1699 0.831 0.239v95.722c-0.233 0.062-0.501 0.133-0.802 0.212-1.238 0.328-3.04 0.801-5.292 1.382-4.505 1.163-10.809 2.758-18.008 4.487-14.409 3.46-32.357 7.448-46.62 9.587-27.798 4.169-43.715 5.789-71.788 5.983-28.068 0.194-44.015-0.844-71.769-4.983-14.3-2.133-32.237-6.366-46.632-10.078-7.1905-1.854-13.484-3.574-17.98-4.83-2.2476-0.629-4.0454-1.141-5.2807-1.496-0.3128-0.09-0.5896-0.17-0.8284-0.239v-95.747c0.2396-0.0691 0.5174-0.149 0.8314-0.239 1.2379-0.3548 3.0393-0.8668 5.2909-1.4947 4.5034-1.2558 10.806-2.9751 18.003-4.8284 14.408-3.7103 32.345-7.9439 46.596-10.081 27.761-4.1635 43.674-4.9834 71.778-4.9834s44.017 0.8199 71.778 4.9834c14.251 2.1374 32.189 6.371 46.596 10.081 7.197 1.8533 13.5 3.5726 18.004 4.8284 2.251 0.6279 4.053 1.1399 5.291 1.4947z" stroke="#000" stroke-opacity=".12" stroke-width="3"/><rect x="344" y="30" width="42" height="142" rx="8" fill="url(#paint2_linear_1343_53957)" style="fill:url(#paint2_linear_1343_53957)"/><rect x="345.5" y="31.5" width="39" height="139" rx="6.5" stroke="#000" stroke-opacity=".12" stroke-width="3"/><rect x="387.5" y="52.5" width="11" height="97" rx="5.5" fill="#d9d9d9" stroke="#727171" stroke-width="3"/><g tb:tag="wheel">
204
+ <path d="m300 100c0 55.229-44.772 100-100 100s-100-44.771-100-100c0-55.228 44.772-100 100-100s100 44.772 100 100zm-175.01 0c0 41.428 33.584 75.012 75.012 75.012s75.012-33.584 75.012-75.012-33.584-75.012-75.012-75.012-75.012 33.584-75.012 75.012z" fill="url(#paint3_radial_1343_53957)" style="fill:url(#paint3_radial_1343_53957)"/>
205
+ <path d="m194.12 74.998c-1.726 0-3.125-1.3991-3.125-3.125v-46.625c0-3.4517 2.798-6.2499 6.25-6.2499h5.5c3.452 0 6.25 2.7982 6.25 6.2499v46.625c0 1.7259-1.399 3.125-3.125 3.125z" fill="url(#paint4_linear_1343_53957)" style="fill:url(#paint4_linear_1343_53957)"/>
206
+ <path d="m222.98 88.918c-0.612-1.6137 0.2-3.418 1.814-4.0301l43.595-16.534c3.227-1.2241 6.836 0.3999 8.06 3.6273l2.217 5.8439c1.224 3.2274-0.4 6.8361-3.628 8.0602l-43.595 16.535c-1.613 0.612-3.418-0.2-4.03-1.814l-4.433-11.688z" fill="url(#paint5_linear_1343_53957)" style="fill:url(#paint5_linear_1343_53957)"/>
207
+ <path d="m190.37 125.55c1.37 1.05 1.63 3.012 0.58 4.382l-28.362 37.006c-2.1 2.74-6.023 3.259-8.762 1.159l-4.961-3.802c-2.74-2.099-3.259-6.022-1.159-8.762l28.362-37.007c1.05-1.37 3.011-1.629 4.381-0.579z" fill="url(#paint6_linear_1343_53957)" style="fill:url(#paint6_linear_1343_53957)"/>
208
+ <path d="m211.85 125.55c-1.37 1.05-1.63 3.012-0.58 4.382l28.362 37.006c2.1 2.74 6.023 3.259 8.762 1.159l4.961-3.802c2.74-2.099 3.259-6.022 1.159-8.762l-28.362-37.007c-1.05-1.37-3.011-1.629-4.381-0.579z" fill="url(#paint7_linear_1343_53957)" style="fill:url(#paint7_linear_1343_53957)"/>
209
+ <path d="m173.44 97.473c-0.506 1.6506-2.253 2.5776-3.903 2.0716l-44.578-13.664c-3.3-1.0116-5.156-4.507-4.144-7.8072l1.832-5.9756c1.011-3.3002 4.507-5.1555 7.807-4.1439l44.578 13.664c1.65 0.5058 2.577 2.2535 2.072 3.9036l-3.664 11.951z" fill="url(#paint8_linear_1343_53957)" style="fill:url(#paint8_linear_1343_53957)"/>
210
+ </g><g filter="url(#filter0_ii_1343_53957)">
211
+ <circle cx="200" cy="100.99" r="30" fill="#d9d9d9"/>
212
+ </g><path d="m223 100.99c0 12.703-10.297 23-23 23s-23-10.297-23-23c0-12.702 10.297-23 23-23s23 10.297 23 23z" fill="#000" fill-opacity=".05"/><g filter="url(#filter1_i_1343_53957)">
213
+ <path d="m223 101c0 12.703-10.297 23-23 23s-23-10.297-23-23c0-12.702 10.297-23 23-23s23 10.298 23 23z" fill="#1c943e" tb:tag="background"/>
214
+ </g><path d="m222 101c0 12.15-9.85 22-22 22s-22-9.85-22-22 9.85-22 22-22 22 9.8497 22 22z" stroke="#fff" stroke-width="2"/><path d="m197.28 91.614c0-0.647-0.611-1.1214-1.216-0.8901-4.132 1.5826-7.067 5.5867-7.067 10.276 0 6.075 4.925 11 11 11s11-4.925 11-11c0-4.5645-2.78-8.4795-6.739-10.144-0.609-0.2563-1.244 0.2209-1.244 0.882 0 0.4223 0.269 0.7938 0.655 0.9649 3.181 1.4097 5.399 4.5944 5.399 8.2976 0 5.01-4.061 9.071-9.071 9.071s-9.071-4.061-9.071-9.071c0-3.8069 2.344-7.0659 5.668-8.4119 0.402-0.1627 0.686-0.5409 0.686-0.9745z" clip-rule="evenodd" fill="#fff" fill-rule="evenodd"/><path d="m199.51 88.637c0-0.3519 0.285-0.6372 0.637-0.6372s0.637 0.2853 0.637 0.6372v10.401c0 0.3519-0.285 0.6372-0.637 0.6372s-0.637-0.2853-0.637-0.6372z" fill="#fff"/><defs>
215
+ <filter id="filter0_ii_1343_53957" x="166.88" y="67.863" width="66.25" height="66.25" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse">
216
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
217
+ <feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
218
+ <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"/>
219
+ <feOffset dx="3.12497" dy="-3.12497"/>
220
+ <feGaussianBlur stdDeviation="3.12497"/>
221
+ <feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"/>
222
+ <feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"/>
223
+ <feBlend in2="shape" result="effect1_innerShadow_1343_53957"/>
224
+ <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"/>
225
+ <feOffset dx="-3.12497" dy="3.12497"/>
226
+ <feGaussianBlur stdDeviation="3.12497"/>
227
+ <feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"/>
228
+ <feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0"/>
229
+ <feBlend in2="effect1_innerShadow_1343_53957" result="effect2_innerShadow_1343_53957"/>
230
+ </filter>
231
+ <filter id="filter1_i_1343_53957" x="172" y="78" width="51" height="51" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse">
232
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
233
+ <feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
234
+ <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"/>
235
+ <feOffset dx="-5" dy="5"/>
236
+ <feGaussianBlur stdDeviation="4"/>
237
+ <feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"/>
238
+ <feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
239
+ <feBlend in2="shape" result="effect1_innerShadow_1343_53957"/>
240
+ </filter>
241
+ <linearGradient id="paint0_linear_1343_53957" x1="24.92" x2="21.891" y1="30" y2="171.95" gradientUnits="userSpaceOnUse">
242
+ <stop stop-color="#020202" stop-opacity=".35" offset="0"/>
243
+ <stop stop-color="#020202" stop-opacity=".12" offset=".18316"/>
244
+ <stop stop-color="#fff" stop-opacity=".08" offset=".35085"/>
245
+ <stop stop-color="#fff" stop-opacity=".25" offset=".49829"/>
246
+ <stop stop-color="#fff" stop-opacity=".08" offset=".64825"/>
247
+ <stop stop-color="#020202" stop-opacity=".12" offset=".82318"/>
248
+ <stop stop-color="#020202" stop-opacity=".35" offset="1"/>
249
+ </linearGradient>
250
+ <linearGradient id="paint1_linear_1343_53957" x1="130.88" x2="130.44" y1="29.988" y2="172.02" gradientUnits="userSpaceOnUse">
251
+ <stop stop-color="#020202" stop-opacity=".35" offset="0"/>
252
+ <stop stop-color="#020202" stop-opacity=".12" offset=".18316"/>
253
+ <stop stop-color="#fff" stop-opacity=".08" offset=".35085"/>
254
+ <stop stop-color="#fff" stop-opacity=".25" offset=".49829"/>
255
+ <stop stop-color="#fff" stop-opacity=".08" offset=".64825"/>
256
+ <stop stop-color="#020202" stop-opacity=".12" offset=".82318"/>
257
+ <stop stop-color="#020202" stop-opacity=".35" offset="1"/>
258
+ </linearGradient>
259
+ <linearGradient id="paint2_linear_1343_53957" x1="354.92" x2="351.89" y1="30" y2="171.95" gradientUnits="userSpaceOnUse">
260
+ <stop stop-color="#020202" stop-opacity=".35" offset="0"/>
261
+ <stop stop-color="#020202" stop-opacity=".12" offset=".18316"/>
262
+ <stop stop-color="#fff" stop-opacity=".08" offset=".35085"/>
263
+ <stop stop-color="#fff" stop-opacity=".25" offset=".49829"/>
264
+ <stop stop-color="#fff" stop-opacity=".08" offset=".64825"/>
265
+ <stop stop-color="#020202" stop-opacity=".12" offset=".82318"/>
266
+ <stop stop-color="#020202" stop-opacity=".35" offset="1"/>
267
+ </linearGradient>
268
+ <radialGradient id="paint3_radial_1343_53957" cx="0" cy="0" r="1" gradientTransform="matrix(0,100,-100,0,200,100)" gradientUnits="userSpaceOnUse">
269
+ <stop stop-color="#727171" offset="0"/>
270
+ <stop stop-color="#727171" offset=".75112"/>
271
+ <stop stop-color="#fff" offset=".87301"/>
272
+ <stop stop-color="#727171" offset="1"/>
273
+ </radialGradient>
274
+ <linearGradient id="paint4_linear_1343_53957" x1="191" x2="209" y1="44.877" y2="44.877" gradientTransform="translate(0 -.99)" gradientUnits="userSpaceOnUse">
275
+ <stop stop-color="#727171" offset="0"/>
276
+ <stop stop-color="#fff" offset=".49829"/>
277
+ <stop stop-color="#727171" offset="1"/>
278
+ </linearGradient>
279
+ <linearGradient id="paint5_linear_1343_53957" x1="250.96" x2="257.61" y1="75.954" y2="93.485" gradientTransform="translate(0 -.99)" gradientUnits="userSpaceOnUse">
280
+ <stop stop-color="#727171" offset="0"/>
281
+ <stop stop-color="#fff" offset=".49829"/>
282
+ <stop stop-color="#727171" offset="1"/>
283
+ </linearGradient>
284
+ <linearGradient id="paint6_linear_1343_53957" x1="173.92" x2="159.04" y1="153.14" y2="141.73" gradientTransform="translate(0 -.99)" gradientUnits="userSpaceOnUse">
285
+ <stop stop-color="#727171" offset="0"/>
286
+ <stop stop-color="#fff" offset=".49829"/>
287
+ <stop stop-color="#727171" offset="1"/>
288
+ </linearGradient>
289
+ <linearGradient id="paint7_linear_1343_53957" x1="228.3" x2="243.18" y1="153.14" y2="141.73" gradientTransform="translate(0 -.99)" gradientUnits="userSpaceOnUse">
290
+ <stop stop-color="#727171" offset="0"/>
291
+ <stop stop-color="#fff" offset=".49829"/>
292
+ <stop stop-color="#727171" offset="1"/>
293
+ </linearGradient>
294
+ <linearGradient id="paint8_linear_1343_53957" x1="142.78" x2="148.28" y1="92.333" y2="74.407" gradientTransform="translate(0 -.99)" gradientUnits="userSpaceOnUse">
295
+ <stop stop-color="#727171" offset="0"/>
296
+ <stop stop-color="#fff" offset=".49829"/>
297
+ <stop stop-color="#727171" offset="1"/>
298
+ </linearGradient>
299
+ </defs><rect x="100" width="200" height="200" fill="#000" fill-opacity="0" stroke-width="0" tb:tag="clickArea"/>
300
+ </svg>
@@ -0,0 +1,349 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:tb="https://thingsboard.io/svg" width="400" height="400" fill="none" version="1.1" viewBox="0 0 400 400"><tb:metadata xmlns=""><![CDATA[{
2
+ "title": "HP House",
3
+ "description": "House with various states.",
4
+ "searchTags": [
5
+ "power",
6
+ "energy",
7
+ "consumer"
8
+ ],
9
+ "widgetSizeX": 2,
10
+ "widgetSizeY": 2,
11
+ "tags": [
12
+ {
13
+ "tag": "background",
14
+ "stateRenderFunction": "var color = ctx.properties.stoppedColor;\nif (ctx.values.running) {\n color = ctx.properties.runningColor;\n}\nelement.attr({fill: color});",
15
+ "actions": null
16
+ },
17
+ {
18
+ "tag": "clickArea",
19
+ "stateRenderFunction": null,
20
+ "actions": {
21
+ "click": {
22
+ "actionFunction": "ctx.api.callAction(event, 'click');"
23
+ }
24
+ }
25
+ },
26
+ {
27
+ "tag": "critical",
28
+ "stateRenderFunction": "element.attr({fill: ctx.properties.criticalColor});\nif (ctx.values.critical) {\n element.show();\n} else {\n element.hide();\n}\n\nvar elementCriticalAnimation = element.remember('criticalAnimation');\nvar criticalAnimation = ctx.values.critical && ctx.values.criticalAnimation;\n\nif (elementCriticalAnimation !== criticalAnimation) {\n element.remember('criticalAnimation', criticalAnimation);\n if (criticalAnimation) {\n ctx.api.cssAnimate(element, 500).attr({opacity: 0.15}).loop(0, true);\n } else {\n ctx.api.resetCssAnimation(element);\n }\n}\n\n",
29
+ "actions": {
30
+ "click": {
31
+ "actionFunction": "ctx.api.callAction(event, 'criticalClick');"
32
+ }
33
+ }
34
+ },
35
+ {
36
+ "tag": "warning",
37
+ "stateRenderFunction": "element.attr({fill: ctx.properties.warningColor});\nvar warning = ctx.values.warning && !(ctx.values.warning && ctx.values.critical)\nif (warning) {\n element.show();\n} else {\n element.hide();\n}\n\nvar elementCriticalAnimation = element.remember('criticalAnimation');\nvar criticalAnimation = warning && ctx.values.criticalAnimation;\n\nif (elementCriticalAnimation !== criticalAnimation) {\n element.remember('criticalAnimation', criticalAnimation);\n if (criticalAnimation) {\n ctx.api.cssAnimate(element, 500).attr({opacity: 0.15}).loop(0, true);\n } else {\n ctx.api.resetCssAnimation(element);\n }\n}\n",
38
+ "actions": {
39
+ "click": {
40
+ "actionFunction": "ctx.api.callAction(event, 'warningClick');"
41
+ }
42
+ }
43
+ }
44
+ ],
45
+ "behavior": [
46
+ {
47
+ "id": "running",
48
+ "name": "{i18n:scada.symbol.running}",
49
+ "hint": "{i18n:scada.symbol.running-hint}",
50
+ "group": null,
51
+ "type": "value",
52
+ "valueType": "BOOLEAN",
53
+ "trueLabel": null,
54
+ "falseLabel": null,
55
+ "stateLabel": "{i18n:scada.symbol.running}",
56
+ "defaultGetValueSettings": {
57
+ "action": "GET_ATTRIBUTE",
58
+ "defaultValue": false,
59
+ "executeRpc": {
60
+ "method": "getState",
61
+ "requestTimeout": 5000,
62
+ "requestPersistent": false,
63
+ "persistentPollingInterval": 1000
64
+ },
65
+ "getAttribute": {
66
+ "scope": "SHARED_SCOPE",
67
+ "key": "running"
68
+ },
69
+ "getTimeSeries": {
70
+ "key": "state"
71
+ },
72
+ "getAlarmStatus": {
73
+ "severityList": null,
74
+ "typeList": null
75
+ },
76
+ "dataToValue": {
77
+ "type": "NONE",
78
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
79
+ "compareToValue": true
80
+ }
81
+ },
82
+ "defaultSetValueSettings": null,
83
+ "defaultWidgetActionSettings": null
84
+ },
85
+ {
86
+ "id": "warning",
87
+ "name": "{i18n:scada.symbol.warning}",
88
+ "hint": "{i18n:scada.symbol.warning-state-hint}",
89
+ "group": "{i18n:scada.symbol.warning-state}",
90
+ "type": "value",
91
+ "valueType": "BOOLEAN",
92
+ "trueLabel": null,
93
+ "falseLabel": null,
94
+ "stateLabel": "{i18n:scada.symbol.warning}",
95
+ "defaultGetValueSettings": {
96
+ "action": "GET_ALARM_STATUS",
97
+ "defaultValue": false,
98
+ "executeRpc": {
99
+ "method": "getState",
100
+ "requestTimeout": 5000,
101
+ "requestPersistent": false,
102
+ "persistentPollingInterval": 1000
103
+ },
104
+ "getAttribute": {
105
+ "scope": null,
106
+ "key": "state"
107
+ },
108
+ "getTimeSeries": {
109
+ "key": "state"
110
+ },
111
+ "getAlarmStatus": {
112
+ "severityList": [
113
+ "MAJOR",
114
+ "MINOR",
115
+ "WARNING",
116
+ "INDETERMINATE"
117
+ ],
118
+ "typeList": null
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": "warningClick",
131
+ "name": "{i18n:scada.symbol.warning-click}",
132
+ "hint": "{i18n:scada.symbol.on-click-hint}",
133
+ "group": "{i18n:scada.symbol.warning-state}",
134
+ "type": "widgetAction",
135
+ "valueType": "BOOLEAN",
136
+ "trueLabel": null,
137
+ "falseLabel": null,
138
+ "stateLabel": null,
139
+ "defaultGetValueSettings": null,
140
+ "defaultSetValueSettings": null,
141
+ "defaultWidgetActionSettings": {
142
+ "type": "doNothing",
143
+ "targetDashboardStateId": null,
144
+ "openRightLayout": false,
145
+ "setEntityId": false,
146
+ "stateEntityParamName": null
147
+ }
148
+ },
149
+ {
150
+ "id": "critical",
151
+ "name": "{i18n:scada.symbol.critical}",
152
+ "hint": "{i18n:scada.symbol.critical-state-hint}",
153
+ "group": "{i18n:scada.symbol.critical-state}",
154
+ "type": "value",
155
+ "valueType": "BOOLEAN",
156
+ "trueLabel": null,
157
+ "falseLabel": null,
158
+ "stateLabel": "{i18n:scada.symbol.critical}",
159
+ "defaultGetValueSettings": {
160
+ "action": "GET_ALARM_STATUS",
161
+ "defaultValue": false,
162
+ "executeRpc": {
163
+ "method": "getState",
164
+ "requestTimeout": 5000,
165
+ "requestPersistent": false,
166
+ "persistentPollingInterval": 1000
167
+ },
168
+ "getAttribute": {
169
+ "scope": null,
170
+ "key": "state"
171
+ },
172
+ "getTimeSeries": {
173
+ "key": "state"
174
+ },
175
+ "getAlarmStatus": {
176
+ "severityList": [
177
+ "CRITICAL"
178
+ ],
179
+ "typeList": null
180
+ },
181
+ "dataToValue": {
182
+ "type": "NONE",
183
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;",
184
+ "compareToValue": true
185
+ }
186
+ },
187
+ "defaultSetValueSettings": null,
188
+ "defaultWidgetActionSettings": null
189
+ },
190
+ {
191
+ "id": "criticalClick",
192
+ "name": "{i18n:scada.symbol.critical-click}",
193
+ "hint": "{i18n:scada.symbol.on-click-hint}",
194
+ "group": "{i18n:scada.symbol.critical-state}",
195
+ "type": "widgetAction",
196
+ "valueType": "BOOLEAN",
197
+ "trueLabel": null,
198
+ "falseLabel": null,
199
+ "stateLabel": null,
200
+ "defaultGetValueSettings": null,
201
+ "defaultSetValueSettings": null,
202
+ "defaultWidgetActionSettings": {
203
+ "type": "doNothing",
204
+ "targetDashboardStateId": null,
205
+ "openRightLayout": false,
206
+ "setEntityId": false,
207
+ "stateEntityParamName": null
208
+ }
209
+ },
210
+ {
211
+ "id": "criticalAnimation",
212
+ "name": "{i18n:scada.symbol.warning-critical-state-animation}",
213
+ "hint": "{i18n:scada.symbol.warning-critical-state-animation-hint}",
214
+ "group": null,
215
+ "type": "value",
216
+ "valueType": "BOOLEAN",
217
+ "trueLabel": null,
218
+ "falseLabel": null,
219
+ "stateLabel": "{i18n:scada.symbol.animation}",
220
+ "defaultGetValueSettings": {
221
+ "action": "DO_NOTHING",
222
+ "defaultValue": false,
223
+ "executeRpc": {
224
+ "method": "getState",
225
+ "requestTimeout": 5000,
226
+ "requestPersistent": false,
227
+ "persistentPollingInterval": 1000
228
+ },
229
+ "getAttribute": {
230
+ "key": "state",
231
+ "scope": null
232
+ },
233
+ "getTimeSeries": {
234
+ "key": "state"
235
+ },
236
+ "dataToValue": {
237
+ "type": "NONE",
238
+ "compareToValue": true,
239
+ "dataToValueFunction": "/* Should return boolean value */\nreturn data;"
240
+ }
241
+ },
242
+ "defaultSetValueSettings": null,
243
+ "defaultWidgetActionSettings": null
244
+ },
245
+ {
246
+ "id": "click",
247
+ "name": "{i18n:scada.symbol.on-click}",
248
+ "hint": "{i18n:scada.symbol.on-click-hint}",
249
+ "group": null,
250
+ "type": "widgetAction",
251
+ "valueType": "BOOLEAN",
252
+ "trueLabel": null,
253
+ "falseLabel": null,
254
+ "stateLabel": null,
255
+ "defaultGetValueSettings": null,
256
+ "defaultSetValueSettings": null,
257
+ "defaultWidgetActionSettings": {
258
+ "type": "doNothing",
259
+ "targetDashboardStateId": null,
260
+ "openRightLayout": false,
261
+ "setEntityId": false,
262
+ "stateEntityParamName": null
263
+ }
264
+ }
265
+ ],
266
+ "properties": [
267
+ {
268
+ "id": "runningColor",
269
+ "name": "{i18n:scada.symbol.colors}",
270
+ "type": "color",
271
+ "default": "#FFFFFF",
272
+ "required": null,
273
+ "subLabel": "{i18n:scada.symbol.running}",
274
+ "divider": true,
275
+ "fieldSuffix": null,
276
+ "disableOnProperty": null,
277
+ "rowClass": "",
278
+ "fieldClass": "",
279
+ "min": null,
280
+ "max": null,
281
+ "step": null
282
+ },
283
+ {
284
+ "id": "stoppedColor",
285
+ "name": "{i18n:scada.symbol.colors}",
286
+ "type": "color",
287
+ "default": "#666666",
288
+ "required": null,
289
+ "subLabel": "{i18n:scada.symbol.stopped}",
290
+ "divider": null,
291
+ "fieldSuffix": null,
292
+ "disableOnProperty": null,
293
+ "rowClass": "",
294
+ "fieldClass": "",
295
+ "min": null,
296
+ "max": null,
297
+ "step": null
298
+ },
299
+ {
300
+ "id": "warningColor",
301
+ "name": "{i18n:scada.symbol.alarm-colors}",
302
+ "type": "color",
303
+ "default": "#FAA405",
304
+ "required": null,
305
+ "subLabel": "{i18n:scada.symbol.warning}",
306
+ "divider": true,
307
+ "fieldSuffix": null,
308
+ "disableOnProperty": null,
309
+ "rowClass": "",
310
+ "fieldClass": "",
311
+ "min": null,
312
+ "max": null,
313
+ "step": null
314
+ },
315
+ {
316
+ "id": "criticalColor",
317
+ "name": "{i18n:scada.symbol.alarm-colors}",
318
+ "type": "color",
319
+ "default": "#D12730",
320
+ "required": null,
321
+ "subLabel": "{i18n:scada.symbol.critical}",
322
+ "divider": null,
323
+ "fieldSuffix": null,
324
+ "disableOnProperty": null,
325
+ "rowClass": "",
326
+ "fieldClass": "",
327
+ "min": null,
328
+ "max": null,
329
+ "step": null
330
+ }
331
+ ]
332
+ }]]></tb:metadata>
333
+ <g fill="#fff" stroke="#1A1A1A" stroke-width="2" tb:tag="background">
334
+ <path d="m370 377h-340c-2.7614 0-5-2.239-5-5v-185.42c0-1.372 0.5635-2.683 1.5584-3.627l170-161.31c1.93-1.8306 4.954-1.8306 6.884 0l170 161.31c0.995 0.944 1.558 2.255 1.558 3.627v185.42c0 2.761-2.239 5-5 5z"/>
335
+ <path d="m287 60c0-2.7614 2.239-5 5-5h54.5c2.761 0 5 2.2386 5 5v86.08c0 4.322-5.113 6.609-8.334 3.727l-54.5-48.763c-1.06-0.949-1.666-2.3042-1.666-3.7267v-37.317z"/>
336
+ <rect x="1" y="377" width="398" height="22" rx="5"/>
337
+ <path d="m29.655 185h-24.568c-0.9085 0-1.3463-1.114-0.68102-1.732l193.55-180c1.151-1.0709 2.935-1.0709 4.086 0l193.55 180c0.665 0.618 0.227 1.732-0.681 1.732h-24.568c-1.256 0-2.467-0.473-3.39-1.325l-164.92-152.16c-1.149-1.0601-2.919-1.0601-4.068 0l-164.92 152.16c-0.9235 0.852-2.1339 1.325-3.3904 1.325z"/>
338
+ </g><rect x="89" y="187" width="30" height="63" rx="1" fill="#999" stroke="#1A1A1A" stroke-width="2"/><rect x="221" y="187" width="30" height="63" rx="1" fill="#999" stroke="#1A1A1A" stroke-width="2"/><rect x="221" y="286" width="30" height="63" rx="1" fill="#999" stroke="#1A1A1A" stroke-width="2"/><rect x="89" y="286" width="64" height="91" rx="1" fill="#999" stroke="#1A1A1A" stroke-width="2"/><rect x="123" y="187" width="30" height="63" rx="1" fill="#999" stroke="#1A1A1A" stroke-width="2"/><rect x="255" y="187" width="30" height="63" rx="1" fill="#999" stroke="#1A1A1A" stroke-width="2"/><rect x="255" y="286" width="30" height="63" rx="1" fill="#999" stroke="#1A1A1A" stroke-width="2"/><rect x="289" y="187" width="30" height="63" rx="1" fill="#999" stroke="#1A1A1A" stroke-width="2"/><rect x="289" y="286" width="30" height="63" rx="1" fill="#999" stroke="#1A1A1A" stroke-width="2"/><path d="m200.7 104.07 27.061 26.216c0.645 0.625 0.203 1.718-0.696 1.718h-54.122c-0.899 0-1.341-1.093-0.696-1.718l27.061-26.216c0.388-0.375 1.004-0.375 1.392 0z" fill="#999" stroke="#1A1A1A" stroke-width="2"/><path d="m134.53 0s-134.53 0-134.53 67v328.36c0 2.6512 3.5818 4.6403 8 4.6403h384c4.418 0 8-1.9892 8-4.6403v-328.36c0-67-132.14-67-132.14-67h-67.86zm134.14 81.2c-2.5774 0-4.6666 1.2536-4.6666 2.8v300.4c0 1.5464 2.0894 2.8 4.6666 2.8h29.332c2.5774 0 4.6666-1.2536 4.6666-2.8v-300.4c0-1.5464-2.0894-2.8-4.6666-2.8z" fill-opacity="0" fill="#000" tb:tag="clickArea"/><g transform="translate(0,316)" fill="#d12730" style="display: none;" tb:tag="critical">
339
+ <rect width="84" height="84" rx="4" fill="#fff" style=""/>
340
+ <rect width="84" height="84" rx="4" style=""/>
341
+ <rect x="2" y="2" width="80" height="80" rx="2" stroke="#000" stroke-opacity=".87" stroke-width="4" style=""/>
342
+ <path d="m44.559 27.562-0.4688 20.059h-4.0234l-0.4883-20.059zm-5.1172 26.211c0-0.7161 0.2344-1.3151 0.7031-1.7968 0.4818-0.4948 1.1459-0.7422 1.9922-0.7422 0.8334 0 1.4909 0.2474 1.9727 0.7422 0.4817 0.4817 0.7226 1.0807 0.7226 1.7968 0 0.6901-0.2409 1.2826-0.7226 1.7774-0.4818 0.4818-1.1393 0.7226-1.9727 0.7226-0.8463 0-1.5104-0.2408-1.9922-0.7226-0.4687-0.4948-0.7031-1.0873-0.7031-1.7774z" fill="#000" fill-opacity=".87" style=""/>
343
+ </g><g transform="translate(0 320.94)" fill="#faa405" style="display: none;" tb:tag="warning">
344
+ <path d="m35.955 2.2112c1.4741-2.9482 5.6813-2.9482 7.1554 0l35.528 71.056c1.3298 2.6596-0.6042 5.7889-3.5777 5.7889h-71.056c-2.9735 0-4.9075-3.1292-3.5777-5.7889z" fill="#fff" style=""/>
345
+ <path d="m35.955 2.2112c1.4741-2.9482 5.6813-2.9482 7.1554 0l35.528 71.056c1.3298 2.6596-0.6042 5.7889-3.5777 5.7889h-71.056c-2.9735 0-4.9075-3.1292-3.5777-5.7889z" style=""/>
346
+ <path d="m37.72 3.1061c0.7371-1.4741 2.8407-1.4741 3.5778-1e-5l35.528 71.056c0.6649 1.3298-0.3021 2.8944-1.7888 2.8944h-71.056c-1.4868 0-2.4538-1.5646-1.7889-2.8944z" stroke="#000" stroke-opacity=".87" stroke-width="4" style=""/>
347
+ <path d="m42.092 32.618-0.4688 20.059h-4.0234l-0.4883-20.059zm-5.1172 26.211c0-0.7161 0.2344-1.3151 0.7031-1.7968 0.4818-0.4948 1.1459-0.7422 1.9922-0.7422 0.8334 0 1.4909 0.2474 1.9727 0.7422 0.4817 0.4817 0.7226 1.0807 0.7226 1.7968 0 0.6901-0.2409 1.2826-0.7226 1.7774-0.4818 0.4818-1.1393 0.7226-1.9727 0.7226-0.8463 0-1.5104-0.2408-1.9922-0.7226-0.4687-0.4948-0.7031-1.0873-0.7031-1.7774z" fill="#000" fill-opacity=".87" style=""/>
348
+ </g>
349
+ </svg>