FIC_Solar/solarApp/Model/sensor_model.cs
2022-02-11 17:36:29 +08:00

69 lines
2.1 KiB
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace solarApp.Model
{
public class sensor_model
{
public string id { get; set; }
public string SiteID { get; set; }
public string sensorName { get; set; }
public string type { get; set; }
public string DBName { get; set; }
public string TableName { get; set; }
public string colname { get; set; }
}
public class sensor_raw
{
public string SiteID { get; set; }
public string reportdate { get; set; }
public double sensorAvg01 { get; set; }
public double sensorAvg02 { get; set; }
public double sensorAvg03 { get; set; }
public double sensorAvg04 { get; set; }
public double sensorAvg05 { get; set; }
public double sensorAvg06 { get; set; }
}
public class lackData
{
public int powerstationid { get; set; }
public string SITEID { get; set; }
public DateTime TIMESTAMP { get; set; }
public double TODAYKWH { get; set; }
public double TOTALKWH { get; set; }
public double Irradiance { get; set; }
public double EnvTemperature { get; set; }
public double irrDay { get; set; }
}
public class sensor_raw_V2
{
public string SiteID { get; set; }
public string reportdate { get; set; }
public double irrAvg { get; set; }
public double modelTempAvg { get; set; }
public double envTempAvg { get; set; }
public double humidityAvg { get; set; }
public double windAvg { get; set; }
public double dustAvg { get; set; }
public int count { get; set; }
}
public class sensor_hour
{
public string SiteID { get; set; }
public string reportdate { get; set; }
public double irrAvg { get; set; }
public double modelTempAvg { get; set; }
public double envTempAvg { get; set; }
public double humidityAvg { get; set; }
public double windAvg { get; set; }
public double dustAvg { get; set; }
public int count { get; set; }
}
}