添加项目文件。
This commit is contained in:
56
WPFWCSDemo/Models/Tables/AlarmHistory.cs
Normal file
56
WPFWCSDemo/Models/Tables/AlarmHistory.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user