Пример #1
0
 public void Sort()
 {
     if (DevTypeAlarms != null)
     {
         DevTypeAlarms.Sort();
     }
 }
Пример #2
0
        public AlarmGroupCount AddTypeCount(string type, int count)
        {
            if (DevTypeAlarms == null)
            {
                DevTypeAlarms = new List <AlarmGroupCount>();
            }
            AlarmGroupCount typeGroupCount = new AlarmGroupCount(type, count);

            DevTypeAlarms.Add(typeGroupCount);
            return(typeGroupCount);
        }