Cond / door / elec
This commit is contained in:
parent
686b2de372
commit
6c8e4dcd73
1 changed files with 4 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue