using System; namespace SHARP_CLAS_UI { public class Alarm_Occurred { public DateTime Time { get; set; } public En_Alarm_List Code { get; set; } public string Description { get; set; } public bool Heavy { get; set; } public Alarm_Occurred(Alarm alarm) { Code = alarm.Code; Description = alarm.Description; Heavy = alarm.Heavy; Time = DateTime.Now; } public Alarm_Occurred() { } } }