using System;
|
using System.Text;
|
using System.Collections.Generic;
|
using System.Data;
|
using System.Runtime.Serialization;
|
|
namespace IStation.Model
|
{
|
/// <summary>
|
/// 泵站
|
/// </summary>
|
public partial class Station : System.ICloneable
|
{
|
public Station() { }
|
|
public Station(Station rhs)
|
{
|
this.Id = rhs.Id;
|
this.Name = rhs.Name;
|
this.Type = rhs.Type;
|
this.TagName = rhs.TagName;
|
this.SortCode = rhs.SortCode;
|
this.Description = rhs.Description;
|
}
|
|
public void Reset(Station rhs)
|
{
|
this.Id = rhs.Id;
|
this.Name = rhs.Name;
|
this.Type = rhs.Type;
|
this.TagName = rhs.TagName;
|
this.SortCode = rhs.SortCode;
|
this.Description = rhs.Description;
|
}
|
|
/// <summary>
|
/// 标识
|
/// </summary>
|
public long Id { get; set; }
|
|
/// <summary>
|
/// 名称
|
/// </summary>
|
public string Name { get; set; }
|
|
/// <summary>
|
/// 类型
|
/// </summary>
|
public string Type { get; set; }
|
|
/// <summary>
|
/// 地址
|
/// </summary>
|
public string Address { get; set; }
|
|
/// <summary>
|
/// 标签名称
|
/// </summary>
|
public string TagName { get; set; }
|
|
/// <summary>
|
/// 排序码
|
/// </summary>
|
public int SortCode { get; set; }
|
|
|
/// <summary>
|
/// 说明
|
/// </summary>
|
public string Description { get; set; }
|
|
public Station Clone()
|
{
|
return (Station)this.MemberwiseClone();
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.MemberwiseClone();
|
}
|
}
|
}
|