/// <summary> /// 字符串 /// </summary> /// <returns></returns> public override string ToString() { string str = String.Empty; str += "Ex_s=" + Ex.ToString("0.00000") + ", Ey_s=" + Ey.ToString("0.00000") + ", Ez_s=" + Ez.ToString("0.00000"); str += ", Dx_m=" + Dx.ToString("0.00000") + ", Dy_m=" + Dy.ToString("0.00000") + ", Dz_m=" + Dz.ToString("0.00000"); str += ", Scale_ppm=" + Scale_ppm.ToString("0.00000"); return(str); }
/// <summary> /// Returns a hash code for the specified object /// </summary> /// <returns>A hash code for the specified object</returns> public override int GetHashCode() { return(Dx.GetHashCode() ^ Dy.GetHashCode() ^ Dz.GetHashCode() ^ Ex.GetHashCode() ^ Ey.GetHashCode() ^ Ez.GetHashCode() ^ Scale_ppm.GetHashCode()); }