From f0c97ed220d06b5d236e2ff06b6127e231a5564b Mon Sep 17 00:00:00 2001 From: jbruce Date: Fri, 16 Dec 2022 09:49:19 -0500 Subject: [PATCH] make hours the tick size on the live graph always --- config.py | 2 +- public/assets/js/picoreflow.js | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/config.py b/config.py index 3909e03..77d3736 100644 --- a/config.py +++ b/config.py @@ -107,7 +107,7 @@ sim_R_ho_air = 0.05 # K/W " with internal air circulation temp_scale = "f" # c = Celsius | f = Fahrenheit - Unit to display time_scale_slope = "h" # s = Seconds | m = Minutes | h = Hours - Slope displayed in temp_scale per time_scale_slope -time_scale_profile = "h" # s = Seconds | m = Minutes | h = Hours - Enter and view target time in time_scale_profile +time_scale_profile = "m" # s = Seconds | m = Minutes | h = Hours - Enter and view target time in time_scale_profile # emergency shutoff the profile if this temp is reached or exceeded. # This just shuts off the profile. If your SSR is working, your kiln will diff --git a/public/assets/js/picoreflow.js b/public/assets/js/picoreflow.js index 7ceb50e..ca7acfb 100644 --- a/public/assets/js/picoreflow.js +++ b/public/assets/js/picoreflow.js @@ -368,14 +368,14 @@ function saveProfile() } function get_tick_size() { -switch(time_scale_profile){ - case "s": - return 1; - case "m": - return 60; - case "h": - return 3600; - } +//switch(time_scale_profile){ +// case "s": +// return 1; +// case "m": +// return 60; +// case "h": +// return 3600; +// } return 3600; }