1
0
Fork 0

Cond / door / elec

This commit is contained in:
Jonathan Redpath 2022-04-21 16:02:39 +01:00
parent 686b2de372
commit 6c8e4dcd73

View file

@ -110,6 +110,8 @@ var canvas_lowerECAMPageCond =
obj["TAT"].setText(sprintf("%+2.0f", val));
}),
];
obj.timer = maketimestamp();
obj.times = [];
return obj;
},
getKeysBottom: func() {
@ -154,6 +156,7 @@ var canvas_lowerECAMPageCond =
}
},
update: func(notification) {
me.timer.stamp();
me.updatePower();
if (me.test.getVisible() == 1) {
@ -170,6 +173,7 @@ var canvas_lowerECAMPageCond =
}
me.updateBottom(notification);
append(me.times, me.timer.elapsedUSec());
},
updatePower: func() {
if (me.name == ecam.SystemDisplayController.displayedPage.name) {