make hours the tick size on the live graph always

master
jbruce 2022-12-16 09:49:19 -05:00
rodzic 9b78ea005c
commit f0c97ed220
2 zmienionych plików z 9 dodań i 9 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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;
}