158 lines
5.2 KiB
C#
158 lines
5.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace solarApp.Model
|
|
{
|
|
//public class raw_inv
|
|
//{
|
|
// // public string ID { get; set; }
|
|
// // public string TIMESTAMP { get; set; }
|
|
// // public string SITEID { get; set; }
|
|
// // public string SITETYPE { get; set; }
|
|
// // public string CONTROLLERID { get; set; }
|
|
// public string INVERTERID { get; set; }
|
|
// public string reportdate { get; set; }
|
|
// //public double SN { get; set; }
|
|
// //public double AC1V { get; set; }
|
|
// //public double AC1A { get; set; }
|
|
// //public double AC1W { get; set; }
|
|
// //public double AC1F { get; set; }
|
|
// //public double AC1WH { get; set; }
|
|
// //public double AC2V { get; set; }
|
|
// //public double AC2A { get; set; }
|
|
// //public double AC2W { get; set; }
|
|
// //public double AC2F { get; set; }
|
|
// //public double AC2WH { get; set; }
|
|
// //public double AC3V { get; set; }
|
|
// //public double AC3A { get; set; }
|
|
// //public double AC3W { get; set; }
|
|
// //public double AC3F { get; set; }
|
|
// //public double AC3WH { get; set; }
|
|
// //public double ACRUNTIME { get; set; }
|
|
// //public double DC1V { get; set; }
|
|
// //public double DC1A { get; set; }
|
|
// //public double DC1W { get; set; }
|
|
// //public double DC1WH { get; set; }
|
|
// //public double DC2V { get; set; }
|
|
// //public double DC2A { get; set; }
|
|
// //public double DC2W { get; set; }
|
|
// //public double DC2WH { get; set; }
|
|
// //public double DC3V { get; set; }
|
|
// //public double DC3A { get; set; }
|
|
// //public double DC3W { get; set; }
|
|
// //public double DC3WH { get; set; }
|
|
// //public double DC4V { get; set; }
|
|
// //public double DC4A { get; set; }
|
|
// //public double DC4W { get; set; }
|
|
// //public double DC4WH { get; set; }
|
|
// //public double DC5V { get; set; }
|
|
// //public double DC5A { get; set; }
|
|
// //public double DC5W { get; set; }
|
|
// //public double DC5WH { get; set; }
|
|
// //public double DCRUNTIME { get; set; }
|
|
// public double WH { get; set; }
|
|
// public double TODAYKWH { get; set; }
|
|
// public double TOTALKWH { get; set; }
|
|
// public double PR { get; set; }
|
|
|
|
// public int ct { get; set; }
|
|
// //public double RA1 { get; set; }
|
|
// //public double RA2 { get; set; }
|
|
// //public double RA3 { get; set; }
|
|
// //public double RA4 { get; set; }
|
|
// //public double RA5 { get; set; }
|
|
//}
|
|
|
|
public class raw_inv
|
|
{
|
|
public string INVERTERID { get; set; }
|
|
public string reportdate { get; set; }
|
|
|
|
public double WH { get; set; }
|
|
public double TODAYKWH { get; set; }
|
|
public double TOTALKWH { get; set; }
|
|
public double PR { get; set; }
|
|
}
|
|
|
|
public class raw_inv_hour
|
|
{
|
|
public string INVERTERID { get; set; }
|
|
public string reportdate { get; set; }
|
|
|
|
public double KWH { get; set; }
|
|
public double TODAYKWH { get; set; }
|
|
public double TOTALKWH { get; set; }
|
|
public double PR { get; set; }
|
|
public int count { get; set; }
|
|
}
|
|
|
|
public class web_inv_15min
|
|
{
|
|
public string siteID { get; set; }
|
|
public string INVERTERID { get; set; }
|
|
public string reportdate { get; set; }
|
|
public double KWH { get; set; }
|
|
public double TODAYKWH { get; set; }
|
|
public double kWhKWP { get; set; }
|
|
}
|
|
|
|
public class web_inv_hour
|
|
{
|
|
public string INVERTERID { get; set; }
|
|
public string reportdate { get; set; }
|
|
|
|
public double KWH { get; set; }
|
|
public double TODAYKWH { get; set; }
|
|
public double TOTALKWH { get; set; }
|
|
public double PR { get; set; }
|
|
public int count { get; set; }
|
|
}
|
|
|
|
public class web_inv_list
|
|
{
|
|
public string dbName { get; set; }
|
|
public string inverterid { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 慧景 inv hour 匯入後的總計
|
|
/// </summary>
|
|
public class src_inv_count
|
|
{
|
|
public string inv { get; set; }
|
|
public string date { get; set; }
|
|
public string count { get; set; }
|
|
}
|
|
|
|
public class ck_inv_day
|
|
{
|
|
public int PowerStationId { get; set; }
|
|
public string station_code { get; set; }
|
|
public string station_name { get; set; }
|
|
public int dataRows_A { get; set; }
|
|
public int invCT_B { get; set; }
|
|
public double AdivB_C { get; set; }
|
|
public int periodDay_B { get; set; }
|
|
public double CsubstrctionB { get; set; }
|
|
}
|
|
|
|
public class ck_inv_day_detail1
|
|
{
|
|
public int PowerStationId { get; set; }
|
|
public string inverterid { get; set; }
|
|
public double todaykWh { get; set; }
|
|
public int RowCT { get; set; }
|
|
}
|
|
|
|
public class ck_inv_day_detail2
|
|
{
|
|
public int PowerStationId { get; set; }
|
|
public string crdDate { get; set; }
|
|
public string inverterid { get; set; }
|
|
public double kwh { get; set; }
|
|
public double todaykWh { get; set; }
|
|
public double pr { get; set; }
|
|
}
|
|
}
|