Difference between revisions of "GeneralAvionics"

From SIMboxWiki
Jump to navigation Jump to search
m (New page: The GeneralAvionics logic component is responsible for holding and managing all general knowledge concerning the aircraft, such as aircraft modes and submodes, gauges...)
 
m
 
Line 1: Line 1:
 
  
 
[[#top |    ]]
 
[[#top |    ]]

Latest revision as of 11:51, 23 August 2009

The GeneralAvionics logic component is responsible for holding and managing all general knowledge concerning the aircraft, such as aircraft modes and submodes, gauges, MFDs, etc..

Type: Logic Object Component
File: GeneralAvionics.slc
Version: 450.1000.342.1


back to top

Icon properties.png Properties

NameDescriptionMaxValueMinValueDisplayNameUnitTypeUnitName
PROP_AIRCRAFT_DEFAULT_SUBMODE_1  The name of default submode 1    Default  Default 
PROP_AIRCRAFT_DEFAULT_SUBMODE_2  The name of default submode 2    Default  Default 
PROP_AIRCRAFT_DEFAULT_SUBMODE_3  The name of default submode 3    Default  Default 
PROP_AIRCRAFT_DEFAULT_SUBMODE_4  The name of default submode 4    Default  Default 
PROP_AIRCRAFT_MODE_1  The name of mode 1    Default  Default 
PROP_AIRCRAFT_MODE_2  The name of mode 2    Default  Default 
PROP_AIRCRAFT_MODE_3  The name of mode 3    Default  Default 
PROP_AIRCRAFT_MODE_4  The name of mode 4    Default  Default 
PROP_AVAILABLE_DOI_SYSTEMS  List of available DOI systems (<sys1Name>,<sys2Name>,<sys3Name>,...)    Default  Default 
PROP_DEFAULT_AIRCRAFT_MODE  The default start-up mode  Default Aircraft Mode  Default  Default 
PROP_DEFAULT_BACK_DOI_GAUGE  The default gauge for the back seat Doi    Default  Default 
PROP_DEFAULT_DOI_GAUGE  The default gauge for the Doi    Default  Default 
PROP_DOI_DOWN_GAUGE_NAME  The name of gauge for DOI down event    Default  Default 
PROP_DOI_LEFT_GAUGE_NAME  The name of gauge for DOI left event    Default  Default 
PROP_DOI_RIGHT_GAUGE_NAME  The name of gauge for DOI right event    Default  Default 
PROP_DOI_UP_GAUGE_NAME  The name of gauge for DOI up event    Default  Default 
PROP_GAUGE_1_DEFAULT_DISPLAY  The name of Mfd gauge 1 default display  MFD Left Default Setting  Default  Default 
PROP_GAUGE_1_DEFAULT_MFD_PAGES  How to init the Mfd gauge 1 pages (secondary and primary) [LeftPageName;RightPageName;SelectedSide;[RIGHT or LEFT]], eg.[SMS;FCR;RIGHT;]    Default  Default 
PROP_GAUGE_2_DEFAULT_DISPLAY  The name of Mfd gauge 2 default display  MFD Right Default Setting  Default  Default 
PROP_GAUGE_2_DEFAULT_MFD_PAGES  How to init the Mfd gauge 2 pages (secondary and primary) [LeftPageName;RightPageName;SelectedSide;[RIGHT or LEFT]], eg.[SMS;FCR;RIGHT;]    Default  Default 
PROP_GAUGE_3_DEFAULT_DISPLAY  The name of Mfd gauge 3 default display  MFD Bottom DefaultSetting  Default  Default 
PROP_GAUGE_3_DEFAULT_MFD_PAGES  How to init the Mfd gauge 3 pages (secondary and primary) [LeftPageName;RightPageName;SelectedSide;[RIGHT or LEFT]], eg.[SMS;FCR;RIGHT;]    Default  Default 
PROP_GAUGE_4_DEFAULT_DISPLAY  The name of Mfd gauge 4 default display    Default  Default 
PROP_GAUGE_4_DEFAULT_MFD_PAGES  How to init the Mfd gauge 4 pages (secondary and primary) [LeftPageName;RightPageName;SelectedSide;[RIGHT or LEFT]], eg.[SMS;FCR;RIGHT;]    Default  Default 
PROP_IS_DUAL_COCKPIT  Detect if the aircraft has dual cockpit    Default  Default 
PROP_MFD_DEFAULT_PAGE  Default page to show if the initial page is MFD MENU page (need to be in the format (systemName;PageName;ActivationInputEvent;)    Default  Default 
PROP_MFD_GAUGE_1_NAME  The name of Mfd gauge number 1     Default  Default 
PROP_MFD_GAUGE_2_NAME  The name of Mfd gauge number 2    Default  Default 
PROP_MFD_GAUGE_3_NAME  The name of Mfd gauge number 3    Default  Default 
PROP_MFD_GAUGE_4_NAME  The name of Mfd gauge number 4    Default  Default 
PROP_NAME_OF_INPUT_EVENT_FOR_MFD_MENU_PAGE  The name of the Input event to generate in order to change to MFD menu page    Default  Default 
PROP_NUMBER_OF_AIRCRAFT_MODES  The number of aircraft modes    Default  Default 
PROP_NUMBER_OF_MFD_GAUGES  The number of Mfd gauges on aircraft    Default  Default 
PROP_SYSTEM_1_SLCS_LIST  List of slc for system 1 (taken from PROP_AVAILABLE_DOI_SYSTEMS (<sample.slc>,<sample2.slc>, ...)     Default  Default 
PROP_SYSTEM_2_SLCS_LIST  List of slc for system 2 (taken from PROP_AVAILABLE_DOI_SYSTEMS (<sample.slc>,<sample2.slc>, ...)    Default  Default 
PROP_SYSTEM_3_SLCS_LIST  List of slc for system 3 (taken from PROP_AVAILABLE_DOI_SYSTEMS (<sample.slc>,<sample2.slc>, ...)    Default  Default 
PROP_SYSTEM_4_SLCS_LIST  List of slc for system 4 (taken from PROP_AVAILABLE_DOI_SYSTEMS (<sample.slc>,<sample2.slc>, ...)    Default  Default 
PROP_SYSTEM_5_SLCS_LIST  List of slc for system 5 (taken from PROP_AVAILABLE_DOI_SYSTEMS (<sample.slc>,<sample2.slc>, ...)    Default  Default 
PROP_SYSTEM_6_SLCS_LIST  List of slc for system 6 (taken from PROP_AVAILABLE_DOI_SYSTEMS (<sample.slc>,<sample2.slc>, ...)    Default  Default 
PROP_USE_NONE_SYSTEM  Use none system if same DOI is requested twice.    Default  Default 

back to top

Icon attributes.png Attributes

NameDescriptionParam1Param2DisplayNameUnitTypeUnitName
ATT_AIRCRAFT_MODE  Get aircraft mode  string &      Default  Default 
ATT_AIRCRAFT_SUBMODE  Aircraft Sub Mode  string &      Default  Default 
ATT_CURRENT_BACK_DOI  Get aircraft back seat DOI (gauge name, f.e: F16.MFD_LEFT_BACK)  string &      Default  Default 
ATT_CURRENT_BACK_DOI_SYSTEM_NAME  Get aircraft back seat DOI system name (RADAR,TSD..)  string &      Default  Default 
ATT_CURRENT_DISPLAYED_SYSTEM  Get the name of the current displayed system  const string &  string &    Default  Default 
ATT_CURRENT_DOI  Get aircraft DOI (gauge name, f.e: F16.MFD_LEFT)  string &      Default  Default 
ATT_CURRENT_DOI_SYSTEM_NAME  Get aircraft DOI system name (RADAR,TSD..)  string &      Default  Default 
ATT_CURRENT_SOI  Name of System Point of Interest Sensor  string &      Default  Default 
ATT_CURRENT_SPI  Current position of System Point of Interest  LinearVec &      Coordinate System  Local 
ATT_DED_DISPLAY_ON_HUD  Is the DED displayed on the hud  bool &      Default  Default 
ATT_DISPLAYED_SYSTEM_BY_GAUGE_INDEX  Get a gauge name by index  const int  string &    Default  Default 
ATT_HIGH_PRIORITY_TARGET  System High priority target  int &      Entity Identifier  Entity ID 
ATT_HUD_DISPLAYED_AIRSPEED_ATTRIBUTE  The attribute of the displayed airspeed on the HUD  string &      Default  Default 
ATT_HUD_DISPLAYED_AIRSPEED_CHARACTER_INDICATOR  The character indicator of the displayed airspeed on the HUD  string &      Default  Default 
ATT_IS_DUAL_COCKPIT  Is this aircraft has dual cockpit  bool &      Default  Default 
ATT_MFD_PAGE_NAME_LEFT  Name of page for the MFD, left of the DOI  const string &  string &    Default  Default 
ATT_MFD_PAGE_NAME_RIGHT  Name of page for the MFD, right of the DOI  const string &  string &    Default  Default 
ATT_MFD_PAGE_SELECTED_SIDE  Which Page in the MFD is the selected (primary) page left or right (relative to DOI) [LEFT or RIGHT]  const string &  string &    Default  Default 
ATT_NUMBER_OF_GAUGES  Number of gauges in system  int &      Default  Default 
ATT_SECOND_PRIORITY_TARGET  System Second priority target  int &      Entity Identifier  Entity ID 
ATT_SHPT_RANGE_SOURCE_NAME_FIRST_LETTER  Letter representing the range source (R - Radar, T - TGP etx.)  string &      Default  Default 
ATT_SLAVE_WEAPON_TO_BORESIGHT  Slave the weapon to the boresight  bool &      Default  Default 
ATT_SPI_SOURCE_NAME  SPI Source, Used when system is locked  string &      Default  Default 

back to top

Icon actions.png Actions

NameDescriptionParam1Param2DisplayNameUnitTypeUnitName
ACTION_CHANGE_AIRCRAFT_MODE  Change the current aircraft mode  const string &      Default  Default 
ACTION_CHANGE_AIRCRAFT_SUBMODE  Change the aircraft sub mode  const string &      Default  Default 
ACTION_HUD_DISPLAYED_AIRSPEED_CHARACTER_INDICATOR  Sets the character indicator of the displayed airspeed on the HUD  const string &      Default  Default 
ACTION_LOCK_SOI  Set the Sensor which is responsible for SPI  const string &      Default  Default 
ACTION_MFD_SELECT_PAGE_BY_SIDE  Select the MFD page (RIGHT or LEFT) to be shown  const string &  const string &    Default  Default 
ACTION_REGISTER_MAIN_MFD_PAGE  Registers an Mfd Page as a main page so it can be managed in the primary and secondary page logic. [display page att value; display name; activating input event; ]  const string &      Default  Default 
ACTION_SET_CURRENT_DISPLAYED_SYSTEM  Set a system as a gauge's current display  const string &  const string &    Default  Default 
ACTION_SET_CURRENT_DOI  Change the current aircraft Display Of Interest (with gauge name, f.e: F16.MFD_LEFT)  const string &      Default  Default 
ACTION_SET_CURRENT_DOI_SYSTEM_NAME  Change the current aircraft Display Of Interest system name (TSD, RADAR..) (<param1:gaugeName>,<param2:systemName>)  const string &  const string &    Default  Default 
ACTION_SET_HIGH_PRIORITY_TARGET  Set new system High priority target  const int      Entity Identifier  Entity ID 
ACTION_SET_HUD_DISPLAYED_AIRSPEED_ATTRIBUTE  Sets the attribute name of the displayed airspeed on the HUD  const string &      Default  Default 
ACTION_SET_IS_WEAPON_SLAVE_TO_BORE  Set current weapon slaving to SLAVE or BORE mode  const bool      Default  Default 
ACTION_SET_PRIMARY_PAGE_NAME  Set the Primary (selected) page of an MFD to the requested page (display names)  const string &  const string &    Default  Default 
ACTION_SET_SECOND_PRIORITY_TARGET  Set new system second priority target  const int      Entity Identifier  Entity ID 
ACTION_SET_SECONDARY_PAGE_NAME  Set the Secondary (not selected) page of an MFD to the requested page (display names)  const string &  const string &    Default  Default 
ACTION_SET_SHPT_TARGET_SOURCE_NAME_FIRST_LETTER  Set the range source displayed letter  const string &      Default  Default 
ACTION_SET_SPI  Set SPI position  const string &  const LinearVec &    Coordinate System  Local 
ACTION_SOI_WAS_UNLOCKED  Remove SOI source name  const string &      Default  Default 
ACTION_TOGGLE_HUD_DISPLAYED_AIRSPEED_ATTRIBUTE  Toggle the airspeed type displayed on the HUD        Default  Default 
ACTION_UNLOCK_SOI  Unlock SOI  const string &      Default  Default 
CHANGE_AIRCRAFT_MODE_TO_AA  Change mode to AA mode.  const int  const int    Default  Default 
CHANGE_AIRCRAFT_MODE_TO_AG  Change mode to AG mode  const int  const int    Default  Default 
CHANGE_AIRCRAFT_MODE_TO_DGFT  Change mode to DGFT mode  const int  const int    Default  Default 
CHANGE_AIRCRAFT_MODE_TO_NAV  Change mode to NAV mode  const int  const int    Default  Default 
CURSOR_ZERO  Return SPI to last waypoint  const int  const int    Default  Default 
INPUT_TOGGLE_DED_DISPLAY_ON_HUD  Toggle the DED display on the hud  const int  const int    Default  Default 
MFD_SWAP  Swap mfd pages  const int  const int    Default  Default 
SELECT_DOWN_DOI  Select DOI-Down  const int  const int    Default  Default 
SELECT_LEFT_DOI  Select DOI-Left  const int  const int    Default  Default 
SELECT_RIGHT_DOI  Select DOI-Right  const int  const int    Default  Default 
SELECT_UP_DOI  Select DOI-Up  const int  const int    Default  Default 
TOGGLE_HUD_AIRSPEED_DISPLAY  Toggle airspeed on the HUD  const int  const int    Default  Default 
TOGGLE_MISSILE_SLAVE_BORE  Toggle between weapon SLAVE to BORE mode  const int  const int    Default  Default 

back to top

Icon attributes.png Required Attributes

Name
ATT_CURRENT_WAYPOINT 
ATT_GROUND_VELOCITY 
ATT_INDICATED_AIRSPEED 
ATT_SMS_STATUS 
ATT_TRUE_AIRSPEED 

back to top

Icon actions.png Required Actions

Name
ACTION_AG_MODES_SET_AG_SUBMODE 

back to top