Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/17/16 20:06:18 (8 years ago)
Author:
abeham
Message:

#2560:

  • Updated clients (moving of all characteristic service methods to run creation service)
  • Adapted OKB problem view to display characteristic values for the instances
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.OKB/3.3/RunCreation/RunCreationClient.cs

    r13503 r13534  
    2222using System;
    2323using System.Collections.Generic;
     24using System.Linq;
    2425using HeuristicLab.Clients.Common;
    2526using HeuristicLab.Common;
     
    100101
    101102    #region Characteristic Methods
    102     public static void SetCharacteristicValue(long problemId, string characteristicName, Value v) {
    103       CallRunCreationService(s => s.SetCharacteristicValue(problemId, characteristicName, v));
     103    public static IEnumerable<Value> GetCharacteristicValues(long problemId) {
     104      return CallRunCreationService(s => s.GetCharacteristicValues(problemId));
     105    }
     106
     107    public static void SetCharacteristicValue(long problemId, Value v) {
     108      CallRunCreationService(s => s.SetCharacteristicValue(problemId, v));
     109    }
     110
     111    public static void SetCharacteristicValues(long problemId, IEnumerable<Value> values) {
     112      CallRunCreationService(s => s.SetCharacteristicValues(problemId, values.ToList()));
    104113    }
    105114    #endregion
Note: See TracChangeset for help on using the changeset viewer.