[BGService]把沒用到的天氣資訊註解
This commit is contained in:
		
							parent
							
								
									60003dd89f
								
							
						
					
					
						commit
						bd57b6a5f0
					
				@ -882,33 +882,32 @@ namespace BackendWorkerService.Quartz.Jobs
 | 
				
			|||||||
                    WeatherAPIdbS.Add(new Dictionary<string, object>(WeatherAPIdb));
 | 
					                    WeatherAPIdbS.Add(new Dictionary<string, object>(WeatherAPIdb));
 | 
				
			||||||
                    break;
 | 
					                    break;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                case "露點溫度":
 | 
					                //case "露點溫度":
 | 
				
			||||||
                    WeatherAPIdb.Add("@get_value", b.ElementValue[0].DewPoint);
 | 
					                //    WeatherAPIdb.Add("@get_value", b.ElementValue[0].DewPoint);
 | 
				
			||||||
                    WeatherAPIdbS.Add(new Dictionary<string, object>(WeatherAPIdb));
 | 
					                //    WeatherAPIdbS.Add(new Dictionary<string, object>(WeatherAPIdb));
 | 
				
			||||||
                    break;
 | 
					                //    break;
 | 
				
			||||||
 | 
					 | 
				
			||||||
                case "相對濕度":
 | 
					                case "相對濕度":
 | 
				
			||||||
                    WeatherAPIdb.Add("@get_value", b.ElementValue[0].RelativeHumidity);
 | 
					                    WeatherAPIdb.Add("@get_value", b.ElementValue[0].RelativeHumidity);
 | 
				
			||||||
                    WeatherAPIdbS.Add(new Dictionary<string, object>(WeatherAPIdb));
 | 
					                    WeatherAPIdbS.Add(new Dictionary<string, object>(WeatherAPIdb));
 | 
				
			||||||
                    break;
 | 
					                    break;
 | 
				
			||||||
                case "體感溫度":
 | 
					                //case "體感溫度":
 | 
				
			||||||
                    WeatherAPIdb.Add("@get_value", b.ElementValue[0].ApparentTemperature);
 | 
					                //    WeatherAPIdb.Add("@get_value", b.ElementValue[0].ApparentTemperature);
 | 
				
			||||||
                    WeatherAPIdbS.Add(new Dictionary<string, object>(WeatherAPIdb));
 | 
					                //    WeatherAPIdbS.Add(new Dictionary<string, object>(WeatherAPIdb));
 | 
				
			||||||
                    break;
 | 
					                //    break;
 | 
				
			||||||
                case "舒適度指數":
 | 
					                //case "舒適度指數":
 | 
				
			||||||
                    WeatherAPIdb.Add("@get_value", b.ElementValue[0].ComfortIndex);
 | 
					                //    WeatherAPIdb.Add("@get_value", b.ElementValue[0].ComfortIndex);
 | 
				
			||||||
                    WeatherAPIdb.Add("@get_value2", b.ElementValue[0].ComfortIndexDescription);
 | 
					                //    WeatherAPIdb.Add("@get_value2", b.ElementValue[0].ComfortIndexDescription);
 | 
				
			||||||
                    WeatherAPIdbS.Add(new Dictionary<string, object>(WeatherAPIdb));
 | 
					                //    WeatherAPIdbS.Add(new Dictionary<string, object>(WeatherAPIdb));
 | 
				
			||||||
                    break;
 | 
					                //    break;
 | 
				
			||||||
                case "風速":
 | 
					                //case "風速":
 | 
				
			||||||
                    WeatherAPIdb.Add("@get_value", b.ElementValue[0].WindSpeed);
 | 
					                //    WeatherAPIdb.Add("@get_value", b.ElementValue[0].WindSpeed);
 | 
				
			||||||
                    WeatherAPIdb.Add("@get_value2", b.ElementValue[0].BeaufortScale);
 | 
					                //    WeatherAPIdb.Add("@get_value2", b.ElementValue[0].BeaufortScale);
 | 
				
			||||||
                    WeatherAPIdbS.Add(new Dictionary<string, object>(WeatherAPIdb));
 | 
					                //    WeatherAPIdbS.Add(new Dictionary<string, object>(WeatherAPIdb));
 | 
				
			||||||
                    break;
 | 
					                //    break;
 | 
				
			||||||
                case "風向":
 | 
					                //case "風向":
 | 
				
			||||||
                    WeatherAPIdb.Add("@get_value", b.ElementValue[0].WindDirection);
 | 
					                //    WeatherAPIdb.Add("@get_value", b.ElementValue[0].WindDirection);
 | 
				
			||||||
                    WeatherAPIdbS.Add(new Dictionary<string, object>(WeatherAPIdb));
 | 
					                //    WeatherAPIdbS.Add(new Dictionary<string, object>(WeatherAPIdb));
 | 
				
			||||||
                    break;
 | 
					                //    break;
 | 
				
			||||||
                case "3小時降雨機率":
 | 
					                case "3小時降雨機率":
 | 
				
			||||||
                    WeatherAPIdb.Add("@get_value", b.ElementValue[0].ProbabilityOfPrecipitation);
 | 
					                    WeatherAPIdb.Add("@get_value", b.ElementValue[0].ProbabilityOfPrecipitation);
 | 
				
			||||||
                    WeatherAPIdbS.Add(new Dictionary<string, object>(WeatherAPIdb));
 | 
					                    WeatherAPIdbS.Add(new Dictionary<string, object>(WeatherAPIdb));
 | 
				
			||||||
@ -918,11 +917,10 @@ namespace BackendWorkerService.Quartz.Jobs
 | 
				
			|||||||
                    WeatherAPIdb.Add("@get_value2", b.ElementValue[0].WeatherCode);
 | 
					                    WeatherAPIdb.Add("@get_value2", b.ElementValue[0].WeatherCode);
 | 
				
			||||||
                    WeatherAPIdbS.Add(new Dictionary<string, object>(WeatherAPIdb));
 | 
					                    WeatherAPIdbS.Add(new Dictionary<string, object>(WeatherAPIdb));
 | 
				
			||||||
                    break;
 | 
					                    break;
 | 
				
			||||||
 | 
					                //case "天氣預報綜合描述":
 | 
				
			||||||
                case "天氣預報綜合描述":
 | 
					                //    WeatherAPIdb.Add("@get_value", b.ElementValue[0].WeatherDescription);
 | 
				
			||||||
                    WeatherAPIdb.Add("@get_value", b.ElementValue[0].WeatherDescription);
 | 
					                //    WeatherAPIdbS.Add(new Dictionary<string, object>(WeatherAPIdb));
 | 
				
			||||||
                    WeatherAPIdbS.Add(new Dictionary<string, object>(WeatherAPIdb));
 | 
					                //    break;
 | 
				
			||||||
                    break;
 | 
					 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user