lixiaojun
2022-09-02 d5a3d08601fa59498edc092cec23c7ca166a0d15
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
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; }
    }
}