SIMCONNECT_JETWAY_DATA

The SIMCONNECT_JETWAY_DATA structure is used to return information on a single jetway.

 

Syntax
struct SIMCONNECT_JETWAY_DATA : public SIMCONNECT_RECV
{
    char AirportIcao[8];
    int ParkingIndex;
    SIMCONNECT_DATA_LATLONALT Lla;
    SIMCONNECT_DATA_PBH Pbh;
    int Status;
    int Door;
    SIMCONNECT_DATA_XYZ ExitDoorRelativePos;    // 
    SIMCONNECT_DATA_XYZ MainHandlePos;          // 
    SIMCONNECT_DATA_XYZ SecondaryHandle;        // 
    SIMCONNECT_DATA_XYZ WheelGroundLock;        // 
    DWORD JetwayObjectId;                       // 
    DWORD AttachedObjectId;                     // 
}

 

Members
Member Description
AirportIcao ICAO code of the airport (will be the same as the one you used to make the request).
ParkingIndex Index of the parking space linked to this jetway (will be the same as the one you used to make the request).
Lla Lattitude / Longitude / Altitude of the jetway, returned as a SIMCONNECT_DATA_LATLONALT struct.
Pbh Pitch / Bank / Heading of the jetway, returned as a SIMCONNECT_DATA_PBH struct.
Status

The status of the jetway, which will be one of the following:

  1.    0: JETWAY_STATUS_REST
  2.     1: JETWAY_STATUS_APPROACH_OUTSIDE
  3.     2: JETWAY_STATUS_APPROACH_DOOR
  4.     3: JETWAY_STATUS_HOOD_CONNECT
  5.     4: JETWAY_STATUS_HOOD_DISCONNECT
  6.     5: JETWAY_STATUS_RETRACT_OUTSIDE 
  7.     6: JETWAY_STATUS_RETRACT_HOME
  8.     7: JETWAY_STATUS_FULLY_ATTACHED
Door The index of the door attached to the jetway.
ExitDoorRelativePos Door position relative to aircraft, returned as a SIMCONNECT_DATA_XYZ struct.
MainHandlePos Relative position of IK_MainHandle (world pos, in meters), returned as a SIMCONNECT_DATA_XYZ struct.
SecondaryHandle Relative position of IK_SecondaryHandle (world pos, in meters), returned as a SIMCONNECT_DATA_XYZ struct.
WheelGroundLock Relative position of IK_WheelsGroundLock (world pos, in meters), returned as a SIMCONNECT_DATA_XYZ struct
JetwayObjectId ObjectId of the jetway (used by SimConnect_RequestDataOnSimObject for example)
AttachedObjectId ObjectId of the object (aircraft) attached to the jetway (used by SimConnect_RequestDataOnSimObject for example)

 

Remarks

This structure is returned as one element in the SIMCONNECT_RECV_JETWAY_DATA structure.

 

 

See Also