private void CalculateSeismicValues()
        {
            decimal LatitideD  = (decimal)Latitude;
            decimal LongitudeD = (decimal)Longitude;

            SeismicGroundMotionMapDataReader reader = new SeismicGroundMotionMapDataReader();
            MapDataElement dp    = reader.ReadData(LatitideD, LongitudeD);
            decimal        SSVal = dp.GetValue(GroundMotionParameterType.SS, true, 1.05m, 6.0m);
            decimal        S1Val = dp.GetValue(GroundMotionParameterType.S1, true, 1.05m, 6.0m);
            decimal        TLVal = dp.GetValue(GroundMotionParameterType.TL, true, 1.05m, 6.0m);

            SS = (double)Math.Round(SSVal / 100.0m, 3, MidpointRounding.AwayFromZero);
            S1 = (double)Math.Round(S1Val / 100.0m, 3, MidpointRounding.AwayFromZero);
            TL = (double)Math.Round(TLVal, 3, MidpointRounding.AwayFromZero);

            IsDirty = false;
        }
        private void CalculateSeismicValues()
        {
                decimal LatitideD = (decimal)Latitude;
                decimal LongitudeD = (decimal)Longitude;

                SeismicGroundMotionMapDataReader reader = new SeismicGroundMotionMapDataReader();
                MapDataElement dp = reader.ReadData(LatitideD, LongitudeD);
                decimal SSVal = dp.GetValue(GroundMotionParameterType.SS,true,1.05m, 6.0m);
                decimal S1Val = dp.GetValue(GroundMotionParameterType.S1,true,1.05m, 6.0m);
                decimal TLVal = dp.GetValue(GroundMotionParameterType.TL,true,1.05m, 6.0m);

                SS =(double) Math.Round(SSVal / 100.0m,3, MidpointRounding.AwayFromZero);
                S1 = (double) Math.Round(S1Val / 100.0m,3, MidpointRounding.AwayFromZero);
                TL = (double) Math.Round(TLVal,3, MidpointRounding.AwayFromZero);

                IsDirty = false;
            }