www.pudn.com > PPC_Weather.rar > Weather.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
namespace PPC_Weather {
public class Weather {
private string province;
///
/// 省份
///
[System.Xml.Serialization.XmlElement]
public string Province {
get { return province; }
set { province = value; }
}
private string city;
///
/// 城市
///
[System.Xml.Serialization.XmlElement]
public string City {
get { return city; }
set { city = value; }
}
private string publishDate;
///
/// 发布日期
///
[System.Xml.Serialization.XmlElement]
public string PublishDate {
get { return publishDate; }
set { publishDate = value; }
}
[System.Xml.Serialization.XmlElement]
private string remark;
///
/// 建议备注
///
[System.Xml.Serialization.XmlElement]
public string Remark
{
get { return remark; }
set { remark = value; }
}
private string introduction;
///
/// 城市介绍
///
[System.Xml.Serialization.XmlElement]
public string Introduction
{
get { return introduction; }
set { introduction = value; }
}
#region 今日
private string date_today;
///
/// 今天日期
///
[System.Xml.Serialization.XmlElement]
public string Date_today
{
get { return date_today; }
set { date_today = value; }
}
private string temp_today;
///
/// 今天气温
///
[System.Xml.Serialization.XmlElement]
public string Temp_today
{
get { return temp_today; }
set { temp_today = value; }
}
[System.Xml.Serialization.XmlElement]
private string weather_today;
///
/// 今天天气
///
public string Weather_today
{
get { return weather_today; }
set { weather_today = value; }
}
[System.Xml.Serialization.XmlElement]
private string wind_today;
///
/// 今天风力
///
[System.Xml.Serialization.XmlElement]
public string Wind_today
{
get { return wind_today; }
set { wind_today = value; }
}
private string pic1_today;
///
/// 图片1
///
[System.Xml.Serialization.XmlElement]
public string Pic1_today
{
get { return pic1_today; }
set { pic1_today = value; }
}
private string pic2_today;
///
/// 图片2
///
[System.Xml.Serialization.XmlElement]
public string Pic2_today
{
get { return pic2_today; }
set { pic2_today = value; }
}
#endregion
#region 明天
private string date_tomorrow;
///
/// 明天日期
///
[System.Xml.Serialization.XmlElement]
public string Date_tomorrow
{
get { return date_tomorrow; }
set { date_tomorrow = value; }
}
private string temp_tomorrow;
///
/// 明天气温
///
[System.Xml.Serialization.XmlElement]
public string Temp_tomorrow
{
get { return temp_tomorrow; }
set { temp_tomorrow = value; }
}
[System.Xml.Serialization.XmlElement]
private string weather_tomorrow;
///
/// 明天天气
///
public string Weather_tomorrow
{
get { return weather_tomorrow; }
set { weather_tomorrow = value; }
}
[System.Xml.Serialization.XmlElement]
private string wind_tomorrow;
///
/// 明天风力
///
[System.Xml.Serialization.XmlElement]
public string Wind_tomorrow
{
get { return wind_tomorrow; }
set { wind_tomorrow = value; }
}
private string pic1_tomorrow;
///
/// 图片1
///
[System.Xml.Serialization.XmlElement]
public string Pic1_tomorrow
{
get { return pic1_tomorrow; }
set { pic1_tomorrow = value; }
}
private string pic2_tomorrow;
///
/// 图片2
///
[System.Xml.Serialization.XmlElement]
public string Pic2_tomorrow
{
get { return pic2_tomorrow; }
set { pic2_tomorrow = value; }
}
#endregion
#region 后天
private string date_dayofTMR;
///
/// 后天日期
///
[System.Xml.Serialization.XmlElement]
public string Date_dayofTMR
{
get { return date_dayofTMR; }
set { date_dayofTMR = value; }
}
private string temp_dayofTMR;
///
/// 后天气温
///
[System.Xml.Serialization.XmlElement]
public string Temp_dayofTMR
{
get { return temp_dayofTMR; }
set { temp_dayofTMR = value; }
}
[System.Xml.Serialization.XmlElement]
private string weather_dayofTMR;
///
/// 后天天气
///
public string Weather_dayofTMR
{
get { return weather_dayofTMR; }
set { weather_dayofTMR = value; }
}
[System.Xml.Serialization.XmlElement]
private string wind_dayofTMR;
///
/// 后天风力
///
[System.Xml.Serialization.XmlElement]
public string Wind_dayofTMR
{
get { return wind_dayofTMR; }
set { wind_dayofTMR = value; }
}
private string pic1_dayofTMR;
///
/// 图片1
///
[System.Xml.Serialization.XmlElement]
public string Pic1_dayofTMR
{
get { return pic1_dayofTMR; }
set { pic1_dayofTMR = value; }
}
private string pic2_dayofTMR;
///
/// 图片2
///
[System.Xml.Serialization.XmlElement]
public string Pic2_dayofTMR
{
get { return pic2_dayofTMR; }
set { pic2_dayofTMR = value; }
}
#endregion
}
}