/// <summary> /// Convert the object to string. /// </summary> /// <param name="style"></param> /// <returns></returns> public new string ToString(Angle.DataStyle style) { string temp = base.ToString(style); if (!double.IsNaN(Height)) { temp += ", H:" + Height.ToString("# ###.###"); } return(temp); }
/// <summary> /// /// </summary> /// <param name="style"></param> /// <returns></returns> public string ToString(Angle.DataStyle style) { if (Latitude == null) { return(string.Empty); } else { return("B:" + Latitude.ToString(style) + ", L:" + Longitude.ToString(style)); } }
/// <summary> /// /// </summary> /// <param name="style"></param> /// <returns></returns> public string ToString(Angle.DataStyle style) { string temp = string.Empty; if (!double.IsNaN(Range)) { temp += "R:" + Range.ToString("# ###.###"); } if (Azimuth != null) { temp += ", A:" + Azimuth.ToString(style) + ", E:" + Elevation.ToString(style); } return(temp); }