mirror of
https://github.com/Doodle3D/doodle3d-client.git
synced 2024-12-23 05:33:49 +01:00
another hack to show targetTemp
This commit is contained in:
parent
a692976be6
commit
979403826a
@ -203,10 +203,11 @@ function Printer() {
|
|||||||
//console.log("temp: ",response.data.hotend+"/"+response.data.hotend_target+" ("+response.data.last_mod+")");
|
//console.log("temp: ",response.data.hotend+"/"+response.data.hotend_target+" ("+response.data.last_mod+")");
|
||||||
self.temperature = data.data.hotend;
|
self.temperature = data.data.hotend;
|
||||||
if(data.data.hotend_target != undefined) {
|
if(data.data.hotend_target != undefined) {
|
||||||
if(self.@@@@)
|
if(state == PRINTING_STATE) { // HACK
|
||||||
|
self.targetTemperature = settings["printer.temperature"];
|
||||||
|
} else {
|
||||||
self.targetTemperature = data.data.hotend_target;
|
self.targetTemperature = data.data.hotend_target;
|
||||||
|
}
|
||||||
self.targetTemperature = settings["printer.temperature"]; // hack
|
|
||||||
}
|
}
|
||||||
self.alive = (data.data.last_mod < self.maxTempLastMod);
|
self.alive = (data.data.last_mod < self.maxTempLastMod);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user