public List <NameContract> ListZonesWater() { log.Debug("ListZonesWater"); List <NameContract> names = new List <NameContract>(); for (ushort i = 1; i <= WebServiceModule.OmniLink.Controller.Zones.Count; i++) { clsZone zone = WebServiceModule.OmniLink.Controller.Zones[i]; if (zone.DefaultProperties == false && zone.ToDeviceType() == DeviceType.water) { names.Add(new NameContract() { id = i, name = zone.Name }); } } return(names); }