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; }
|
}
|
}
|