1 contributor
var ADFDME = func {
nyi('AFDME softkey');
}
var IDENT = func {
nyi('IDENT softkey');
}
var VOR1 = func {
radios.getNode('nav2-selected').setIntValue(0);
radios.getNode('nav1-selected').setIntValue(1);
CDIfromNAV(0);
}
var VOR2 = func {
radios.getNode('nav1-selected').setIntValue(0);
radios.getNode('nav2-selected').setIntValue(1);
CDIfromNAV(1);
}
var STDBY = func {
setprop('/instrumentation/zkv1000/radios/xpdr-mode', 'STBY');
setprop('/instrumentation/transponder/serviceable', 0);
}
var ON = func {
setprop("/instrumentation/zkv1000/radios/xpdr-mode", "ON");
}
var ALT = func {
setprop("/instrumentation/zkv1000/radios/xpdr-mode", "ALT");
}
var GND = func {
setprop("/instrumentation/zkv1000/radios/xpdr-mode", "GND");
}
var VFR = func {
XPDR_old = getprop("/instrumentation/transponder/id-code");
setprop("/instrumentation/transponder/id-code", 1200);
}
var BKSP = func {
if (XPDR_n < 3) XPDR_n += 1;
}
var LIGHT = func {
var b = '/instrumentation/zkv1000/body-emission';
setprop(b, getprop(b) < 0.1 ? 0.5 : 0.0);
}
var CHECKLIST = func {
}
var LEAN = func {
}
var FUEL = func (v) {
}
var XPDR_n = 3;
var XPDR_old = 0;
var menuTable = [
' INSET PFD CDI ADF XPDR IDENT TMR NRST',
' VOR1 VOR2 GPS OFF BACK',
' OFF DCLTR TRAFF TOPO TERR STRM NEXR XMLTG BACK',
' OFF DCLT1 DCLT2 DCLT3 BACK',
'LIGHT DFLTS WIND DME BRG1 HSI BRG2 ALT U BARO BACK',
'VOR1 GPS ADF OFF BACK',
'VOR2 GPS ADF OFF BACK',
' 360 ARC BACK',
' OPT1 OPT2 OPT3 OFF BACK',
' METER IN HPA BACK',
' STBY ON ALT GND VFR CODE IDENT BACK',
' 0 1 2 3 4 5 6 7 IDENT BKSP BACK',
' SFD ENG MAP DCLTR CHKLS',
' DCLT1 DCLT2 DCLT3 BACK',
' TRAFF TOPO TERR STRM NEXR XMLTG BACK',
'ENGN LEAN DECF INCF RSTF',
' MFD INSET PFD CDI ADF XPDR IDENT TMR NRST',
' LCL UTC RL CHRON BACK',
];