A class that provides information about the AI aircraft in Flight Simulator. This reads the TCAS tables from FSUIPC and presents the information in a .NET friendly collection of AIPlaneInfo classes.
More...
|
AIPlaneInfo | GetPlaneInfoByID (int ID) |
| Retrieves a specific AIPlaneInfo object with the specified ID.
|
|
void | UpdateExtendedPlaneIndentifiers (bool TailNumber, bool AirlineAndFlightNumber, bool AircraftTypeAndModel, bool AircraftTitle) |
|
void | RefreshAITrafficInformation () |
| Refreshes the information for ground and air AI traffic.
|
|
void | RefreshAITrafficInformation (FsAirportCollection Airports, AirportComponents Components) |
| Refreshes the information for ground and air AI traffic.
|
|
void | RefreshAITrafficInformation (FsAirport Airport, AirportComponents Components) |
| Refreshes the information for ground and air AI traffic.
|
|
void | RefreshAITrafficInformation (bool UpdateGroundTraffic, bool UpdateAirborneTraffic) |
| Refreshes the information for ground and air AI traffic as specified.
|
|
void | RefreshAITrafficInformation (bool UpdateGroundTraffic, bool UpdateAirborneTraffic, FsAirport Airport, AirportComponents Components) |
| Refreshes the information for ground and air AI traffic as specified.
|
|
void | RefreshAITrafficInformation (bool UpdateGroundTraffic, bool UpdateAirborneTraffic, FsAirportCollection Airports, AirportComponents Components) |
| Refreshes the information for ground and air AI traffic as specified.
|
|
void | ApplyFilter (bool ApplyToGroundTraffic, bool ApplyToAirborneTraffic, double StartBearing, double EndBearing, double? MinAltitude, double? MaxAltitude, double? WithinDistance) |
| Applies a filter to the ground and/or airborne traffic lists. All traffic falling outside of the specified criteria is deleted from the traffic lists.
|
|
List< FsRunwayID > | GetArrivalRunwaysInUse (string AirportICAOCode) |
|
Dictionary< string, List< FsRunwayID > > | GetArrivalRunwaysInUse () |
|
List< FsRunwayID > | GetDepartureRunwaysInUse (string AirportICAOCode) |
|
Dictionary< string, List< FsRunwayID > > | GetDepartureRunwaysInUse () |
|
void | OverrideAirborneTrafficINISettings (ATCIdentifier? ATCId, byte? RangeInNM) |
|
void | OverrideGroundTrafficINISettings (ATCIdentifier? ATCId, bool? PreferActive, byte? RangeInAirInNM, byte? RangeOnGroundInNM) |
|
void | AddTCASTarget (int ID, string ATCIdentifier, AITrafficStatus State, FsLatitude Latitude, FsLongitude Longitude, double AltitudeFeet, double HeadingDegreesTrue, short GroundSpeedKnots, short VerticalSpeedFeet, short Com1) |
| Adds a TCAS Target to the internal FSUIPC AI Traffic Tables. This does not add AI planes to Flight Sim. Add as many targets as you like and send them to FSUIPC with SendTCASTargets(). To erase an aircraft provide the specific id for that entry, and set the ATCIdentifier parameter to a zero-length string. In any case, FSUIPC will automatically erase any externally supplied aircraft after about 8–12 seconds if it receives no further updates in that time. Even if the aircraft is static you'll need to supply updates for it regularly. For FSX this feature REQUIRES FSUIPC4 version 4.536 or above.
|
|
void | SendTCASTargets () |
| Sends the TCAS targets added with AddTCASTarget() to FSUIPC. For FSX this feature REQUIRES FSUIPC4 version 4.536 or above.
|
|
A class that provides information about the AI aircraft in Flight Simulator. This reads the TCAS tables from FSUIPC and presents the information in a .NET friendly collection of AIPlaneInfo classes.
This class cannot be instantiated, you must obtain a reference to the active instance via the property on the FSUIPCConnection class.
Dictionary< string, List< FsRunwayID > > GetArrivalRunwaysInUse |
( |
| ) |
|
|
inline |
Gets a list of the runways in use for arriving aircraft for the given airport code.
Note that this information is derived from the AI traffic information and is therefore only as current as the last RefreshAITrfficInformation() call. Airports will only show active runways if they have AI planes currently assigned to a runway . This information is not harmed by filtering the AI traffic.
Note also that this is NOT using the FSUIPC facilities at D000. FSUIPC takes ages to give this information back whereas this DLL can return it instantly.
- Returns
- A dictionary of Lists of FSRunway objects representing the runways in use. The key is the ICAO code of the airport.
List< FsRunwayID > GetArrivalRunwaysInUse |
( |
string | AirportICAOCode | ) |
|
|
inline |
Gets a list of the runways in use for arriving aircraft for the given airport code.
Note that this information is derived from the AI traffic information and is therefore only as current as the last RefreshAITrfficInformation() call. Airports will only show active runways if they have AI planes currently assigned to a runway . This information is not harmed by filtering the AI traffic.
Note also that this is NOT using the FSUIPC facilities at D000. FSUIPC takes ages to give this information back whereas this DLL can return it instantly.
- Parameters
-
AirportICAOCode | The ICAO code for the airport you want active arrival runways for. |
- Returns
- A List of FSRunway objects representing the runways in use.
Dictionary< string, List< FsRunwayID > > GetDepartureRunwaysInUse |
( |
| ) |
|
|
inline |
Gets a list of the runways in use for departing aircraft for the given airport code.
Note that this information is derived from the AI traffic information and is therefore only as current as the last RefreshAITrfficInformation() call. Airports will only show active runways if they have AI planes currently assigned to a runway. This information is not harmed by filtering the AI traffic.
Note also that this is NOT using the FSUIPC facilities at D000. FSUIPC takes ages to give this information back whereas this DLL can return it instantly.
- Returns
- A dictionary of Lists of FSRunway objects representing the runways in use. The key is the ICAO code of the airport.
List< FsRunwayID > GetDepartureRunwaysInUse |
( |
string | AirportICAOCode | ) |
|
|
inline |
Gets a list of the runways in use for departing aircraft for the given airport code.
Note that this information is derived from the AI traffic information and is therefore only as current as the last RefreshAITrfficInformation() call. Airports will only show active runways if they have AI planes currently assigned to a runway. This information is not harmed by filtering the AI traffic.
Note also that this is NOT using the FSUIPC facilities at D000. FSUIPC takes ages to give this information back whereas this DLL can return it instantly.
- Parameters
-
AirportICAOCode | The ICAO code for the airport you want active arrival runways for. |
- Returns
- A List of FSRunway objects representing the runways in use.
void UpdateExtendedPlaneIndentifiers |
( |
bool | TailNumber, |
|
|
bool | AirlineAndFlightNumber, |
|
|
bool | AircraftTypeAndModel, |
|
|
bool | AircraftTitle ) |
|
inline |
Tells the AITrafficServices to retrieve the specified extended plane identifier properties for all planes when updating the AI Traffic Information.
Getting this data from FSUIPC is very inefficient. Setting these option could cause long delays when calling RefreshAITrafficInformation() for the first time (possibly over 1 second per plane over WideFS)
However, subsequent calls will be very fast as this information is only ever retrieved once per plane. Only new AI traffic entering the system will cause a very slight delay.
The more extended information you request the longer any delays will be.
See also: AITrafficServices.OverrideAirborneTrafficINISettings() and OverrideGroundTrafficINISettings()
- Parameters
-
TailNumber | Set to true to update the TailNumber property for all planes |
AirlineAndFlightNumber | Set to true to update the Airline and FlightNumber properties for all planes |
AircraftTypeAndModel | Set to true to update the AircraftType and AircraftModel properties for all planes |
AircraftTitle | Set to true to update the AircraftTitle property for all planes |