isSnow static method
判断是否下雪
Implementation
static bool isSnow(WeatherType weatherType) {
return weatherType == WeatherType.lightSnow ||
weatherType == WeatherType.middleSnow ||
weatherType == WeatherType.heavySnow;
}
判断是否下雪
static bool isSnow(WeatherType weatherType) {
return weatherType == WeatherType.lightSnow ||
weatherType == WeatherType.middleSnow ||
weatherType == WeatherType.heavySnow;
}