Exemplo n.º 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);
            }
        }
Exemplo n.º 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;
            }
        }