Esempio n. 1
0
        public static DesignWindCalculation.TerrainCategories GetTerrainCategory(SiteCoord Coord)
        {
            // Check Zoning for Rural or otherwise
            //

            return DesignWindCalculation.TerrainCategories.TC2_5;
        }
Esempio n. 2
0
        public static double GetShielding(SiteCoord coord)
        {
            // Get boundary of this property
            // Get the size of surrounding blocks
            // Perform calc on assumption of a house on each block

            return (double)DesignWindCalculation.FS;
        }
Esempio n. 3
0
        //SiteViewModel
        public static SiteCoord GetLocForAddress(string address)
        {
            GeocodingRequest geocodeRequest = new GeocodingRequest()
            {
                Address = address + ", " + ", Australia"
            };

            GeocodingEngine geocodingEngine = new GeocodingEngine();
            GeocodingResponse geocode = geocodingEngine.GetGeocode(geocodeRequest);

            SiteCoord sc = new SiteCoord();
            sc.latitude = geocode.Results.FirstOrDefault().Geometry.Location.Latitude;
            sc.longitude = geocode.Results.FirstOrDefault().Geometry.Location.Longitude;

            return sc;
        }
Esempio n. 4
0
 public static string GetRegion(SiteCoord coord)
 {
     return("A");
     // check longitude
     // check distance from coastline
 }
Esempio n. 5
0
 public static string GetRegion(SiteCoord coord)
 {
     return "A";
     // check longitude
     // check distance from coastline
 }