BO.Zone ensureUniqueDevice(BO.Zone zone) { var devices = this.ensureUniqueDevices(zone.Devices); zone.Devices.Clear(); zone.Devices.AddRange(devices); return(zone); }
private BO.Zone getZone(HmdService.Zone z) { var zone = new BO.Zone(z._Id) { Name = z._Name, Reference = z._Id }; //if (z._ListElement != null && z._ListElement.Length > 0) //{ // foreach (var zElem in z._ListElement) // { // // } //} return(zone); }
private BO.Zone getZone(HmdService.Zone z) { var zone = new BO.Zone(z._Id) { Name = z._Name, Reference = z._Id }; //if (z._ListElement != null && z._ListElement.Length > 0) //{ // foreach (var zElem in z._ListElement) // { // // } //} return zone; }
public List <BO.Device> GetDevicesInZone(BO.Zone zone) { return(this.Server.GetDevicesInZone(zone)); }
public override List <BO.Device> GetDevicesInZone(BO.Zone zone) { return(this.getDevices(this.Server.GetDeviceInZone(this.ServerID, zone.Reference))); }