添加项目文件。
This commit is contained in:
38
WPFWCSDemo/Models/Tables/Alarm.cs
Normal file
38
WPFWCSDemo/Models/Tables/Alarm.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
|
||||
namespace WPFWCSDemo.Models.Tables
|
||||
{
|
||||
/// <summary>
|
||||
/// 实时报警
|
||||
/// </summary>
|
||||
public class Alarm
|
||||
{
|
||||
/// <summary>
|
||||
/// 报警名称
|
||||
/// </summary>
|
||||
[Key]
|
||||
public string Point_Id { get; set; }
|
||||
/// <summary>
|
||||
/// 报警信息
|
||||
/// </summary>
|
||||
public string? Description { get; set; }
|
||||
/// <summary>
|
||||
/// 优先级
|
||||
/// </summary>
|
||||
public string? Priority { get; set; }
|
||||
/// <summary>
|
||||
/// 设备类别
|
||||
/// </summary>
|
||||
public string? Device_Id { get; set; }
|
||||
/// <summary>
|
||||
/// 开始时间
|
||||
/// </summary>
|
||||
public DateTime? Gen_Time { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user