コード例 #1
0
ファイル: RwyData.cs プロジェクト: zylx0532/QSimPlanner
 public bool Equals(IRwyData other)
 {
     return(other != null &&
            RwyIdent == other.RwyIdent &&
            Heading == other.Heading &&
            LengthFt == other.LengthFt &&
            WidthFt == other.WidthFt &&
            HasIlsInfo == other.HasIlsInfo &&
            IlsAvail == other.IlsAvail &&
            IlsFreq == other.IlsFreq &&
            IlsHeading == other.IlsHeading &&
            Lat == other.Lat &&
            Lon == other.Lon &&
            ElevationFt == other.ElevationFt &&
            GlideslopeAngle == other.GlideslopeAngle &&
            ThresholdOverflyHeight == other.ThresholdOverflyHeight &&
            SurfaceType == other.SurfaceType &&
            RwyStatus == other.RwyStatus);
 }
コード例 #2
0
 public static double LengthMeter(this IRwyData r) =>
 r.ElevationFt * Constants.FtMeterRatio;