A class that reads the files produced by Pete Dowson's MakeRunways.exe and provides your application with a database of airports with runway, helipad, gate and taxiway information.
More...
|
void | CheckStatus () |
| Forces the Airports Database to check MakeRunways paths and its own database.
|
|
void | Load () |
| Loads the basic airport information into the Airports collection.
|
|
void | Clear () |
| Clears all the airports from the database. Use to free up memory if your application no longer needs the database.
|
|
async Task | RebuildDatabaseAsync () |
| Rebuilds the internal database by reading the data from the text files generated by Pete Dowson's MakeRunways program. (See www.fsuipc.com)
|
|
async Task | RebuildDatabaseAsync (IProgress< string > ProgressReport) |
| Rebuilds the internal database by reading the data from the text files generated by Pete Dowson's MakeRunways program. (See www.fsuipc.com)
|
|
|
bool | MakeRunwaysFilesExist [get] |
| True if the MakeRunways output files have been found in the current MakeRunways folder.
|
|
bool | DatabaseFilesExist [get] |
| True if the internal database files have been found.
|
|
bool | DatabaseUpToDate [get] |
| True if the internal database contains the latest information from the MakeRunways output files.
|
|
bool | IsLoaded [get] |
| True if the internal database has been loaded and is ready to use.
|
|
string | MakeRunwaysFolder [get, set] |
| Sets/Gets the path of the folder containing the text files generated by MakeRunways.exe.
|
|
string | DatabaseFolder [get, set] |
| Gets the path containing the internal database files.
|
|
FsAirportCollection | Airports [get] |
| A strongly-types list of FsAirport objects. This list can be queried with LINQ.
|
|
A class that reads the files produced by Pete Dowson's MakeRunways.exe and provides your application with a database of airports with runway, helipad, gate and taxiway information.
◆ RebuildDatabaseAsync() [1/2]
async Task RebuildDatabaseAsync |
( |
| ) |
|
|
inline |
Rebuilds the internal database by reading the data from the text files generated by Pete Dowson's MakeRunways program. (See www.fsuipc.com)
- Returns
◆ RebuildDatabaseAsync() [2/2]
async Task RebuildDatabaseAsync |
( |
IProgress< string > | ProgressReport | ) |
|
|
inline |
Rebuilds the internal database by reading the data from the text files generated by Pete Dowson's MakeRunways program. (See www.fsuipc.com)
- Parameters
-
ProgressReport | An instance of Progress<string> to receive messages about the progress of the rebuild |
◆ DatabaseFolder
Gets the path containing the internal database files.
By default this set to a subfolder in the local machine's localappdata% path. If you have a specific path you want to use then set this property
◆ MakeRunwaysFolder
Sets/Gets the path of the folder containing the text files generated by MakeRunways.exe.
By default this is the flight sim folder provided by FSUIPC if the connection is open. Set the property to use a different folder