using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HBLConsole.Model
{
///
/// 布尔量报警信息
///
[Table(nameof(DiscreteAlarmInfo))]
public class DiscreteAlarmInfo
{
[Key]
public int Id { get; set; }
///
/// 沿报警(上升沿,下降沿)
///
public string TrigAlarm { get; set; }
///
/// 报警信息
///
public string AlarmInfo { get; set; }
///
/// 设置外键
///
[ForeignKey("AlarmSetId")]
public int AlarmSetId { get; set; }
///
/// 设置导航属性
///
public AlarmSet AlarmSet { get; set; }
}
}