From e6a8b11418dc4e23a0009fcc4d249435aa419e9e Mon Sep 17 00:00:00 2001
From: Emanuele Laface <emanuele.laface@gmail.com>
Date: Tue, 1 Sep 2020 15:22:15 +0200
Subject: [PATCH] Added 4h and 1h for MCU

---
 PythonServer/screens/mcu.py | 9 ++++++++-
 WebSites/mcu/dashboard.json | 2 +-
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/PythonServer/screens/mcu.py b/PythonServer/screens/mcu.py
index 200ac97..ce477b1 100755
--- a/PythonServer/screens/mcu.py
+++ b/PythonServer/screens/mcu.py
@@ -45,7 +45,14 @@ class mcuScreen(Thread):
             "LabS-VIP:Chop-Drv-0101:Park_Stat",
         ]
 
-        intervals = {"2w": 24 * 14, "1w": 24 * 7, "2d": 24 * 2, "1d": 24}
+        intervals = {
+            "2w": 24 * 14,
+            "1w": 24 * 7,
+            "2d": 24 * 2,
+            "1d": 24,
+            "4h": 4,
+            "1h": 1,
+        }
 
         epics_dict = {}
         for pv in pvs:
diff --git a/WebSites/mcu/dashboard.json b/WebSites/mcu/dashboard.json
index efebf17..fc4008c 100644
--- a/WebSites/mcu/dashboard.json
+++ b/WebSites/mcu/dashboard.json
@@ -1,7 +1,7 @@
 {
 	"version": 1,
 	"header_image": "",
-	"allow_edit": false,
+	"allow_edit": true,
 	"plugins": [],
 	"panes": [
 		{
-- 
GitLab