FSUIPC Client DLL
.NET interface for FSUIPC
FsGate Class Reference

A class holding all the information about an airport gate More...

Inherits IDataStoreObject.

Public Member Functions

override string ToString ()
 Gets a string representation of this gate. Includes ID and Type. More...
 
void MoveAircraftHere (bool LeavePaused)
 Moves the player's aircraft to this gate More...
 
 FsGate ()
 Creates a new instance of FsGate More...
 

Properties

string ICAO [get, set]
 The ICAO Code of the airport this belongs to More...
 
string ID [get, set]
 The ID of the Gate More...
 
string Name [get, set]
 The Name of the gate as specified in the BGL file More...
 
string Number [get, set]
 The number of the gate as specified in the BGL file More...
 
FsAirport Airport [get, set]
 The FsAirport object that this gate belongs to More...
 
double RadiusFeet [get]
 The radius of the gate area in Feet More...
 
double RadiusMetres [get, set]
 The radius of the gate area in Metres More...
 
FsLatLonPoint Location [get, set]
 The latitude and longitude of the centre of the gate area More...
 
double HeadingMagnetic [get]
 The MAGNETIC heading of the gate (the direction the aircraft is facing when parked at the gate). More...
 
double HeadingTrue [get, set]
 The TRUE heading of the gate (the direction the aircraft is facing when parked at the gate). More...
 
FsGateType Type [get, set]
 The type of gate More...
 
FsLatLonCircle Bounds [get]
 A FsLatLonCircle representing the area covered by this gate More...
 
double DistanceNauticalMiles [get]
 The distance to this gate's centre point in Nautical Miles. More...
 
double DistanceFeet [get]
 The distance to this gate's centre point in Feet. More...
 
double DistanceMetres [get, set]
 The distance to this gate's centre point in Metres. More...
 
double BearingToTrue [get, set]
 The bearing in degrees TRUE to this gate's centre point. More...
 
double BearingToMagnetic [get, set]
 The bearing in degrees MAGNETIC to this gate's centre point. More...
 
bool IsPlayerAtGate [get, set]
 True if the player's aircraft is currently in the gate area. More...
 
bool IsAIPlaneAtGate [get, set]
 True if there is an AI Traffic Plane currently parked at this gate. Use AIPlaneAssigned to get the AIPlaneInfo. More...
 
AIPlaneInfo AIPlaneAssigned [get, set]
 The AIPlaneInfo of the AI Traffic Plane that is currently assigned to, or at this gate. If no AI Traffic is assigned to, or at this gate then it will be null (Nothing in VB). Check IsAIPlaneAtGate to see if the plane is currently at the gate or not. More...
 
List< string > Airlines = new List<string>() [get, set]
 A list of Airlines that use this gate. More...
 
FsTaxiwayIntersectionCollection< FsTaxiwayTaxiwayIntersections [get, set]
 Returns a list of taxiways at this airport that intersect with this gate. More...
 

Detailed Description

A class holding all the information about an airport gate

Constructor & Destructor Documentation

◆ FsGate()

FsGate ( )
inline

Creates a new instance of FsGate

Member Function Documentation

◆ MoveAircraftHere()

void MoveAircraftHere ( bool  LeavePaused)
inline

Moves the player's aircraft to this gate

Parameters
LeavePausedSet to True to leave the FlightSim paused after moving the aircraft.

◆ ToString()

override string ToString ( )
inline

Gets a string representation of this gate. Includes ID and Type.

Returns

Property Documentation

◆ AIPlaneAssigned

AIPlaneInfo AIPlaneAssigned
getset

The AIPlaneInfo of the AI Traffic Plane that is currently assigned to, or at this gate. If no AI Traffic is assigned to, or at this gate then it will be null (Nothing in VB). Check IsAIPlaneAtGate to see if the plane is currently at the gate or not.

NOTE: This is only filled in if the AITraffic information has been refreshed.

◆ Airlines

List<string> Airlines = new List<string>()
getset

A list of Airlines that use this gate.

◆ Airport

FsAirport Airport
getset

The FsAirport object that this gate belongs to

◆ BearingToMagnetic

double BearingToMagnetic
getset

The bearing in degrees MAGNETIC to this gate's centre point.

NOTE: this is only filled in if a reference position has been set

◆ BearingToTrue

double BearingToTrue
getset

The bearing in degrees TRUE to this gate's centre point.

NOTE: this is only filled in if a reference position has been set

◆ Bounds

FsLatLonCircle Bounds
get

A FsLatLonCircle representing the area covered by this gate

◆ DistanceFeet

double DistanceFeet
get

The distance to this gate's centre point in Feet.

NOTE: this is only filled in if a reference position has been set

◆ DistanceMetres

double DistanceMetres
getset

The distance to this gate's centre point in Metres.

NOTE: this is only filled in if a reference position has been set

◆ DistanceNauticalMiles

double DistanceNauticalMiles
get

The distance to this gate's centre point in Nautical Miles.

NOTE: this is only filled in if a reference position has been set

◆ HeadingMagnetic

double HeadingMagnetic
get

The MAGNETIC heading of the gate (the direction the aircraft is facing when parked at the gate).

◆ HeadingTrue

double HeadingTrue
getset

The TRUE heading of the gate (the direction the aircraft is facing when parked at the gate).

◆ ICAO

string ICAO
getset

The ICAO Code of the airport this belongs to

◆ ID

string ID
getset

The ID of the Gate

◆ IsAIPlaneAtGate

bool IsAIPlaneAtGate
getset

True if there is an AI Traffic Plane currently parked at this gate. Use AIPlaneAssigned to get the AIPlaneInfo.

◆ IsPlayerAtGate

bool IsPlayerAtGate
getset

True if the player's aircraft is currently in the gate area.

NOTE: this is only filled in if the reference position has been set to the current player position

◆ Location

FsLatLonPoint Location
getset

The latitude and longitude of the centre of the gate area

◆ Name

string Name
getset

The Name of the gate as specified in the BGL file

◆ Number

string Number
getset

The number of the gate as specified in the BGL file

◆ RadiusFeet

double RadiusFeet
get

The radius of the gate area in Feet

◆ RadiusMetres

double RadiusMetres
getset

The radius of the gate area in Metres

◆ TaxiwayIntersections

FsTaxiwayIntersectionCollection<FsTaxiway> TaxiwayIntersections
getset

Returns a list of taxiways at this airport that intersect with this gate.

Only populated after calling CalculateTaxiwayIntersection() method on the FsAriport object

◆ Type

FsGateType Type
getset

The type of gate