Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/06/12 19:06:17 (12 years ago)
Author:
ascheibe
Message:

#1174 added support for PercentValue

File:
1 edited

Legend:

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

    r7385 r7573  
    8686        entity.ValueName = Convert.ToEntity(source.Name, category, DA.ValueNameType.Double, okb);
    8787        entity.DoubleValue = ((DT.DoubleValue)source).Value;
     88      } else if (source is DT.PercentValue) {
     89        entity.ValueName = Convert.ToEntity(source.Name, category, DA.ValueNameType.Percent, okb);
     90        entity.DoubleValue = ((DT.PercentValue)source).Value;
    8891      } else if (source is DT.StringValue) {
    8992        entity.ValueName = Convert.ToEntity(source.Name, category, DA.ValueNameType.String, okb);
Note: See TracChangeset for help on using the changeset viewer.