/// <summary> /// Adds the alarm item. /// </summary> /// <param name="alarmitem">The alarmitem.</param> public void AddAlarmItem(AlarmItemType alarmitem) { SetupResponse(); if (this.GetItemsResponse.GetItemsItems.AlarmItems == null) this.GetItemsResponse.GetItemsItems.AlarmItems = new List<AlarmItemType>(); this.GetItemsResponse.GetItemsItems.AlarmItems.Add(alarmitem); }
/// <summary> /// Adds the alarm item. /// </summary> /// <param name="alarmitem">The alarmitem.</param> public void AddAlarmItem(AlarmItemType alarmitem) { if (this.Items == null) this.Items = new ContainerItemTypeItems(); if (this.Items.AlarmItems == null) this.Items.AlarmItems = new List<AlarmItemType>(); this.Items.AlarmItems.Add(alarmitem); }