mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-03-28 07:38:38 +01:00
Add Abbr directory
This commit is contained in:
parent
b73da7c2f7
commit
cd34307547
31
Data/Abbr/Aviation.csv
Normal file
31
Data/Abbr/Aviation.csv
Normal file
@ -0,0 +1,31 @@
|
||||
Abbr,Description
|
||||
AB,Air Base
|
||||
AC,Aircraft
|
||||
ACAS,Airborne Collision Avoidance System
|
||||
AF,Air Field
|
||||
AFM,Aircraft Flight Manual
|
||||
AIP,Aeronautical Information Publication
|
||||
AMAN,Arrival Manager
|
||||
AOA,Angle of Attack
|
||||
AOM,Airplane Operating Manual
|
||||
AOR,Area of Responsibility
|
||||
AFIS,Aerodrome Flight Information Service
|
||||
AFM,Airplane Flight Manual
|
||||
AGL,Above Ground Level
|
||||
AIP,Aeronautical Information Publication
|
||||
ANSP,Air Navigation Service Provider
|
||||
ATA,Actual Time of Arrival
|
||||
ATIS,Automatic Terminal Information Service
|
||||
ATO,Air Traffic Organization
|
||||
BAF,Belgian Air Force
|
||||
CAAC,Civil Aviation Administration of China
|
||||
CAAS,Civil Aviation Authorization of Singapore
|
||||
CANSO,Civil Air Navigation Services Organization (founded 1996, located in Amsterdam)
|
||||
CAS,Calibrated Airspeed
|
||||
CAT,Category of aircraft
|
||||
CAVOK,Ceiling And Visibility OK
|
||||
COG,Center of Gravity
|
||||
CRDA,Converging Runway Display Aid
|
||||
CTA,Controlled Time of Arrival
|
||||
CTOT,Calculated Take-Off Time
|
||||
IAS,Indicated Air Speed
|
Can't render this file because it has a wrong number of fields in line 23.
|
5843
Data/Abbr/Misc.csv
Normal file
5843
Data/Abbr/Misc.csv
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,31 +0,0 @@
|
||||
Abbr,Context,Description
|
||||
AB,aviation,Air Base
|
||||
AC,aviation,Aircraft
|
||||
ACAS,aviation,Airborne Collision Avoidance System
|
||||
AF,aviation,Air Field
|
||||
AFM,aviation,Aircraft Flight Manual
|
||||
AIP,aviation,Aeronautical Information Publication
|
||||
AMAN,aviation,Arrival Manager
|
||||
AOA,aviation,Angle of Attack
|
||||
AOM,aviation,Airplane Operating Manual
|
||||
AOR,aviation,Area of Responsibility
|
||||
AFIS,aviation,Aerodrome Flight Information Service
|
||||
AFM,aviation,Airplane Flight Manual
|
||||
AGL,aviation,Above Ground Level
|
||||
AIP,aviation,Aeronautical Information Publication
|
||||
ANSP,aviation,Air Navigation Service Provider
|
||||
ATA,aviation,Actual Time of Arrival
|
||||
ATIS,aviation,Automatic Terminal Information Service
|
||||
ATO,aviation,Air Traffic Organization
|
||||
BAF,aviation,Belgian Air Force
|
||||
CAAC,aviation,Civil Aviation Administration of China
|
||||
CAAS,aviation,Civil Aviation Authorization of Singapore
|
||||
CANSO,aviation,Civil Air Navigation Services Organization (founded 1996, located in Amsterdam)
|
||||
CAS,aviation,Calibrated Airspeed
|
||||
CAT,aviation,Category of aircraft
|
||||
CAVOK,aviation,Ceiling And Visibility OK
|
||||
COG,aviation,Center of Gravity
|
||||
CRDA,aviation,Converging Runway Display Aid
|
||||
CTA,aviation,Controlled Time of Arrival
|
||||
CTOT,aviation,Calculated Take-Off Time
|
||||
IAS,aviation,Indicated Air Speed
|
Can't render this file because it has a wrong number of fields in line 23.
|
@ -9,13 +9,21 @@ param($Abbreviation = "")
|
||||
if ($Abbreviation -eq "" ) { $Abbreviation = read-host "Enter the abbreviation" }
|
||||
|
||||
try {
|
||||
write-progress "Reading what-is.csv..."
|
||||
$Table = import-csv "$PSScriptRoot/../Data/what-is.csv"
|
||||
|
||||
write-progress "Searching ..."
|
||||
$FoundOne = 0
|
||||
|
||||
$Table = import-csv "$PSScriptRoot/../Data/Abbr/Aviation.csv"
|
||||
foreach($Row in $Table) {
|
||||
if ($Row.Abbr -eq $Abbreviation) {
|
||||
"$($Row.Context): $($Row.Description)"
|
||||
"Aviation: $($Row.Description)"
|
||||
$FoundOne = 1
|
||||
}
|
||||
}
|
||||
|
||||
$Table = import-csv "$PSScriptRoot/../Data/Abbr/Misc.csv"
|
||||
foreach($Row in $Table) {
|
||||
if ($Row.Abbr -eq $Abbreviation) {
|
||||
"Misc: $($Row.Description)"
|
||||
$FoundOne = 1
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user