SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private IEnumerable<WeatherSetting> GetWeatherPool()
  2. {
  3.     yield return new WeatherSetting(WeatherType.Clear,       15,  TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(75));
  4.     yield return new WeatherSetting(WeatherType.Extrasunny, 35, TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(90));
  5.     yield return new WeatherSetting(WeatherType.Clouds,      5, TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(60));
  6.     //yield return new WeatherSetting(WeatherType.Smog,        30,  TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(60));
  7.     //yield return new WeatherSetting(WeatherType.Foggy,       30,  TimeSpan.FromMinutes(40), TimeSpan.FromMinutes(80));
  8.     //yield return new WeatherSetting(WeatherType.Overcast,    30, TimeSpan.FromMinutes(40), TimeSpan.FromMinutes(80));
  9.     //yield return new WeatherSetting(WeatherType.Thunder,     1, TimeSpan.FromMinutes(25), TimeSpan.FromMinutes(45));
  10.     //yield return new WeatherSetting(WeatherType.Clearing,    5,  TimeSpan.FromMinutes(15), TimeSpan.FromMinutes(40));
  11.     //yield return new WeatherSetting(WeatherType.Snowlight,   20,   TimeSpan.FromMinutes(20), TimeSpan.FromMinutes(90));
  12.     //yield return new WeatherSetting(WeatherType.Xmas,        20,   TimeSpan.FromMinutes(20), TimeSpan.FromMinutes(90));
  13. }
  14.  
  15. private IEnumerable<WeatherSetting> GetWeatherPool()
  16. {
  17.     yield return new WeatherSetting(WeatherType.Clear,       15,  TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(75));
  18.     yield return new WeatherSetting(WeatherType.Extrasunny, 35, TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(90));
  19.     yield return new WeatherSetting(WeatherType.Clouds,      5, TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(60));
  20.     //yield return new WeatherSetting(WeatherType.Smog,        30,  TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(60));
  21.     //yield return new WeatherSetting(WeatherType.Foggy,       30,  TimeSpan.FromMinutes(40), TimeSpan.FromMinutes(80));
  22.     //yield return new WeatherSetting(WeatherType.Overcast,    30, TimeSpan.FromMinutes(40), TimeSpan.FromMinutes(80));
  23.     //yield return new WeatherSetting(WeatherType.Thunder,     1, TimeSpan.FromMinutes(25), TimeSpan.FromMinutes(45));
  24.     //yield return new WeatherSetting(WeatherType.Clearing,    5,  TimeSpan.FromMinutes(15), TimeSpan.FromMinutes(40));
  25.     //yield return new WeatherSetting(WeatherType.Snowlight,   20,   TimeSpan.FromMinutes(20), TimeSpan.FromMinutes(90));
  26.     //yield return new WeatherSetting(WeatherType.Xmas,        20,   TimeSpan.FromMinutes(20), TimeSpan.FromMinutes(90));
  27. }
  28.  
  29. private IEnumerable<WeatherSetting> GetWeatherPool()
  30. {
  31.     yield return new WeatherSetting(WeatherType.Clear,       15,  TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(75));
  32.     yield return new WeatherSetting(WeatherType.Extrasunny, 30, TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(90));
  33.     yield return new WeatherSetting(WeatherType.Clouds,      10, TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(60));
  34.     //yield return new WeatherSetting(WeatherType.Smog,        30,  TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(60));
  35.     //yield return new WeatherSetting(WeatherType.Foggy,       30,  TimeSpan.FromMinutes(40), TimeSpan.FromMinutes(80));
  36.     //yield return new WeatherSetting(WeatherType.Overcast,    30, TimeSpan.FromMinutes(40), TimeSpan.FromMinutes(80));
  37.     //yield return new WeatherSetting(WeatherType.Thunder,     1, TimeSpan.FromMinutes(25), TimeSpan.FromMinutes(45));
  38.     //yield return new WeatherSetting(WeatherType.Clearing,    5,  TimeSpan.FromMinutes(15), TimeSpan.FromMinutes(40));
  39.     //yield return new WeatherSetting(WeatherType.Snowlight,   20,   TimeSpan.FromMinutes(20), TimeSpan.FromMinutes(90));
  40.     //yield return new WeatherSetting(WeatherType.Xmas,        20,   TimeSpan.FromMinutes(20), TimeSpan.FromMinutes(90));
  41. }
  42.  
  43. private IEnumerable<WeatherSetting> GetWeatherPool()
  44. {
  45.     yield return new WeatherSetting(WeatherType.Clear,       15,  TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(75));
  46.     yield return new WeatherSetting(WeatherType.Extrasunny, 30, TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(90));
  47.     yield return new WeatherSetting(WeatherType.Clouds,      5, TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(60));
  48.     //yield return new WeatherSetting(WeatherType.Smog,        30,  TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(60));
  49.     //yield return new WeatherSetting(WeatherType.Foggy,       30,  TimeSpan.FromMinutes(40), TimeSpan.FromMinutes(80));
  50.     //yield return new WeatherSetting(WeatherType.Overcast,    30, TimeSpan.FromMinutes(40), TimeSpan.FromMinutes(80));
  51.     //yield return new WeatherSetting(WeatherType.Thunder,     1, TimeSpan.FromMinutes(25), TimeSpan.FromMinutes(45));
  52.     yield return new WeatherSetting(WeatherType.Clearing,    5,  TimeSpan.FromMinutes(15), TimeSpan.FromMinutes(40));
  53.     //yield return new WeatherSetting(WeatherType.Snowlight,   20,   TimeSpan.FromMinutes(20), TimeSpan.FromMinutes(90));
  54.     //yield return new WeatherSetting(WeatherType.Xmas,        20,   TimeSpan.FromMinutes(20), TimeSpan.FromMinutes(90));
  55. }
  56.  
  57. private IEnumerable<WeatherSetting> GetWeatherPool()
  58. {
  59.     yield return new WeatherSetting(WeatherType.Clear,       15,  TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(75));
  60.     yield return new WeatherSetting(WeatherType.Extrasunny, 30, TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(90));
  61.     yield return new WeatherSetting(WeatherType.Clouds,      5, TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(60));
  62.     //yield return new WeatherSetting(WeatherType.Smog,        30,  TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(60));
  63.     yield return new WeatherSetting(WeatherType.Foggy,       5,  TimeSpan.FromMinutes(40), TimeSpan.FromMinutes(80));
  64.     //yield return new WeatherSetting(WeatherType.Overcast,    30, TimeSpan.FromMinutes(40), TimeSpan.FromMinutes(80));
  65.     //yield return new WeatherSetting(WeatherType.Thunder,     1, TimeSpan.FromMinutes(25), TimeSpan.FromMinutes(45));
  66.     //yield return new WeatherSetting(WeatherType.Clearing,    5,  TimeSpan.FromMinutes(15), TimeSpan.FromMinutes(40));
  67.     //yield return new WeatherSetting(WeatherType.Snowlight,   20,   TimeSpan.FromMinutes(20), TimeSpan.FromMinutes(90));
  68.     //yield return new WeatherSetting(WeatherType.Xmas,        20,   TimeSpan.FromMinutes(20), TimeSpan.FromMinutes(90));
  69. }
  70.  
  71. private IEnumerable<WeatherSetting> GetWeatherPool()
  72. {
  73.     yield return new WeatherSetting(WeatherType.Clear,       15,  TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(75));
  74.     yield return new WeatherSetting(WeatherType.Extrasunny, 35, TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(90));
  75.     yield return new WeatherSetting(WeatherType.Clouds,      5, TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(60));
  76.     //yield return new WeatherSetting(WeatherType.Smog,        30,  TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(60));
  77.     //yield return new WeatherSetting(WeatherType.Foggy,       30,  TimeSpan.FromMinutes(40), TimeSpan.FromMinutes(80));
  78.     //yield return new WeatherSetting(WeatherType.Overcast,    30, TimeSpan.FromMinutes(40), TimeSpan.FromMinutes(80));
  79.     //yield return new WeatherSetting(WeatherType.Thunder,     1, TimeSpan.FromMinutes(25), TimeSpan.FromMinutes(45));
  80.     //yield return new WeatherSetting(WeatherType.Clearing,    5,  TimeSpan.FromMinutes(15), TimeSpan.FromMinutes(40));
  81.     //yield return new WeatherSetting(WeatherType.Snowlight,   20,   TimeSpan.FromMinutes(20), TimeSpan.FromMinutes(90));
  82.     //yield return new WeatherSetting(WeatherType.Xmas,        20,   TimeSpan.FromMinutes(20), TimeSpan.FromMinutes(90));
  83. }
  84.  
  85. private IEnumerable<WeatherSetting> GetWeatherPool()
  86. {
  87.     yield return new WeatherSetting(WeatherType.Clear,       15,  TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(75));
  88.     yield return new WeatherSetting(WeatherType.Extrasunny, 30, TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(90));
  89.     yield return new WeatherSetting(WeatherType.Clouds,      5, TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(60));
  90.     //yield return new WeatherSetting(WeatherType.Smog,        30,  TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(60));
  91.     yield return new WeatherSetting(WeatherType.Foggy,       5,  TimeSpan.FromMinutes(40), TimeSpan.FromMinutes(80));
  92.     //yield return new WeatherSetting(WeatherType.Overcast,    30, TimeSpan.FromMinutes(40), TimeSpan.FromMinutes(80));
  93.     //yield return new WeatherSetting(WeatherType.Thunder,     1, TimeSpan.FromMinutes(25), TimeSpan.FromMinutes(45));
  94.     //yield return new WeatherSetting(WeatherType.Clearing,    5,  TimeSpan.FromMinutes(15), TimeSpan.FromMinutes(40));
  95.     //yield return new WeatherSetting(WeatherType.Snowlight,   20,   TimeSpan.FromMinutes(20), TimeSpan.FromMinutes(90));
  96.     //yield return new WeatherSetting(WeatherType.Xmas,        20,   TimeSpan.FromMinutes(20), TimeSpan.FromMinutes(90));
  97. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top