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
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public class MonitorPointMobileDto
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public MonitorPointMobileDto() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
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; ;
|
}
|
|
/// <summary>
|
/// 标识
|
/// </summary>
|
public long ID { get; set; }
|
|
/// <summary>
|
/// 名称
|
/// </summary>
|
public string Name { get; set; }
|
|
/// <summary>
|
/// 监测类型
|
/// </summary>
|
public eMonitorType MonitorType { get; set; }
|
|
/// <summary>
|
/// 计划类型
|
/// </summary>
|
public eCronType CronType { get; set; }
|
|
/// <summary>
|
/// 计划参数
|
/// </summary>
|
public object CronParas { get; set; }
|
|
/// <summary>
|
/// 说明
|
/// </summary>
|
public string Description { get; set; }
|
}
|
}
|