duheng
2024-06-19 64c0604d9a7d2460f6bf1b6cc7df02d769db3a15
Model/IStation.Model.Basic/waterLevel/WaterPredictRecord.cs
@@ -26,13 +26,17 @@
            this.ID = rhs.ID;
            this.DayHour = rhs.DayHour;
            this.LastPredictValue = rhs.LastPredictValue;
            this.RealValue = rhs.RealValue;
            this.LastPredictTime = rhs.LastPredictTime;
            this.RealDifferenceValue = RealDifferenceValue;
            this.PredictValueList = rhs.PredictValueList;
            this.PredictTime = rhs.PredictTime;
            this.States = rhs.States;
            this.Description = rhs.Description;
        }
        //转换为int类型的时间
        public static int ConvertIntDay(DateTime datetime)
        {
            return int.Parse(string.Format("{0:00}{1:00}{2:00}", datetime.Month, datetime.Day, datetime.Hour));
        }
        /// <summary>
@@ -44,11 +48,6 @@
        /// 小时: 例如2024-05-14 01:00 表示为 051401
        /// </summary>
        public int DayHour { get; set; }
        /// <summary>
        /// 真实累计流量
        /// </summary>
        public double RealValue { get; set; }
        /// <summary>
        /// 最新预测流量(滚动值)
@@ -69,11 +68,6 @@
        /// 预测流量值时间:PredictValueList对应时间
        /// </summary>
        public DateTime PredictTime { get; set; }
        /// <summary>
        /// 累计流量差值
        /// </summary>
        public double RealDifferenceValue { get; set; }
        /// <summary>
        /// 状态码(0为错误,1为正确)