| 12345678910111213141516171819202122232425262728 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel.DataAnnotations.Schema;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace OHV.Common.Model
- {
- public class HisAlarm
- {
- public string id { get; set; }
- public string Text { get; set; }
- public DateTime OccurTime { get; set; }
- public string Solution { get; set; }
- public int AlarmId { get; set; }
- //public virtual Alarm Alarm { get; set; }
- public HisAlarm()
- {
- this.id = $"{Guid.NewGuid()}_{DateTime.Now.ToString("HHmmssfff")}";
- this.OccurTime = DateTime.Now;
- }
- }
- }
|