using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BRServer.Model { public class BR { private string devCode; private List<float?> voltages = new List<float?>(); private List<float?> electricitys = new List<float?>(); private float? temperature; private float? humidity; private float? windspeed; private DateTime upTime; public string DEVCODE { get { return devCode; } set { devCode = value; } } public List<float?> VOLTAGES { get { return voltages; } set { voltages = value; } } public List<float?> ELECTRICITYS { get { return electricitys; } set { electricitys = value; } } public float? TEMPERATURE { get { return temperature; } set { temperature = value; } } public float? HUMIDITY { get { return humidity; } set { humidity = value; } } public float? WINDSPEED { get { return windspeed; } set { windspeed = value; } } public DateTime UPTIME { get { return upTime; } set { upTime = value; } } } }