Changeset 6454 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Administration/3.4/Views
- Timestamp:
- 06/20/11 15:03:11 (14 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Administration/3.4/Views
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Administration/3.4/Views/ResourcesView.cs
r6452 r6454 276 276 if (resourceId != null) { 277 277 ServiceLocator.Instance.CallHiveService(service => { 278 var appointments = service.Get ScheduleForResource(resourceId);278 var appointments = service.GetDowntimesForResource(resourceId); 279 279 ItemList<Downtime> ias = new ItemList<Downtime>(); 280 280 appointments.ForEach(a => ias.Add(a)); -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Administration/3.4/Views/ScheduleView.cs
r6452 r6454 336 336 ServiceLocator.Instance.CallHiveService(service => { 337 337 if (app.Id != Guid.Empty) { 338 service.Delete Appointment(app.Id);338 service.DeleteDowntime(app.Id); 339 339 } 340 340 }); … … 356 356 ServiceLocator.Instance.CallHiveService(service => { 357 357 foreach (Downtime app in appointments) { 358 service.Add Appointment(app);358 service.AddDowntime(app); 359 359 } 360 360 });
Note: See TracChangeset
for help on using the changeset viewer.