Site: A physical location where data is being collected. A Site has a name, location (lat/long), and a collection of channels.
public class Site
{
public integer id { get; set; }
public string name { get; set; }
public string longitude { get; set; }
public string latitude { get; set; }
public IEnumerable<Channel> channels { get; set; }
}
Channel: A description of a set of time series data. A channel has a name (i.e. Flow, Level, Velocity, Temperature, etc.) and optionally a unit of measurement (i.e. gal/min, ft, ft/s, °F, etc.).
public class Channel
{
public int id { get; set; }
public string name { get; set; }
public string unit { get; set; }
}
Data Point: A value recorded at a specific date and time.
public class DataPoint
{
public DateTime date { get; set; }
public float value { get; set; }
}
0 Comments