namespace IStation.Model
|
{
|
/// <summary>
|
/// 泵站信息
|
/// </summary>
|
public class Station : System.ICloneable
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public Station() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
/// <param name="rhs"></param>
|
public Station(Station rhs)
|
{
|
this.Station1 = rhs.Station1?.ToList();
|
this.Station2 = rhs.Station2?.ToList();
|
}
|
|
/// <summary>
|
///
|
/// </summary>
|
/// <param name="rhs"></param>
|
public void Reset(Station rhs)
|
{
|
this.Station1 = rhs.Station1?.ToList();
|
this.Station2 = rhs.Station2?.ToList();
|
}
|
|
|
/// <summary>
|
/// 1输水
|
/// </summary>
|
public List<Pump> Station1 { get; set; }
|
|
/// <summary>
|
/// 2输水
|
/// </summary>
|
public List<Pump> Station2 { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
/// <returns></returns>
|
public Station Clone()
|
{
|
return (Station)this.MemberwiseClone();
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.MemberwiseClone();
|
}
|
}
|
|
}
|