8dafff9933
Allow a MFD to be controlled via Emesary notifications (notifications.PFDEventNotification); Notification needs to be constructed with the following parameters; 1 - MFD designation (text; name of MFD) 2 - MFD identity (int, id of the MFD within the model). Default 1; same as used when creating the MFD 3 - Event type (PFDEventNotification.SoftKeyPushed, notifications.PFDEventNotification.ChangeMenuText 4 - Event parameter. a) for PFDEventNotification.SoftKeyPushed an int identifying the button b) for notifications.PFDEventNotification.ChangeMenuText a hash array containing the menu ID and the new text (e.g. [{ Id: 1, Text: "NNN"}]) Method obj.PFD.RegisterWithEmesary(emesary.GlobalTransmitter) need to be called to connect the MFD to a transmitter |
||
---|---|---|
.. | ||
gui | ||
map | ||
api.nas | ||
generic-canvas-map.xml | ||
gui.nas | ||
map.nas | ||
MapDrivers.nas | ||
MapStructure.nas | ||
MFD_Generic.nas | ||
PropertyElement.nas | ||
svg.nas | ||
tooltip.nas |