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 MonitorPointGroup : System.ICloneable
{
///
///
///
public MonitorPointGroup() { }
///
///
///
public MonitorPointGroup(MonitorPointGroup rhs)
{
this.ID = rhs.ID;
this.CorpID = rhs.CorpID;
this.BelongType = rhs.BelongType;
this.BelongID = rhs.BelongID;
this.ParentIds = rhs.ParentIds;
this.Name = rhs.Name;
this.Flags = rhs.Flags?.ToList();
this.TerminalId = rhs.TerminalId;
this.TagName = rhs.TagName;
this.UseStatus = rhs.UseStatus;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
///
///
public void Reset(MonitorPointGroup rhs)
{
this.ID = rhs.ID;
this.CorpID = rhs.CorpID;
this.BelongType = rhs.BelongType;
this.BelongID = rhs.BelongID;
this.ParentIds = rhs.ParentIds;
this.Name = rhs.Name;
this.Flags = rhs.Flags?.ToList();
this.TerminalId = rhs.TerminalId;
this.TagName = rhs.TagName;
this.UseStatus = rhs.UseStatus;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
/// 标识
///
public long ID { get; set; }
///
/// 客户标识
///
public long CorpID { get; set; }
///
/// 所属类型
///
public string BelongType { get; set; }
///
/// 所属标识
///
public long BelongID { get; set; }
///
/// 父节点标识
///
public List ParentIds { get; set; }
///
/// 名称
///
public string Name { get; set; }
///
/// 标签列表
///
public List Flags { get; set; }
///
/// 终端标识
///
public string TerminalId { get; set; }
///
/// 标签名称
///
public string TagName { get; set; }
///
/// 排序码
///
public int SortCode { get; set; }
///
/// 使用状态
///
public eUseStatus UseStatus { get; set; }
///
/// 说明
///
public string Description { get; set; }
///
///
///
public MonitorPointGroup Clone()
{
return (MonitorPointGroup)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}