- Timestamp:
- 03/06/12 19:06:17 (13 years ago)
- Location:
- branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query
- Files:
-
- 4 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/Convert.cs
r7385 r7573 62 62 } else if (source.ValueName.Type == DA.ValueNameType.Double) { 63 63 return new DT.DoubleValue { Name = source.ValueName.Name, DataType = Convert.ToDto(source.DataType), Value = source.DoubleValue.GetValueOrDefault() }; 64 } else if (source.ValueName.Type == DA.ValueNameType.Percent) { 65 return new DT.PercentValue { Name = source.ValueName.Name, DataType = Convert.ToDto(source.DataType), Value = source.DoubleValue.GetValueOrDefault() }; 64 66 } else if (source.ValueName.Type == DA.ValueNameType.String) { 65 67 return new DT.StringValue { Name = source.ValueName.Name, DataType = Convert.ToDto(source.DataType), Value = source.StringValue }; -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/Filter.cs
r7331 r7573 33 33 [KnownType(typeof(NameOrdinalComparisonFloatFilter))] 34 34 [KnownType(typeof(NameOrdinalComparisonDoubleFilter))] 35 [KnownType(typeof(NameOrdinalComparisonPercentFilter))] 35 36 [KnownType(typeof(NameOrdinalComparisonIntFilter))] 36 37 [KnownType(typeof(NameOrdinalComparisonLongFilter))] -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/DataTransfer/Value.cs
r7331 r7573 31 31 [KnownType(typeof(StringValue))] 32 32 [KnownType(typeof(BinaryValue))] 33 [KnownType(typeof(PercentValue))] 33 34 public abstract class Value { 34 35 [DataMember] -
branches/OKB (trunk integration)/HeuristicLab.Services.OKB/3.3/Query/QueryService.cs
r7385 r7573 87 87 name 88 88 )); 89 foreach (string name in okb.ValueNames.Where(x => (x.Category == ValueNameCategory.Parameter) && (x.Type == ValueNameType.Percent)).Select(x => x.Name).Distinct()) 90 filters.Add(new NameOrdinalComparisonPercentFilter( 91 typeof(PercentValueFilter).AssemblyQualifiedName, 92 "Parameter " + name + " Value", 93 name 94 )); 89 95 foreach (string name in okb.ValueNames.Where(x => (x.Category == ValueNameCategory.Parameter) && (x.Type == ValueNameType.String)).Select(x => x.Name).Distinct()) 90 96 filters.Add(new NameStringComparisonFilter( … … 144 150 name 145 151 )); 152 foreach (string name in okb.ValueNames.Where(x => (x.Category == ValueNameCategory.Result) && (x.Type == ValueNameType.Percent)).Select(x => x.Name).Distinct()) 153 filters.Add(new NameOrdinalComparisonPercentFilter( 154 typeof(PercentValueFilter).AssemblyQualifiedName, 155 "Result " + name + " Value", 156 name 157 )); 146 158 foreach (string name in okb.ValueNames.Where(x => (x.Category == ValueNameCategory.Result) && (x.Type == ValueNameType.String)).Select(x => x.Name).Distinct()) 147 159 filters.Add(new NameStringComparisonFilter(
Note: See TracChangeset
for help on using the changeset viewer.