diff --git a/WebSites/pbifc/dashboard.json b/WebSites/pbifc/dashboard.json index c2877bfb3e864fb75fac86ea9f258eef472bdf21..98b7fefb12571054c0c3513080356d2f5481f457 100644 --- a/WebSites/pbifc/dashboard.json +++ b/WebSites/pbifc/dashboard.json @@ -70,6 +70,25 @@ "animate": true } }, + { + "type": "indicator", + "settings": { + "title": "Water Flow ", + "value": "datasources[\"Water\"][\"LEBT-010:PBI-FC-001:WtrFlowOK\"][\"value\"][\"choices\"]", + "on_text": "OK", + "off_text": "NOK" + } + }, + { + "type": "gauge", + "settings": { + "title": "Water temperature body ", + "value": "datasources[\"Water\"][\"LEBT-010:PBI-FC-001:BodyTemp-R\"][\"value\"].toFixed(1)", + "units": "°C", + "min_value": 0, + "max_value": "100" + } + }, { "type": "text_widget", "settings": { @@ -89,25 +108,6 @@ "off_text": "NOK" } }, - { - "type": "indicator", - "settings": { - "title": "Water Flow ", - "value": "datasources[\"Water\"][\"LEBT-010:PBI-FC-001:WtrFlowOK\"][\"value\"][\"index\"]", - "on_text": "OK", - "off_text": "NOK" - } - }, - { - "type": "gauge", - "settings": { - "title": "Water temperature body ", - "value": "datasources[\"Water\"][\"LEBT-010:PBI-FC-001:BodyTemp-R\"][\"value\"].toFixed(1)", - "units": "°C", - "min_value": 0, - "max_value": "100" - } - }, { "type": "gauge", "settings": { @@ -177,12 +177,14 @@ "2": 7, "3": 7, "4": 7, + "6": 7, "7": 7 }, "col": { "2": 1, "3": 1, "4": 3, + "6": 3, "7": 3 }, "col_width": 1, @@ -206,6 +208,25 @@ "animate": true } }, + { + "type": "indicator", + "settings": { + "title": "Water Flow", + "value": "datasources[\"Water\"][\"MEBT-010:PBI-FC-001:WtrFlowOK\"][\"value\"][\"index\"]", + "on_text": "OK", + "off_text": "NOK" + } + }, + { + "type": "gauge", + "settings": { + "title": "Water temperature body", + "value": "datasources[\"Water\"][\"MEBT-010:PBI-FC-001:BodyTemp-R\"][\"value\"].toFixed(1)", + "units": "°C", + "min_value": 0, + "max_value": 100 + } + }, { "type": "text_widget", "settings": { @@ -224,21 +245,59 @@ "on_text": "OK", "off_text": "NOK" } + } + ] + }, + { + "title": "DTL4 FC", + "width": 1, + "row": { + "3": 15, + "4": 7, + "6": 7, + "7": 7 + }, + "col": { + "3": 2, + "4": 4, + "6": 4, + "7": 4 + }, + "col_width": 1, + "widgets": [ + { + "type": "text_widget", + "settings": { + "title": "MAX PROTON CURRENT ", + "size": "regular", + "value": "datasources[\"maxi\"][\" DTL-040:PBI-FC-001:STAT3-MaxValueR\"][\"value\"].toFixed(2)", + "animate": true, + "units": "mA" + } + }, + { + "type": "text_widget", + "settings": { + "title": "Position", + "size": "regular", + "value": "let index = datasources[\"Position\"][\"DTL-040:PBI-FC-001:Position-R\"][\"value\"][\"index\"];\nlet selection = datasources[\"Position\"][\"DTL-040:PBI-FC-001:Position-R\"][\"value\"][\"choices\"][index]; \nreturn selection;", + "animate": true + } }, { "type": "indicator", "settings": { - "title": "Water Flow", + "title": "Water flow", "value": "datasources[\"Water\"][\"MEBT-010:PBI-FC-001:WtrFlowOK\"][\"value\"][\"index\"]", "on_text": "OK", - "off_text": "NOK" + "off_text": "NOK " } }, { "type": "gauge", "settings": { "title": "Water temperature body", - "value": "datasources[\"Water\"][\"MEBT-010:PBI-FC-001:BodyTemp-R\"][\"value\"].toFixed(1)", + "value": "datasources[\"Water\"][\"DTL-040:PBI-FC-001:BodyTemp-R\"][\"value\"].toFixed(1)", "units": "°C", "min_value": 0, "max_value": 100 @@ -252,7 +311,7 @@ "name": "IOC", "type": "JSON", "settings": { - "url": "/data/api/v2/pvget/PBI-FC01:Ctrl-IOC-101:HEARTBEAT,PBI-FC01:Ctrl-IOC-102:HEARTBEAT,PBI-FC01:Ctrl-IOC-103:HEARTBEAT", + "url": "/data/api/v2/pvget/PBI-FC01:Ctrl-IOC-101:HEARTBEAT,PBI-FC01:Ctrl-IOC-102:HEARTBEAT,PBI-FC01:Ctrl-IOC-103:HEARTBEAT, PBI-FC01:Ctrl-IOC-104:HEARTBEAT", "use_thingproxy": true, "refresh": 1, "method": "GET" @@ -262,7 +321,7 @@ "name": "maxi", "type": "JSON", "settings": { - "url": "/data/api/v2/pvget/LEBT-010:PBI-FC-001:STAT3-MaxValueR,MEBT-010:PBI-FC-001:STAT3-MaxValueR", + "url": "/data/api/v2/pvget/LEBT-010:PBI-FC-001:STAT3-MaxValueR,MEBT-010:PBI-FC-001:STAT3-MaxValueR, DTL-040:PBI-FC-001:STAT3-MaxValueR", "use_thingproxy": true, "refresh": 5, "method": "GET" @@ -285,29 +344,28 @@ "url": "/data/api/v2/pvget/LEBT-010:PBI-FC-001:VacuumInterlockOK,MEBT-010:PBI-FC-001:VacuumInterlockOK", "use_thingproxy": true, "refresh": 5, - "method": "GET" + "method": "GET", + "name": "HVV" } }, { "name": "Water", "type": "JSON", "settings": { - "url": "/data/api/v2/pvget/LEBT-010:PBI-FC-001:RepellerTemp-R,LEBT-010:PBI-FC-001:WtrFlowOK,MEBT-010:PBI-FC-001:WtrFlowOK,LEBT-010:PBI-FC-001:BodyTemp-R,MEBT-010:PBI-FC-001:BodyTemp-R", + "url": "/data/api/v2/pvget/LEBT-010:PBI-FC-001:RepellerTemp-R,LEBT-010:PBI-FC-001:WtrFlowOK,MEBT-010:PBI-FC-001:WtrFlowOK,DTL-040:PBI-FC-001:WtrFlowOK,LEBT-010:PBI-FC-001:BodyTemp-R,MEBT-010:PBI-FC-001:BodyTemp-R, DTL-040:PBI-FC-001:BodyTemp-R", "use_thingproxy": true, "refresh": 5, - "method": "GET", - "name": "Water" + "method": "GET" } }, { "name": "Position", "type": "JSON", "settings": { - "url": "/data/api/v2/pvget/LEBT-010:PBI-FC-001:Position-R,MEBT-010:PBI-FC-001:Position-R", + "url": "/data/api/v2/pvget/LEBT-010:PBI-FC-001:Position-R,MEBT-010:PBI-FC-001:Position-R, DTL-040:PBI-FC-001:Position-R", "use_thingproxy": true, "refresh": 5, - "method": "GET", - "name": "Position" + "method": "GET" } }, {