weatherreportentry.cs

来自「该源代码用 C# 写成」· CS 代码 · 共 70 行

CS
70
字号
using System;

namespace Org.InteliIM.Activities.Weather
{
	/// <summary>
	/// 天气预报项
	/// </summary>
	public class WeatherReportEntry
	{
		/// <summary>
		/// 构造函数
		/// </summary>
		public WeatherReportEntry()
		{
			
		}
		
		private DateTime forecastTime;
		
		/// <summary>
		/// 预报时间
		/// </summary>
		public DateTime ForecastTime
		{
			get
			{
				return this.forecastTime;
			}
			set
			{
				this.forecastTime = value;
			}
		}
		
		private PlaceInfo place;
		
		/// <summary>
		/// 地域
		/// </summary>
		public PlaceInfo Place
		{
			get
			{
				return this.place;
			}
			set
			{
				this.place = value;
			}
		}
		
		private WeatherInfo weather;
		
		/// <summary>
		/// 天气
		/// </summary>
		public WeatherInfo Weather
		{
			get
			{
				return this.weather;
			}
			set
			{
				this.weather = value;
			}
		}
	}
}

⌨️ 快捷键说明

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