Skip to content

Commit

Permalink
Logging + add planes
Browse files Browse the repository at this point in the history
  • Loading branch information
GewoonJaap committed Jul 9, 2021
1 parent bb96469 commit 7f9dd5b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions Config/ModelMatching.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,26 @@
"Airbus A320 Neo Default": "Airbus A320 Neo Asobo",
"Embraer E175STD": "Airbus A320 Neo",
"Boeing 737-7K2": "Airbus A320 Neo",
"Cessna F152": "Cessna 172P Skyhawk G1000",
"C172": "Cessna 172P Skyhawk G1000",
"Cessna 182S Skylane": "Cessna 172P Skyhawk G1000",
"Cessna 182N Skylane": "Cessna 172P Skyhawk G1000",
"Cessna 172M Skyhawk": "Cessna 172P Skyhawk G1000",
"Cessna 172L Skyhawk": "Cessna 172P Skyhawk G1000",
"Cessna 172P Skyhawk": "Cessna 172P Skyhawk G1000",
"Cessna 172N Skyhawk": "Cessna 172P Skyhawk G1000",
"Cessna 172R Skyhawk": "Cessna 172P Skyhawk G1000",
"Cessna 172N Skyhawk II": "Cessna 172P Skyhawk G1000",
"Cessna 172 P Skyhawk II": "Cessna 172P Skyhawk G1000",
"Cessna 172S Skyhawk SP": "Cessna 172P Skyhawk G1000",
"Cessna 172S Skyhawk": "Cessna 172P Skyhawk G1000",
"Cessna F172P Skylane": "Cessna 172P Skyhawk G1000",
"Cessna F172P Skyhawk": "Cessna 172P Skyhawk G1000",
"Cessna 182P Skylane": "Cessna 172P Skyhawk G1000",
"Cessna 172P Skyhawk G1000": "Cessna 172P Skyhawk G1000",
"Cessna 172P Skyhawk G1000 Default": "Cessna Skyhawk G1000 Asobo",
"Tecnam P2008 JC": "Cessna 172P Skyhawk G1000",
"Tecnam P-92 Echo J": "Cessna 172P Skyhawk G1000",
"Ikarus C-42": "Cessna 172P Skyhawk G1000",
"Boeing 757-330": "Boeing 787-10",
"Boeing 757-232": "Boeing 787-10",
Expand All @@ -32,6 +39,7 @@
"Boeing 777-31H(ER)": "Boeing 787-10",
"Boeing 777-3DZ(ER)": "Boeing 787-10",
"Boeing 777-322(ER)": "Boeing 787-10",
"Boeing 777-36N(ER)": "Boeing 787-10",
"Boeing 777-328(ER)": "Boeing 787-10",
"Boeing 777-228(ER)": "Boeing 787-10",
"Boeing 777-21H(LR)": "Boeing 787-10",
Expand All @@ -48,13 +56,16 @@
"Cessna F150K": "Cessna Skyhawk G1000 Asobo",
"Airbus A380-842": "Boeing 747-8i",
"Airbus A380-861": "Boeing 747-8i",
"Airbus A330-743L Beluga XL": "Boeing 747-8i",
"Boeing 747-406F(ER)": "Boeing 747-8i",
"Boeing 747-412F(SCD)": "Boeing 747-8i",
"Boeing 747-4R7(F)": "Boeing 747-8i",
"Boeing 747-8B5(F)": "Boeing 747-8i",
"Boeing 747-8KZ(F)": "Boeing 747-8i",
"Boeing 747-4B5F(ER)": "Boeing 747-8i",
"Boeing 747-867(F)": "Boeing 747-8i",
"Boeing 747-830": "Boeing 747-8i",
"B748": "Boeing 747-8i",
"Boeing 747-8F": "Boeing 747-8i",
"Boeing 747-8i": "Boeing 747-8i",
"Boeing 747-8i Default": "Boeing 747-8i Asobo",
Expand All @@ -75,6 +86,7 @@
"Dassault Falcon 2000LX": "Cessna CJ4 Citation",
"Dassault Falcon 2000": "Cessna CJ4 Citation",
"Learjet 45": "Cessna CJ4 Citation",
"Dassault Falcon 7X": "Cessna CJ4 Citation",
"Learjet 40": "Cessna CJ4 Citation",
"Cessna 525B CitationJet CJ3": "Cessna CJ4 Citation",
"Cessna 560XL Citation Excel": "Cessna CJ4 Citation",
Expand All @@ -92,6 +104,7 @@
"TBM 930": "TBM 930",
"TBM 930 Default": "TBM 930 Asobo",
"Beech F33A Bonanza": "Bonanza G36",
"Socata TB-20 Trinidad": "Bonanza G36",
"Piper PA-28-140": "Bonanza G36",
"Piper PA-28-181": "Bonanza G36",
"Piper PA-28-161": "Bonanza G36",
Expand Down
2 changes: 1 addition & 1 deletion SimvarsViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ private void SimConnect_OnRecvQuit(SimConnect sender, SIMCONNECT_RECV data)
private void SimConnect_OnRecvException(SimConnect sender, SIMCONNECT_RECV_EXCEPTION data)
{
var eException = (SIMCONNECT_EXCEPTION)data.dwException;
Log.Information("SimConnect_OnRecvException: " + eException);
Log.Error($"SimConnect_OnRecvException: {eException}, this could be related to a request above.");

lErrorMessages.Add("SimConnect : " + eException);
}
Expand Down

0 comments on commit 7f9dd5b

Please sign in to comment.