SMG AirportData

From SIMboxWiki
Jump to navigation Jump to search

The SMG_AirportData logic component handles the data for the airport and runways.

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


back to top

Icon properties.png Properties

NameDescriptionMaxValueMinValueDisplayNameUnitTypeUnitName
ATT_TC_IS_TO_DRAW_PATH  Is to draw path?    Default  Default 
PROP_AIRPORT_XML_PATH  Path to airport xml    File System  File 
PROP_CREATE_LINE_REPORT_DEBUG_ENTITIES  Is to create line reports debug entities?    Default  Default 
PROP_DIRECT_LANDING_REPORT_AREA_ASPECT  The absulote aspect which defines the landing report area  180    Default  Default 
PROP_DIRECT_LANDING_REPORT_AREA_DISTANCE  The distance[meter] from the landing zebra that defines the landing report area.  100000    Default  Default 
PROP_IS_AIRPORT  Specifies that this is an airport    Default  Default 
PROP_IS_TO_ADD_LINE_REPORT_AT_REPORT_POSITION  Is to add line report at report position?    Default  Default 
PROP_LINEUP_LATERAL_SPACE  Holds the lateral space between lineup point in case of formation lineup  1000    Default  Default 
PROP_LINEUP_LONGITUDINAL_SPACE  Holds the longitudinal space between lineup point in case of formation lineup  1000    Default  Default 

back to top

Icon attributes.png Attributes

NameDescriptionParam1Param2DisplayNameUnitTypeUnitName
ATT_AIRPORT_CALL_SIGN  The airport call sign  string &      Default  Default 
ATT_AIRPORT_IDENT  Unique 4 letters that represent the airport identity.  string &      Default  Default 
ATT_AIRPORT_LAT  The airport latitude  double &      Angle  Degree 
ATT_AIRPORT_LON  The airport longitude  double &      Angle  Degree 
ATT_AIRPORT_NAME  The name of the airport  string &      Default  Default 
ATT_AIRPORT_X  The x position of the airport (local)  float &      Default  Default 
ATT_AIRPORT_XML  Airport xml  string &      Default  Default 
ATT_AIRPORT_Y  The y position of the airport (local)  float &      Default  Default 
ATT_APPROACH_HEADING  Approach heading (retrieve by approach name)  const string &  double &    Default  Default 
ATT_APPROACH_MAX_ALT  The approach max altitude(retrieve by approach name)  const string &  double &    Length  Feet 
ATT_APPROACH_MAX_DISTANCE  The approach max distance(retrieve by approach name)  const string &  double &    Length  Meter 
ATT_APPROACH_MIN_ALT  The approach min altitude (retrieve by approach name)  const string &  double &    Length  Feet 
ATT_APPROACH_MIN_DISTANCE  The approach min distance (retrieve by approach name)  const string &  double &    Length  Meter 
ATT_APPROACH_STANDARD_ALT  The approach standard altitude (retrieve by approach name)  const string &  double &    Length  Feet 
ATT_APPROACH_STANDARD_DISTANCE  The approach standard distance (retrieve by approach name)  const string &  double &    Length  Meter 
ATT_APPROACH_TYPE  The approach type (retrieve by approach name)  const string &  string &    Default  Default 
ATT_APPROACH_X  The x part of approach point  float &      Default  Default 
ATT_APPROACH_Y  The y part of approach point  float &      Default  Default 
ATT_CABLE_TO_SUBPART  Indicates which subpart belong to cable  const string &  string &    Default  Default 
ATT_COM_FREQUENCY  The com frequency (retrieve by com name)  const string &  double &    Default  Default 
ATT_DEFAULT_LANDING_RUNWAY  Default runway for landing  string &      Default  Default 
ATT_DIRECT_LANDING_REPORT_AREA_ASPECT  The absulote aspect which defines the landing report area  float &      Default  Default 
ATT_DIRECT_LANDING_REPORT_AREA_DISTANCE  The distance[meter] from the landing zebra that defines the landing report area.  float &      Length  Meter 
ATT_IS_AIRPORT  Indicates if this object is an airport  bool &      Default  Default 
ATT_LIST_OF_APPROACH_NAMES  List of all approach that in APPROACH_... array  string &      Default  Default 
ATT_LIST_OF_COM_NAMES  List of all coms that in ATT_COM_FREQUENCY array  string &      Default  Default 
ATT_NET_NUMBER_TO_NET_ENTITY_ID  Indicates which net entity id belong to net number (the net number is taken from the xml)  const int  int &    Default  Default 
ATT_NET_STATE_BY_NET_ID  Indicates the state of each net - (1-On, 0-Off)  const int  int &    Default  Default 
ATT_NET_TO_SUBPART  Indicates which subpart belong to net  const int  string &    Default  Default 
ATT_NUMBER_OF_NETS  Holds the number of nets that on the airport.  int &      Default  Default 
ATT_NUMBER_OF_RUNWAYS  The holds the number of runways  int &      Default  Default 
ATT_RUNWAY_BEGIN_LAT  The runway begin latitude  const int  double &    Angle  Degree 
ATT_RUNWAY_BEGIN_LON  The runway begin longitude  const int  double &    Angle  Degree 
ATT_RUNWAY_BEGIN_SUBPART  The runway begin subpart  const int  string &    Default  Default 
ATT_RUNWAY_END_LAT  The runway begin latitude  const int  double &    Angle  Degree 
ATT_RUNWAY_END_LON  The runway end longitude  const int  double &    Angle  Degree 
ATT_RUNWAY_END_SUBPART  The runway end subpart  const int  string &    Default  Default 
ATT_RUNWAY_HEADING  The runway heading  const int  float &    Default  Default 
ATT_RUNWAY_IS_LEFT_PATTERN  Is left pattern?  const int  bool &    Default  Default 
ATT_RUNWAY_LENGTH  The runway length  const int  double &    Length  Meter 
ATT_RUNWAY_NAME  The runway name  const int  string &    Default  Default 
ATT_RUNWAY_TO_CABLE  Indicates which cable belong to runway  const string &  string &    Default  Default 
ATT_RUNWAY_TO_NET  Indicates which net belong to runway  const string &  string &    Default  Default 
ATT_RUNWAY_UTILITY_CABLE_03_DESCRIPTION  utility: cable 0.3 description  const int  string &    Default  Default 
ATT_RUNWAY_UTILITY_CABLE_03_LAT  utility: cable 0.3 lat  const int  double &    Angle  Degree 
ATT_RUNWAY_UTILITY_CABLE_03_LON  utility: cable 0.3 longitude  const int  double &    Angle  Degree 
ATT_RUNWAY_UTILITY_CABLE_03_SUBPART  utility: cable 0.3 subpart  const int  string &    Default  Default 
ATT_RUNWAY_UTILITY_CABLE_05_DESCRIPTION  utility: cable 0.5 description   const int  string &    Default  Default 
ATT_RUNWAY_UTILITY_CABLE_05_LAT  utility: cable 0.5 lat  const int  double &    Angle  Degree 
ATT_RUNWAY_UTILITY_CABLE_05_LON  utility: cable 0.5 longitude  const int  double &    Angle  Degree 
ATT_RUNWAY_UTILITY_CABLE_05_SUBPART  utility: cable 0.5 subpart  const int  string &    Default  Default 
ATT_RUNWAY_UTILITY_CABLE_06_DESCRIPTION  utility: cable 0.6 description  const int  string &    Default  Default 
ATT_RUNWAY_UTILITY_CABLE_06_LAT  utility: cable 0.6 latitude  const int  double &    Angle  Degree 
ATT_RUNWAY_UTILITY_CABLE_06_LON  utility: cable 0.6 longitude  const int  double &    Angle  Degree 
ATT_RUNWAY_UTILITY_CABLE_06_SUBPART  utility: cable 0.6 subpart  const int  string &    Default  Default 
ATT_RUNWAY_UTILITY_CABLE_END_DESCRIPTION  utility: cable end description  const int  string &    Default  Default 
ATT_RUNWAY_UTILITY_CABLE_END_LAT  utility: cable end latitude  const int  double &    Angle  Degree 
ATT_RUNWAY_UTILITY_CABLE_END_LON  utility: cable end longitude  const int  double &    Angle  Degree 
ATT_RUNWAY_UTILITY_CABLE_END_SUBPART  utility: cable end subpart  const int  string &    Default  Default 
ATT_RUNWAY_UTILITY_CABLE_START_DESCRIPTION  utility: cable start description  const int  string &    Default  Default 
ATT_RUNWAY_UTILITY_CABLE_START_LAT  utility: cable start latitude  const int  double &    Angle  Degree 
ATT_RUNWAY_UTILITY_CABLE_START_LON  utility: cable start longitude  const int  double &    Angle  Degree 
ATT_RUNWAY_UTILITY_CABLE_START_SUBPART  utility: cable start subpart  const int  string &    Default  Default 
ATT_RUNWAY_UTILITY_NET_DESCRIPTION  utility: net description  const int  string &    Default  Default 
ATT_RUNWAY_UTILITY_NET_LAT  utility: net latitude  const int  double &    Angle  Degree 
ATT_RUNWAY_UTILITY_NET_LON  utility: net longitude  const int  double &    Angle  Degree 
ATT_RUNWAY_UTILITY_NET_SUBPART  utility: net subpart  const int  string &    Default  Default 
ATT_RUNWAY_WIDTH  The runway width  const int  double &    Length  Meter 
ATT_TC_AIRPORT_APPROACH_FREQUENCY  The approach frequency  float &      Default  Default 
ATT_TC_AIRPORT_CIRCUIT_FREQUENCY  The circuit frequency  float &      Default  Default 
ATT_TC_AIRPORT_TAXI_FREQUENCY  The taxi frequency  float &      Default  Default 
ATT_TC_CURRENT_DRAWN_PATH_NAME  Name of the current drawn TC path  string &      Default  Default 
ATT_TC_IDENT_CODE  Code name of the TC  string &      Default  Default 
ATT_TC_NAME  Name of the TC  string &      Default  Default 
ATT_TC_RADIO_APPROACH_FREQ  TC Approach frequency  float &      Default  Default 
ATT_TC_RADIO_CLEARANCE_FREQ  TC CLEARANCE frequency  float &      Default  Default 
ATT_TC_RADIO_DEPARTURE_FREQ  TC DEPARTURE frequency  float &      Default  Default 
ATT_TC_RADIO_GROUND_FREQ  TC GROUND frequency  float &      Default  Default 
ATT_TC_RADIO_TOWER_FREQ  TC TOWER frequency  float &      Default  Default 
ATT_TRAFDIC_LIGHT_GROUP_NUMBER_TO_TRAFFIC_LIGHT_ENTITIES_ID  Holds all the traffic light entities ids that belongs to a specific group  const int  string &    Default  Default 
ATT_TRAFFIC_LIGHT_GROUP_STATE_BY_GROUP_ID  Get traffic light group state by group id  const int  int &    Default  Default 

back to top

Icon actions.png Actions

NameDescriptionParam1Param2DisplayNameUnitTypeUnitName
ACTION_SET_NET_STATE_BY_NET_ID  Set net state: 1 - on, 0 - off  const int  const int    Default  Default 
ACTION_SET_TRAFFIC_LIGHT_GROUP_STATE_BY_GROUP_ID  Set traffic light group state by group id  const int  const int    Default  Default 
ACTION_SMG_TC_DRAW_NEXT_PATH  Draw the next path        Default  Default 

back to top

Icon attributes.png Required Attributes

Name
ATT_RUNWAY_UTILITY_ 
ATT_TC_IS_TO_DRAW_PATH 

back to top

Icon actions.png Required Actions

Name
ACTION_SET_CABLE_STRETCH_DIRECTION 
ACTION_SET_NET_NUMBER 
ACTION_SET_TRAFFIC_LIGHT_GROUP_NUMBER 
ACTION_UPDATE_LOCATION 

back to top,