Changeset 5526 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/Administration
- Timestamp:
- 02/21/11 17:35:42 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/Administration/HiveAdministrationClient.cs
r5525 r5526 25 25 using HeuristicLab.Core; 26 26 using HeuristicLab.Services.Hive.Common.DataTransfer; 27 using HeuristicLab.Services.Hive.Common.ServiceContracts;28 27 29 28 namespace HeuristicLab.Clients.Hive.Administration { … … 51 50 52 51 public void UpdateSlaveGroups() { 53 using (HeuristicLab.Clients.Common.Disposable<IHiveService> service = ServiceLocator.Instance.GetService()) { 54 52 ServiceLocator.Instance.CallHiveService(service => { 55 53 /*SlaveGroup sg = new SlaveGroup(); 56 54 sg.Name = "Test" + Guid.NewGuid(); … … 59 57 service.Obj.AddSlaveGroup(sg);*/ 60 58 61 SlaveGroups = new List<SlaveGroup>(service. Obj.GetSlaveGroups());62 Slaves = new List<Slave>(service. Obj.GetSlaves());59 SlaveGroups = new List<SlaveGroup>(service.GetSlaveGroups()); 60 Slaves = new List<Slave>(service.GetSlaves()); 63 61 OnItemImageChanged(); 64 } 62 }); 65 63 } 66 64 }
Note: See TracChangeset
for help on using the changeset viewer.