Skip to content

Commit

Permalink
Added support for rotate md-11 custom dataref
Browse files Browse the repository at this point in the history
Updated missing copyright headers
Tested and fixed vatsim connection logic
Reverted custom gear and beacon logic code
  • Loading branch information
sushiat committed Dec 7, 2023
1 parent a958778 commit 3587f67
Show file tree
Hide file tree
Showing 77 changed files with 128 additions and 171 deletions.
2 changes: 1 addition & 1 deletion OpenSky.Agent.SimConnectMSFS/Enums/ClientEvents.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ClientEvents.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.SimConnectMSFS/Enums/CrashSequence.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CrashSequence.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.SimConnectMSFS/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.SimConnectMSFS/SimConnect.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SimConnect.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.SimConnectMSFS/Structs/AircraftIdentity.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AircraftIdentity.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.SimConnectMSFS/Structs/FuelTanks.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="FuelTanks.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.SimConnectMSFS/Structs/LandingAnalysis.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="LandingAnalysis.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.SimConnectMSFS/Structs/PayloadStations.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="PayloadStations.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.SimConnectMSFS/Structs/PlaneRegistry.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="PlaneRegistry.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.SimConnectMSFS/Structs/PrimaryTracking.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="PrimaryTracking.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
4 changes: 2 additions & 2 deletions OpenSky.Agent.SimConnectMSFS/Structs/SecondaryTracking.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SecondaryTracking.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down Expand Up @@ -329,7 +329,7 @@ public static class SecondaryTrackingDefinition
new SimVar("BRAKE PARKING INDICATOR", "Bool", SIMCONNECT_DATATYPE.INT32),
new SimVar("SPOILERS ARMED", "Bool", SIMCONNECT_DATATYPE.INT32),
new SimVar("CABIN SEATBELTS ALERT SWITCH", "Bool", SIMCONNECT_DATATYPE.INT32),
new SimVar("CABIN NO SMOKING ALERT SWITCH", "Bool", SIMCONNECT_DATATYPE.INT32),
new SimVar("CABIN NO SMOKING ALERT SWITCH", "Bool", SIMCONNECT_DATATYPE.INT32)
};
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SlewAircraftIntoPosition.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.SimConnectMSFS/Structs/WeightAndBalance.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="WeightAndBalance.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/Enums/FuelTank.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="FuelTank.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/Enums/Pushback.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Pushback.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/Enums/Requests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Requests.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/Enums/TrackingStatus.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TrackingStatus.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/Models/AircraftIdentity.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AircraftIdentity.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/Models/AircraftTrailLocation.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AircraftTrailLocation.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/Models/FlightLoadingTempModels.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="FlightLoadingTempModels.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/Models/FuelTanks.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="FuelTanks.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/Models/LandingAnalysis.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="LandingAnalysis.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="LandingReportNotification.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/Models/MapPositionUpdate.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MapPositionUpdate.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/Models/PayloadStations.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="PayloadStations.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/Models/PrimaryTracking.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="PrimaryTracking.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/Models/ProcessLandingAnalysis.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ProcessLandingAnalysis.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/Models/ProcessPrimaryTracking.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ProcessPrimaryTracking.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/Models/ProcessSecondaryTracking.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ProcessSecondaryTracking.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/Models/SecondaryTracking.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SecondaryTracking.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/Models/SimbriefWaypointMarker.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SimbriefWaypointMarker.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/Models/SlewAircraftIntoPosition.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SlewAircraftIntoPosition.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/Models/TrackingCondition.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TrackingCondition.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/Models/TrackingConditions.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TrackingConditions.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/Models/TrackingEventLogEntry.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TrackingEventLogEntry.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/Models/TrackingEventMarker.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TrackingEventMarker.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/Models/VerticalProfile.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="VerticalProfile.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/Models/WeightAndBalance.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="WeightAndBalance.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AircraftTypeManufacturer.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AircraftType.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down Expand Up @@ -229,7 +229,7 @@ public bool MatchesAircraftInSimulator()
return false;
}

if (Math.Abs(OpenSky.Agent.Simulator.Simulator.Instance.WeightAndBalance.MaxGrossWeight - this.MaxGrossWeight) > 0.05 * this.MaxGrossWeight)
if (Math.Abs(OpenSky.Agent.Simulator.Simulator.Instance.WeightAndBalance.MaxGrossWeight - this.MaxGrossWeight) > 0.018 * this.MaxGrossWeight)
{
return false;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Airport.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/OpenAPIs/ModelExtensions/Flight.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Flight.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/OpenAPIs/OpenSkyService.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="OpenSkyService.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/OpenAPIs/OpenSkyServiceBase.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="OpenSkyServiceBase.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ValidationProblemDetails.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/OpenSkyColors.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="OpenSkyColors.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion OpenSky.Agent.Simulator/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="OpenSky">
// OpenSky project 2021-2022
// OpenSky project 2021-2023
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

Expand Down
Loading

0 comments on commit 3587f67

Please sign in to comment.