1
0
Fork 0
fgdata/Aircraft/Instruments-3d/FG1000/Nasal/Surround/SurroundOptions.nas
Stuart Buchanan 73424c1791 Update NAV/COMM frequencies from properties
- Add new Emesary notification type for NAV/COM data
- Create Update/Publish interfaces using Emesary from properties
- Use interfaces to drive updates to EIS and NAV/COM frequencies
- Change the PageGroupController to a "proper" MFD page
2018-01-05 16:37:39 +00:00

28 lines
452 B
Text

# Surround Options
var SurroundOptions =
{
new : func() {
var obj = { parents : [SurroundOptions] };
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 = {};
},
};