Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/20/11 15:03:11 (14 years ago)
Author:
cneumuel
Message:

#1233

  • minor fixes
  • updated service client
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  
    276276      if (resourceId != null) {
    277277        ServiceLocator.Instance.CallHiveService(service => {
    278           var appointments = service.GetScheduleForResource(resourceId);
     278          var appointments = service.GetDowntimesForResource(resourceId);
    279279          ItemList<Downtime> ias = new ItemList<Downtime>();
    280280          appointments.ForEach(a => ias.Add(a));
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Administration/3.4/Views/ScheduleView.cs

    r6452 r6454  
    336336          ServiceLocator.Instance.CallHiveService(service => {
    337337            if (app.Id != Guid.Empty) {
    338               service.DeleteAppointment(app.Id);
     338              service.DeleteDowntime(app.Id);
    339339            }
    340340          });
     
    356356        ServiceLocator.Instance.CallHiveService(service => {
    357357          foreach (Downtime app in appointments) {
    358             service.AddAppointment(app);
     358            service.AddDowntime(app);
    359359          }
    360360        });
Note: See TracChangeset for help on using the changeset viewer.