Changeset 13503


Ignore:
Timestamp:
01/12/16 17:15:11 (19 months ago)
Author:
abeham
Message:

#2560:

  • Added clients methods for the new service methods
  • Added partial class for the dto value classes of the run creation client so that one doesn't have to specify the DataType field
  • Added missing license header to UnknownCharacteristicType
Location:
trunk/sources
Files:
8 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.OKB/3.3/HeuristicLab.Clients.OKB-3.3.csproj

    r11623 r13503  
    158158    <Compile Include="RunCreation\RunCreationClient.cs" />
    159159    <Compile Include="RunCreation\ServiceClient\Algorithm.cs" />
     160    <Compile Include="RunCreation\ServiceClient\BoolValue.cs" />
     161    <Compile Include="RunCreation\ServiceClient\TimeSpanValue.cs" />
     162    <Compile Include="RunCreation\ServiceClient\StringValue.cs" />
     163    <Compile Include="RunCreation\ServiceClient\PercentValue.cs" />
     164    <Compile Include="RunCreation\ServiceClient\DoubleValue.cs" />
     165    <Compile Include="RunCreation\ServiceClient\FloatValue.cs" />
     166    <Compile Include="RunCreation\ServiceClient\LongValue.cs" />
     167    <Compile Include="RunCreation\ServiceClient\IntValue.cs" />
    160168    <Compile Include="RunCreation\ServiceClient\Problem.cs" />
    161169    <Compile Include="RunCreation\ServiceClient\RunCreationServiceClient.cs" />
  • trunk/sources/HeuristicLab.Clients.OKB/3.3/Query/QueryClient.cs

    r13474 r13503  
    9898    #endregion
    9999
     100    #region Characteristic Methods
     101    public List<Value> GetCharacteristics(long problemId) {
     102      return CallQueryService(s => s.GetCharacteristics(problemId));
     103    }
     104    #endregion
     105
    100106    #region OKB-Item Conversion
    101107    public Optimization.IRun ConvertToOptimizationRun(Run run) {
  • trunk/sources/HeuristicLab.Clients.OKB/3.3/Query/ServiceClient/QueryServiceClient.cs

    r13473 r13503  
    1919        "fer")]
    2020    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.StringComparisonFilter))]
    21     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameStringComparisonFilter))]
    2221    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.StringComparisonAvailableValuesFilter))]
    2322    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameStringComparisonAvailableValuesFilter))]
     23    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameStringComparisonFilter))]
    2424    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.OrdinalComparisonFilter))]
    25     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.OrdinalComparisonDoubleFilter))]
    26     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameOrdinalComparisonDoubleFilter))]
    27     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.OrdinalComparisonPercentFilter))]
    28     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameOrdinalComparisonPercentFilter))]
     25    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.OrdinalComparisonFloatFilter))]
     26    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameOrdinalComparisonFloatFilter))]
    2927    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.OrdinalComparisonDateTimeFilter))]
    3028    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.OrdinalComparisonIntFilter))]
     
    3230    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.OrdinalComparisonLongFilter))]
    3331    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameOrdinalComparisonLongFilter))]
    34     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.OrdinalComparisonFloatFilter))]
    35     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameOrdinalComparisonFloatFilter))]
     32    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.OrdinalComparisonDoubleFilter))]
     33    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameOrdinalComparisonDoubleFilter))]
     34    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.OrdinalComparisonPercentFilter))]
     35    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameOrdinalComparisonPercentFilter))]
    3636    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.OrdinalComparisonTimeSpanFilter))]
    3737    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameOrdinalComparisonTimeSpanFilter))]
     
    113113    [System.Runtime.Serialization.DataContractAttribute(Name="StringComparisonFilter", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
    114114        "fer")]
    115     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameStringComparisonFilter))]
    116115    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.StringComparisonAvailableValuesFilter))]
    117116    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameStringComparisonAvailableValuesFilter))]
     117    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameStringComparisonFilter))]
    118118    public partial class StringComparisonFilter : HeuristicLab.Clients.OKB.Query.Filter
    119119    {
     
    160160    [System.Diagnostics.DebuggerStepThroughAttribute()]
    161161    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    162     [System.Runtime.Serialization.DataContractAttribute(Name="NameStringComparisonFilter", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
    163         "fer")]
    164     public partial class NameStringComparisonFilter : HeuristicLab.Clients.OKB.Query.StringComparisonFilter
     162    [System.Runtime.Serialization.DataContractAttribute(Name="StringComparisonAvailableValuesFilter", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
     163        "fer")]
     164    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameStringComparisonAvailableValuesFilter))]
     165    public partial class StringComparisonAvailableValuesFilter : HeuristicLab.Clients.OKB.Query.StringComparisonFilter
     166    {
     167       
     168        private System.Collections.Generic.List<string> AvailableValuesField;
     169       
     170        [System.Runtime.Serialization.DataMemberAttribute()]
     171        public System.Collections.Generic.List<string> AvailableValues
     172        {
     173            get
     174            {
     175                return this.AvailableValuesField;
     176            }
     177            set
     178            {
     179                if ((object.ReferenceEquals(this.AvailableValuesField, value) != true))
     180                {
     181                    this.AvailableValuesField = value;
     182                    this.RaisePropertyChanged("AvailableValues");
     183                }
     184            }
     185        }
     186    }
     187   
     188    [System.Diagnostics.DebuggerStepThroughAttribute()]
     189    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
     190    [System.Runtime.Serialization.DataContractAttribute(Name="NameStringComparisonAvailableValuesFilter", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
     191        "fer")]
     192    public partial class NameStringComparisonAvailableValuesFilter : HeuristicLab.Clients.OKB.Query.StringComparisonAvailableValuesFilter
    165193    {
    166194       
     
    187215    [System.Diagnostics.DebuggerStepThroughAttribute()]
    188216    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    189     [System.Runtime.Serialization.DataContractAttribute(Name="StringComparisonAvailableValuesFilter", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
    190         "fer")]
    191     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameStringComparisonAvailableValuesFilter))]
    192     public partial class StringComparisonAvailableValuesFilter : HeuristicLab.Clients.OKB.Query.StringComparisonFilter
    193     {
    194        
    195         private System.Collections.Generic.List<string> AvailableValuesField;
    196        
    197         [System.Runtime.Serialization.DataMemberAttribute()]
    198         public System.Collections.Generic.List<string> AvailableValues
    199         {
    200             get
    201             {
    202                 return this.AvailableValuesField;
    203             }
    204             set
    205             {
    206                 if ((object.ReferenceEquals(this.AvailableValuesField, value) != true))
    207                 {
    208                     this.AvailableValuesField = value;
    209                     this.RaisePropertyChanged("AvailableValues");
    210                 }
    211             }
    212         }
    213     }
    214    
    215     [System.Diagnostics.DebuggerStepThroughAttribute()]
    216     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    217     [System.Runtime.Serialization.DataContractAttribute(Name="NameStringComparisonAvailableValuesFilter", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
    218         "fer")]
    219     public partial class NameStringComparisonAvailableValuesFilter : HeuristicLab.Clients.OKB.Query.StringComparisonAvailableValuesFilter
     217    [System.Runtime.Serialization.DataContractAttribute(Name="NameStringComparisonFilter", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
     218        "fer")]
     219    public partial class NameStringComparisonFilter : HeuristicLab.Clients.OKB.Query.StringComparisonFilter
    220220    {
    221221       
     
    244244    [System.Runtime.Serialization.DataContractAttribute(Name="OrdinalComparisonFilter", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
    245245        "fer")]
    246     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.OrdinalComparisonDoubleFilter))]
    247     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameOrdinalComparisonDoubleFilter))]
    248     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.OrdinalComparisonPercentFilter))]
    249     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameOrdinalComparisonPercentFilter))]
     246    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.OrdinalComparisonFloatFilter))]
     247    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameOrdinalComparisonFloatFilter))]
    250248    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.OrdinalComparisonDateTimeFilter))]
    251249    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.OrdinalComparisonIntFilter))]
     
    253251    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.OrdinalComparisonLongFilter))]
    254252    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameOrdinalComparisonLongFilter))]
    255     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.OrdinalComparisonFloatFilter))]
    256     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameOrdinalComparisonFloatFilter))]
     253    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.OrdinalComparisonDoubleFilter))]
     254    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameOrdinalComparisonDoubleFilter))]
     255    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.OrdinalComparisonPercentFilter))]
     256    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameOrdinalComparisonPercentFilter))]
    257257    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.OrdinalComparisonTimeSpanFilter))]
    258258    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameOrdinalComparisonTimeSpanFilter))]
     
    282282    [System.Diagnostics.DebuggerStepThroughAttribute()]
    283283    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
     284    [System.Runtime.Serialization.DataContractAttribute(Name="OrdinalComparisonFloatFilter", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
     285        "fer")]
     286    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameOrdinalComparisonFloatFilter))]
     287    public partial class OrdinalComparisonFloatFilter : HeuristicLab.Clients.OKB.Query.OrdinalComparisonFilter
     288    {
     289       
     290        private float ValueField;
     291       
     292        [System.Runtime.Serialization.DataMemberAttribute()]
     293        public float Value
     294        {
     295            get
     296            {
     297                return this.ValueField;
     298            }
     299            set
     300            {
     301                if ((this.ValueField.Equals(value) != true))
     302                {
     303                    this.ValueField = value;
     304                    this.RaisePropertyChanged("Value");
     305                }
     306            }
     307        }
     308    }
     309   
     310    [System.Diagnostics.DebuggerStepThroughAttribute()]
     311    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
     312    [System.Runtime.Serialization.DataContractAttribute(Name="NameOrdinalComparisonFloatFilter", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
     313        "fer")]
     314    public partial class NameOrdinalComparisonFloatFilter : HeuristicLab.Clients.OKB.Query.OrdinalComparisonFloatFilter
     315    {
     316       
     317        private string NameField;
     318       
     319        [System.Runtime.Serialization.DataMemberAttribute()]
     320        public string Name
     321        {
     322            get
     323            {
     324                return this.NameField;
     325            }
     326            set
     327            {
     328                if ((object.ReferenceEquals(this.NameField, value) != true))
     329                {
     330                    this.NameField = value;
     331                    this.RaisePropertyChanged("Name");
     332                }
     333            }
     334        }
     335    }
     336   
     337    [System.Diagnostics.DebuggerStepThroughAttribute()]
     338    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
     339    [System.Runtime.Serialization.DataContractAttribute(Name="OrdinalComparisonDateTimeFilter", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
     340        "fer")]
     341    public partial class OrdinalComparisonDateTimeFilter : HeuristicLab.Clients.OKB.Query.OrdinalComparisonFilter
     342    {
     343       
     344        private System.DateTime ValueField;
     345       
     346        [System.Runtime.Serialization.DataMemberAttribute()]
     347        public System.DateTime Value
     348        {
     349            get
     350            {
     351                return this.ValueField;
     352            }
     353            set
     354            {
     355                if ((this.ValueField.Equals(value) != true))
     356                {
     357                    this.ValueField = value;
     358                    this.RaisePropertyChanged("Value");
     359                }
     360            }
     361        }
     362    }
     363   
     364    [System.Diagnostics.DebuggerStepThroughAttribute()]
     365    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
     366    [System.Runtime.Serialization.DataContractAttribute(Name="OrdinalComparisonIntFilter", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
     367        "fer")]
     368    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameOrdinalComparisonIntFilter))]
     369    public partial class OrdinalComparisonIntFilter : HeuristicLab.Clients.OKB.Query.OrdinalComparisonFilter
     370    {
     371       
     372        private int ValueField;
     373       
     374        [System.Runtime.Serialization.DataMemberAttribute()]
     375        public int Value
     376        {
     377            get
     378            {
     379                return this.ValueField;
     380            }
     381            set
     382            {
     383                if ((this.ValueField.Equals(value) != true))
     384                {
     385                    this.ValueField = value;
     386                    this.RaisePropertyChanged("Value");
     387                }
     388            }
     389        }
     390    }
     391   
     392    [System.Diagnostics.DebuggerStepThroughAttribute()]
     393    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
     394    [System.Runtime.Serialization.DataContractAttribute(Name="NameOrdinalComparisonIntFilter", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
     395        "fer")]
     396    public partial class NameOrdinalComparisonIntFilter : HeuristicLab.Clients.OKB.Query.OrdinalComparisonIntFilter
     397    {
     398       
     399        private string NameField;
     400       
     401        [System.Runtime.Serialization.DataMemberAttribute()]
     402        public string Name
     403        {
     404            get
     405            {
     406                return this.NameField;
     407            }
     408            set
     409            {
     410                if ((object.ReferenceEquals(this.NameField, value) != true))
     411                {
     412                    this.NameField = value;
     413                    this.RaisePropertyChanged("Name");
     414                }
     415            }
     416        }
     417    }
     418   
     419    [System.Diagnostics.DebuggerStepThroughAttribute()]
     420    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
     421    [System.Runtime.Serialization.DataContractAttribute(Name="OrdinalComparisonLongFilter", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
     422        "fer")]
     423    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameOrdinalComparisonLongFilter))]
     424    public partial class OrdinalComparisonLongFilter : HeuristicLab.Clients.OKB.Query.OrdinalComparisonFilter
     425    {
     426       
     427        private long ValueField;
     428       
     429        [System.Runtime.Serialization.DataMemberAttribute()]
     430        public long Value
     431        {
     432            get
     433            {
     434                return this.ValueField;
     435            }
     436            set
     437            {
     438                if ((this.ValueField.Equals(value) != true))
     439                {
     440                    this.ValueField = value;
     441                    this.RaisePropertyChanged("Value");
     442                }
     443            }
     444        }
     445    }
     446   
     447    [System.Diagnostics.DebuggerStepThroughAttribute()]
     448    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
     449    [System.Runtime.Serialization.DataContractAttribute(Name="NameOrdinalComparisonLongFilter", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
     450        "fer")]
     451    public partial class NameOrdinalComparisonLongFilter : HeuristicLab.Clients.OKB.Query.OrdinalComparisonLongFilter
     452    {
     453       
     454        private string NameField;
     455       
     456        [System.Runtime.Serialization.DataMemberAttribute()]
     457        public string Name
     458        {
     459            get
     460            {
     461                return this.NameField;
     462            }
     463            set
     464            {
     465                if ((object.ReferenceEquals(this.NameField, value) != true))
     466                {
     467                    this.NameField = value;
     468                    this.RaisePropertyChanged("Name");
     469                }
     470            }
     471        }
     472    }
     473   
     474    [System.Diagnostics.DebuggerStepThroughAttribute()]
     475    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    284476    [System.Runtime.Serialization.DataContractAttribute(Name="OrdinalComparisonDoubleFilter", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
    285477        "fer")]
     
    368560        "fer")]
    369561    public partial class NameOrdinalComparisonPercentFilter : HeuristicLab.Clients.OKB.Query.OrdinalComparisonPercentFilter
    370     {
    371        
    372         private string NameField;
    373        
    374         [System.Runtime.Serialization.DataMemberAttribute()]
    375         public string Name
    376         {
    377             get
    378             {
    379                 return this.NameField;
    380             }
    381             set
    382             {
    383                 if ((object.ReferenceEquals(this.NameField, value) != true))
    384                 {
    385                     this.NameField = value;
    386                     this.RaisePropertyChanged("Name");
    387                 }
    388             }
    389         }
    390     }
    391    
    392     [System.Diagnostics.DebuggerStepThroughAttribute()]
    393     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    394     [System.Runtime.Serialization.DataContractAttribute(Name="OrdinalComparisonDateTimeFilter", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
    395         "fer")]
    396     public partial class OrdinalComparisonDateTimeFilter : HeuristicLab.Clients.OKB.Query.OrdinalComparisonFilter
    397     {
    398        
    399         private System.DateTime ValueField;
    400        
    401         [System.Runtime.Serialization.DataMemberAttribute()]
    402         public System.DateTime Value
    403         {
    404             get
    405             {
    406                 return this.ValueField;
    407             }
    408             set
    409             {
    410                 if ((this.ValueField.Equals(value) != true))
    411                 {
    412                     this.ValueField = value;
    413                     this.RaisePropertyChanged("Value");
    414                 }
    415             }
    416         }
    417     }
    418    
    419     [System.Diagnostics.DebuggerStepThroughAttribute()]
    420     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    421     [System.Runtime.Serialization.DataContractAttribute(Name="OrdinalComparisonIntFilter", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
    422         "fer")]
    423     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameOrdinalComparisonIntFilter))]
    424     public partial class OrdinalComparisonIntFilter : HeuristicLab.Clients.OKB.Query.OrdinalComparisonFilter
    425     {
    426        
    427         private int ValueField;
    428        
    429         [System.Runtime.Serialization.DataMemberAttribute()]
    430         public int Value
    431         {
    432             get
    433             {
    434                 return this.ValueField;
    435             }
    436             set
    437             {
    438                 if ((this.ValueField.Equals(value) != true))
    439                 {
    440                     this.ValueField = value;
    441                     this.RaisePropertyChanged("Value");
    442                 }
    443             }
    444         }
    445     }
    446    
    447     [System.Diagnostics.DebuggerStepThroughAttribute()]
    448     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    449     [System.Runtime.Serialization.DataContractAttribute(Name="NameOrdinalComparisonIntFilter", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
    450         "fer")]
    451     public partial class NameOrdinalComparisonIntFilter : HeuristicLab.Clients.OKB.Query.OrdinalComparisonIntFilter
    452     {
    453        
    454         private string NameField;
    455        
    456         [System.Runtime.Serialization.DataMemberAttribute()]
    457         public string Name
    458         {
    459             get
    460             {
    461                 return this.NameField;
    462             }
    463             set
    464             {
    465                 if ((object.ReferenceEquals(this.NameField, value) != true))
    466                 {
    467                     this.NameField = value;
    468                     this.RaisePropertyChanged("Name");
    469                 }
    470             }
    471         }
    472     }
    473    
    474     [System.Diagnostics.DebuggerStepThroughAttribute()]
    475     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    476     [System.Runtime.Serialization.DataContractAttribute(Name="OrdinalComparisonLongFilter", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
    477         "fer")]
    478     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameOrdinalComparisonLongFilter))]
    479     public partial class OrdinalComparisonLongFilter : HeuristicLab.Clients.OKB.Query.OrdinalComparisonFilter
    480     {
    481        
    482         private long ValueField;
    483        
    484         [System.Runtime.Serialization.DataMemberAttribute()]
    485         public long Value
    486         {
    487             get
    488             {
    489                 return this.ValueField;
    490             }
    491             set
    492             {
    493                 if ((this.ValueField.Equals(value) != true))
    494                 {
    495                     this.ValueField = value;
    496                     this.RaisePropertyChanged("Value");
    497                 }
    498             }
    499         }
    500     }
    501    
    502     [System.Diagnostics.DebuggerStepThroughAttribute()]
    503     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    504     [System.Runtime.Serialization.DataContractAttribute(Name="NameOrdinalComparisonLongFilter", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
    505         "fer")]
    506     public partial class NameOrdinalComparisonLongFilter : HeuristicLab.Clients.OKB.Query.OrdinalComparisonLongFilter
    507     {
    508        
    509         private string NameField;
    510        
    511         [System.Runtime.Serialization.DataMemberAttribute()]
    512         public string Name
    513         {
    514             get
    515             {
    516                 return this.NameField;
    517             }
    518             set
    519             {
    520                 if ((object.ReferenceEquals(this.NameField, value) != true))
    521                 {
    522                     this.NameField = value;
    523                     this.RaisePropertyChanged("Name");
    524                 }
    525             }
    526         }
    527     }
    528    
    529     [System.Diagnostics.DebuggerStepThroughAttribute()]
    530     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    531     [System.Runtime.Serialization.DataContractAttribute(Name="OrdinalComparisonFloatFilter", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
    532         "fer")]
    533     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.NameOrdinalComparisonFloatFilter))]
    534     public partial class OrdinalComparisonFloatFilter : HeuristicLab.Clients.OKB.Query.OrdinalComparisonFilter
    535     {
    536        
    537         private float ValueField;
    538        
    539         [System.Runtime.Serialization.DataMemberAttribute()]
    540         public float Value
    541         {
    542             get
    543             {
    544                 return this.ValueField;
    545             }
    546             set
    547             {
    548                 if ((this.ValueField.Equals(value) != true))
    549                 {
    550                     this.ValueField = value;
    551                     this.RaisePropertyChanged("Value");
    552                 }
    553             }
    554         }
    555     }
    556    
    557     [System.Diagnostics.DebuggerStepThroughAttribute()]
    558     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    559     [System.Runtime.Serialization.DataContractAttribute(Name="NameOrdinalComparisonFloatFilter", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
    560         "fer")]
    561     public partial class NameOrdinalComparisonFloatFilter : HeuristicLab.Clients.OKB.Query.OrdinalComparisonFloatFilter
    562562    {
    563563       
     
    13641364    [System.Runtime.Serialization.DataContractAttribute(Name="Value", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
    13651365        "fer")]
    1366     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.BinaryValue))]
    1367     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.StringValue))]
     1366    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.LongValue))]
     1367    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.FloatValue))]
    13681368    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.DoubleValue))]
    1369     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.PercentValue))]
    1370     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.FloatValue))]
    1371     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.BoolValue))]
    13721369    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.TimeSpanValue))]
    13731370    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.IntValue))]
    1374     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.LongValue))]
     1371    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.PercentValue))]
     1372    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.BoolValue))]
     1373    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.StringValue))]
     1374    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Query.BinaryValue))]
    13751375    public partial class Value : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged
    13761376    {
     
    15131513    [System.Diagnostics.DebuggerStepThroughAttribute()]
    15141514    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    1515     [System.Runtime.Serialization.DataContractAttribute(Name="BinaryValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
    1516         "fer")]
    1517     public partial class BinaryValue : HeuristicLab.Clients.OKB.Query.Value
    1518     {
    1519        
    1520         private byte[] ValueField;
    1521        
    1522         [System.Runtime.Serialization.DataMemberAttribute()]
    1523         public byte[] Value
     1515    [System.Runtime.Serialization.DataContractAttribute(Name="LongValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
     1516        "fer")]
     1517    public partial class LongValue : HeuristicLab.Clients.OKB.Query.Value
     1518    {
     1519       
     1520        private long ValueField;
     1521       
     1522        [System.Runtime.Serialization.DataMemberAttribute()]
     1523        public long Value
    15241524        {
    15251525            get
     
    15291529            set
    15301530            {
    1531                 if ((object.ReferenceEquals(this.ValueField, value) != true))
     1531                if ((this.ValueField.Equals(value) != true))
    15321532                {
    15331533                    this.ValueField = value;
     
    15401540    [System.Diagnostics.DebuggerStepThroughAttribute()]
    15411541    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    1542     [System.Runtime.Serialization.DataContractAttribute(Name="StringValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
    1543         "fer")]
    1544     public partial class StringValue : HeuristicLab.Clients.OKB.Query.Value
    1545     {
    1546        
    1547         private string ValueField;
    1548        
    1549         [System.Runtime.Serialization.DataMemberAttribute()]
    1550         public string Value
     1542    [System.Runtime.Serialization.DataContractAttribute(Name="FloatValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
     1543        "fer")]
     1544    public partial class FloatValue : HeuristicLab.Clients.OKB.Query.Value
     1545    {
     1546       
     1547        private float ValueField;
     1548       
     1549        [System.Runtime.Serialization.DataMemberAttribute()]
     1550        public float Value
    15511551        {
    15521552            get
     
    15561556            set
    15571557            {
    1558                 if ((object.ReferenceEquals(this.ValueField, value) != true))
     1558                if ((this.ValueField.Equals(value) != true))
    15591559                {
    15601560                    this.ValueField = value;
     
    15941594    [System.Diagnostics.DebuggerStepThroughAttribute()]
    15951595    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    1596     [System.Runtime.Serialization.DataContractAttribute(Name="PercentValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
    1597         "fer")]
    1598     public partial class PercentValue : HeuristicLab.Clients.OKB.Query.Value
    1599     {
    1600        
    1601         private double ValueField;
    1602        
    1603         [System.Runtime.Serialization.DataMemberAttribute()]
    1604         public double Value
     1596    [System.Runtime.Serialization.DataContractAttribute(Name="TimeSpanValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
     1597        "fer")]
     1598    public partial class TimeSpanValue : HeuristicLab.Clients.OKB.Query.Value
     1599    {
     1600       
     1601        private long ValueField;
     1602       
     1603        [System.Runtime.Serialization.DataMemberAttribute()]
     1604        public long Value
    16051605        {
    16061606            get
     
    16211621    [System.Diagnostics.DebuggerStepThroughAttribute()]
    16221622    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    1623     [System.Runtime.Serialization.DataContractAttribute(Name="FloatValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
    1624         "fer")]
    1625     public partial class FloatValue : HeuristicLab.Clients.OKB.Query.Value
    1626     {
    1627        
    1628         private float ValueField;
    1629        
    1630         [System.Runtime.Serialization.DataMemberAttribute()]
    1631         public float Value
     1623    [System.Runtime.Serialization.DataContractAttribute(Name="IntValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
     1624        "fer")]
     1625    public partial class IntValue : HeuristicLab.Clients.OKB.Query.Value
     1626    {
     1627       
     1628        private int ValueField;
     1629       
     1630        [System.Runtime.Serialization.DataMemberAttribute()]
     1631        public int Value
    16321632        {
    16331633            get
     
    16481648    [System.Diagnostics.DebuggerStepThroughAttribute()]
    16491649    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    1650     [System.Runtime.Serialization.DataContractAttribute(Name="BoolValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
    1651         "fer")]
    1652     public partial class BoolValue : HeuristicLab.Clients.OKB.Query.Value
    1653     {
    1654        
    1655         private bool ValueField;
    1656        
    1657         [System.Runtime.Serialization.DataMemberAttribute()]
    1658         public bool Value
     1650    [System.Runtime.Serialization.DataContractAttribute(Name="PercentValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
     1651        "fer")]
     1652    public partial class PercentValue : HeuristicLab.Clients.OKB.Query.Value
     1653    {
     1654       
     1655        private double ValueField;
     1656       
     1657        [System.Runtime.Serialization.DataMemberAttribute()]
     1658        public double Value
    16591659        {
    16601660            get
     
    16751675    [System.Diagnostics.DebuggerStepThroughAttribute()]
    16761676    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    1677     [System.Runtime.Serialization.DataContractAttribute(Name="TimeSpanValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
    1678         "fer")]
    1679     public partial class TimeSpanValue : HeuristicLab.Clients.OKB.Query.Value
    1680     {
    1681        
    1682         private long ValueField;
    1683        
    1684         [System.Runtime.Serialization.DataMemberAttribute()]
    1685         public long Value
     1677    [System.Runtime.Serialization.DataContractAttribute(Name="BoolValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
     1678        "fer")]
     1679    public partial class BoolValue : HeuristicLab.Clients.OKB.Query.Value
     1680    {
     1681       
     1682        private bool ValueField;
     1683       
     1684        [System.Runtime.Serialization.DataMemberAttribute()]
     1685        public bool Value
    16861686        {
    16871687            get
     
    17021702    [System.Diagnostics.DebuggerStepThroughAttribute()]
    17031703    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    1704     [System.Runtime.Serialization.DataContractAttribute(Name="IntValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
    1705         "fer")]
    1706     public partial class IntValue : HeuristicLab.Clients.OKB.Query.Value
    1707     {
    1708        
    1709         private int ValueField;
    1710        
    1711         [System.Runtime.Serialization.DataMemberAttribute()]
    1712         public int Value
     1704    [System.Runtime.Serialization.DataContractAttribute(Name="StringValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
     1705        "fer")]
     1706    public partial class StringValue : HeuristicLab.Clients.OKB.Query.Value
     1707    {
     1708       
     1709        private string ValueField;
     1710       
     1711        [System.Runtime.Serialization.DataMemberAttribute()]
     1712        public string Value
    17131713        {
    17141714            get
     
    17181718            set
    17191719            {
    1720                 if ((this.ValueField.Equals(value) != true))
     1720                if ((object.ReferenceEquals(this.ValueField, value) != true))
    17211721                {
    17221722                    this.ValueField = value;
     
    17291729    [System.Diagnostics.DebuggerStepThroughAttribute()]
    17301730    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    1731     [System.Runtime.Serialization.DataContractAttribute(Name="LongValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
    1732         "fer")]
    1733     public partial class LongValue : HeuristicLab.Clients.OKB.Query.Value
    1734     {
    1735        
    1736         private long ValueField;
    1737        
    1738         [System.Runtime.Serialization.DataMemberAttribute()]
    1739         public long Value
     1731    [System.Runtime.Serialization.DataContractAttribute(Name="BinaryValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.Query.DataTrans" +
     1732        "fer")]
     1733    public partial class BinaryValue : HeuristicLab.Clients.OKB.Query.Value
     1734    {
     1735       
     1736        private byte[] ValueField;
     1737       
     1738        [System.Runtime.Serialization.DataMemberAttribute()]
     1739        public byte[] Value
    17401740        {
    17411741            get
     
    17451745            set
    17461746            {
    1747                 if ((this.ValueField.Equals(value) != true))
     1747                if ((object.ReferenceEquals(this.ValueField, value) != true))
    17481748                {
    17491749                    this.ValueField = value;
     
    18961896        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IQueryService/GetValueNames", ReplyAction="http://tempuri.org/IQueryService/GetValueNamesResponse")]
    18971897        System.Threading.Tasks.Task<System.Collections.Generic.List<HeuristicLab.Clients.OKB.Query.ValueName>> GetValueNamesAsync();
     1898       
     1899        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IQueryService/GetCharacteristics", ReplyAction="http://tempuri.org/IQueryService/GetCharacteristicsResponse")]
     1900        System.Collections.Generic.List<HeuristicLab.Clients.OKB.Query.Value> GetCharacteristics(long problemId);
     1901       
     1902        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IQueryService/GetCharacteristics", ReplyAction="http://tempuri.org/IQueryService/GetCharacteristicsResponse")]
     1903        System.Threading.Tasks.Task<System.Collections.Generic.List<HeuristicLab.Clients.OKB.Query.Value>> GetCharacteristicsAsync(long problemId);
    18981904    }
    18991905   
     
    19911997            return base.Channel.GetValueNamesAsync();
    19921998        }
     1999       
     2000        public System.Collections.Generic.List<HeuristicLab.Clients.OKB.Query.Value> GetCharacteristics(long problemId)
     2001        {
     2002            return base.Channel.GetCharacteristics(problemId);
     2003        }
     2004       
     2005        public System.Threading.Tasks.Task<System.Collections.Generic.List<HeuristicLab.Clients.OKB.Query.Value>> GetCharacteristicsAsync(long problemId)
     2006        {
     2007            return base.Channel.GetCharacteristicsAsync(problemId);
     2008        }
    19932009    }
    19942010}
  • trunk/sources/HeuristicLab.Clients.OKB/3.3/RunCreation/RunCreationClient.cs

    r12012 r13503  
    6161        algorithms.AddRange(CallRunCreationService<List<Algorithm>>(s => s.GetAlgorithms("HeuristicLab 3.3")));
    6262        problems.AddRange(CallRunCreationService<List<Problem>>(s => s.GetProblems("HeuristicLab 3.3")));
    63       }
    64       finally {
     63      } finally {
    6564        OnRefreshed();
    6665      }
     
    7069        try {
    7170          Refresh();
    72         }
    73         catch (Exception ex) {
     71        } catch (Exception ex) {
    7472          return ex;
    7573        }
     
    10199    #endregion
    102100
     101    #region Characteristic Methods
     102    public static void SetCharacteristicValue(long problemId, string characteristicName, Value v) {
     103      CallRunCreationService(s => s.SetCharacteristicValue(problemId, characteristicName, v));
     104    }
     105    #endregion
     106
    103107    #region Events
    104108    public event EventHandler Refreshing;
     
    119123      try {
    120124        call(client);
    121       }
    122       finally {
     125      } finally {
    123126        try {
    124127          client.Close();
    125         }
    126         catch (Exception) {
     128        } catch (Exception) {
    127129          client.Abort();
    128130        }
     
    133135      try {
    134136        return call(client);
    135       }
    136       finally {
     137      } finally {
    137138        try {
    138139          client.Close();
    139         }
    140         catch (Exception) {
     140        } catch (Exception) {
    141141          client.Abort();
    142142        }
  • trunk/sources/HeuristicLab.Clients.OKB/3.3/RunCreation/ServiceClient/RunCreationServiceClient.cs

    r8055 r13503  
    22// <auto-generated>
    33//     This code was generated by a tool.
    4 //     Runtime Version:4.0.30319.261
     4//     Runtime Version:4.0.30319.34209
    55//
    66//     Changes to this file may cause incorrect behavior and will be lost if
     
    653653    [System.Runtime.Serialization.DataContractAttribute(Name="Value", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +
    654654        "aTransfer")]
    655     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.BinaryValue))]
     655    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.IntValue))]
    656656    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.LongValue))]
    657657    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.FloatValue))]
     658    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.PercentValue))]
    658659    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.TimeSpanValue))]
    659     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.IntValue))]
    660660    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.BoolValue))]
    661661    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.DoubleValue))]
    662     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.PercentValue))]
    663662    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.StringValue))]
     663    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.BinaryValue))]
    664664    public partial class Value : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged
    665665    {
     
    731731    [System.Diagnostics.DebuggerStepThroughAttribute()]
    732732    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    733     [System.Runtime.Serialization.DataContractAttribute(Name="BinaryValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +
    734         "aTransfer")]
    735     public partial class BinaryValue : HeuristicLab.Clients.OKB.RunCreation.Value
    736     {
    737        
    738         private byte[] ValueField;
    739        
    740         [System.Runtime.Serialization.DataMemberAttribute()]
    741         public byte[] Value
     733    [System.Runtime.Serialization.DataContractAttribute(Name="IntValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +
     734        "aTransfer")]
     735    public partial class IntValue : HeuristicLab.Clients.OKB.RunCreation.Value
     736    {
     737       
     738        private int ValueField;
     739       
     740        [System.Runtime.Serialization.DataMemberAttribute()]
     741        public int Value
    742742        {
    743743            get
     
    747747            set
    748748            {
    749                 if ((object.ReferenceEquals(this.ValueField, value) != true))
     749                if ((this.ValueField.Equals(value) != true))
    750750                {
    751751                    this.ValueField = value;
     
    812812    [System.Diagnostics.DebuggerStepThroughAttribute()]
    813813    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    814     [System.Runtime.Serialization.DataContractAttribute(Name="TimeSpanValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +
    815         "aTransfer")]
    816     public partial class TimeSpanValue : HeuristicLab.Clients.OKB.RunCreation.Value
    817     {
    818        
    819         private long ValueField;
    820        
    821         [System.Runtime.Serialization.DataMemberAttribute()]
    822         public long Value
     814    [System.Runtime.Serialization.DataContractAttribute(Name="PercentValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +
     815        "aTransfer")]
     816    public partial class PercentValue : HeuristicLab.Clients.OKB.RunCreation.Value
     817    {
     818       
     819        private double ValueField;
     820       
     821        [System.Runtime.Serialization.DataMemberAttribute()]
     822        public double Value
    823823        {
    824824            get
     
    839839    [System.Diagnostics.DebuggerStepThroughAttribute()]
    840840    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    841     [System.Runtime.Serialization.DataContractAttribute(Name="IntValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +
    842         "aTransfer")]
    843     public partial class IntValue : HeuristicLab.Clients.OKB.RunCreation.Value
    844     {
    845        
    846         private int ValueField;
    847        
    848         [System.Runtime.Serialization.DataMemberAttribute()]
    849         public int Value
     841    [System.Runtime.Serialization.DataContractAttribute(Name="TimeSpanValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +
     842        "aTransfer")]
     843    public partial class TimeSpanValue : HeuristicLab.Clients.OKB.RunCreation.Value
     844    {
     845       
     846        private long ValueField;
     847       
     848        [System.Runtime.Serialization.DataMemberAttribute()]
     849        public long Value
    850850        {
    851851            get
     
    920920    [System.Diagnostics.DebuggerStepThroughAttribute()]
    921921    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    922     [System.Runtime.Serialization.DataContractAttribute(Name="PercentValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +
    923         "aTransfer")]
    924     public partial class PercentValue : HeuristicLab.Clients.OKB.RunCreation.Value
    925     {
    926        
    927         private double ValueField;
    928        
    929         [System.Runtime.Serialization.DataMemberAttribute()]
    930         public double Value
     922    [System.Runtime.Serialization.DataContractAttribute(Name="StringValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +
     923        "aTransfer")]
     924    public partial class StringValue : HeuristicLab.Clients.OKB.RunCreation.Value
     925    {
     926       
     927        private string ValueField;
     928       
     929        [System.Runtime.Serialization.DataMemberAttribute()]
     930        public string Value
    931931        {
    932932            get
     
    936936            set
    937937            {
    938                 if ((this.ValueField.Equals(value) != true))
     938                if ((object.ReferenceEquals(this.ValueField, value) != true))
    939939                {
    940940                    this.ValueField = value;
     
    947947    [System.Diagnostics.DebuggerStepThroughAttribute()]
    948948    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    949     [System.Runtime.Serialization.DataContractAttribute(Name="StringValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +
    950         "aTransfer")]
    951     public partial class StringValue : HeuristicLab.Clients.OKB.RunCreation.Value
    952     {
    953        
    954         private string ValueField;
    955        
    956         [System.Runtime.Serialization.DataMemberAttribute()]
    957         public string Value
     949    [System.Runtime.Serialization.DataContractAttribute(Name="BinaryValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +
     950        "aTransfer")]
     951    public partial class BinaryValue : HeuristicLab.Clients.OKB.RunCreation.Value
     952    {
     953       
     954        private byte[] ValueField;
     955       
     956        [System.Runtime.Serialization.DataMemberAttribute()]
     957        public byte[] Value
    958958        {
    959959            get
     
    968968                    this.RaisePropertyChanged("Value");
    969969                }
     970            }
     971        }
     972    }
     973   
     974    [System.Diagnostics.DebuggerStepThroughAttribute()]
     975    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
     976    [System.Runtime.Serialization.DataContractAttribute(Name="MissingProblem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation")]
     977    public partial class MissingProblem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged
     978    {
     979       
     980        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
     981       
     982        private string MessageField;
     983       
     984        public System.Runtime.Serialization.ExtensionDataObject ExtensionData
     985        {
     986            get
     987            {
     988                return this.extensionDataField;
     989            }
     990            set
     991            {
     992                this.extensionDataField = value;
     993            }
     994        }
     995       
     996        [System.Runtime.Serialization.DataMemberAttribute()]
     997        public string Message
     998        {
     999            get
     1000            {
     1001                return this.MessageField;
     1002            }
     1003            set
     1004            {
     1005                if ((object.ReferenceEquals(this.MessageField, value) != true))
     1006                {
     1007                    this.MessageField = value;
     1008                    this.RaisePropertyChanged("Message");
     1009                }
     1010            }
     1011        }
     1012       
     1013        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
     1014       
     1015        protected void RaisePropertyChanged(string propertyName)
     1016        {
     1017            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
     1018            if ((propertyChanged != null))
     1019            {
     1020                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
     1021            }
     1022        }
     1023    }
     1024   
     1025    [System.Diagnostics.DebuggerStepThroughAttribute()]
     1026    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
     1027    [System.Runtime.Serialization.DataContractAttribute(Name="UnknownCharacteristicType", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation")]
     1028    public partial class UnknownCharacteristicType : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged
     1029    {
     1030       
     1031        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
     1032       
     1033        private string MessageField;
     1034       
     1035        public System.Runtime.Serialization.ExtensionDataObject ExtensionData
     1036        {
     1037            get
     1038            {
     1039                return this.extensionDataField;
     1040            }
     1041            set
     1042            {
     1043                this.extensionDataField = value;
     1044            }
     1045        }
     1046       
     1047        [System.Runtime.Serialization.DataMemberAttribute()]
     1048        public string Message
     1049        {
     1050            get
     1051            {
     1052                return this.MessageField;
     1053            }
     1054            set
     1055            {
     1056                if ((object.ReferenceEquals(this.MessageField, value) != true))
     1057                {
     1058                    this.MessageField = value;
     1059                    this.RaisePropertyChanged("Message");
     1060                }
     1061            }
     1062        }
     1063       
     1064        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
     1065       
     1066        protected void RaisePropertyChanged(string propertyName)
     1067        {
     1068            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
     1069            if ((propertyChanged != null))
     1070            {
     1071                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
    9701072            }
    9711073        }
     
    9801082        System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Algorithm> GetAlgorithms(string platformName);
    9811083       
     1084        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetAlgorithms", ReplyAction="http://tempuri.org/IRunCreationService/GetAlgorithmsResponse")]
     1085        System.Threading.Tasks.Task<System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Algorithm>> GetAlgorithmsAsync(string platformName);
     1086       
    9821087        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetAlgorithmData", ReplyAction="http://tempuri.org/IRunCreationService/GetAlgorithmDataResponse")]
    9831088        byte[] GetAlgorithmData(long algorithmId);
    9841089       
     1090        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetAlgorithmData", ReplyAction="http://tempuri.org/IRunCreationService/GetAlgorithmDataResponse")]
     1091        System.Threading.Tasks.Task<byte[]> GetAlgorithmDataAsync(long algorithmId);
     1092       
    9851093        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetProblems", ReplyAction="http://tempuri.org/IRunCreationService/GetProblemsResponse")]
    9861094        System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Problem> GetProblems(string platformName);
    9871095       
     1096        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetProblems", ReplyAction="http://tempuri.org/IRunCreationService/GetProblemsResponse")]
     1097        System.Threading.Tasks.Task<System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Problem>> GetProblemsAsync(string platformName);
     1098       
    9881099        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetProblemData", ReplyAction="http://tempuri.org/IRunCreationService/GetProblemDataResponse")]
    9891100        byte[] GetProblemData(long problemId);
    9901101       
     1102        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetProblemData", ReplyAction="http://tempuri.org/IRunCreationService/GetProblemDataResponse")]
     1103        System.Threading.Tasks.Task<byte[]> GetProblemDataAsync(long problemId);
     1104       
    9911105        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/AddRun", ReplyAction="http://tempuri.org/IRunCreationService/AddRunResponse")]
    9921106        void AddRun(HeuristicLab.Clients.OKB.RunCreation.Run run);
     1107       
     1108        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/AddRun", ReplyAction="http://tempuri.org/IRunCreationService/AddRunResponse")]
     1109        System.Threading.Tasks.Task AddRunAsync(HeuristicLab.Clients.OKB.RunCreation.Run run);
     1110       
     1111        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/SetCharacteristicValue", ReplyAction="http://tempuri.org/IRunCreationService/SetCharacteristicValueResponse")]
     1112        [System.ServiceModel.FaultContractAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.MissingProblem), Action="http://tempuri.org/IRunCreationService/SetCharacteristicValueMissingProblemFault", Name="MissingProblem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation")]
     1113        [System.ServiceModel.FaultContractAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.UnknownCharacteristicType), Action="http://tempuri.org/IRunCreationService/SetCharacteristicValueUnknownCharacteristi" +
     1114            "cTypeFault", Name="UnknownCharacteristicType", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation")]
     1115        void SetCharacteristicValue(long problemId, string characteristicName, HeuristicLab.Clients.OKB.RunCreation.Value value);
     1116       
     1117        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/SetCharacteristicValue", ReplyAction="http://tempuri.org/IRunCreationService/SetCharacteristicValueResponse")]
     1118        System.Threading.Tasks.Task SetCharacteristicValueAsync(long problemId, string characteristicName, HeuristicLab.Clients.OKB.RunCreation.Value value);
    9931119    }
    9941120   
     
    10321158        }
    10331159       
     1160        public System.Threading.Tasks.Task<System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Algorithm>> GetAlgorithmsAsync(string platformName)
     1161        {
     1162            return base.Channel.GetAlgorithmsAsync(platformName);
     1163        }
     1164       
    10341165        public byte[] GetAlgorithmData(long algorithmId)
    10351166        {
     
    10371168        }
    10381169       
     1170        public System.Threading.Tasks.Task<byte[]> GetAlgorithmDataAsync(long algorithmId)
     1171        {
     1172            return base.Channel.GetAlgorithmDataAsync(algorithmId);
     1173        }
     1174       
    10391175        public System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Problem> GetProblems(string platformName)
    10401176        {
     
    10421178        }
    10431179       
     1180        public System.Threading.Tasks.Task<System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Problem>> GetProblemsAsync(string platformName)
     1181        {
     1182            return base.Channel.GetProblemsAsync(platformName);
     1183        }
     1184       
    10441185        public byte[] GetProblemData(long problemId)
    10451186        {
     
    10471188        }
    10481189       
     1190        public System.Threading.Tasks.Task<byte[]> GetProblemDataAsync(long problemId)
     1191        {
     1192            return base.Channel.GetProblemDataAsync(problemId);
     1193        }
     1194       
    10491195        public void AddRun(HeuristicLab.Clients.OKB.RunCreation.Run run)
    10501196        {
    10511197            base.Channel.AddRun(run);
    10521198        }
     1199       
     1200        public System.Threading.Tasks.Task AddRunAsync(HeuristicLab.Clients.OKB.RunCreation.Run run)
     1201        {
     1202            return base.Channel.AddRunAsync(run);
     1203        }
     1204       
     1205        public void SetCharacteristicValue(long problemId, string characteristicName, HeuristicLab.Clients.OKB.RunCreation.Value value)
     1206        {
     1207            base.Channel.SetCharacteristicValue(problemId, characteristicName, value);
     1208        }
     1209       
     1210        public System.Threading.Tasks.Task SetCharacteristicValueAsync(long problemId, string characteristicName, HeuristicLab.Clients.OKB.RunCreation.Value value)
     1211        {
     1212            return base.Channel.SetCharacteristicValueAsync(problemId, characteristicName, value);
     1213        }
    10531214    }
    10541215}
  • trunk/sources/HeuristicLab.Services.OKB/3.3/RunCreation/UnknownCharacteristicType.cs

    r13501 r13503  
    1 using System.Runtime.Serialization;
     1#region License Information
     2/* HeuristicLab
     3 * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     4 *
     5 * This file is part of HeuristicLab.
     6 *
     7 * HeuristicLab is free software: you can redistribute it and/or modify
     8 * it under the terms of the GNU General Public License as published by
     9 * the Free Software Foundation, either version 3 of the License, or
     10 * (at your option) any later version.
     11 *
     12 * HeuristicLab is distributed in the hope that it will be useful,
     13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 * GNU General Public License for more details.
     16 *
     17 * You should have received a copy of the GNU General Public License
     18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
     19 */
     20#endregion
     21
     22using System.Runtime.Serialization;
    223
    324namespace HeuristicLab.Services.OKB.RunCreation {
Note: See TracChangeset for help on using the changeset viewer.