⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 weatherinfo.cs

📁 该源代码用 C# 写成
💻 CS
字号:
namespace Org.InteliIM.Activities.Weather
{
	/// <summary>
	/// 天气信息
	/// </summary>
	public class WeatherInfo
	{
		private string description;
		
		/// <summary>
		/// 描述
		/// </summary>
		public string Description
		{
			get
			{
				if(this.description == null)
					this.description = "";
				
				return this.description;
			}
			set
			{
				this.description = value;
			}
		}
		
		private int highTemperature = 0;
		
		/// <summary>
		/// 最高温度
		/// </summary>
		public int HighTemperature
		{
			get
			{
				return this.highTemperature;
			}
			set
			{
				this.highTemperature = value;
			}
		}
		
		private int lowTemperature = 0;
		
		/// <summary>
		/// 最低温度
		/// </summary>
		public int LowTemperature
		{
			get
			{
				return this.lowTemperature;
			}
			set
			{
				this.lowTemperature = value;
			}
		}
		
		private string windDirection;
		
		/// <summary>
		/// 风向
		/// </summary>
		public string WindDirection
		{
			get
			{
				if(this.windDirection == null)
					this.windDirection = "";
				
				return this.windDirection;
			}
			set
			{
				this.windDirection = value;
			}
		}
		
		private string windSpeed;
		
		/// <summary>
		/// 风力
		/// </summary>
		public string WindSpeed
		{
			get
			{
				if(this.windSpeed == null)
					this.windSpeed = "";
				
				return this.windSpeed;
			}
			set
			{
				this.windSpeed = value;
			}
		}
		
		private int humidity = 0;
		
		/// <summary>
		/// 湿度
		/// </summary>
		public int Humidity
		{
			get
			{
				return this.humidity;
			}
			set
			{
				this.humidity = value;
			}
		}
		
		private int visibility = 0;
		
		/// <summary>
		/// 能见度
		/// </summary>
		public int Visibility
		{
			get
			{
				return this.visibility;
			}
			set
			{
				this.visibility = value;
			}
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -