duheng
2024-05-13 af447e8f2a28cd775bb8bd345ee59dbd575beb47
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
using SqlSugar;
using System;
using System.Reflection;
 
namespace IStation.ChEr.Entity
{
    /// <summary>
    /// 水量预测
    /// </summary>
    [SugarTable("WaterPredictRecord")]
    public class WaterPredictRecord// : BaseEntity//, Entity.ISorter, Entity.IFlags, Entity.ITagName, Entity.IUseStatus, System.ICloneable
    {
        /// <summary>
        ///
        /// </summary>
        public WaterPredictRecord()
        { }
 
        /// <summary>
        ///
        /// </summary>
        /// <param name="rhs"></param>
        public WaterPredictRecord(WaterPredictRecord rhs)
        {
            this.ID = rhs.ID;
            this.DayHour = rhs.DayHour;
            this.LastPredictValue = rhs.LastPredictValue;
            this.RealValue = rhs.RealValue;
            this.LastPredictTime = rhs.LastPredictTime;
 
            this.PredictValueList = rhs.PredictValueList;
            this.PredictTime = rhs.PredictTime;
        }
 
        /// <summary>
        /// id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public long ID { get; set; }
 
        /// <summary>
        /// 小时: 例如2024-05-14 01:00 表示为 24041401
        /// </summary>
        public int DayHour { get; set; }
 
        /// <summary>
        /// 真实累计流量
        /// </summary>
        public double RealValue { get; set; }
 
        /// <summary>
        /// 最新预测流量
        /// </summary>
        public double LastPredictValue { get; set; }
 
        /// <summary>
        /// 最新预测时间
        /// </summary>
        public DateTime LastPredictTime { get; set; }
 
        /// <summary>
        /// 预测流量值(多个用逗号隔开)
        /// </summary>
        public string PredictValueList { get; set; }
 
        /// <summary>
        /// 预测流量值时间
        /// </summary>
        public DateTime PredictTime { get; set; }
 
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public WaterPredictRecord Clone()
        {
            return (WaterPredictRecord)this.MemberwiseClone();
        }
    }
}