1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- #region 描述
- //-----------------------------------------------------------------------------
- // 文 件 名: WeatherForecast
- // 作 者:ChinaYi
- // 创建时间:2014/6/12 15:55:15
- // 描 述:用作封装天气
- // 版 本:4.0.30319.1022
- //-----------------------------------------------------------------------------
- // 历史更新纪录
- //-----------------------------------------------------------------------------
- // 版 本: 修改时间: 修改人:
- // 修改内容:
- //-----------------------------------------------------------------------------
- // Copyright (C) 20013-2014 泛美商务
- //-----------------------------------------------------------------------------
- #endregion
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace Models
- {
- public class WeatherForecast
- {
- private string currentCity; //城市名称
- public string CurrentCity
- {
- get { return currentCity; }
- set { currentCity = value; }
- }
- private string date; //天气预报时间
- public string Date
- {
- get { return date; }
- set { date = value; }
- }
- private string dayPictureUrl; //白天天气图片
- public string DayPictureUrl
- {
- get { return dayPictureUrl; }
- set { dayPictureUrl = value; }
- }
- private string nightPictureUrl; //晚上天气图片
- public string NightPictureUrl
- {
- get { return nightPictureUrl; }
- set { nightPictureUrl = value; }
- }
- private string weather; //天气状况
- public string Weather
- {
- get { return weather; }
- set { weather = value; }
- }
- private string wind; //风力
- public string Wind
- {
- get { return wind; }
- set { wind = value; }
- }
- private string temperature; //温度
- public string Temperature
- {
- get { return temperature; }
- set { temperature = value; }
- }
- }
- }
|