Beispiel #1
0
 public static Wind[][] GetWind(string[] configFileContent, Config config)
 {
     var wind = new WindFactory();
     try
     {
         return wind.get_wind(config, GetWindData(configFileContent));
     }
     catch (IOException e)
     {
         // TODO Auto-generated catch block
         //e.printStackTrace();
     }
     return null;
 }
Beispiel #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;
 }