1
0
Fork 0
fgdata/Aircraft/Instruments-3d/FG1000/Nasal/TAWSB/TAWSBOptions.nas
Stuart Buchanan cbb281759c NAV/COM Radio support
Add NAV/COM 8.33MHz radio support and integration
with the property trees for radios.

Also general cleanup.
2018-01-13 18:53:06 +00:00

28 lines
443 B
Text

# TAWSB Options
var TAWSBOptions =
{
new : func() {
var obj = { parents : [TAWSBOptions] };
obj.Options= {};
obj.loadOptions();
return obj;
},
getOption : func(type) {
return me.Options[type];
},
setOption : func(type, name, value) {
me.Options[type][name] = value;
},
loadOptions : func() {
me.clearOptions();
me.Options.APS = {};
},
clearOptions : func() {
me.Options = {};
},
};