using System; namespace SHARP_CLAS_UI { public class AlarmOccurredInfo { public DateTime TIME { get; set; } public int CODE { get; set; } public string NAME { get; set; } public string DESCRIPTION { get; set; } public bool HEAVY { get; set; } public AlarmOccurredInfo(int Code, string Name, string Description, bool Heavy) { TIME = DateTime.Now; CODE = Code; NAME = Name; DESCRIPTION = Description; HEAVY = Heavy; } } }