public override string GetCompileData(SectorElementCollection elements) { return($"{this.Identifier?.PadRight(26, ' ')} {this.InitialSegment.Start} {this.InitialSegment.End}{(this.InitialSegment.Colour == null ? "" : " " + this.InitialSegment.Colour)}"); }
public override string GetCompileData(SectorElementCollection elements) { return($"REGIONNAME {Name}"); }
public override string GetCompileData(SectorElementCollection elements) { return ($"{this.Callsign}:{this.RtfCallsign}:{this.Frequency}:{this.Identifier}:{this.MiddleLetter}:{this.Prefix}:{this.Suffix}:-:-:{this.SquawkRangeStart}:{this.SquawkRangeEnd}{this.CompileVisCenters()}"); }
public override string GetCompileData(SectorElementCollection elements) { return($"TAXI:{Name}:{MaximumSpeed}:{UsageFlag}:{GateName}"); }
public override string GetCompileData(SectorElementCollection elements) { return ($"{"".PadRight(this.SegmentIdentifier.PadRight(26, ' ').Length)} {this.Start} {this.End}{(this.Colour == null ? "" : " " + this.Colour)}"); }
public override string GetCompileData(SectorElementCollection elements) { return($"BORDER:{string.Join(':', this.BorderLines)}"); }
public override string GetCompileData(SectorElementCollection elements) { return ($"{this.FirstIdentifier} {this.ReverseIdentifier} {this.FormatHeading(this.FirstHeading)} {this.FormatHeading(this.ReverseHeading)} {this.FirstThreshold.ToString()} {this.ReverseThreshold.ToString()} {this.AirfieldIcao} {elements.Airports.First(airport => airport.Icao == AirfieldIcao).Name}"); }
public override string GetCompileData(SectorElementCollection elements) { return($"{this.Icao} {this.Frequency} {this.LatLong.ToString()} E"); }
public override string GetCompileData(SectorElementCollection elements) { return($"SECTOR:{this.Name}:{this.MinimumAltitude.ToString()}:{this.MaximumAltitude.ToString()}"); }
/* * Returns the compile data for just the main definition. */ public override string GetCompileData(SectorElementCollection elements) { return ($"CIRCLE_SECTORLINE:{this.Name}:{this.CentrePoint ?? this.CentreCoordinate.latitude + ":" + this.CentreCoordinate.longitude}:{this.Radius}"); }
public override string GetCompileData(SectorElementCollection elements) { return($"ACTIVE_RUNWAY:{this.Airfield}:{this.Identifier}:{this.Mode}"); }
public override string GetCompileData(SectorElementCollection elements) { return($"{this.Type}:{this.Airport}:{this.Runway}:{this.Identifier}:{string.Join(' ', this.Route)}"); }
public override string GetCompileData(SectorElementCollection elements) { return($"ALTOWNER:{this.Name}:{string.Join(':', this.Owners)}"); }
public override string GetCompileData(SectorElementCollection elements) { return($"EXIT:{Runway}:{ExitName}:{Direction}:{MaximumSpeed}"); }
public override string GetCompileData(SectorElementCollection elements) { return($"ARRAPT:{string.Join(":", this.Airports)}"); }
public void Compile(SectorElementCollection elements, IOutputWriter output) { output.WriteLine(Line.ToString()); }
/* * Airports compile in a special way - they combine 4 lines of Basic data with the ICAO * from the folder containing the airport data. They also put the airfield name * on the end as a comment. * * Therefore, we disregard any comments or docblocks in this section. */ public override void Compile(SectorElementCollection elements, IOutputWriter output) { output.WriteLine( $"{this.GetCompileData(elements)} ;{this.Name}" ); }