Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/08/16 15:06:33 (9 years ago)
Author:
abeham
Message:

#2560:

  • changed embedding of fla in okb problem
  • added new view for characteristic calculators
File:
1 edited

Legend:

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

    r13550 r13666  
    3535          Name = name,
    3636          Value = bool.Parse(strValue)
    37         }; break;
     37        };
    3838        case "IntValue": return new IntValue() {
    3939          Name = name,
    4040          Value = int.Parse(strValue, CultureInfo.CurrentCulture.NumberFormat)
    41         }; break;
     41        };
    4242        case "LongValue": return new LongValue() {
    4343          Name = name,
    4444          Value = long.Parse(strValue, CultureInfo.CurrentCulture.NumberFormat)
    45         }; break;
     45        };
    4646        case "FloatValue": return new FloatValue() {
    4747          Name = name,
    4848          Value = float.Parse(strValue, CultureInfo.CurrentCulture.NumberFormat)
    49         }; break;
     49        };
    5050        case "DoubleValue": return new DoubleValue() {
    5151          Name = name,
    5252          Value = double.Parse(strValue, CultureInfo.CurrentCulture.NumberFormat)
    53         }; break;
     53        };
    5454        case "PercentValue": return new PercentValue() {
    5555          Name = name,
    5656          Value = double.Parse(Regex.Match(strValue, "[0-9.,]+").Value, CultureInfo.CurrentCulture.NumberFormat) / 100.0
    57         }; break;
     57        };
    5858        case "StringValue": return new StringValue() {
    5959          Name = name,
    6060          Value = strValue
    61         }; break;
     61        };
    6262        case "TimeSpanValue": return new TimeSpanValue() {
    6363          Name = name,
    6464          Value = long.Parse(strValue, CultureInfo.CurrentCulture.NumberFormat)
    65         }; break;
     65        };
    6666        default: throw new ArgumentException(string.Format("type {0} is unknown", type), "type");
    6767      }
Note: See TracChangeset for help on using the changeset viewer.