Example #1
0
 public static WindData[] GetWindData(string[] configFileContent)
 {
     var configReader = new WindDataReader(configFileContent);
     try
     {
         return configReader.Read();
     }
     catch (IOException e)
     {
         // TODO Auto-generated catch block
         //e.printStackTrace();
     }
     return null;
 }
Example #2
0
 private static Wind[][] GetWind(Config config, FileSystemInfo windFile)
 {
     var configReader = new WindDataReader(windFile);
     var wind = new WindFactory();
     try
     {
         return wind.get_wind(config, configReader.Read());
     }
     catch (IOException e)
     {
         // TODO Auto-generated catch block
         //e.printStackTrace();
         Logger.Error("Error Processing Wind File", e);
     }
     return null;
 }