添加项目文件。

This commit is contained in:
Administrator
2026-06-29 14:46:32 +08:00
parent 9a9c508618
commit d9e0324b1d
175 changed files with 17983 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace WPFWCSDemo.Models.Tables
{
/// <summary>
/// 历史报警
/// </summary>
public class AlarmHistory
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[AllowNull]
public Guid Id { get; set; } = Guid.NewGuid();
/// <summary>
/// 报警名称
/// </summary>
public string? Point_Id { get; set; }
/// <summary>
/// 报警信息
/// </summary>
public string? Description { get; set; }
/// <summary>
/// 优先级
/// </summary>
[AllowNull]
public string? Priority { get; set; }
/// <summary>
/// 设备类别
/// </summary>
public string? Device_Id { get; set; }
/// <summary>
/// 开始时间
/// </summary>
[AllowNull]
public DateTime? Gen_Time { get; set; }
/// <summary>
/// 复位时间
/// </summary>
//public DateTime? Reset_Time { get; set; }
/// <summary>
/// 删除时间
/// </summary>
//public DateTime? Delete_Time { get; set; }
/// <summary>
/// 结束时间
/// </summary>
public DateTime? End_Time { get; set; }
}
}