using IStation.Model; using IStation.Untity; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IStation.Application { /// /// /// public class MonitorPointGroupLogicDto { /// /// /// public MonitorPointGroupLogicDto() { } /// /// /// public MonitorPointGroupLogicDto(Model.MonitorPointGroup rhs) { this.ID = rhs.ID; this.ParentID = TreeParentIdsHelper.GetLastParentID(rhs.ParentIds); this.ParentIds = rhs.ParentIds; this.CorpID = rhs.CorpID; this.BelongType = rhs.BelongType; this.BelongID = rhs.BelongID; this.Name = rhs.Name; this.Flags = rhs.Flags?.ToList(); this.TagName = rhs.TagName; this.TerminalId = rhs.TerminalId; this.SortCode = rhs.SortCode; this.UseStatus = rhs.UseStatus; this.Description = rhs.Description; } /// /// 标识 /// public long ID { get; set; } /// /// 父节点标识 /// public long ParentID { get; set; } /// /// 父节点标识列表 /// public List ParentIds { get; set; } /// /// 客户标识 /// public long CorpID { get; set; } /// /// 所属类型 /// public string BelongType { get; set; } /// /// 所属标识 /// public long BelongID { 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; } } }