12345678910111213141516171819202122232425262728293031323334353637383940 |
- using Edge.Core.IndustryStandardInterface.ATG;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel.DataAnnotations;
- using System.Text;
- namespace Application.ATG_Classic_App.Model
- {
- public class Alarm
- {
- /// <summary>
- ///
- /// </summary>
- [Key]
- public int Id { get; set; }
- public AlarmPriority Priority { get; set; }
- /// <summary>
- /// This Alarm is for which tank.
- /// </summary>
- public byte TankNumber { get; set; }
- public AlarmType Type { get; set; }
- public string Description { get; set; }
- /// <summary>
- /// whether this alarm is acked by user in UI(by a click), since it causes constanly beeping or flashing.
- /// </summary>
- //public DateTime? AcknowledgedTimeStamp { get; set; }
- public DateTime CreatedTimeStamp { get; set; }
- /// <summary>
- /// the fix time of this alarm.
- /// </summary>
- public DateTime? ClearedTimeStamp { get; set; }
- }
- }
|