Beispiel #1
0
        public double For(Site site)
        {
            try
            {
                Coord  = Maps.GetLocForAddress(site.Address);
                Region = Maps.GetRegion(Coord);

                Shielding       = Maps.GetShielding(Coord);
                TerrainCategory = Maps.GetTerrainCategory(Coord);

                MzCat = TerrainCategoryToMultiplier(TerrainCategory, (double)site.Height);

                return(Vsit);
            }
            catch (Exception e)
            {
                return(ParamError);
            }
        }
Beispiel #2
0
        public double For(Site site)
        {
            try
            {
                Coord = Maps.GetLocForAddress(site.Address);
                Region = Maps.GetRegion(Coord);

                Shielding = Maps.GetShielding(Coord);
                TerrainCategory = Maps.GetTerrainCategory(Coord);

                MzCat = TerrainCategoryToMultiplier(TerrainCategory, (double)site.Height);

                return Vsit;
            }
            catch(Exception e)
            {
                return ParamError;
            }
        }