using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace IStation.Model.Epanet
|
{
|
/// <summary>
|
/// Epanet 元素映射
|
/// </summary>
|
public class ElementMapper
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public ElementMapper() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
public ElementMapper(string objectType, long objectId, string elementId)
|
{
|
this.ObjectType = objectType;
|
this.ObjectID = objectId;
|
this.ElementID = elementId;
|
}
|
|
/// <summary>
|
///
|
/// </summary>
|
public ElementMapper(ElementMapper rhs)
|
{
|
this.ObjectType = rhs.ObjectType;
|
this.ObjectID = rhs.ObjectID;
|
this.ElementID = rhs.ElementID;
|
}
|
|
/// <summary>
|
/// 对象类型
|
/// </summary>
|
public string ObjectType { get; set; }
|
|
/// <summary>
|
/// 对象ID
|
/// </summary>
|
public long ObjectID { get; set; }
|
|
/// <summary>
|
/// 元素id
|
/// </summary>
|
public string ElementID { get; set; }
|
}
|
}
|