public static DesignWindCalculation.TerrainCategories GetTerrainCategory(SiteCoord Coord) { // Check Zoning for Rural or otherwise // return DesignWindCalculation.TerrainCategories.TC2_5; }
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; }
//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; }
public static string GetRegion(SiteCoord coord) { return("A"); // check longitude // check distance from coastline }
public static string GetRegion(SiteCoord coord) { return "A"; // check longitude // check distance from coastline }