using HStation.Assets;
using Yw.Model;
namespace HStation.Model
{
///
/// 业务站
///
[SysType("assets_userdefined")]
public class AssetsUserDefined : BaseModel, ISorter, System.ICloneable
{
///
///
///
public AssetsUserDefined()
{ }
public AssetsUserDefined(AssetsUserDefined rhs)
{
this.AdaptingType = rhs.AdaptingType;
this.Coefficient = rhs.Coefficient;
this.Caliber = rhs.Caliber;
this.MaterialName = rhs.MaterialName;
this.SortCode = rhs.SortCode;
this.Name = rhs.Name;
this.Description = rhs.Description;
}
public void Reset(AssetsUserDefined rhs)
{
this.AdaptingType = rhs.AdaptingType;
this.Coefficient = rhs.Coefficient;
this.Caliber = rhs.Caliber;
this.MaterialName = rhs.MaterialName;
this.SortCode = rhs.SortCode;
this.Name = rhs.Name;
this.Description = rhs.Description;
}
///
/// 设备类型(弯头,三通,四通....)
///
public eAdaptingType AdaptingType { get; set; }
///
/// 名称
///
public string Name { get; set; }
///
/// 口径
///
public double? Caliber { get; set; }
///
/// 材料
///
public string MaterialName { get; set; }
///
/// 系数
///
public double? Coefficient { get; set; }
///
/// 排序码
///
public int SortCode { get; set; }
///
/// 说明
///
public string Description { get; set; }
///
///
///
public AssetsPumpGroupAndMainMapping Clone()
{
return (AssetsPumpGroupAndMainMapping)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}