Merge branch 'master' into feature/public-images
This commit is contained in:
commit
bbed9ba3a2
@ -70,10 +70,22 @@ Apply a similar update for the PostgreSQL service. Find the section:
|
|||||||
And replace it with:
|
And replace it with:
|
||||||
```text
|
```text
|
||||||
volumes:
|
volumes:
|
||||||
- tb-edge-postgres-data/:/var/lib/postgresql/data
|
- tb-edge-postgres-data:/var/lib/postgresql/data
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Finally, please add next volumes section at the end of the file:
|
||||||
|
```text
|
||||||
|
...
|
||||||
|
volumes:
|
||||||
|
tb-edge-data:
|
||||||
|
name: tb-edge-data
|
||||||
|
tb-edge-logs:
|
||||||
|
name: tb-edge-logs
|
||||||
|
tb-edge-postgres-data:
|
||||||
|
name: tb-edge-postgres-data
|
||||||
|
```
|
||||||
|
|
||||||
##### Backup Database
|
##### Backup Database
|
||||||
Make a copy of the database volume before upgrading:
|
Make a copy of the database volume before upgrading:
|
||||||
|
|
||||||
|
|||||||
@ -74,6 +74,38 @@
|
|||||||
"individual_allergy_index_iai_chart_card",
|
"individual_allergy_index_iai_chart_card",
|
||||||
"individual_allergy_index_iai_chart_card_with_background",
|
"individual_allergy_index_iai_chart_card_with_background",
|
||||||
"simple_individual_allergy_index_iai_chart_card",
|
"simple_individual_allergy_index_iai_chart_card",
|
||||||
"simple_individual_allergy_index_iai_chart_card_with_background2"
|
"simple_individual_allergy_index_iai_chart_card_with_background2",
|
||||||
|
"ozone_o3_card",
|
||||||
|
"ozone_o3_card_with_background",
|
||||||
|
"horizontal_ozone_o3_card",
|
||||||
|
"horizontal_ozone_o3_card_with_background",
|
||||||
|
"ozone_o3_chart_card_with_background",
|
||||||
|
"ozone_o3_chart_card_with_background2",
|
||||||
|
"simple_ozone_o3_chart_card",
|
||||||
|
"simple_ozone_o3_chart_card_with_background",
|
||||||
|
"nitrogen_dioxide_no2_card",
|
||||||
|
"nitrogen_dioxide_no2_card_with_background",
|
||||||
|
"horizontal_nitrogen_dioxide_no2_card",
|
||||||
|
"horizontal_nitrogen_dioxide_no2_card_with_background",
|
||||||
|
"nitrogen_dioxide_no2_chart_card",
|
||||||
|
"nitrogen_dioxide_no2_chart_card_with_background",
|
||||||
|
"simple_nitrogen_dioxide_no2_chart_card",
|
||||||
|
"simple_nitrogen_dioxide_no2_chart_card_with_background",
|
||||||
|
"sulfur_dioxide_so2_card",
|
||||||
|
"sulfur_dioxide_so2_card_with_background",
|
||||||
|
"horizontal_sulfur_dioxide_so2_card",
|
||||||
|
"horizontal_sulfur_dioxide_so2_card_with_background",
|
||||||
|
"sulfur_dioxide_so2_chart_card",
|
||||||
|
"sulfur_dioxide_so2_chart_card_with_background",
|
||||||
|
"simple_sulfur_dioxide_so2_chart_card",
|
||||||
|
"simple_sulfur_dioxide_so2_chart_card_with_background",
|
||||||
|
"carbon_monoxide_co_card",
|
||||||
|
"carbon_monoxide_co_card_with_background",
|
||||||
|
"horizontal_carbon_monoxide_co_card",
|
||||||
|
"horizontal_carbon_monoxide_co_card_with_background",
|
||||||
|
"carbon_monoxide_co_chart_card",
|
||||||
|
"carbon_monoxide_co_chart_card_with_background",
|
||||||
|
"simple_carbon_monoxide_co_chart_card",
|
||||||
|
"simple_carbon_monoxide_co_chart_card_with_background"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -17,7 +17,7 @@
|
|||||||
"settingsDirective": "tb-battery-level-widget-settings",
|
"settingsDirective": "tb-battery-level-widget-settings",
|
||||||
"hasBasicMode": true,
|
"hasBasicMode": true,
|
||||||
"basicModeDirective": "tb-battery-level-basic-config",
|
"basicModeDirective": "tb-battery-level-basic-config",
|
||||||
"defaultConfig": "{\"datasources\":[{\"type\":\"function\",\"name\":\"function\",\"dataKeys\":[{\"name\":\"f(x)\",\"type\":\"function\",\"label\":\"batteryLevel\",\"color\":\"#2196f3\",\"settings\":{},\"_hash\":0.2392660816082064,\"funcBody\":\"var value = prevValue + Math.random() * 7;\\nif (value < 0) {\\n\\tvalue = 0;\\n} else if (value > 100) {\\n\\tvalue = 0;\\n}\\nreturn value;\",\"aggregationType\":null,\"units\":null,\"decimals\":null,\"usePostProcessing\":null,\"postFuncBody\":null}],\"alarmFilterConfig\":{\"statusList\":[\"ACTIVE\"]}}],\"timewindow\":{\"realtime\":{\"timewindowMs\":60000}},\"showTitle\":true,\"backgroundColor\":\"rgba(0, 0, 0, 0)\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"padding\":\"0px\",\"settings\":{\"background\":{\"type\":\"color\",\"color\":\"#fff\",\"overlay\":{\"enabled\":false,\"color\":\"rgba(255,255,255,0.72)\",\"blur\":3}},\"layout\":\"vertical_solid\",\"showValue\":true,\"autoScaleValueSize\":true,\"valueFont\":{\"family\":\"Roboto\",\"size\":20,\"sizeUnit\":\"px\",\"style\":\"normal\",\"weight\":\"500\",\"lineHeight\":\"24px\"},\"valueColor\":{\"type\":\"constant\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"colorFunction\":\"var temperature = value;\\nif (typeof temperature !== undefined) {\\n var percent = (temperature + 60)/120 * 100;\\n return tinycolor.mix('blue', 'red', percent).toHexString();\\n}\\nreturn 'blue';\"},\"batteryLevelColor\":{\"type\":\"range\",\"color\":\"rgb(224, 224, 224)\",\"rangeList\":[{\"from\":0,\"to\":25,\"color\":\"rgba(227, 71, 71, 1)\"},{\"from\":25,\"to\":50,\"color\":\"rgba(246, 206, 67, 1)\"},{\"from\":50,\"to\":100,\"color\":\"rgba(92, 223, 144, 1)\"}],\"colorFunction\":\"var temperature = value;\\nif (typeof temperature !== undefined) {\\n var percent = (temperature + 60)/120 * 100;\\n return tinycolor.mix('blue', 'red', percent).toHexString();\\n}\\nreturn 'blue';\"},\"batteryShapeColor\":{\"type\":\"range\",\"color\":\"rgba(224, 224, 224, 0.32)\",\"rangeList\":[{\"from\":0,\"to\":25,\"color\":\"rgba(227, 71, 71, 0.32)\"},{\"from\":25,\"to\":50,\"color\":\"rgba(246, 206, 67, 0.32)\"},{\"from\":50,\"to\":100,\"color\":\"rgba(92, 223, 144, 0.32)\"}],\"colorFunction\":\"var temperature = value;\\nif (typeof temperature !== undefined) {\\n var percent = (temperature + 60)/120 * 100;\\n return tinycolor.mix('blue', 'red', percent).toHexString();\\n}\\nreturn 'blue';\"},\"sectionsCount\":4},\"title\":\"Battery level\",\"dropShadow\":true,\"enableFullscreen\":false,\"titleStyle\":{\"fontSize\":\"16px\",\"fontWeight\":400},\"units\":\"%\",\"decimals\":0,\"useDashboardTimewindow\":true,\"showLegend\":false,\"widgetStyle\":{},\"actions\":{},\"configMode\":\"basic\",\"displayTimewindow\":true,\"margin\":\"0px\",\"borderRadius\":\"0px\",\"widgetCss\":\"\",\"pageSize\":1024,\"noDataDisplayMessage\":\"\",\"showTitleIcon\":false,\"titleTooltip\":\"\",\"titleFont\":{\"size\":16,\"sizeUnit\":\"px\",\"family\":\"Roboto\",\"weight\":\"500\",\"style\":\"normal\",\"lineHeight\":\"24px\"},\"titleIcon\":\"mdi:battery-high\",\"iconColor\":\"rgba(0, 0, 0, 0.87)\",\"iconSize\":\"18px\",\"timewindowStyle\":{\"showIcon\":true,\"iconSize\":\"14px\",\"icon\":\"query_builder\",\"iconPosition\":\"left\",\"font\":{\"size\":12,\"sizeUnit\":\"px\",\"family\":null,\"weight\":null,\"style\":null,\"lineHeight\":\"1\"},\"color\":null},\"titleColor\":\"rgba(0, 0, 0, 0.87)\"}"
|
"defaultConfig": "{\"datasources\":[{\"type\":\"function\",\"name\":\"function\",\"dataKeys\":[{\"name\":\"f(x)\",\"type\":\"function\",\"label\":\"batteryLevel\",\"color\":\"#2196f3\",\"settings\":{},\"_hash\":0.2392660816082064,\"funcBody\":\"var value = prevValue + Math.random() * 7;\\nif (value < 0) {\\n\\tvalue = 0;\\n} else if (value > 100) {\\n\\tvalue = 0;\\n}\\nreturn value;\",\"aggregationType\":null,\"units\":null,\"decimals\":null,\"usePostProcessing\":null,\"postFuncBody\":null}],\"alarmFilterConfig\":{\"statusList\":[\"ACTIVE\"]}}],\"timewindow\":{\"realtime\":{\"timewindowMs\":60000}},\"showTitle\":true,\"backgroundColor\":\"rgba(0, 0, 0, 0)\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"padding\":\"0px\",\"settings\":{\"background\":{\"type\":\"color\",\"color\":\"#fff\",\"overlay\":{\"enabled\":false,\"color\":\"rgba(255,255,255,0.72)\",\"blur\":3}},\"layout\":\"vertical_solid\",\"showValue\":true,\"autoScaleValueSize\":true,\"valueFont\":{\"family\":\"Roboto\",\"size\":20,\"sizeUnit\":\"px\",\"style\":\"normal\",\"weight\":\"500\",\"lineHeight\":\"24px\"},\"valueColor\":{\"type\":\"constant\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"colorFunction\":\"var temperature = value;\\nif (typeof temperature !== undefined) {\\n var percent = (temperature + 60)/120 * 100;\\n return tinycolor.mix('blue', 'red', percent).toHexString();\\n}\\nreturn 'blue';\"},\"batteryLevelColor\":{\"type\":\"range\",\"color\":\"rgb(224, 224, 224)\",\"rangeList\":[{\"from\":null,\"to\":25,\"color\":\"rgba(227, 71, 71, 1)\"},{\"from\":25,\"to\":50,\"color\":\"rgba(246, 206, 67, 1)\"},{\"from\":50,\"to\":null,\"color\":\"rgba(92, 223, 144, 1)\"}],\"colorFunction\":\"var temperature = value;\\nif (typeof temperature !== undefined) {\\n var percent = (temperature + 60)/120 * 100;\\n return tinycolor.mix('blue', 'red', percent).toHexString();\\n}\\nreturn 'blue';\"},\"batteryShapeColor\":{\"type\":\"range\",\"color\":\"rgba(224, 224, 224, 0.32)\",\"rangeList\":[{\"from\":null,\"to\":25,\"color\":\"rgba(227, 71, 71, 0.32)\"},{\"from\":25,\"to\":50,\"color\":\"rgba(246, 206, 67, 0.32)\"},{\"from\":50,\"to\":null,\"color\":\"rgba(92, 223, 144, 0.32)\"}],\"colorFunction\":\"var temperature = value;\\nif (typeof temperature !== undefined) {\\n var percent = (temperature + 60)/120 * 100;\\n return tinycolor.mix('blue', 'red', percent).toHexString();\\n}\\nreturn 'blue';\"},\"sectionsCount\":4},\"title\":\"Battery level\",\"dropShadow\":true,\"enableFullscreen\":false,\"titleStyle\":{\"fontSize\":\"16px\",\"fontWeight\":400},\"units\":\"%\",\"decimals\":0,\"useDashboardTimewindow\":true,\"showLegend\":false,\"widgetStyle\":{},\"actions\":{},\"configMode\":\"basic\",\"displayTimewindow\":true,\"margin\":\"0px\",\"borderRadius\":\"0px\",\"widgetCss\":\"\",\"pageSize\":1024,\"noDataDisplayMessage\":\"\",\"showTitleIcon\":false,\"titleTooltip\":\"\",\"titleFont\":{\"size\":16,\"sizeUnit\":\"px\",\"family\":\"Roboto\",\"weight\":\"500\",\"style\":\"normal\",\"lineHeight\":\"24px\"},\"titleIcon\":\"mdi:battery-high\",\"iconColor\":\"rgba(0, 0, 0, 0.87)\",\"iconSize\":\"18px\",\"timewindowStyle\":{\"showIcon\":true,\"iconSize\":\"14px\",\"icon\":\"query_builder\",\"iconPosition\":\"left\",\"font\":{\"size\":12,\"sizeUnit\":\"px\",\"family\":null,\"weight\":null,\"style\":null,\"lineHeight\":\"1\"},\"color\":null},\"titleColor\":\"rgba(0, 0, 0, 0.87)\"}"
|
||||||
},
|
},
|
||||||
"externalId": null,
|
"externalId": null,
|
||||||
"tags": [
|
"tags": [
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,37 @@
|
|||||||
|
{
|
||||||
|
"fqn": "horizontal_carbon_monoxide_co_card",
|
||||||
|
"name": "Horizontal carbon monoxide (CO) card",
|
||||||
|
"deprecated": false,
|
||||||
|
"image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAACgCAYAAABJ/yOpAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAsqSURBVHgB7d1bbBTXHcfxY0LKpcbGKUVcHMCoJAIqAX0oJBLkoUAJ8BAVGgJSUygJQqqEHdXwlKSq4SGBVrGRKkEpmPQBQQRVK0HCpS9x1QCVWnjAUEJVmwIlpG3M2hsuifBmfsf+L7Pr3bXNrmHX/n6kYXbus/b/P+ecmTnGOQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADxsRfqnqalpUlFRUX3wcWYwjHTAwPaHWCz2WkVFRXNRZ3KcKS0tHVlSUuIGDRrkgIGqvb3dRaNR19LScjNIklmDg+R4p6yszCcHMNCpgFAuBIkyMhKJ1Ku4eKG4uNgBuK+zwJjp61NUq4BEnTkxkswAMiBBgAxIECADEgTIgAQBMiBBgAxIECADEgTIgAQBMiiIBDl16pQ7dOiQH2fj9OnTbtWqVe7q1asO6InBLo8pkC2gy8vL4+N9+/b58YPsL9skw8CS1yWIkkMaGhriQ2trq9u+fbsDHoa8TZDz58/7K/6aNWvipYXGq1evdpFIJL5eXV2dmzlzpps8ebJbunRpvPqkkmLevHluy5YtfrmqaKa+vt7P06DtjZIvvL9NmzZ12d/Bgwf9cbR8/fr1fhv0X3mbINeuXfPjqVOnJ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jp58mSsoqIitmTJktixY8ditbW1fnru3Ll+evfu3X46CFi/fpA4flrraVttp3UjkYhfnmrbmpqahG01rW3XrVsXmzFjRnzblStX+m0bGxv9uLq62s+/cuWK307bi7YPn4PW1bTRtJ2DfR+t1xv3Iq2xL/79Hz/OxXq5Fj6uxv8YM8cPmr65/7D//Plf/hYrBMqNvE8QCz4LRksIsWAUJYQCOd324XUlHOiWAEaJET6Wjq2E0aD1NB0+JzuGzkHJZSwJks9H22nQvixJC52SoXn+j/xYlBDXKzf7hGj63svxeba8ECg3Cu45SLr6vr2Va+z1k550aEp+78qOYdUse6PXeieme7VF6yf3gDTWQ9JevAwfuz/QKyCqztn7VaLGuD6Pr3/LT9sDxELSrx4UWhCKBV66gA2zv5hi7HM4yZQcapTrtq6SJFWi9uSdMPVbyYfX53NNbRC9gtKya7+70/hPnwhDp38r5UuKhaTfPAdRHxH7+1kKaHWmUsCGewimM3/+fH/1t2caGts+xfal1+FtOhX1X1GD3brphv9QhJYpqXSjwf4ghW4RJ3cRLmS6OzW65jU3IbghUB6UGnrVpJCTQ/pNCaK+ISo1wn1Hevr3s9QfRKWPAlaDtlU/EG2rINedM5vWH2xQkCupkvetc1CC6E6V9qEejlYa2fnozlu4vwldd/NbTvqD5JNs+nLkqh9Id/1THqT/Ch4+9QfpdwkC5IoShHexgAxIECADEgTIgAQBMiBBgAxIECADEgTIgAQBMiBBgAxIECADJcjN9vZ2B+A+ywklyNl8/H8wgEcpGo3qv9f446DgnzU3A3qLlZIEA51yQP89RktLy81gsqpIM5uamiYVFRW9E3x8wQEDmxLjrAqOioqKZgcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAICH7itTAcR3WXCkIQAAAABJRU5ErkJggg==",
|
||||||
|
"description": "A colorless and odorless gas resulting from incomplete combustion, particularly in motor vehicles.",
|
||||||
|
"descriptor": {
|
||||||
|
"type": "latest",
|
||||||
|
"sizeX": 5,
|
||||||
|
"sizeY": 1,
|
||||||
|
"resources": [],
|
||||||
|
"templateHtml": "<tb-value-card-widget \n [ctx]=\"ctx\"\n [widgetTitlePanel]=\"widgetTitlePanel\">\n</tb-value-card-widget>",
|
||||||
|
"templateCss": "",
|
||||||
|
"controllerScript": "self.onInit = function() {\n self.ctx.$scope.valueCardWidget.onInit();\n};\n\nself.onDataUpdated = function() {\n self.ctx.$scope.valueCardWidget.onDataUpdated();\n};\n\nself.typeParameters = function() {\n return {\n maxDatasources: 1,\n maxDataKeys: 1,\n singleEntity: true,\n horizontal: true,\n previewWidth: '420px',\n previewHeight: '90px',\n embedTitlePanel: true,\n defaultDataKeysFunction: function() {\n return [{ name: 'carbon', label: 'Carbon monoxide', type: 'timeseries' }];\n }\n };\n};\n\nself.onDestroy = function() {\n};\n",
|
||||||
|
"settingsSchema": "",
|
||||||
|
"dataKeySettingsSchema": "",
|
||||||
|
"settingsDirective": "tb-value-card-widget-settings",
|
||||||
|
"hasBasicMode": true,
|
||||||
|
"basicModeDirective": "tb-value-card-basic-config",
|
||||||
|
"defaultConfig": "{\"datasources\":[{\"type\":\"function\",\"name\":\"function\",\"dataKeys\":[{\"name\":\"f(x)\",\"type\":\"function\",\"label\":\"Carbon monoxide\",\"color\":\"#2196f3\",\"settings\":{},\"_hash\":0.2392660816082064,\"funcBody\":\"var value = prevValue + Math.random() * 100 - 50;\\nvar multiplier = Math.pow(10, 2 || 0);\\nvar value = Math.round(value * multiplier) / multiplier;\\nif (value < 0) {\\n\\tvalue = 0;\\n} else if (value > 60) {\\n\\tvalue = 60;\\n}\\nreturn value;\",\"aggregationType\":null,\"units\":null,\"decimals\":null,\"usePostProcessing\":null,\"postFuncBody\":null}],\"alarmFilterConfig\":{\"statusList\":[\"ACTIVE\"]}}],\"timewindow\":{\"realtime\":{\"timewindowMs\":60000}},\"showTitle\":false,\"backgroundColor\":\"rgba(0, 0, 0, 0)\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"padding\":\"0px\",\"settings\":{\"labelPosition\":\"top\",\"layout\":\"horizontal\",\"showLabel\":true,\"labelFont\":{\"family\":\"Roboto\",\"size\":16,\"sizeUnit\":\"px\",\"style\":\"normal\",\"weight\":\"500\"},\"labelColor\":{\"type\":\"constant\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"colorFunction\":\"var temperature = value;\\nif (typeof temperature !== undefined) {\\n var percent = (temperature + 60)/120 * 100;\\n return tinycolor.mix('blue', 'red', percent).toHexString();\\n}\\nreturn 'blue';\"},\"showIcon\":true,\"iconSize\":40,\"iconSizeUnit\":\"px\",\"icon\":\"mdi:molecule-co\",\"iconColor\":{\"type\":\"range\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"rangeList\":[{\"from\":0,\"to\":5,\"color\":\"#3FA71A\"},{\"from\":5,\"to\":10,\"color\":\"#80C32C\"},{\"from\":10,\"to\":25,\"color\":\"#FFA600\"},{\"from\":25,\"to\":50,\"color\":\"#F36900\"},{\"from\":50,\"to\":null,\"color\":\"#D81838\"}],\"colorFunction\":\"var temperature = value;\\nif (typeof temperature !== undefined) {\\n var percent = (temperature + 60)/120 * 100;\\n return tinycolor.mix('blue', 'red', percent).toHexString();\\n}\\nreturn 'blue';\"},\"valueFont\":{\"size\":36,\"sizeUnit\":\"px\",\"family\":\"Roboto\",\"weight\":\"500\",\"style\":\"normal\"},\"valueColor\":{\"type\":\"range\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"rangeList\":[{\"from\":0,\"to\":5,\"color\":\"#3FA71A\"},{\"from\":5,\"to\":10,\"color\":\"#80C32C\"},{\"from\":10,\"to\":25,\"color\":\"#FFA600\"},{\"from\":25,\"to\":50,\"color\":\"#F36900\"},{\"from\":50,\"to\":null,\"color\":\"#D81838\"}],\"colorFunction\":\"var temperature = value;\\nif (typeof temperature !== undefined) {\\n var percent = (temperature + 60)/120 * 100;\\n return tinycolor.mix('blue', 'red', percent).toHexString();\\n}\\nreturn 'blue';\"},\"showDate\":true,\"dateFormat\":{\"format\":null,\"lastUpdateAgo\":true,\"custom\":false},\"dateFont\":{\"family\":\"Roboto\",\"size\":12,\"sizeUnit\":\"px\",\"style\":\"normal\",\"weight\":\"500\"},\"dateColor\":{\"type\":\"constant\",\"color\":\"rgba(0, 0, 0, 0.38)\",\"colorFunction\":\"var temperature = value;\\nif (typeof temperature !== undefined) {\\n var percent = (temperature + 60)/120 * 100;\\n return tinycolor.mix('blue', 'red', percent).toHexString();\\n}\\nreturn 'blue';\"},\"background\":{\"type\":\"color\",\"color\":\"#fff\",\"overlay\":{\"enabled\":false,\"color\":\"rgba(255,255,255,0.72)\",\"blur\":3}},\"autoScale\":true},\"title\":\"Carbon monoxide\",\"dropShadow\":true,\"enableFullscreen\":false,\"titleStyle\":{\"fontSize\":\"16px\",\"fontWeight\":400},\"units\":\"mg/m³\",\"decimals\":0,\"useDashboardTimewindow\":true,\"showLegend\":false,\"widgetStyle\":{},\"actions\":{},\"configMode\":\"basic\",\"displayTimewindow\":true,\"margin\":\"0px\",\"borderRadius\":\"0px\",\"widgetCss\":\"\",\"pageSize\":1024,\"noDataDisplayMessage\":\"\",\"showTitleIcon\":false,\"titleTooltip\":\"\",\"titleFont\":{\"size\":12,\"sizeUnit\":\"px\",\"family\":null,\"weight\":null,\"style\":null,\"lineHeight\":\"1.6\"},\"titleIcon\":\"\",\"iconColor\":\"rgba(0, 0, 0, 0.87)\",\"iconSize\":\"14px\",\"timewindowStyle\":{\"showIcon\":true,\"iconSize\":\"14px\",\"icon\":\"query_builder\",\"iconPosition\":\"left\",\"font\":{\"size\":12,\"sizeUnit\":\"px\",\"family\":null,\"weight\":null,\"style\":null,\"lineHeight\":\"1\"},\"color\":null}}"
|
||||||
|
},
|
||||||
|
"externalId": null,
|
||||||
|
"tags": [
|
||||||
|
"environment",
|
||||||
|
"particulate",
|
||||||
|
"matter",
|
||||||
|
"air",
|
||||||
|
"coarse particulates",
|
||||||
|
"coarse particles",
|
||||||
|
"inhalable particles",
|
||||||
|
"larger particulates",
|
||||||
|
"dust",
|
||||||
|
"airborne coarse particles",
|
||||||
|
"carbon monoxide",
|
||||||
|
"CO"
|
||||||
|
]
|
||||||
|
}
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
"fqn": "horizontal_nitrogen_dioxide_no2_card",
|
||||||
|
"name": "Horizontal nitrogen dioxide (NO2) card",
|
||||||
|
"deprecated": false,
|
||||||
|
"image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAACgCAYAAABJ/yOpAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAwxSURBVHgB7dxPbJTHGcfxMUpyaBxsDrRIdkqMUBGESk4uJoiiqhJ/IhEpAqdBnIAQwQEBaQXKwTSkcIhAaUDigAQtnBBpDGobpBqQqopaDb4EHyiICGHT2BJKD7bBubSS3f3N8qxnX3bffXf3BXbt70davPv+XXbnmXlm5n3XOQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADxtDfpnYGDglYaGhtOZp+2ZR7MDZrY/TU5OftDW1jbY8Cg4rjc1NTXPnj3bzZo1ywEz1cTEhBsfH3cjIyOjmSB57blMcHw2Z84cHxzATKcGQrGQCZTmsbGx02ou3m5sbHQApjxqMNp9PkVaBeR7FBPNRAYQgwABYhAgQAwCBIhBgAAxCBAgBgECxCBAgBgECBBjWgTIgwcP3NDQkAPSVtMBsmDBAtfe3u4DILRp0ya3cuXK3Ot169b5ZebmzZvu2rVrDqjWc67GKTgOHTrkDh8+XHSbXbt25b3W9mpRrl696oBq1HyASHd3t1u/fr1btmxZwfW68tIu1798+bIPKj3Onz/vVq1a5Z/39f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0vfo4el8KNhtQIDiml6qGeZ+W8LbYpNtLOfvEHSvucnYb/k3jXKgtGuatiwABnoWq50GA6Y4AAWIQIEAMAgSIQYAAMQgQIAYBAsQgQIAYBAgQQwEyOjEx4QBMsZhQgPSXe+8FMN2Nj4+7ycnJP8/K/LNlNEMX3NGSYKZTDIyNjbmRkZHRzMs9DVo4MDDwSkNDg359+G0HzGwKjH41HG1tbYMOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAT93/AeFjnEY21JI3AAAAAElFTkSuQmCC",
|
||||||
|
"description": "A gas produced from vehicle emissions and the burning of fossil fuels.",
|
||||||
|
"descriptor": {
|
||||||
|
"type": "latest",
|
||||||
|
"sizeX": 5,
|
||||||
|
"sizeY": 1,
|
||||||
|
"resources": [],
|
||||||
|
"templateHtml": "<tb-value-card-widget \n [ctx]=\"ctx\"\n [widgetTitlePanel]=\"widgetTitlePanel\">\n</tb-value-card-widget>",
|
||||||
|
"templateCss": "",
|
||||||
|
"controllerScript": "self.onInit = function() {\n self.ctx.$scope.valueCardWidget.onInit();\n};\n\nself.onDataUpdated = function() {\n self.ctx.$scope.valueCardWidget.onDataUpdated();\n};\n\nself.typeParameters = function() {\n return {\n maxDatasources: 1,\n maxDataKeys: 1,\n singleEntity: true,\n horizontal: true,\n previewWidth: '420px',\n previewHeight: '90px',\n embedTitlePanel: true,\n defaultDataKeysFunction: function() {\n return [{ name: 'nitrogen', label: 'Nitrogen dioxide', type: 'timeseries' }];\n }\n };\n};\n\nself.onDestroy = function() {\n};\n",
|
||||||
|
"settingsSchema": "",
|
||||||
|
"dataKeySettingsSchema": "",
|
||||||
|
"settingsDirective": "tb-value-card-widget-settings",
|
||||||
|
"hasBasicMode": true,
|
||||||
|
"basicModeDirective": "tb-value-card-basic-config",
|
||||||
|
"defaultConfig": "{\"datasources\":[{\"type\":\"function\",\"name\":\"function\",\"dataKeys\":[{\"name\":\"f(x)\",\"type\":\"function\",\"label\":\"Nitrogen dioxide\",\"color\":\"#2196f3\",\"settings\":{},\"_hash\":0.2392660816082064,\"funcBody\":\"var value = prevValue + Math.random() * 100 - 50;\\nvar multiplier = Math.pow(10, 2 || 0);\\nvar value = Math.round(value * multiplier) / multiplier;\\nif (value < 0) {\\n\\tvalue = 0;\\n} else if (value > 250) {\\n\\tvalue = 250;\\n}\\nreturn value;\",\"aggregationType\":null,\"units\":null,\"decimals\":null,\"usePostProcessing\":null,\"postFuncBody\":null}],\"alarmFilterConfig\":{\"statusList\":[\"ACTIVE\"]}}],\"timewindow\":{\"realtime\":{\"timewindowMs\":60000}},\"showTitle\":false,\"backgroundColor\":\"rgba(0, 0, 0, 0)\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"padding\":\"0px\",\"settings\":{\"labelPosition\":\"top\",\"layout\":\"horizontal\",\"showLabel\":true,\"labelFont\":{\"family\":\"Roboto\",\"size\":16,\"sizeUnit\":\"px\",\"style\":\"normal\",\"weight\":\"500\"},\"labelColor\":{\"type\":\"constant\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"colorFunction\":\"var temperature = value;\\nif (typeof temperature !== undefined) {\\n var percent = (temperature + 60)/120 * 100;\\n return tinycolor.mix('blue', 'red', percent).toHexString();\\n}\\nreturn 'blue';\"},\"showIcon\":true,\"iconSize\":40,\"iconSizeUnit\":\"px\",\"icon\":\"public\",\"iconColor\":{\"type\":\"range\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"rangeList\":[{\"from\":0,\"to\":40,\"color\":\"#3FA71A\"},{\"from\":40,\"to\":90,\"color\":\"#80C32C\"},{\"from\":90,\"to\":120,\"color\":\"#FFA600\"},{\"from\":120,\"to\":230,\"color\":\"#F36900\"},{\"from\":230,\"to\":null,\"color\":\"#D81838\"}],\"colorFunction\":\"var temperature = value;\\nif (typeof temperature !== undefined) {\\n var percent = (temperature + 60)/120 * 100;\\n return tinycolor.mix('blue', 'red', percent).toHexString();\\n}\\nreturn 'blue';\"},\"valueFont\":{\"size\":36,\"sizeUnit\":\"px\",\"family\":\"Roboto\",\"weight\":\"500\",\"style\":\"normal\"},\"valueColor\":{\"type\":\"range\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"rangeList\":[{\"from\":0,\"to\":40,\"color\":\"#3FA71A\"},{\"from\":40,\"to\":90,\"color\":\"#80C32C\"},{\"from\":90,\"to\":120,\"color\":\"#FFA600\"},{\"from\":120,\"to\":230,\"color\":\"#F36900\"},{\"from\":230,\"to\":null,\"color\":\"#D81838\"}],\"colorFunction\":\"var temperature = value;\\nif (typeof temperature !== undefined) {\\n var percent = (temperature + 60)/120 * 100;\\n return tinycolor.mix('blue', 'red', percent).toHexString();\\n}\\nreturn 'blue';\"},\"showDate\":true,\"dateFormat\":{\"format\":null,\"lastUpdateAgo\":true,\"custom\":false},\"dateFont\":{\"family\":\"Roboto\",\"size\":12,\"sizeUnit\":\"px\",\"style\":\"normal\",\"weight\":\"500\"},\"dateColor\":{\"type\":\"constant\",\"color\":\"rgba(0, 0, 0, 0.38)\",\"colorFunction\":\"var temperature = value;\\nif (typeof temperature !== undefined) {\\n var percent = (temperature + 60)/120 * 100;\\n return tinycolor.mix('blue', 'red', percent).toHexString();\\n}\\nreturn 'blue';\"},\"background\":{\"type\":\"color\",\"color\":\"#fff\",\"overlay\":{\"enabled\":false,\"color\":\"rgba(255,255,255,0.72)\",\"blur\":3}},\"autoScale\":true},\"title\":\"Horizontal nitrogen dioxide (NO2) card\",\"dropShadow\":true,\"enableFullscreen\":false,\"titleStyle\":{\"fontSize\":\"16px\",\"fontWeight\":400},\"units\":\"µg/m³\",\"decimals\":0,\"useDashboardTimewindow\":true,\"showLegend\":false,\"widgetStyle\":{},\"actions\":{},\"configMode\":\"basic\",\"displayTimewindow\":true,\"margin\":\"0px\",\"borderRadius\":\"0px\",\"widgetCss\":\"\",\"pageSize\":1024,\"noDataDisplayMessage\":\"\",\"showTitleIcon\":false,\"titleTooltip\":\"\",\"titleFont\":{\"size\":12,\"sizeUnit\":\"px\",\"family\":null,\"weight\":null,\"style\":null,\"lineHeight\":\"1.6\"},\"titleIcon\":\"\",\"iconColor\":\"rgba(0, 0, 0, 0.87)\",\"iconSize\":\"14px\",\"timewindowStyle\":{\"showIcon\":true,\"iconSize\":\"14px\",\"icon\":\"query_builder\",\"iconPosition\":\"left\",\"font\":{\"size\":12,\"sizeUnit\":\"px\",\"family\":null,\"weight\":null,\"style\":null,\"lineHeight\":\"1\"},\"color\":null}}"
|
||||||
|
},
|
||||||
|
"externalId": null,
|
||||||
|
"tags": [
|
||||||
|
"environment",
|
||||||
|
"particulate",
|
||||||
|
"matter",
|
||||||
|
"air",
|
||||||
|
"coarse particulates",
|
||||||
|
"coarse particles",
|
||||||
|
"inhalable particles",
|
||||||
|
"larger particulates",
|
||||||
|
"dust",
|
||||||
|
"airborne coarse particles",
|
||||||
|
"nitrogen"
|
||||||
|
]
|
||||||
|
}
|
||||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,37 @@
|
|||||||
|
{
|
||||||
|
"fqn": "horizontal_ozone_o3_card",
|
||||||
|
"name": "Horizontal ozone (O3) card",
|
||||||
|
"deprecated": false,
|
||||||
|
"image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAACgCAYAAABJ/yOpAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAnnSURBVHgB7d1PbBTXHcDxZ5RwKQK7UpMDSOAcQkBpC+kBeqhCVYFaCTVEnMqlwIkTfw7cQBDBiUsCJ07YudBLUSFCagWqSumh+JDgigiaSsVGhUMTKbbByYFIdva7sz/veOOdXa8HWMffj7RZMzsz6515v/f7vTezTkqSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEl63nr4z8jIyLqenp6Byo+bKo/eJC1tl6enp4/09/eP9tSC4/aqVat6V65cmZYtW5ak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AEQT0/Gwb27NsPhca2Q/BkJ8NY9kLvwbDVDkTJvTSnINowNyiAjqydm/p4FzGLFN++nfW+72TzSBx7qgUYoImyu1Gz+ri4HOysLt56R2YYiPtMlCKFMqBvfNe89kp1o9alqm5FgEy6y0XeKtJDLo7HVjH9gu63YULhRybdu6V4uLaUG2Ke64pdI7jXzbXOxuyRf6rBkyMFI0XWO+jXPFOQHF+mK36JjfeyE+wcCtHZBDWZ73J0fr6nE/Oa+ybdRqv8oeY1NkyOHsKmGle2lHjtq2OR4m4m3dhX5ii9yJ1cpL+vDnLJOAAFc1YRXC8eWJewVF9y9xMUydiLLHQ7bvm6n10TnEPFp1W3C0b1xXaRaah4UdZ1OxeJqZ347yxPgFJhmgs5WJKeBF/taGc74Nwn1H+niB6xh/+NAuaZigHmN9WeejBaazzud07n0EIqCjHGNu0Ks0ic8S6ZDLen06TMjr+3SqLdanyvg9CQHAAoqzi+x7NcCB/PpDdT6NycWwXOv/fzoA+7peiPIz1WRYXj195O3uOq+yLMDhCeV+5rc5D783qRm5C/Hq0fsBiio8b8OKGPS1eMUiP28wJlhiT0PHF1xdKulj3IpX7nXREoOj7i1KMaoEAickAOr03Di3a6dxmyvtOupamCJBFXEY1U94YREvX9zAw8vy7WFIBA0QqYIBIBQwQqYABIhUwQKQCBohUwACRChggUgEDRCpggEgFCJDxqampJKkuYoIAGX7y5EmSVDc5OZmmp6evLKv8Z994BX+IwEyipY4Y4P8eMDY2xh9OOFz9kxIjIyPrenp6+PPdfg9WSx2BMUzi6O/vH02SJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEl67r4FVyMO7/vFO0gAAAAASUVORK5CYII=",
|
||||||
|
"description": "A beneficial layer in the upper atmosphere, but harmful when present near ground level. Results mainly from vehicle exhaust and industrial emissions.",
|
||||||
|
"descriptor": {
|
||||||
|
"type": "latest",
|
||||||
|
"sizeX": 5,
|
||||||
|
"sizeY": 1,
|
||||||
|
"resources": [],
|
||||||
|
"templateHtml": "<tb-value-card-widget \n [ctx]=\"ctx\"\n [widgetTitlePanel]=\"widgetTitlePanel\">\n</tb-value-card-widget>",
|
||||||
|
"templateCss": "",
|
||||||
|
"controllerScript": "self.onInit = function() {\n self.ctx.$scope.valueCardWidget.onInit();\n};\n\nself.onDataUpdated = function() {\n self.ctx.$scope.valueCardWidget.onDataUpdated();\n};\n\nself.typeParameters = function() {\n return {\n maxDatasources: 1,\n maxDataKeys: 1,\n singleEntity: true,\n horizontal: true,\n previewWidth: '420px',\n previewHeight: '90px',\n embedTitlePanel: true,\n defaultDataKeysFunction: function() {\n return [{ name: 'ozone', label: 'Ozone', type: 'timeseries' }];\n }\n };\n};\n\nself.onDestroy = function() {\n};\n",
|
||||||
|
"settingsSchema": "",
|
||||||
|
"dataKeySettingsSchema": "",
|
||||||
|
"settingsDirective": "tb-value-card-widget-settings",
|
||||||
|
"hasBasicMode": true,
|
||||||
|
"basicModeDirective": "tb-value-card-basic-config",
|
||||||
|
"defaultConfig": "{\"datasources\":[{\"type\":\"function\",\"name\":\"function\",\"dataKeys\":[{\"name\":\"f(x)\",\"type\":\"function\",\"label\":\"Ozone\",\"color\":\"#2196f3\",\"settings\":{},\"_hash\":0.2392660816082064,\"funcBody\":\"var value = prevValue + Math.random() * 100 - 50;\\nvar multiplier = Math.pow(10, 2 || 0);\\nvar value = Math.round(value * multiplier) / multiplier;\\nif (value < 0) {\\n\\tvalue = 0;\\n} else if (value > 250) {\\n\\tvalue = 250;\\n}\\nreturn value;\",\"aggregationType\":null,\"units\":null,\"decimals\":null,\"usePostProcessing\":null,\"postFuncBody\":null}],\"alarmFilterConfig\":{\"statusList\":[\"ACTIVE\"]}}],\"timewindow\":{\"realtime\":{\"timewindowMs\":60000}},\"showTitle\":false,\"backgroundColor\":\"rgba(0, 0, 0, 0)\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"padding\":\"0px\",\"settings\":{\"labelPosition\":\"top\",\"layout\":\"horizontal\",\"showLabel\":true,\"labelFont\":{\"family\":\"Roboto\",\"size\":16,\"sizeUnit\":\"px\",\"style\":\"normal\",\"weight\":\"500\"},\"labelColor\":{\"type\":\"constant\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"colorFunction\":\"var temperature = value;\\nif (typeof temperature !== undefined) {\\n var percent = (temperature + 60)/120 * 100;\\n return tinycolor.mix('blue', 'red', percent).toHexString();\\n}\\nreturn 'blue';\"},\"showIcon\":true,\"iconSize\":40,\"iconSizeUnit\":\"px\",\"icon\":\"public\",\"iconColor\":{\"type\":\"range\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"rangeList\":[{\"from\":0,\"to\":50,\"color\":\"#3FA71A\"},{\"from\":50,\"to\":100,\"color\":\"#80C32C\"},{\"from\":100,\"to\":130,\"color\":\"#FFA600\"},{\"from\":130,\"to\":240,\"color\":\"#F36900\"},{\"from\":240,\"to\":null,\"color\":\"#D81838\"}],\"colorFunction\":\"var temperature = value;\\nif (typeof temperature !== undefined) {\\n var percent = (temperature + 60)/120 * 100;\\n return tinycolor.mix('blue', 'red', percent).toHexString();\\n}\\nreturn 'blue';\"},\"valueFont\":{\"size\":36,\"sizeUnit\":\"px\",\"family\":\"Roboto\",\"weight\":\"500\",\"style\":\"normal\"},\"valueColor\":{\"type\":\"range\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"rangeList\":[{\"from\":0,\"to\":50,\"color\":\"#3FA71A\"},{\"from\":50,\"to\":100,\"color\":\"#80C32C\"},{\"from\":100,\"to\":130,\"color\":\"#FFA600\"},{\"from\":130,\"to\":240,\"color\":\"#F36900\"},{\"from\":240,\"to\":null,\"color\":\"#D81838\"}],\"colorFunction\":\"var temperature = value;\\nif (typeof temperature !== undefined) {\\n var percent = (temperature + 60)/120 * 100;\\n return tinycolor.mix('blue', 'red', percent).toHexString();\\n}\\nreturn 'blue';\"},\"showDate\":true,\"dateFormat\":{\"format\":null,\"lastUpdateAgo\":true,\"custom\":false},\"dateFont\":{\"family\":\"Roboto\",\"size\":12,\"sizeUnit\":\"px\",\"style\":\"normal\",\"weight\":\"500\"},\"dateColor\":{\"type\":\"constant\",\"color\":\"rgba(0, 0, 0, 0.38)\",\"colorFunction\":\"var temperature = value;\\nif (typeof temperature !== undefined) {\\n var percent = (temperature + 60)/120 * 100;\\n return tinycolor.mix('blue', 'red', percent).toHexString();\\n}\\nreturn 'blue';\"},\"background\":{\"type\":\"color\",\"color\":\"#fff\",\"overlay\":{\"enabled\":false,\"color\":\"rgba(255,255,255,0.72)\",\"blur\":3}},\"autoScale\":true},\"title\":\"Ozone\",\"dropShadow\":true,\"enableFullscreen\":false,\"titleStyle\":{\"fontSize\":\"16px\",\"fontWeight\":400},\"units\":\"µg/m³\",\"decimals\":0,\"useDashboardTimewindow\":true,\"showLegend\":false,\"widgetStyle\":{},\"actions\":{},\"configMode\":\"basic\",\"displayTimewindow\":true,\"margin\":\"0px\",\"borderRadius\":\"0px\",\"widgetCss\":\"\",\"pageSize\":1024,\"noDataDisplayMessage\":\"\",\"showTitleIcon\":false,\"titleTooltip\":\"\",\"titleFont\":{\"size\":12,\"sizeUnit\":\"px\",\"family\":null,\"weight\":null,\"style\":null,\"lineHeight\":\"1.6\"},\"titleIcon\":\"\",\"iconColor\":\"rgba(0, 0, 0, 0.87)\",\"iconSize\":\"14px\",\"timewindowStyle\":{\"showIcon\":true,\"iconSize\":\"14px\",\"icon\":\"query_builder\",\"iconPosition\":\"left\",\"font\":{\"size\":12,\"sizeUnit\":\"px\",\"family\":null,\"weight\":null,\"style\":null,\"lineHeight\":\"1\"},\"color\":null}}"
|
||||||
|
},
|
||||||
|
"externalId": null,
|
||||||
|
"tags": [
|
||||||
|
"environment",
|
||||||
|
"particulate",
|
||||||
|
"matter",
|
||||||
|
"air",
|
||||||
|
"coarse particulates",
|
||||||
|
"coarse particles",
|
||||||
|
"inhalable particles",
|
||||||
|
"larger particulates",
|
||||||
|
"dust",
|
||||||
|
"airborne coarse particles",
|
||||||
|
"O3",
|
||||||
|
"ozone"
|
||||||
|
]
|
||||||
|
}
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,38 @@
|
|||||||
|
{
|
||||||
|
"fqn": "horizontal_sulfur_dioxide_so2_card",
|
||||||
|
"name": "Horizontal sulfur dioxide (SO2) card",
|
||||||
|
"deprecated": false,
|
||||||
|
"image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAACgCAYAAABJ/yOpAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAzQSURBVHgB7d1dbFRlHsfxZ4h6Y7HlYg3ZdldLiEbEWL0pbsDdmPCyiSYmdFf0ChBfLojU9SVeYHSVZI2ua2W5IBFpr1jQQnaVxPKyZsOyCjfShLeghMK2ZNFNthTKXrAJs/N7Tv/Tp9MzZ14p0/b7SYbpnDlzZnrm+T/P/3k5xTkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABMtJT+6evruzOVSnVmfmzJ3BocML39OZ1Ov9jc3Hw2NRIcR+rr6xtuu+02N2PGDAdMV9euXXPDw8NucHDwYiZIHrgpExwfzJo1ywcHMN2pgVAsZAKlYWhoqFPNxeN1dXUOwKiRBqPF51OkVcBYIzHRQGQACQgQIAEBAiQgQIAEBAiQgAABEhAgQAICBEhAgAAJJkWAXLp0yQ0MDLhS6TUffvihO3HixJhjdXZ2uldeecXt27fPAUlqOkBUwJ966inX0tLiHn74YX+vAl/K67X/yZMns9s2bNjg3n77bb9taGjIAUlucjVMwaEaf/369W7evHm+xrcAWbdunStHd3e3W7Bggdu2bZsDCqnZFkS1v27Lly93q1ev9oX69ddf94GiFEmUOu3cudMHkdH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dplLVENoCgESylWrrp2JMtSFSoS52FDpeia4BAAwuTcRi3kJr9sz8qZHbdh0aLNKJlNXu+/e0yXO2vW/iHGjTKpH6D5jtEcx72p3zi6Lp3O5b1WXKfVx9Hn0vBpuPo8XT734KjvkbTlAwOSamnfscdd7haVuoVftbJrsZVgTpW0lJ4u1blRl+BiOo7d+7c5AgQ4EZQgPDX3YEEBAiQgAABEhAgQAICBEhAgAAJCBAgAQECJCBAgAQKkIvXrl1zAEZZTChAeku99gKY6oaHh106nf7LjMw/qy5maMEdLQmmO8WA/nvwwcHBi5mH7Slt7OvruzOVSum/+3ncAdObAqNXDUdzc/NZBwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAn3f9997RwsUZZbAAAAAElFTkSuQmCC",
|
||||||
|
"description": "Produced by volcanoes and industrial processes, particularly the burning of coal and oil.",
|
||||||
|
"descriptor": {
|
||||||
|
"type": "latest",
|
||||||
|
"sizeX": 5,
|
||||||
|
"sizeY": 1,
|
||||||
|
"resources": [],
|
||||||
|
"templateHtml": "<tb-value-card-widget \n [ctx]=\"ctx\"\n [widgetTitlePanel]=\"widgetTitlePanel\">\n</tb-value-card-widget>",
|
||||||
|
"templateCss": "",
|
||||||
|
"controllerScript": "self.onInit = function() {\n self.ctx.$scope.valueCardWidget.onInit();\n};\n\nself.onDataUpdated = function() {\n self.ctx.$scope.valueCardWidget.onDataUpdated();\n};\n\nself.typeParameters = function() {\n return {\n maxDatasources: 1,\n maxDataKeys: 1,\n singleEntity: true,\n horizontal: true,\n previewWidth: '420px',\n previewHeight: '90px',\n embedTitlePanel: true,\n defaultDataKeysFunction: function() {\n return [{ name: 'sulfur', label: 'Sulfur dioxide', type: 'timeseries' }];\n }\n };\n};\n\nself.onDestroy = function() {\n};\n",
|
||||||
|
"settingsSchema": "",
|
||||||
|
"dataKeySettingsSchema": "",
|
||||||
|
"settingsDirective": "tb-value-card-widget-settings",
|
||||||
|
"hasBasicMode": true,
|
||||||
|
"basicModeDirective": "tb-value-card-basic-config",
|
||||||
|
"defaultConfig": "{\"datasources\":[{\"type\":\"function\",\"name\":\"function\",\"dataKeys\":[{\"name\":\"f(x)\",\"type\":\"function\",\"label\":\"Sulfur dioxide\",\"color\":\"#2196f3\",\"settings\":{},\"_hash\":0.2392660816082064,\"funcBody\":\"var value = prevValue + Math.random() * 500 - 250;\\nvar multiplier = Math.pow(10, 2 || 0);\\nvar value = Math.round(value * multiplier) / multiplier;\\nif (value < 0) {\\n\\tvalue = 0;\\n} else if (value > 600) {\\n\\tvalue = 600;\\n}\\nreturn value;\",\"aggregationType\":null,\"units\":null,\"decimals\":null,\"usePostProcessing\":null,\"postFuncBody\":null}],\"alarmFilterConfig\":{\"statusList\":[\"ACTIVE\"]}}],\"timewindow\":{\"realtime\":{\"timewindowMs\":60000}},\"showTitle\":false,\"backgroundColor\":\"rgba(0, 0, 0, 0)\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"padding\":\"0px\",\"settings\":{\"labelPosition\":\"top\",\"layout\":\"horizontal\",\"showLabel\":true,\"labelFont\":{\"family\":\"Roboto\",\"size\":16,\"sizeUnit\":\"px\",\"style\":\"normal\",\"weight\":\"500\"},\"labelColor\":{\"type\":\"constant\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"colorFunction\":\"var temperature = value;\\nif (typeof temperature !== undefined) {\\n var percent = (temperature + 60)/120 * 100;\\n return tinycolor.mix('blue', 'red', percent).toHexString();\\n}\\nreturn 'blue';\"},\"showIcon\":true,\"iconSize\":40,\"iconSizeUnit\":\"px\",\"icon\":\"public\",\"iconColor\":{\"type\":\"range\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"rangeList\":[{\"from\":0,\"to\":100,\"color\":\"#3FA71A\"},{\"from\":100,\"to\":200,\"color\":\"#80C32C\"},{\"from\":200,\"to\":350,\"color\":\"#FFA600\"},{\"from\":350,\"to\":500,\"color\":\"#F36900\"},{\"from\":500,\"to\":null,\"color\":\"#D81838\"}],\"colorFunction\":\"var temperature = value;\\nif (typeof temperature !== undefined) {\\n var percent = (temperature + 60)/120 * 100;\\n return tinycolor.mix('blue', 'red', percent).toHexString();\\n}\\nreturn 'blue';\"},\"valueFont\":{\"size\":36,\"sizeUnit\":\"px\",\"family\":\"Roboto\",\"weight\":\"500\",\"style\":\"normal\"},\"valueColor\":{\"type\":\"range\",\"color\":\"rgba(0, 0, 0, 0.87)\",\"rangeList\":[{\"from\":0,\"to\":100,\"color\":\"#3FA71A\"},{\"from\":100,\"to\":200,\"color\":\"#80C32C\"},{\"from\":200,\"to\":350,\"color\":\"#FFA600\"},{\"from\":350,\"to\":500,\"color\":\"#F36900\"},{\"from\":500,\"to\":null,\"color\":\"#D81838\"}],\"colorFunction\":\"var temperature = value;\\nif (typeof temperature !== undefined) {\\n var percent = (temperature + 60)/120 * 100;\\n return tinycolor.mix('blue', 'red', percent).toHexString();\\n}\\nreturn 'blue';\"},\"showDate\":true,\"dateFormat\":{\"format\":null,\"lastUpdateAgo\":true,\"custom\":false},\"dateFont\":{\"family\":\"Roboto\",\"size\":12,\"sizeUnit\":\"px\",\"style\":\"normal\",\"weight\":\"500\"},\"dateColor\":{\"type\":\"constant\",\"color\":\"rgba(0, 0, 0, 0.38)\",\"colorFunction\":\"var temperature = value;\\nif (typeof temperature !== undefined) {\\n var percent = (temperature + 60)/120 * 100;\\n return tinycolor.mix('blue', 'red', percent).toHexString();\\n}\\nreturn 'blue';\"},\"background\":{\"type\":\"color\",\"color\":\"#fff\",\"overlay\":{\"enabled\":false,\"color\":\"rgba(255,255,255,0.72)\",\"blur\":3}},\"autoScale\":true},\"title\":\"Sulfur dioxide\",\"dropShadow\":true,\"enableFullscreen\":false,\"titleStyle\":{\"fontSize\":\"16px\",\"fontWeight\":400},\"units\":\"µg/m³\",\"decimals\":0,\"useDashboardTimewindow\":true,\"showLegend\":false,\"widgetStyle\":{},\"actions\":{},\"configMode\":\"basic\",\"displayTimewindow\":true,\"margin\":\"0px\",\"borderRadius\":\"0px\",\"widgetCss\":\"\",\"pageSize\":1024,\"noDataDisplayMessage\":\"\",\"showTitleIcon\":false,\"titleTooltip\":\"\",\"titleFont\":{\"size\":12,\"sizeUnit\":\"px\",\"family\":null,\"weight\":null,\"style\":null,\"lineHeight\":\"1.6\"},\"titleIcon\":\"\",\"iconColor\":\"rgba(0, 0, 0, 0.87)\",\"iconSize\":\"14px\",\"timewindowStyle\":{\"showIcon\":true,\"iconSize\":\"14px\",\"icon\":\"query_builder\",\"iconPosition\":\"left\",\"font\":{\"size\":12,\"sizeUnit\":\"px\",\"family\":null,\"weight\":null,\"style\":null,\"lineHeight\":\"1\"},\"color\":null}}"
|
||||||
|
},
|
||||||
|
"externalId": null,
|
||||||
|
"tags": [
|
||||||
|
"environment",
|
||||||
|
"particulate",
|
||||||
|
"matter",
|
||||||
|
"air",
|
||||||
|
"coarse particulates",
|
||||||
|
"coarse particles",
|
||||||
|
"inhalable particles",
|
||||||
|
"larger particulates",
|
||||||
|
"dust",
|
||||||
|
"airborne coarse particles",
|
||||||
|
"nitrogen",
|
||||||
|
"sulfur",
|
||||||
|
"sulfur dioxide"
|
||||||
|
]
|
||||||
|
}
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user