duheng
2025-03-28 b825d70578b0ddf6d479569887c194f919795dad
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace PBS.WinFrmUI.Hydro
{
    public class TimeValue
    {
        public TimeValue() { }
        public TimeValue(DateTime time, double value)
        {
            this.Time = time;
            this.Value = value;
        }
 
        public DateTime Time { get; set; }
        public double Value { get; set; }
    }
 
 
    public class TimeRangeValue
    {
        public TimeRangeValue() { }
        public TimeRangeValue(DateTime time, double min, double max)
        {
            this.Time = time;
            this.MinValue = min;
            this.MaxValue = max;
        }
 
        public DateTime Time { get; set; }
        public double MinValue { get; set; }
        public double MaxValue { get; set; }
    }
}