Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/06/12 20:21:07 (12 years ago)
Author:
ascheibe
Message:

#1174 added support for TimeSpanValue for querying the execution time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/RunCreation/OKBRun.cs

    r7573 r7574  
    184184          v.Value = ((Data.IntValue)item.Value).Value;
    185185          value = v;
     186        } else if (item.Value is Data.TimeSpanValue) {
     187          TimeSpanValue v = new TimeSpanValue();
     188          v.Value = (long)((Data.TimeSpanValue)item.Value).Value.TotalSeconds;
     189          value = v;
    186190        } else if (item.Value is Data.PercentValue) {
    187191          PercentValue v = new PercentValue();
Note: See TracChangeset for help on using the changeset viewer.