lixiaojun
2024-04-30 b4db153d2e28d451592811fea29c6d1bab71887b
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
namespace Yw.Dto
{
    /// <summary>
    /// 
    /// </summary>
    public class AddRunRealLastRecordInput
    {
        /// <summary>
        /// 数据类型
        /// </summary>
        [Required]
        public string ObjectType { get; set; }
 
        /// <summary>
        /// 数据id
        /// </summary>
        [Required, Range(1, long.MaxValue, ErrorMessage = "ObjectID 必须大于0")]
        public long ObjectID { get; set; }
 
        /// <summary>
        /// 开关机状态
        /// </summary>
        [Required, Range(0, 1, ErrorMessage = "RSa 值区间未【0,1】")]
        public int RSa { get; set; }
 
        /// <summary>
        /// 连续时间
        /// </summary>
        [Required, Range(0, int.MaxValue, ErrorMessage = "ContinueTime 不能为负数")]
        public int ContinueTime { get; set; }
 
        /// <summary>
        /// 总停机时间
        /// </summary>
        [Required, Range(0, int.MaxValue, ErrorMessage = "TotalShutTime 不能为负数")]
        public int TotalShutTime { get; set; }
 
        /// <summary>
        /// 总运行时间
        /// </summary>
        [Required, Range(0, int.MaxValue, ErrorMessage = "TotalRunTime 不能为负数")]
        public int TotalRunTime { get; set; }
 
        /// <summary>
        /// 开机次数
        /// </summary>
        [Required, Range(0, int.MaxValue, ErrorMessage = "BootTimes 不能为负数")]
        public int BootTimes { get; set; }
 
        /// <summary>
        /// 分析信息
        /// </summary>
        public string AnalyInfo { get; set; }
 
 
    }
}