kopia lustrzana https://github.com/jbruce12000/kiln-controller
Porównaj commity
2 Commity
9b78ea005c
...
7c7a1b648e
Autor | SHA1 | Data |
---|---|---|
jbruce | 7c7a1b648e | |
jbruce | 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;
|
||||
}
|
||||
|
||||
|
@ -473,17 +473,17 @@ $(document).ready(function()
|
|||
{
|
||||
console.log("Status Socket has been opened");
|
||||
|
||||
$.bootstrapGrowl("<span class=\"glyphicon glyphicon-exclamation-sign\"></span>Getting data from server",
|
||||
{
|
||||
ele: 'body', // which element to append to
|
||||
type: 'success', // (null, 'info', 'error', 'success')
|
||||
offset: {from: 'top', amount: 250}, // 'top', or 'bottom'
|
||||
align: 'center', // ('left', 'right', or 'center')
|
||||
width: 385, // (integer, or 'auto')
|
||||
delay: 2500,
|
||||
allow_dismiss: true,
|
||||
stackup_spacing: 10 // spacing between consecutively stacked growls.
|
||||
});
|
||||
// $.bootstrapGrowl("<span class=\"glyphicon glyphicon-exclamation-sign\"></span>Getting data from server",
|
||||
// {
|
||||
// ele: 'body', // which element to append to
|
||||
// type: 'success', // (null, 'info', 'error', 'success')
|
||||
// offset: {from: 'top', amount: 250}, // 'top', or 'bottom'
|
||||
// align: 'center', // ('left', 'right', or 'center')
|
||||
// width: 385, // (integer, or 'auto')
|
||||
// delay: 2500,
|
||||
// allow_dismiss: true,
|
||||
// stackup_spacing: 10 // spacing between consecutively stacked growls.
|
||||
// });
|
||||
};
|
||||
|
||||
ws_status.onclose = function()
|
||||
|
|
Ładowanie…
Reference in New Issue