Files
YuPu-OrpaonEMS/OrpaonEMS.Model/YuPuHourData.cs
2025-02-28 22:23:13 +08:00

179 lines
5.4 KiB
C#

using FreeSql.DataAnnotations;
using Prism.Mvvm;
using System;
namespace OrpaonEMS.Model
{
[Table(Name = "YuPuHourData")]
[Index("uk_CreateTimeYuPu", "CreateTime", false)]
[Index("uk_HourInfoYuPu", "HourInfo", false)]
[Index("uk_WorkDaYuPuy", "WorkDay", false)]
[Index("uk_MonthYuPu", "Month", false)]
public class YuPuHourData : BindableBase
{
/// <summary>
/// 主键 自增主键
/// </summary>
[Column(IsPrimary = true, IsIdentity = true)]
public long Id { get; set; }
/// <summary>
/// 小时信息
/// </summary>
[Column(Name = "HourInfo", IsNullable = false)]
public int HourInfo { get; set; }
/// <summary>
/// 工作日
/// 20240408
/// </summary>
[Column(Name = "WorkDay", IsNullable = false)]
public int WorkDay { get; set; }
/// <summary>
/// 月份
/// 202404
/// </summary>
[Column(Name = "Month", IsNullable = false)]
public int Month { get; set; }
/// <summary>
/// 年
/// 2024
/// </summary>
[Column(Name = "Year", IsNullable = false)]
public int Year { get; set; }
/////////////////////////////////光伏放电税务大楼//////////////////////////////////////
/// <summary>
/// 光伏到税务大楼小时点位数据
/// </summary>
[Column(Name = "SolarTaxHourPointValue")]
public double SolarTaxHourPointValue { get; set; }
/// <summary>
/// 光伏到税务大楼小时统计充电电量
/// </summary>
[Column(Name = "SolarHourCharg")]
public double SolarTaxHourCharg { get; set; }
/////////////////////////////////光伏放电管理大楼//////////////////////////////////////
/// <summary>
/// 光伏到管理大楼小时点位数据
/// </summary>
[Column(Name = "SolarManageHourPointValue")]
public double SolarManageHourPointValue { get; set; }
/// <summary>
/// 光伏到管理大楼小时统计充电电量
/// </summary>
[Column(Name = "SolarManageHourCharg")]
public double SolarManageHourCharg { get; set; }
/////////////////////////////////储能到管理大楼//////////////////////////////////////
/// <summary>
/// 储能小时点位数据-充电
/// </summary>
[Column(Name = "EsManageHourPointChargValue")]
public double EsManageHourPointChargValue { get; set; }
/// <summary>
/// 储能小时点位数据-放电
/// </summary>
[Column(Name = "EsManageHourPointDisChargValue")]
public double EsManageHourPointDisChargValue { get; set; }
/// <summary>
/// 储能小时统计充电电量
/// </summary>
[Column(Name = "EsManageHourCharg")]
public double EsManageHourCharg { get; set; }
/// <summary>
/// 储能小时统计放电电量
/// </summary>
[Column(Name = "EsManageHourDisCharg")]
public double EsManageHourDisCharg { get; set; }
///////////////////////////////////光伏放电数据//////////////////////////////////////
///// <summary>
///// 光伏小时点位数据
///// </summary>
//[Column(Name = "SolarHourPointValue")]
//public double SolarHourPointValue { get; set; }
///// <summary>
///// 光伏小时统计充电电量
///// </summary>
//[Column(Name = "SolarHourCharg")]
//public double SolarHourCharg { get; set; }
///// <summary>
///// 光伏小时统计收益
///// </summary>
//[Column(Name = "SolarHourRevenue")]
//public double SolarHourRevenue { get; set; }
///// <summary>
///// 光伏电价
///// </summary>
//[Column(Name = "SolarElePrice")]
//public double SolarElePrice { get; set; }
///////////////////////////////////储能放电数据//////////////////////////////////////
///// <summary>
///// 储能小时点位数据-充电
///// </summary>
//[Column(Name = "EsHourPointChargValue")]
//public double EsHourPointChargValue { get; set; }
///// <summary>
///// 储能小时点位数据-放电
///// </summary>
//[Column(Name = "EsHourPointDisChargValue")]
//public double EsHourPointDisChargValue { get; set; }
///// <summary>
///// 储能小时统计充电电量
///// </summary>
//[Column(Name = "EsHourCharg")]
//public double EsHourCharg { get; set; }
///// <summary>
///// 储能小时统计放电电量
///// </summary>
//[Column(Name = "EsHourDisCharg")]
//public double EsHourDisCharg { get; set; }
///// <summary>
///// 储能小时统计收益
///// </summary>
//[Column(Name = "EsHourRevenue")]
//public double EsHourRevenue { get; set; }
///// <summary>
///// 储能实时电价
///// </summary>
//[Column(Name = "EsElePrice")]
//public double EsElePrice { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Column(DbType = "datetime", ServerTime = DateTimeKind.Local)]
public DateTime CreateTime { get; set; }
}
}