using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.Runtime.Serialization;
using System.ComponentModel.DataAnnotations;
namespace IStation.Model
{
///
/// 信号类型组
///
public partial class SignalTypeGroup : System.ICloneable
{
///
///
///
public SignalTypeGroup() { }
///
///
///
public SignalTypeGroup(SignalTypeGroup rhs)
{
this.ID = rhs.ID;
this.ParentIds = rhs.ParentIds?.ToList();
this.Name = rhs.Name;
this.TagName = rhs.TagName;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
///
///
public void Reset(SignalTypeGroup rhs)
{
this.ID = rhs.ID;
this.ParentIds = rhs.ParentIds?.ToList();
this.Name = rhs.Name;
this.TagName = rhs.TagName;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
/// 标识
///
public long ID { get; set; }
///
/// 父节点标识
///
public List ParentIds { get; set; }
///
/// 名称
///
public string Name { get; set; }
///
/// 标记名称
///
public string TagName { get; set; }
///
/// 排序码
///
public int SortCode { get; set; }
///
/// 说明
///
public string Description { get; set; }
///
///
///
public SignalTypeGroup Clone()
{
return (SignalTypeGroup)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}