Beispiel #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (header_ != null)
            {
                hash ^= Header.GetHashCode();
            }
            if (MeasurementTime != 0D)
            {
                hash ^= MeasurementTime.GetHashCode();
            }
            if (SolStatus != 0)
            {
                hash ^= SolStatus.GetHashCode();
            }
            if (SolType != 0)
            {
                hash ^= SolType.GetHashCode();
            }
            if (Latitude != 0D)
            {
                hash ^= Latitude.GetHashCode();
            }
            if (Longitude != 0D)
            {
                hash ^= Longitude.GetHashCode();
            }
            if (HeightMsl != 0D)
            {
                hash ^= HeightMsl.GetHashCode();
            }
            if (Undulation != 0F)
            {
                hash ^= Undulation.GetHashCode();
            }
            if (DatumId != 0)
            {
                hash ^= DatumId.GetHashCode();
            }
            if (LatitudeStdDev != 0F)
            {
                hash ^= LatitudeStdDev.GetHashCode();
            }
            if (LongitudeStdDev != 0F)
            {
                hash ^= LongitudeStdDev.GetHashCode();
            }
            if (HeightStdDev != 0F)
            {
                hash ^= HeightStdDev.GetHashCode();
            }
            if (BaseStationId.Length != 0)
            {
                hash ^= BaseStationId.GetHashCode();
            }
            if (DifferentialAge != 0F)
            {
                hash ^= DifferentialAge.GetHashCode();
            }
            if (SolutionAge != 0F)
            {
                hash ^= SolutionAge.GetHashCode();
            }
            if (NumSatsTracked != 0)
            {
                hash ^= NumSatsTracked.GetHashCode();
            }
            if (NumSatsInSolution != 0)
            {
                hash ^= NumSatsInSolution.GetHashCode();
            }
            if (NumSatsL1 != 0)
            {
                hash ^= NumSatsL1.GetHashCode();
            }
            if (NumSatsMulti != 0)
            {
                hash ^= NumSatsMulti.GetHashCode();
            }
            if (Reserved != 0)
            {
                hash ^= Reserved.GetHashCode();
            }
            if (ExtendedSolutionStatus != 0)
            {
                hash ^= ExtendedSolutionStatus.GetHashCode();
            }
            if (GalileoBeidouUsedMask != 0)
            {
                hash ^= GalileoBeidouUsedMask.GetHashCode();
            }
            if (GpsGlonassUsedMask != 0)
            {
                hash ^= GpsGlonassUsedMask.GetHashCode();
            }
            return(hash);
        }
Beispiel #2
0
        static void import(string typeName)
        {
            Type type = Type.GetType(typeName);

            SolType.MapType(type, false, true);
        }