| | |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.DayHour = rhs.DayHour; |
| | | this.LastPredictValue = rhs.LastPredictValue; |
| | | this.LastPredictTime = rhs.LastPredictTime; |
| | | this.LastPredictValue = rhs.LastPredictValue; |
| | | this.LastPredictTime = rhs.LastPredictTime; |
| | | 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> |
| | | /// id |
| | | /// </summary> |
| | |
| | | /// 小时: 例如2024-05-14 01:00 表示为 051401 |
| | | /// </summary> |
| | | public int DayHour { get; set; } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 最新预测流量(滚动值) |
| | |
| | | /// 预测流量值时间:PredictValueList对应时间 |
| | | /// </summary> |
| | | public DateTime PredictTime { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 状态码(0为错误,1为正确) |