This commit is contained in:
Frank
2023-09-08 16:11:11 +02:00
parent ee57b46c14
commit 851660c793
3 changed files with 86 additions and 7 deletions

View File

@@ -59,13 +59,15 @@ FLIGHTPLAN = {
fixes = {}
}
--- Type of navaid
--- Type of flightplan.
-- @type FLIGHTPLAN.Type
-- @field #string VOR VOR
-- @field #string NDB NDB
-- @field #string IFRH Instrument Flying Rules High Altitude.
-- @field #string IFRL Instrument Flying Rules Low Altitude.
-- @field #string VFR Visual Flight Rules.
FLIGHTPLAN.TYPE={
VOR="VOR",
NDB="NDB",
IFRH="IFR Heigh",
IFRL="IFR Low",
VFR="VFR",
}
--- FLIGHTPLAN class version.
@@ -198,6 +200,10 @@ end
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

View File

@@ -82,6 +82,8 @@ NAVFIX.version="0.0.1"
--- Create a new NAVFIX class instance.
-- @param #NAVFIX self
-- @param Core.Point#COORDINATE Coordinate of the fix.
-- @param #string Name Name of the fix. Should be unique!
-- @return #NAVFIX self
function NAVFIX:New(Coordinate, Name)
@@ -133,7 +135,7 @@ function NAVFIX:SetCompulsory(Compulsory)
return self
end
--- Set whether this fix is compulsory.
--- Set whether this is a fly-over fix fix.
-- @param #NAVFIX self
-- @param #boolean FlyOver If `true`, this is a fly over fix. If `false` or nil, it is not.
-- @return #NAVFIX self
@@ -142,7 +144,7 @@ function NAVFIX:SetFlyOver(FlyOver)
return self
end
--- Set whether this is the intermediate fix.
--- Set whether this is the intermediate fix (IF).
-- @param #NAVFIX self
-- @param #boolean IntermediateFix If `true`, this is an intermediate fix.
-- @return #NAVFIX self