当前位置: 首页 > 工具软件 > Weather Icons > 使用案例 >

weather jp

郑承恩
2023-12-01

 case "mostly_cloudy":
      type = WeatherType.MostlyCloudy; break;
    case "cloudy":
      type = WeatherType.Cloudy; break;
    case "mostly_sunny":
      type = WeatherType.MostlySunny; break;
    case "sunny":
      type = WeatherType.Sunny; break;
    case "flurries":
      type = WeatherType.Flurries; break;
    case "fog":
      type = WeatherType.Fog; break;
    case "haze":
      type = WeatherType.Haze; break;
    case "icy":
      type = WeatherType.Icy; break;
    case "chance_of_sleet":
      type = WeatherType.ChanceOfSleet; break;
    case "snow":
      type = WeatherType.Snow; break;
    case "chance_of_snow":
      type = WeatherType.ChanceOfSnow; break;
    case "rain":
      type = WeatherType.Rain; break;
    case "chance_of_rain":
      type = WeatherType.ChanceOfRain; break;
    case "thunderstorm":
      type = WeatherType.Thunderstorm; break;
    case "chance_of_tstorm":
      type = WeatherType.ChanceOfTStorm; break;
    case "storm":
      type = WeatherType.Storm; break;
    case "chance_of_storm":
      type = WeatherType.ChanceOfStorm; break;
    // special case for new japanese weather icons
    case "jp_sunny":
      type = WeatherType.Sunny; break;
    case "jp_sunnysometimescloudy":
      type = WeatherType.MostlySunny; break;
    case "jp_sunnysometimesrainy":
      type = WeatherType.ChanceOfRain; break;
    case "jp_sunnysometimessnowy":
      type = WeatherType.ChanceOfSnow; break;
    case "jp_sunnythencloudy":
      type = WeatherType.MostlySunny; break;
    case "jp_sunnythenrainy":
      type = WeatherType.ChanceOfRain; break;
    case "jp_sunnythensnowy":
      type = WeatherType.ChanceOfSnow; break;
    case "jp_cloudy":
      type = WeatherType.Cloudy; break;
    case "jp_cloudysometimessunny":
      type = WeatherType.MostlyCloudy; break;
    case "jp_cloudysometimesrainy":
      type = WeatherType.ChanceOfRain; break;
    case "jp_cloudysometimessnowy":
      type = WeatherType.ChanceOfSnow; break;
    case "jp_cloudythensunny":
      type = WeatherType.MostlyCloudy; break;
    case "jp_cloudythenrainy":
      type = WeatherType.ChanceOfRain; break;
    case "jp_cloudythensnowy":
      type = WeatherType.ChanceOfSnow; break;
    case "jp_rainy":
      type = WeatherType.Rain; break;
    case "jp_rainysometimessunny":
      type = WeatherType.ChanceOfRain; break;
    case "jp_rainysometimescloudy":
      type = WeatherType.ChanceOfRain; break;
    case "jp_rainysometimessnowy":
      type = WeatherType.Rain; break;
    case "jp_rainythensunny":
      type = WeatherType.ChanceOfRain; break;
    case "jp_rainythencloudy":
      type = WeatherType.ChanceOfRain; break;
    case "jp_rainythensnowy":
      type = WeatherType.Rain; break;
    case "jp_snowy":
      type = WeatherType.Snow; break;
    case "jp_snowysometimessunny":
      type = WeatherType.ChanceOfSnow; break;
    case "jp_snowysometimescloudy":
      type = WeatherType.ChanceOfSnow; break;
    case "jp_snowysometimesrainy":
      type = WeatherType.Snow; break;
    case "jp_snowythensunny":
      type = WeatherType.ChanceOfSnow; break;
    case "jp_snowythencloudy":
      type = WeatherType.ChanceOfSnow; break;
    case "jp_snowythenrainy":
      type = WeatherType.Snow; break;
    default:
      type = WeatherType.MostlyCloudy; break;
  }

 类似资料:

相关阅读

相关文章

相关问答