添加项目文件。
This commit is contained in:
123
OrpaonEMS.Model/HourData.cs
Normal file
123
OrpaonEMS.Model/HourData.cs
Normal file
@@ -0,0 +1,123 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
using Prism.Mvvm;
|
||||
using System;
|
||||
|
||||
namespace OrpaonEMS.Model
|
||||
{
|
||||
[Table(Name = "HourData")]
|
||||
[Index("uk_CreateTime", "CreateTime", false)]
|
||||
[Index("uk_HourInfo", "HourInfo", false)]
|
||||
[Index("uk_WorkDay", "WorkDay", false)]
|
||||
[Index("uk_Month", "Month", false)]
|
||||
public class HourData: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 = "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; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user