using System;
namespace IStation.Entity
{
///
/// 设备
///
public class Product : BaseEntity, System.ICloneable, ITreeSorter, ITagName
{
public Product() { }
public Product(Product rhs) : base(rhs)
{
this.ParentIds = rhs.ParentIds;
this.BelongType = rhs.BelongType;
this.BelongID = rhs.BelongID;
this.Catalog = rhs.Catalog;
this.GroupID = rhs.GroupID;
this.Supplier = rhs.Supplier;
this.NO = rhs.NO;
this.Name = rhs.Name;
this.EntityType = rhs.EntityType;
this.Specification = rhs.Specification;
this.RatedParas = rhs.RatedParas;
this.UnitName = rhs.UnitName;
this.Quantity = rhs.Quantity;
this.Flags = rhs.Flags;
this.TagName = rhs.TagName;
this.UseStatus = rhs.UseStatus;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
/// 父节点标识
///
public string ParentIds { get; set; }
///
/// 所属类型
///
public string BelongType { get; set; }
///
/// 所属标识
///
public long BelongID { get; set; }
///
/// 组标识
///
public long GroupID { get; set; }
///
/// 设备类别
///
public string Catalog { get; set; }
///
/// 厂商
///
public string Supplier { get; set; }
///
/// 名称
///
public string Name { get; set; }
///
/// 编码
///
public string NO { get; set; }
///
/// 型号
///
public string EntityType { get; set; }
///
/// 规格
///
public string Specification { get; set; }
///
/// 额定参数
///
public string RatedParas { get; set; }
///
/// 单位
///
public string UnitName { get; set; }
///
/// 数量
///
public double Quantity { get; set; }
///
/// 标签列表
///
public string Flags { get; set; }
///
/// 标签名称
///
public string TagName { get; set; }
///
/// 使用状态
///
public int UseStatus { get; set; }
///
/// 排序码
///
public int SortCode { get; set; }
///
/// 说明
///
public string Description { get; set; }
public Product Clone()
{
return (Product)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}