private List <PASection> GetTargetSections()
        {
            if (_section == null && _zone == null)
            {
                return(null);
            }

            List <PASection> sections = new List <PASection>();

            if (_section != null)
            {
                sections.Add(_section);
            }
            else if (_zone != null)
            {
                PASection sc = _system.GetPASectionById(_zone.SectionId);
                if (sc != null)
                {
                    PASection section = new PASection(sc.Id, sc.Name);
                    section.AddPAZone(_zone);
                    sections.Add(section);
                }
            }

            return(sections);
        }
        private PASection GetPASection()
        {
            if (_section != null)
            {
                return(_section);
            }

            if (_zone != null)
            {
                return(_system.GetPASectionById(_zone.SectionId));
            }

            return(null);
        }