添加项目文件。

This commit is contained in:
2025-02-28 22:23:13 +08:00
parent d4ad2fe2de
commit 547a1b3bf6
416 changed files with 72830 additions and 0 deletions

View File

@@ -0,0 +1,70 @@
using FreeSql.DataAnnotations;
using OrpaonEMS.Model.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrpaonEMS.Model
{
/// <summary>
/// yupU 临时设置削峰填谷配置
/// </summary>
[Table(Name = "YuPuPeakValleyConfig")]
public class YuPuPeakValleyConfig
{
/// <summary>
/// Id
/// </summary>
[Column(IsPrimary = true, IsIdentity = true)]
public long Id { get; set; }
/// <summary>
/// 序号
/// </summary>
public int Index { get; set; }
/// <summary>
/// 启用
/// </summary>
public bool Enable { get; set; }
/// <summary>
/// 开始时间
/// </summary>
[Column(Name = "StartTime", IsNullable = false, StringLength = 6)]
public string StartTime { get; set; }
/// <summary>
/// 结束时间
/// </summary>
[Column(Name = "EndTime", IsNullable = false, StringLength = 6)]
public string EndTime { get; set; }
/// <summary>
/// 电价类型/尖峰电价 平段电价 峰段电价 谷段电价
/// </summary>
[Column(MapType = typeof(string))]
public ElePVEnum ElePV { get; set; }
/// <summary>
/// 名称(元)
/// </summary>
public double Price { get; set; }
///// <summary>
///// ///////////////////////////////////////////导航属性///////////////////////////////////////////////////////
///// </summary>
////电价
//public long? ElePriceId { get; set; }
//public ElePrice ElePrice { get; set; }
///// <summary>
///// 两个具体的配置 分别是报警和警告
///// </summary>
//public ICollection<ToleranceConfig> ToleranceConfigs { get; set; }
}
}