diff --git a/BackendWorkerService/Quartz/Jobs/WeatherAPIJob.cs b/BackendWorkerService/Quartz/Jobs/WeatherAPIJob.cs index 259282c..aceec25 100644 --- a/BackendWorkerService/Quartz/Jobs/WeatherAPIJob.cs +++ b/BackendWorkerService/Quartz/Jobs/WeatherAPIJob.cs @@ -882,33 +882,32 @@ namespace BackendWorkerService.Quartz.Jobs WeatherAPIdbS.Add(new Dictionary(WeatherAPIdb)); break; - case "露點溫度": - WeatherAPIdb.Add("@get_value", b.ElementValue[0].DewPoint); - WeatherAPIdbS.Add(new Dictionary(WeatherAPIdb)); - break; - + //case "露點溫度": + // WeatherAPIdb.Add("@get_value", b.ElementValue[0].DewPoint); + // WeatherAPIdbS.Add(new Dictionary(WeatherAPIdb)); + // break; case "相對濕度": WeatherAPIdb.Add("@get_value", b.ElementValue[0].RelativeHumidity); WeatherAPIdbS.Add(new Dictionary(WeatherAPIdb)); break; - case "體感溫度": - WeatherAPIdb.Add("@get_value", b.ElementValue[0].ApparentTemperature); - WeatherAPIdbS.Add(new Dictionary(WeatherAPIdb)); - break; - case "舒適度指數": - WeatherAPIdb.Add("@get_value", b.ElementValue[0].ComfortIndex); - WeatherAPIdb.Add("@get_value2", b.ElementValue[0].ComfortIndexDescription); - WeatherAPIdbS.Add(new Dictionary(WeatherAPIdb)); - break; - case "風速": - WeatherAPIdb.Add("@get_value", b.ElementValue[0].WindSpeed); - WeatherAPIdb.Add("@get_value2", b.ElementValue[0].BeaufortScale); - WeatherAPIdbS.Add(new Dictionary(WeatherAPIdb)); - break; - case "風向": - WeatherAPIdb.Add("@get_value", b.ElementValue[0].WindDirection); - WeatherAPIdbS.Add(new Dictionary(WeatherAPIdb)); - break; + //case "體感溫度": + // WeatherAPIdb.Add("@get_value", b.ElementValue[0].ApparentTemperature); + // WeatherAPIdbS.Add(new Dictionary(WeatherAPIdb)); + // break; + //case "舒適度指數": + // WeatherAPIdb.Add("@get_value", b.ElementValue[0].ComfortIndex); + // WeatherAPIdb.Add("@get_value2", b.ElementValue[0].ComfortIndexDescription); + // WeatherAPIdbS.Add(new Dictionary(WeatherAPIdb)); + // break; + //case "風速": + // WeatherAPIdb.Add("@get_value", b.ElementValue[0].WindSpeed); + // WeatherAPIdb.Add("@get_value2", b.ElementValue[0].BeaufortScale); + // WeatherAPIdbS.Add(new Dictionary(WeatherAPIdb)); + // break; + //case "風向": + // WeatherAPIdb.Add("@get_value", b.ElementValue[0].WindDirection); + // WeatherAPIdbS.Add(new Dictionary(WeatherAPIdb)); + // break; case "3小時降雨機率": WeatherAPIdb.Add("@get_value", b.ElementValue[0].ProbabilityOfPrecipitation); WeatherAPIdbS.Add(new Dictionary(WeatherAPIdb)); @@ -918,11 +917,10 @@ namespace BackendWorkerService.Quartz.Jobs WeatherAPIdb.Add("@get_value2", b.ElementValue[0].WeatherCode); WeatherAPIdbS.Add(new Dictionary(WeatherAPIdb)); break; - - case "天氣預報綜合描述": - WeatherAPIdb.Add("@get_value", b.ElementValue[0].WeatherDescription); - WeatherAPIdbS.Add(new Dictionary(WeatherAPIdb)); - break; + //case "天氣預報綜合描述": + // WeatherAPIdb.Add("@get_value", b.ElementValue[0].WeatherDescription); + // WeatherAPIdbS.Add(new Dictionary(WeatherAPIdb)); + // break; } }