kopia lustrzana https://github.com/jbruce12000/kiln-controller
make hours the tick size on the live graph always
rodzic
9b78ea005c
commit
f0c97ed220
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue