using IStation.Model; using IStation.Model.Monitor; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IStation.Application { /// /// /// public class MonitorPointMobileDto { /// /// /// public MonitorPointMobileDto() { } /// /// /// public MonitorPointMobileDto(Model.MonitorPoint rhs) { this.ID = rhs.ID; this.Name = rhs.Name; this.MonitorType = rhs.MonitorType; this.CronType = rhs.CronType; this.CronParas = rhs.GetCronParas(); this.Description = rhs.Description; ; } /// /// 标识 /// public long ID { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 监测类型 /// public eMonitorType MonitorType { get; set; } /// /// 计划类型 /// public eCronType CronType { get; set; } /// /// 计划参数 /// public object CronParas { get; set; } /// /// 说明 /// public string Description { get; set; } } }