Changeset 13684 for trunk/sources
- Timestamp:
- 03/10/16 22:31:28 (9 years ago)
- Location:
- trunk/sources
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.OKB.Views/3.3/RunCreation/Views/OKBProblemView.cs
r13666 r13684 183 183 } 184 184 private void downloadCharacteristicsButton_Click(object sender, EventArgs e) { 185 var values = RunCreationClient. GetCharacteristicValues(Content.ProblemId).ToList();185 var values = RunCreationClient.Instance.GetCharacteristicValues(Content.ProblemId).ToList(); 186 186 var content = new StringMatrix(values.Count, 3); 187 187 for (var i = 0; i < values.Count; i++) { … … 204 204 } 205 205 try { 206 RunCreationClient. SetCharacteristicValues(Content.ProblemId, values);206 RunCreationClient.Instance.SetCharacteristicValues(Content.ProblemId, values); 207 207 } catch (Exception ex) { ErrorHandling.ShowErrorDialog(ex); } 208 208 } -
trunk/sources/HeuristicLab.Clients.OKB/3.3/RunCreation/OKBAlgorithm.cs
r12504 r13684 20 20 #endregion 21 21 22 using System;23 using System.Collections.Generic;24 using System.Drawing;25 using System.IO;26 using System.Linq;27 22 using HeuristicLab.Clients.Access; 28 23 using HeuristicLab.Collections; … … 32 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 33 28 using HeuristicLab.Persistence.Default.Xml; 29 using System; 30 using System.Collections.Generic; 31 using System.Drawing; 32 using System.IO; 33 using System.Linq; 34 34 35 35 namespace HeuristicLab.Clients.OKB.RunCreation { … … 222 222 if (this.algorithmId != algorithmId) { 223 223 IAlgorithm algorithm; 224 byte[] algorithmData = RunCreationClient. GetAlgorithmData(algorithmId);224 byte[] algorithmData = RunCreationClient.Instance.GetAlgorithmData(algorithmId); 225 225 using (MemoryStream stream = new MemoryStream(algorithmData)) { 226 226 algorithm = XmlParser.Deserialize<IAlgorithm>(stream); -
trunk/sources/HeuristicLab.Clients.OKB/3.3/RunCreation/OKBProblem.cs
r12012 r13684 20 20 #endregion 21 21 22 using System;23 using System.Collections.Generic;24 using System.Drawing;25 using System.IO;26 22 using HeuristicLab.Common; 27 23 using HeuristicLab.Core; … … 29 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 26 using HeuristicLab.Persistence.Default.Xml; 27 using System; 28 using System.Collections.Generic; 29 using System.Drawing; 30 using System.IO; 31 31 32 32 namespace HeuristicLab.Clients.OKB.RunCreation { … … 148 148 if (this.problemId != problemId) { 149 149 IHeuristicOptimizationProblem problem; 150 byte[] problemData = RunCreationClient. GetProblemData(problemId);150 byte[] problemData = RunCreationClient.Instance.GetProblemData(problemId); 151 151 using (MemoryStream stream = new MemoryStream(problemData)) { 152 152 problem = XmlParser.Deserialize<IHeuristicOptimizationProblem>(stream); -
trunk/sources/HeuristicLab.Clients.OKB/3.3/RunCreation/RunCreationClient.cs
r13550 r13684 20 20 #endregion 21 21 22 using System;23 using System.Collections.Generic;24 using System.IO;25 using System.Linq;26 22 using HeuristicLab.Clients.Common; 27 23 using HeuristicLab.Common; … … 29 25 using HeuristicLab.Data; 30 26 using HeuristicLab.Persistence.Default.Xml; 27 using System; 28 using System.Collections.Generic; 29 using System.IO; 30 using System.Linq; 31 31 32 32 namespace HeuristicLab.Clients.OKB.RunCreation { … … 86 86 87 87 #region Algorithm Methods 88 public staticbyte[] GetAlgorithmData(long algorithmId) {88 public byte[] GetAlgorithmData(long algorithmId) { 89 89 return CallRunCreationService<byte[]>(s => s.GetAlgorithmData(algorithmId)); 90 90 } … … 92 92 93 93 #region Problem Methods 94 public staticbyte[] GetProblemData(long problemId) {94 public byte[] GetProblemData(long problemId) { 95 95 return CallRunCreationService<byte[]>(s => s.GetProblemData(problemId)); 96 } 97 #endregion 98 99 #region Solution Methods 100 public IEnumerable<Solution> GetSolutions(long problemId) { 101 return CallRunCreationService(s => s.GetSolutions(problemId)); 102 } 103 104 public byte[] GetSolutionData(long solutionId) { 105 return CallRunCreationService(s => s.GetSolutionData(solutionId)); 106 } 107 108 public long AddSolution(Solution solution, byte[] data) { 109 return CallRunCreationService(s => s.AddSolution(solution, data)); 110 } 111 112 public void DeleteSolution(Solution solution) { 113 CallRunCreationService(s => s.DeleteSolution(solution)); 96 114 } 97 115 #endregion … … 104 122 105 123 #region Characteristic Methods 106 public staticIEnumerable<Value> GetCharacteristicValues(long problemId) {124 public IEnumerable<Value> GetCharacteristicValues(long problemId) { 107 125 return CallRunCreationService(s => s.GetCharacteristicValues(problemId)); 108 126 } 109 127 110 public staticvoid SetCharacteristicValue(long problemId, Value v) {128 public void SetCharacteristicValue(long problemId, Value v) { 111 129 CallRunCreationService(s => s.SetCharacteristicValue(problemId, v)); 112 130 } 113 131 114 public staticvoid SetCharacteristicValues(long problemId, IEnumerable<Value> values) {132 public void SetCharacteristicValues(long problemId, IEnumerable<Value> values) { 115 133 CallRunCreationService(s => s.SetCharacteristicValues(problemId, values.ToList())); 116 134 } … … 208 226 209 227 #region Helpers 210 private staticvoid CallRunCreationService(Action<IRunCreationService> call) {228 private void CallRunCreationService(Action<IRunCreationService> call) { 211 229 RunCreationServiceClient client = ClientFactory.CreateClient<RunCreationServiceClient, IRunCreationService>(); 212 230 try { … … 220 238 } 221 239 } 222 private staticT CallRunCreationService<T>(Func<IRunCreationService, T> call) {240 private T CallRunCreationService<T>(Func<IRunCreationService, T> call) { 223 241 RunCreationServiceClient client = ClientFactory.CreateClient<RunCreationServiceClient, IRunCreationService>(); 224 242 try { -
trunk/sources/HeuristicLab.Clients.OKB/3.3/RunCreation/ServiceClient/RunCreationServiceClient.cs
r13534 r13684 2 2 // <auto-generated> 3 3 // This code was generated by a tool. 4 // Runtime Version:4.0.30319. 342094 // Runtime Version:4.0.30319.42000 5 5 // 6 6 // Changes to this file may cause incorrect behavior and will be lost if … … 9 9 //------------------------------------------------------------------------------ 10 10 11 namespace HeuristicLab.Clients.OKB.RunCreation { 12 13 14 [System.Diagnostics.DebuggerStepThroughAttribute()] 15 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 16 [System.Runtime.Serialization.DataContractAttribute(Name = "Algorithm", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 17 "aTransfer")] 18 public partial class Algorithm : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { 19 20 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 21 22 private HeuristicLab.Clients.OKB.RunCreation.AlgorithmClass AlgorithmClassField; 23 24 private HeuristicLab.Clients.OKB.RunCreation.DataType DataTypeField; 25 26 private string DescriptionField; 27 28 private long IdField; 29 30 private string NameField; 31 32 public System.Runtime.Serialization.ExtensionDataObject ExtensionData { 33 get { 34 return this.extensionDataField; 35 } 36 set { 37 this.extensionDataField = value; 38 } 39 } 40 41 [System.Runtime.Serialization.DataMemberAttribute()] 42 public HeuristicLab.Clients.OKB.RunCreation.AlgorithmClass AlgorithmClass { 43 get { 44 return this.AlgorithmClassField; 45 } 46 set { 47 if ((object.ReferenceEquals(this.AlgorithmClassField, value) != true)) { 48 this.AlgorithmClassField = value; 49 this.RaisePropertyChanged("AlgorithmClass"); 50 } 51 } 52 } 53 54 [System.Runtime.Serialization.DataMemberAttribute()] 55 public HeuristicLab.Clients.OKB.RunCreation.DataType DataType { 56 get { 57 return this.DataTypeField; 58 } 59 set { 60 if ((object.ReferenceEquals(this.DataTypeField, value) != true)) { 61 this.DataTypeField = value; 62 this.RaisePropertyChanged("DataType"); 63 } 64 } 65 } 66 67 [System.Runtime.Serialization.DataMemberAttribute()] 68 public string Description { 69 get { 70 return this.DescriptionField; 71 } 72 set { 73 if ((object.ReferenceEquals(this.DescriptionField, value) != true)) { 74 this.DescriptionField = value; 75 this.RaisePropertyChanged("Description"); 76 } 77 } 78 } 79 80 [System.Runtime.Serialization.DataMemberAttribute()] 81 public long Id { 82 get { 83 return this.IdField; 84 } 85 set { 86 if ((this.IdField.Equals(value) != true)) { 87 this.IdField = value; 88 this.RaisePropertyChanged("Id"); 89 } 90 } 91 } 92 93 [System.Runtime.Serialization.DataMemberAttribute()] 94 public string Name { 95 get { 96 return this.NameField; 97 } 98 set { 99 if ((object.ReferenceEquals(this.NameField, value) != true)) { 100 this.NameField = value; 101 this.RaisePropertyChanged("Name"); 102 } 103 } 104 } 105 106 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 107 108 protected void RaisePropertyChanged(string propertyName) { 109 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 110 if ((propertyChanged != null)) { 111 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 112 } 113 } 114 } 115 116 [System.Diagnostics.DebuggerStepThroughAttribute()] 117 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 118 [System.Runtime.Serialization.DataContractAttribute(Name = "AlgorithmClass", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 119 "aTransfer")] 120 public partial class AlgorithmClass : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { 121 122 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 123 124 private string DescriptionField; 125 126 private string NameField; 127 128 public System.Runtime.Serialization.ExtensionDataObject ExtensionData { 129 get { 130 return this.extensionDataField; 131 } 132 set { 133 this.extensionDataField = value; 134 } 135 } 136 137 [System.Runtime.Serialization.DataMemberAttribute()] 138 public string Description { 139 get { 140 return this.DescriptionField; 141 } 142 set { 143 if ((object.ReferenceEquals(this.DescriptionField, value) != true)) { 144 this.DescriptionField = value; 145 this.RaisePropertyChanged("Description"); 146 } 147 } 148 } 149 150 [System.Runtime.Serialization.DataMemberAttribute()] 151 public string Name { 152 get { 153 return this.NameField; 154 } 155 set { 156 if ((object.ReferenceEquals(this.NameField, value) != true)) { 157 this.NameField = value; 158 this.RaisePropertyChanged("Name"); 159 } 160 } 161 } 162 163 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 164 165 protected void RaisePropertyChanged(string propertyName) { 166 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 167 if ((propertyChanged != null)) { 168 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 169 } 170 } 171 } 172 173 [System.Diagnostics.DebuggerStepThroughAttribute()] 174 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 175 [System.Runtime.Serialization.DataContractAttribute(Name = "DataType", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 176 "aTransfer")] 177 public partial class DataType : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { 178 179 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 180 181 private string NameField; 182 183 private string TypeNameField; 184 185 public System.Runtime.Serialization.ExtensionDataObject ExtensionData { 186 get { 187 return this.extensionDataField; 188 } 189 set { 190 this.extensionDataField = value; 191 } 192 } 193 194 [System.Runtime.Serialization.DataMemberAttribute()] 195 public string Name { 196 get { 197 return this.NameField; 198 } 199 set { 200 if ((object.ReferenceEquals(this.NameField, value) != true)) { 201 this.NameField = value; 202 this.RaisePropertyChanged("Name"); 203 } 204 } 205 } 206 207 [System.Runtime.Serialization.DataMemberAttribute()] 208 public string TypeName { 209 get { 210 return this.TypeNameField; 211 } 212 set { 213 if ((object.ReferenceEquals(this.TypeNameField, value) != true)) { 214 this.TypeNameField = value; 215 this.RaisePropertyChanged("TypeName"); 216 } 217 } 218 } 219 220 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 221 222 protected void RaisePropertyChanged(string propertyName) { 223 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 224 if ((propertyChanged != null)) { 225 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 226 } 227 } 228 } 229 230 [System.Diagnostics.DebuggerStepThroughAttribute()] 231 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 232 [System.Runtime.Serialization.DataContractAttribute(Name = "Problem", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 233 "aTransfer")] 234 public partial class Problem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { 235 236 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 237 238 private HeuristicLab.Clients.OKB.RunCreation.DataType DataTypeField; 239 240 private string DescriptionField; 241 242 private long IdField; 243 244 private string NameField; 245 246 private HeuristicLab.Clients.OKB.RunCreation.ProblemClass ProblemClassField; 247 248 public System.Runtime.Serialization.ExtensionDataObject ExtensionData { 249 get { 250 return this.extensionDataField; 251 } 252 set { 253 this.extensionDataField = value; 254 } 255 } 256 257 [System.Runtime.Serialization.DataMemberAttribute()] 258 public HeuristicLab.Clients.OKB.RunCreation.DataType DataType { 259 get { 260 return this.DataTypeField; 261 } 262 set { 263 if ((object.ReferenceEquals(this.DataTypeField, value) != true)) { 264 this.DataTypeField = value; 265 this.RaisePropertyChanged("DataType"); 266 } 267 } 268 } 269 270 [System.Runtime.Serialization.DataMemberAttribute()] 271 public string Description { 272 get { 273 return this.DescriptionField; 274 } 275 set { 276 if ((object.ReferenceEquals(this.DescriptionField, value) != true)) { 277 this.DescriptionField = value; 278 this.RaisePropertyChanged("Description"); 279 } 280 } 281 } 282 283 [System.Runtime.Serialization.DataMemberAttribute()] 284 public long Id { 285 get { 286 return this.IdField; 287 } 288 set { 289 if ((this.IdField.Equals(value) != true)) { 290 this.IdField = value; 291 this.RaisePropertyChanged("Id"); 292 } 293 } 294 } 295 296 [System.Runtime.Serialization.DataMemberAttribute()] 297 public string Name { 298 get { 299 return this.NameField; 300 } 301 set { 302 if ((object.ReferenceEquals(this.NameField, value) != true)) { 303 this.NameField = value; 304 this.RaisePropertyChanged("Name"); 305 } 306 } 307 } 308 309 [System.Runtime.Serialization.DataMemberAttribute()] 310 public HeuristicLab.Clients.OKB.RunCreation.ProblemClass ProblemClass { 311 get { 312 return this.ProblemClassField; 313 } 314 set { 315 if ((object.ReferenceEquals(this.ProblemClassField, value) != true)) { 316 this.ProblemClassField = value; 317 this.RaisePropertyChanged("ProblemClass"); 318 } 319 } 320 } 321 322 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 323 324 protected void RaisePropertyChanged(string propertyName) { 325 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 326 if ((propertyChanged != null)) { 327 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 328 } 329 } 330 } 331 332 [System.Diagnostics.DebuggerStepThroughAttribute()] 333 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 334 [System.Runtime.Serialization.DataContractAttribute(Name = "ProblemClass", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 335 "aTransfer")] 336 public partial class ProblemClass : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { 337 338 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 339 340 private string DescriptionField; 341 342 private string NameField; 343 344 public System.Runtime.Serialization.ExtensionDataObject ExtensionData { 345 get { 346 return this.extensionDataField; 347 } 348 set { 349 this.extensionDataField = value; 350 } 351 } 352 353 [System.Runtime.Serialization.DataMemberAttribute()] 354 public string Description { 355 get { 356 return this.DescriptionField; 357 } 358 set { 359 if ((object.ReferenceEquals(this.DescriptionField, value) != true)) { 360 this.DescriptionField = value; 361 this.RaisePropertyChanged("Description"); 362 } 363 } 364 } 365 366 [System.Runtime.Serialization.DataMemberAttribute()] 367 public string Name { 368 get { 369 return this.NameField; 370 } 371 set { 372 if ((object.ReferenceEquals(this.NameField, value) != true)) { 373 this.NameField = value; 374 this.RaisePropertyChanged("Name"); 375 } 376 } 377 } 378 379 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 380 381 protected void RaisePropertyChanged(string propertyName) { 382 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 383 if ((propertyChanged != null)) { 384 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 385 } 386 } 387 } 388 389 [System.Diagnostics.DebuggerStepThroughAttribute()] 390 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 391 [System.Runtime.Serialization.DataContractAttribute(Name = "Run", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 392 "aTransfer")] 393 public partial class Run : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { 394 395 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 396 397 private long AlgorithmIdField; 398 399 private System.Guid ClientIdField; 400 401 private System.DateTime CreatedDateField; 402 403 private System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Value> ParameterValuesField; 404 405 private long ProblemIdField; 406 407 private System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Value> ResultValuesField; 408 409 private System.Guid UserIdField; 410 411 public System.Runtime.Serialization.ExtensionDataObject ExtensionData { 412 get { 413 return this.extensionDataField; 414 } 415 set { 416 this.extensionDataField = value; 417 } 418 } 419 420 [System.Runtime.Serialization.DataMemberAttribute()] 421 public long AlgorithmId { 422 get { 423 return this.AlgorithmIdField; 424 } 425 set { 426 if ((this.AlgorithmIdField.Equals(value) != true)) { 427 this.AlgorithmIdField = value; 428 this.RaisePropertyChanged("AlgorithmId"); 429 } 430 } 431 } 432 433 [System.Runtime.Serialization.DataMemberAttribute()] 434 public System.Guid ClientId { 435 get { 436 return this.ClientIdField; 437 } 438 set { 439 if ((this.ClientIdField.Equals(value) != true)) { 440 this.ClientIdField = value; 441 this.RaisePropertyChanged("ClientId"); 442 } 443 } 444 } 445 446 [System.Runtime.Serialization.DataMemberAttribute()] 447 public System.DateTime CreatedDate { 448 get { 449 return this.CreatedDateField; 450 } 451 set { 452 if ((this.CreatedDateField.Equals(value) != true)) { 453 this.CreatedDateField = value; 454 this.RaisePropertyChanged("CreatedDate"); 455 } 456 } 457 } 458 459 [System.Runtime.Serialization.DataMemberAttribute()] 460 public System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Value> ParameterValues { 461 get { 462 return this.ParameterValuesField; 463 } 464 set { 465 if ((object.ReferenceEquals(this.ParameterValuesField, value) != true)) { 466 this.ParameterValuesField = value; 467 this.RaisePropertyChanged("ParameterValues"); 468 } 469 } 470 } 471 472 [System.Runtime.Serialization.DataMemberAttribute()] 473 public long ProblemId { 474 get { 475 return this.ProblemIdField; 476 } 477 set { 478 if ((this.ProblemIdField.Equals(value) != true)) { 479 this.ProblemIdField = value; 480 this.RaisePropertyChanged("ProblemId"); 481 } 482 } 483 } 484 485 [System.Runtime.Serialization.DataMemberAttribute()] 486 public System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Value> ResultValues { 487 get { 488 return this.ResultValuesField; 489 } 490 set { 491 if ((object.ReferenceEquals(this.ResultValuesField, value) != true)) { 492 this.ResultValuesField = value; 493 this.RaisePropertyChanged("ResultValues"); 494 } 495 } 496 } 497 498 [System.Runtime.Serialization.DataMemberAttribute()] 499 public System.Guid UserId { 500 get { 501 return this.UserIdField; 502 } 503 set { 504 if ((this.UserIdField.Equals(value) != true)) { 505 this.UserIdField = value; 506 this.RaisePropertyChanged("UserId"); 507 } 508 } 509 } 510 511 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 512 513 protected void RaisePropertyChanged(string propertyName) { 514 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 515 if ((propertyChanged != null)) { 516 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 517 } 518 } 519 } 520 521 [System.Diagnostics.DebuggerStepThroughAttribute()] 522 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 523 [System.Runtime.Serialization.DataContractAttribute(Name = "Value", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 524 "aTransfer")] 525 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.BoolValue))] 526 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.LongValue))] 527 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.TimeSpanValue))] 528 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.IntValue))] 529 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.FloatValue))] 530 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.DoubleValue))] 531 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.StringValue))] 532 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.BinaryValue))] 533 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.PercentValue))] 534 public partial class Value : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { 535 536 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 537 538 private HeuristicLab.Clients.OKB.RunCreation.DataType DataTypeField; 539 540 private string NameField; 541 542 public System.Runtime.Serialization.ExtensionDataObject ExtensionData { 543 get { 544 return this.extensionDataField; 545 } 546 set { 547 this.extensionDataField = value; 548 } 549 } 550 551 [System.Runtime.Serialization.DataMemberAttribute()] 552 public HeuristicLab.Clients.OKB.RunCreation.DataType DataType { 553 get { 554 return this.DataTypeField; 555 } 556 set { 557 if ((object.ReferenceEquals(this.DataTypeField, value) != true)) { 558 this.DataTypeField = value; 559 this.RaisePropertyChanged("DataType"); 560 } 561 } 562 } 563 564 [System.Runtime.Serialization.DataMemberAttribute()] 565 public string Name { 566 get { 567 return this.NameField; 568 } 569 set { 570 if ((object.ReferenceEquals(this.NameField, value) != true)) { 571 this.NameField = value; 572 this.RaisePropertyChanged("Name"); 573 } 574 } 575 } 576 577 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 578 579 protected void RaisePropertyChanged(string propertyName) { 580 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 581 if ((propertyChanged != null)) { 582 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 583 } 584 } 585 } 586 587 [System.Diagnostics.DebuggerStepThroughAttribute()] 588 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 589 [System.Runtime.Serialization.DataContractAttribute(Name = "BoolValue", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 590 "aTransfer")] 591 public partial class BoolValue : HeuristicLab.Clients.OKB.RunCreation.Value { 592 593 private bool ValueField; 594 595 [System.Runtime.Serialization.DataMemberAttribute()] 596 public bool Value { 597 get { 598 return this.ValueField; 599 } 600 set { 601 if ((this.ValueField.Equals(value) != true)) { 602 this.ValueField = value; 603 this.RaisePropertyChanged("Value"); 604 } 605 } 606 } 607 } 608 609 [System.Diagnostics.DebuggerStepThroughAttribute()] 610 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 611 [System.Runtime.Serialization.DataContractAttribute(Name = "LongValue", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 612 "aTransfer")] 613 public partial class LongValue : HeuristicLab.Clients.OKB.RunCreation.Value { 614 615 private long ValueField; 616 617 [System.Runtime.Serialization.DataMemberAttribute()] 618 public long Value { 619 get { 620 return this.ValueField; 621 } 622 set { 623 if ((this.ValueField.Equals(value) != true)) { 624 this.ValueField = value; 625 this.RaisePropertyChanged("Value"); 626 } 627 } 628 } 629 } 630 631 [System.Diagnostics.DebuggerStepThroughAttribute()] 632 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 633 [System.Runtime.Serialization.DataContractAttribute(Name = "TimeSpanValue", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 634 "aTransfer")] 635 public partial class TimeSpanValue : HeuristicLab.Clients.OKB.RunCreation.Value { 636 637 private long ValueField; 638 639 [System.Runtime.Serialization.DataMemberAttribute()] 640 public long Value { 641 get { 642 return this.ValueField; 643 } 644 set { 645 if ((this.ValueField.Equals(value) != true)) { 646 this.ValueField = value; 647 this.RaisePropertyChanged("Value"); 648 } 649 } 650 } 651 } 652 653 [System.Diagnostics.DebuggerStepThroughAttribute()] 654 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 655 [System.Runtime.Serialization.DataContractAttribute(Name = "IntValue", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 656 "aTransfer")] 657 public partial class IntValue : HeuristicLab.Clients.OKB.RunCreation.Value { 658 659 private int ValueField; 660 661 [System.Runtime.Serialization.DataMemberAttribute()] 662 public int Value { 663 get { 664 return this.ValueField; 665 } 666 set { 667 if ((this.ValueField.Equals(value) != true)) { 668 this.ValueField = value; 669 this.RaisePropertyChanged("Value"); 670 } 671 } 672 } 673 } 674 675 [System.Diagnostics.DebuggerStepThroughAttribute()] 676 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 677 [System.Runtime.Serialization.DataContractAttribute(Name = "FloatValue", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 678 "aTransfer")] 679 public partial class FloatValue : HeuristicLab.Clients.OKB.RunCreation.Value { 680 681 private float ValueField; 682 683 [System.Runtime.Serialization.DataMemberAttribute()] 684 public float Value { 685 get { 686 return this.ValueField; 687 } 688 set { 689 if ((this.ValueField.Equals(value) != true)) { 690 this.ValueField = value; 691 this.RaisePropertyChanged("Value"); 692 } 693 } 694 } 695 } 696 697 [System.Diagnostics.DebuggerStepThroughAttribute()] 698 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 699 [System.Runtime.Serialization.DataContractAttribute(Name = "DoubleValue", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 700 "aTransfer")] 701 public partial class DoubleValue : HeuristicLab.Clients.OKB.RunCreation.Value { 702 703 private double ValueField; 704 705 [System.Runtime.Serialization.DataMemberAttribute()] 706 public double Value { 707 get { 708 return this.ValueField; 709 } 710 set { 711 if ((this.ValueField.Equals(value) != true)) { 712 this.ValueField = value; 713 this.RaisePropertyChanged("Value"); 714 } 715 } 716 } 717 } 718 719 [System.Diagnostics.DebuggerStepThroughAttribute()] 720 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 721 [System.Runtime.Serialization.DataContractAttribute(Name = "StringValue", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 722 "aTransfer")] 723 public partial class StringValue : HeuristicLab.Clients.OKB.RunCreation.Value { 724 725 private string ValueField; 726 727 [System.Runtime.Serialization.DataMemberAttribute()] 728 public string Value { 729 get { 730 return this.ValueField; 731 } 732 set { 733 if ((object.ReferenceEquals(this.ValueField, value) != true)) { 734 this.ValueField = value; 735 this.RaisePropertyChanged("Value"); 736 } 737 } 738 } 739 } 740 741 [System.Diagnostics.DebuggerStepThroughAttribute()] 742 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 743 [System.Runtime.Serialization.DataContractAttribute(Name = "BinaryValue", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 744 "aTransfer")] 745 public partial class BinaryValue : HeuristicLab.Clients.OKB.RunCreation.Value { 746 747 private byte[] ValueField; 748 749 [System.Runtime.Serialization.DataMemberAttribute()] 750 public byte[] Value { 751 get { 752 return this.ValueField; 753 } 754 set { 755 if ((object.ReferenceEquals(this.ValueField, value) != true)) { 756 this.ValueField = value; 757 this.RaisePropertyChanged("Value"); 758 } 759 } 760 } 761 } 762 763 [System.Diagnostics.DebuggerStepThroughAttribute()] 764 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 765 [System.Runtime.Serialization.DataContractAttribute(Name = "PercentValue", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 766 "aTransfer")] 767 public partial class PercentValue : HeuristicLab.Clients.OKB.RunCreation.Value { 768 769 private double ValueField; 770 771 [System.Runtime.Serialization.DataMemberAttribute()] 772 public double Value { 773 get { 774 return this.ValueField; 775 } 776 set { 777 if ((this.ValueField.Equals(value) != true)) { 778 this.ValueField = value; 779 this.RaisePropertyChanged("Value"); 780 } 781 } 782 } 783 } 784 785 [System.Diagnostics.DebuggerStepThroughAttribute()] 786 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 787 [System.Runtime.Serialization.DataContractAttribute(Name = "MissingProblem", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation")] 788 public partial class MissingProblem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { 789 790 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 791 792 private string MessageField; 793 794 public System.Runtime.Serialization.ExtensionDataObject ExtensionData { 795 get { 796 return this.extensionDataField; 797 } 798 set { 799 this.extensionDataField = value; 800 } 801 } 802 803 [System.Runtime.Serialization.DataMemberAttribute()] 804 public string Message { 805 get { 806 return this.MessageField; 807 } 808 set { 809 if ((object.ReferenceEquals(this.MessageField, value) != true)) { 810 this.MessageField = value; 811 this.RaisePropertyChanged("Message"); 812 } 813 } 814 } 815 816 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 817 818 protected void RaisePropertyChanged(string propertyName) { 819 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 820 if ((propertyChanged != null)) { 821 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 822 } 823 } 824 } 825 826 [System.Diagnostics.DebuggerStepThroughAttribute()] 827 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 828 [System.Runtime.Serialization.DataContractAttribute(Name = "UnknownCharacteristicType", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation")] 829 public partial class UnknownCharacteristicType : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { 830 831 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 832 833 private string MessageField; 834 835 public System.Runtime.Serialization.ExtensionDataObject ExtensionData { 836 get { 837 return this.extensionDataField; 838 } 839 set { 840 this.extensionDataField = value; 841 } 842 } 843 844 [System.Runtime.Serialization.DataMemberAttribute()] 845 public string Message { 846 get { 847 return this.MessageField; 848 } 849 set { 850 if ((object.ReferenceEquals(this.MessageField, value) != true)) { 851 this.MessageField = value; 852 this.RaisePropertyChanged("Message"); 853 } 854 } 855 } 856 857 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 858 859 protected void RaisePropertyChanged(string propertyName) { 860 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 861 if ((propertyChanged != null)) { 862 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 863 } 864 } 865 } 866 867 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 868 [System.ServiceModel.ServiceContractAttribute(ConfigurationName = "HeuristicLab.Clients.OKB.RunCreation.IRunCreationService")] 869 public interface IRunCreationService { 870 871 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IRunCreationService/GetAlgorithms", ReplyAction = "http://tempuri.org/IRunCreationService/GetAlgorithmsResponse")] 872 System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Algorithm> GetAlgorithms(string platformName); 873 874 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IRunCreationService/GetAlgorithms", ReplyAction = "http://tempuri.org/IRunCreationService/GetAlgorithmsResponse")] 875 System.Threading.Tasks.Task<System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Algorithm>> GetAlgorithmsAsync(string platformName); 876 877 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IRunCreationService/GetAlgorithmData", ReplyAction = "http://tempuri.org/IRunCreationService/GetAlgorithmDataResponse")] 878 byte[] GetAlgorithmData(long algorithmId); 879 880 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IRunCreationService/GetAlgorithmData", ReplyAction = "http://tempuri.org/IRunCreationService/GetAlgorithmDataResponse")] 881 System.Threading.Tasks.Task<byte[]> GetAlgorithmDataAsync(long algorithmId); 882 883 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IRunCreationService/GetProblems", ReplyAction = "http://tempuri.org/IRunCreationService/GetProblemsResponse")] 884 System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Problem> GetProblems(string platformName); 885 886 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IRunCreationService/GetProblems", ReplyAction = "http://tempuri.org/IRunCreationService/GetProblemsResponse")] 887 System.Threading.Tasks.Task<System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Problem>> GetProblemsAsync(string platformName); 888 889 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IRunCreationService/GetProblemData", ReplyAction = "http://tempuri.org/IRunCreationService/GetProblemDataResponse")] 890 byte[] GetProblemData(long problemId); 891 892 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IRunCreationService/GetProblemData", ReplyAction = "http://tempuri.org/IRunCreationService/GetProblemDataResponse")] 893 System.Threading.Tasks.Task<byte[]> GetProblemDataAsync(long problemId); 894 895 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IRunCreationService/AddRun", ReplyAction = "http://tempuri.org/IRunCreationService/AddRunResponse")] 896 void AddRun(HeuristicLab.Clients.OKB.RunCreation.Run run); 897 898 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IRunCreationService/AddRun", ReplyAction = "http://tempuri.org/IRunCreationService/AddRunResponse")] 899 System.Threading.Tasks.Task AddRunAsync(HeuristicLab.Clients.OKB.RunCreation.Run run); 900 901 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IRunCreationService/GetCharacteristicValues", ReplyAction = "http://tempuri.org/IRunCreationService/GetCharacteristicValuesResponse")] 902 System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Value> GetCharacteristicValues(long problemId); 903 904 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IRunCreationService/GetCharacteristicValues", ReplyAction = "http://tempuri.org/IRunCreationService/GetCharacteristicValuesResponse")] 905 System.Threading.Tasks.Task<System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Value>> GetCharacteristicValuesAsync(long problemId); 906 907 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IRunCreationService/SetCharacteristicValue", ReplyAction = "http://tempuri.org/IRunCreationService/SetCharacteristicValueResponse")] 908 [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")] 909 [System.ServiceModel.FaultContractAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.UnknownCharacteristicType), Action = "http://tempuri.org/IRunCreationService/SetCharacteristicValueUnknownCharacteristi" + 910 "cTypeFault", Name = "UnknownCharacteristicType", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation")] 911 void SetCharacteristicValue(long problemId, HeuristicLab.Clients.OKB.RunCreation.Value value); 912 913 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IRunCreationService/SetCharacteristicValue", ReplyAction = "http://tempuri.org/IRunCreationService/SetCharacteristicValueResponse")] 914 System.Threading.Tasks.Task SetCharacteristicValueAsync(long problemId, HeuristicLab.Clients.OKB.RunCreation.Value value); 915 916 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IRunCreationService/SetCharacteristicValues", ReplyAction = "http://tempuri.org/IRunCreationService/SetCharacteristicValuesResponse")] 917 [System.ServiceModel.FaultContractAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.MissingProblem), Action = "http://tempuri.org/IRunCreationService/SetCharacteristicValuesMissingProblemFault" + 918 "", Name = "MissingProblem", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation")] 919 [System.ServiceModel.FaultContractAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.UnknownCharacteristicType), Action = "http://tempuri.org/IRunCreationService/SetCharacteristicValuesUnknownCharacterist" + 920 "icTypeFault", Name = "UnknownCharacteristicType", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation")] 921 void SetCharacteristicValues(long problemId, System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Value> values); 922 923 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IRunCreationService/SetCharacteristicValues", ReplyAction = "http://tempuri.org/IRunCreationService/SetCharacteristicValuesResponse")] 924 System.Threading.Tasks.Task SetCharacteristicValuesAsync(long problemId, System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Value> values); 925 } 926 927 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 928 public interface IRunCreationServiceChannel : HeuristicLab.Clients.OKB.RunCreation.IRunCreationService, System.ServiceModel.IClientChannel { 929 } 930 931 [System.Diagnostics.DebuggerStepThroughAttribute()] 932 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 933 public partial class RunCreationServiceClient : System.ServiceModel.ClientBase<HeuristicLab.Clients.OKB.RunCreation.IRunCreationService>, HeuristicLab.Clients.OKB.RunCreation.IRunCreationService { 934 935 public RunCreationServiceClient() { 936 } 937 938 public RunCreationServiceClient(string endpointConfigurationName) : 939 base(endpointConfigurationName) { 940 } 941 942 public RunCreationServiceClient(string endpointConfigurationName, string remoteAddress) : 943 base(endpointConfigurationName, remoteAddress) { 944 } 945 946 public RunCreationServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 947 base(endpointConfigurationName, remoteAddress) { 948 } 949 950 public RunCreationServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 951 base(binding, remoteAddress) { 952 } 953 954 public System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Algorithm> GetAlgorithms(string platformName) { 955 return base.Channel.GetAlgorithms(platformName); 956 } 957 958 public System.Threading.Tasks.Task<System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Algorithm>> GetAlgorithmsAsync(string platformName) { 959 return base.Channel.GetAlgorithmsAsync(platformName); 960 } 961 962 public byte[] GetAlgorithmData(long algorithmId) { 963 return base.Channel.GetAlgorithmData(algorithmId); 964 } 965 966 public System.Threading.Tasks.Task<byte[]> GetAlgorithmDataAsync(long algorithmId) { 967 return base.Channel.GetAlgorithmDataAsync(algorithmId); 968 } 969 970 public System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Problem> GetProblems(string platformName) { 971 return base.Channel.GetProblems(platformName); 972 } 973 974 public System.Threading.Tasks.Task<System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Problem>> GetProblemsAsync(string platformName) { 975 return base.Channel.GetProblemsAsync(platformName); 976 } 977 978 public byte[] GetProblemData(long problemId) { 979 return base.Channel.GetProblemData(problemId); 980 } 981 982 public System.Threading.Tasks.Task<byte[]> GetProblemDataAsync(long problemId) { 983 return base.Channel.GetProblemDataAsync(problemId); 984 } 985 986 public void AddRun(HeuristicLab.Clients.OKB.RunCreation.Run run) { 987 base.Channel.AddRun(run); 988 } 989 990 public System.Threading.Tasks.Task AddRunAsync(HeuristicLab.Clients.OKB.RunCreation.Run run) { 991 return base.Channel.AddRunAsync(run); 992 } 993 994 public System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Value> GetCharacteristicValues(long problemId) { 995 return base.Channel.GetCharacteristicValues(problemId); 996 } 997 998 public System.Threading.Tasks.Task<System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Value>> GetCharacteristicValuesAsync(long problemId) { 999 return base.Channel.GetCharacteristicValuesAsync(problemId); 1000 } 1001 1002 public void SetCharacteristicValue(long problemId, HeuristicLab.Clients.OKB.RunCreation.Value value) { 1003 base.Channel.SetCharacteristicValue(problemId, value); 1004 } 1005 1006 public System.Threading.Tasks.Task SetCharacteristicValueAsync(long problemId, HeuristicLab.Clients.OKB.RunCreation.Value value) { 1007 return base.Channel.SetCharacteristicValueAsync(problemId, value); 1008 } 1009 1010 public void SetCharacteristicValues(long problemId, System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Value> values) { 1011 base.Channel.SetCharacteristicValues(problemId, values); 1012 } 1013 1014 public System.Threading.Tasks.Task SetCharacteristicValuesAsync(long problemId, System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Value> values) { 1015 return base.Channel.SetCharacteristicValuesAsync(problemId, values); 1016 } 1017 } 11 namespace HeuristicLab.Clients.OKB.RunCreation 12 { 13 using System.Runtime.Serialization; 14 15 16 [System.Diagnostics.DebuggerStepThroughAttribute()] 17 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 18 [System.Runtime.Serialization.DataContractAttribute(Name="Algorithm", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 19 "aTransfer")] 20 public partial class Algorithm : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged 21 { 22 23 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 24 25 private HeuristicLab.Clients.OKB.RunCreation.AlgorithmClass AlgorithmClassField; 26 27 private HeuristicLab.Clients.OKB.RunCreation.DataType DataTypeField; 28 29 private string DescriptionField; 30 31 private long IdField; 32 33 private string NameField; 34 35 public System.Runtime.Serialization.ExtensionDataObject ExtensionData 36 { 37 get 38 { 39 return this.extensionDataField; 40 } 41 set 42 { 43 this.extensionDataField = value; 44 } 45 } 46 47 [System.Runtime.Serialization.DataMemberAttribute()] 48 public HeuristicLab.Clients.OKB.RunCreation.AlgorithmClass AlgorithmClass 49 { 50 get 51 { 52 return this.AlgorithmClassField; 53 } 54 set 55 { 56 if ((object.ReferenceEquals(this.AlgorithmClassField, value) != true)) 57 { 58 this.AlgorithmClassField = value; 59 this.RaisePropertyChanged("AlgorithmClass"); 60 } 61 } 62 } 63 64 [System.Runtime.Serialization.DataMemberAttribute()] 65 public HeuristicLab.Clients.OKB.RunCreation.DataType DataType 66 { 67 get 68 { 69 return this.DataTypeField; 70 } 71 set 72 { 73 if ((object.ReferenceEquals(this.DataTypeField, value) != true)) 74 { 75 this.DataTypeField = value; 76 this.RaisePropertyChanged("DataType"); 77 } 78 } 79 } 80 81 [System.Runtime.Serialization.DataMemberAttribute()] 82 public string Description 83 { 84 get 85 { 86 return this.DescriptionField; 87 } 88 set 89 { 90 if ((object.ReferenceEquals(this.DescriptionField, value) != true)) 91 { 92 this.DescriptionField = value; 93 this.RaisePropertyChanged("Description"); 94 } 95 } 96 } 97 98 [System.Runtime.Serialization.DataMemberAttribute()] 99 public long Id 100 { 101 get 102 { 103 return this.IdField; 104 } 105 set 106 { 107 if ((this.IdField.Equals(value) != true)) 108 { 109 this.IdField = value; 110 this.RaisePropertyChanged("Id"); 111 } 112 } 113 } 114 115 [System.Runtime.Serialization.DataMemberAttribute()] 116 public string Name 117 { 118 get 119 { 120 return this.NameField; 121 } 122 set 123 { 124 if ((object.ReferenceEquals(this.NameField, value) != true)) 125 { 126 this.NameField = value; 127 this.RaisePropertyChanged("Name"); 128 } 129 } 130 } 131 132 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 133 134 protected void RaisePropertyChanged(string propertyName) 135 { 136 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 137 if ((propertyChanged != null)) 138 { 139 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 140 } 141 } 142 } 143 144 [System.Diagnostics.DebuggerStepThroughAttribute()] 145 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 146 [System.Runtime.Serialization.DataContractAttribute(Name="AlgorithmClass", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 147 "aTransfer")] 148 public partial class AlgorithmClass : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged 149 { 150 151 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 152 153 private string DescriptionField; 154 155 private string NameField; 156 157 public System.Runtime.Serialization.ExtensionDataObject ExtensionData 158 { 159 get 160 { 161 return this.extensionDataField; 162 } 163 set 164 { 165 this.extensionDataField = value; 166 } 167 } 168 169 [System.Runtime.Serialization.DataMemberAttribute()] 170 public string Description 171 { 172 get 173 { 174 return this.DescriptionField; 175 } 176 set 177 { 178 if ((object.ReferenceEquals(this.DescriptionField, value) != true)) 179 { 180 this.DescriptionField = value; 181 this.RaisePropertyChanged("Description"); 182 } 183 } 184 } 185 186 [System.Runtime.Serialization.DataMemberAttribute()] 187 public string Name 188 { 189 get 190 { 191 return this.NameField; 192 } 193 set 194 { 195 if ((object.ReferenceEquals(this.NameField, value) != true)) 196 { 197 this.NameField = value; 198 this.RaisePropertyChanged("Name"); 199 } 200 } 201 } 202 203 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 204 205 protected void RaisePropertyChanged(string propertyName) 206 { 207 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 208 if ((propertyChanged != null)) 209 { 210 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 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="DataType", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 218 "aTransfer")] 219 public partial class DataType : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged 220 { 221 222 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 223 224 private string NameField; 225 226 private string TypeNameField; 227 228 public System.Runtime.Serialization.ExtensionDataObject ExtensionData 229 { 230 get 231 { 232 return this.extensionDataField; 233 } 234 set 235 { 236 this.extensionDataField = value; 237 } 238 } 239 240 [System.Runtime.Serialization.DataMemberAttribute()] 241 public string Name 242 { 243 get 244 { 245 return this.NameField; 246 } 247 set 248 { 249 if ((object.ReferenceEquals(this.NameField, value) != true)) 250 { 251 this.NameField = value; 252 this.RaisePropertyChanged("Name"); 253 } 254 } 255 } 256 257 [System.Runtime.Serialization.DataMemberAttribute()] 258 public string TypeName 259 { 260 get 261 { 262 return this.TypeNameField; 263 } 264 set 265 { 266 if ((object.ReferenceEquals(this.TypeNameField, value) != true)) 267 { 268 this.TypeNameField = value; 269 this.RaisePropertyChanged("TypeName"); 270 } 271 } 272 } 273 274 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 275 276 protected void RaisePropertyChanged(string propertyName) 277 { 278 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 279 if ((propertyChanged != null)) 280 { 281 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 282 } 283 } 284 } 285 286 [System.Diagnostics.DebuggerStepThroughAttribute()] 287 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 288 [System.Runtime.Serialization.DataContractAttribute(Name="Problem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 289 "aTransfer")] 290 public partial class Problem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged 291 { 292 293 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 294 295 private HeuristicLab.Clients.OKB.RunCreation.DataType DataTypeField; 296 297 private string DescriptionField; 298 299 private long IdField; 300 301 private string NameField; 302 303 private HeuristicLab.Clients.OKB.RunCreation.ProblemClass ProblemClassField; 304 305 public System.Runtime.Serialization.ExtensionDataObject ExtensionData 306 { 307 get 308 { 309 return this.extensionDataField; 310 } 311 set 312 { 313 this.extensionDataField = value; 314 } 315 } 316 317 [System.Runtime.Serialization.DataMemberAttribute()] 318 public HeuristicLab.Clients.OKB.RunCreation.DataType DataType 319 { 320 get 321 { 322 return this.DataTypeField; 323 } 324 set 325 { 326 if ((object.ReferenceEquals(this.DataTypeField, value) != true)) 327 { 328 this.DataTypeField = value; 329 this.RaisePropertyChanged("DataType"); 330 } 331 } 332 } 333 334 [System.Runtime.Serialization.DataMemberAttribute()] 335 public string Description 336 { 337 get 338 { 339 return this.DescriptionField; 340 } 341 set 342 { 343 if ((object.ReferenceEquals(this.DescriptionField, value) != true)) 344 { 345 this.DescriptionField = value; 346 this.RaisePropertyChanged("Description"); 347 } 348 } 349 } 350 351 [System.Runtime.Serialization.DataMemberAttribute()] 352 public long Id 353 { 354 get 355 { 356 return this.IdField; 357 } 358 set 359 { 360 if ((this.IdField.Equals(value) != true)) 361 { 362 this.IdField = value; 363 this.RaisePropertyChanged("Id"); 364 } 365 } 366 } 367 368 [System.Runtime.Serialization.DataMemberAttribute()] 369 public string Name 370 { 371 get 372 { 373 return this.NameField; 374 } 375 set 376 { 377 if ((object.ReferenceEquals(this.NameField, value) != true)) 378 { 379 this.NameField = value; 380 this.RaisePropertyChanged("Name"); 381 } 382 } 383 } 384 385 [System.Runtime.Serialization.DataMemberAttribute()] 386 public HeuristicLab.Clients.OKB.RunCreation.ProblemClass ProblemClass 387 { 388 get 389 { 390 return this.ProblemClassField; 391 } 392 set 393 { 394 if ((object.ReferenceEquals(this.ProblemClassField, value) != true)) 395 { 396 this.ProblemClassField = value; 397 this.RaisePropertyChanged("ProblemClass"); 398 } 399 } 400 } 401 402 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 403 404 protected void RaisePropertyChanged(string propertyName) 405 { 406 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 407 if ((propertyChanged != null)) 408 { 409 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 410 } 411 } 412 } 413 414 [System.Diagnostics.DebuggerStepThroughAttribute()] 415 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 416 [System.Runtime.Serialization.DataContractAttribute(Name="ProblemClass", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 417 "aTransfer")] 418 public partial class ProblemClass : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged 419 { 420 421 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 422 423 private string DescriptionField; 424 425 private string NameField; 426 427 public System.Runtime.Serialization.ExtensionDataObject ExtensionData 428 { 429 get 430 { 431 return this.extensionDataField; 432 } 433 set 434 { 435 this.extensionDataField = value; 436 } 437 } 438 439 [System.Runtime.Serialization.DataMemberAttribute()] 440 public string Description 441 { 442 get 443 { 444 return this.DescriptionField; 445 } 446 set 447 { 448 if ((object.ReferenceEquals(this.DescriptionField, value) != true)) 449 { 450 this.DescriptionField = value; 451 this.RaisePropertyChanged("Description"); 452 } 453 } 454 } 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 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 474 475 protected void RaisePropertyChanged(string propertyName) 476 { 477 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 478 if ((propertyChanged != null)) 479 { 480 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 481 } 482 } 483 } 484 485 [System.Diagnostics.DebuggerStepThroughAttribute()] 486 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 487 [System.Runtime.Serialization.DataContractAttribute(Name="Solution", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 488 "aTransfer")] 489 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.SingleObjectiveSolution))] 490 public partial class Solution : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged 491 { 492 493 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 494 495 private HeuristicLab.Clients.OKB.RunCreation.DataType DataTypeField; 496 497 private long IdField; 498 499 private long ProblemIdField; 500 501 private System.Nullable<long> RunIdField; 502 503 public System.Runtime.Serialization.ExtensionDataObject ExtensionData 504 { 505 get 506 { 507 return this.extensionDataField; 508 } 509 set 510 { 511 this.extensionDataField = value; 512 } 513 } 514 515 [System.Runtime.Serialization.DataMemberAttribute()] 516 public HeuristicLab.Clients.OKB.RunCreation.DataType DataType 517 { 518 get 519 { 520 return this.DataTypeField; 521 } 522 set 523 { 524 if ((object.ReferenceEquals(this.DataTypeField, value) != true)) 525 { 526 this.DataTypeField = value; 527 this.RaisePropertyChanged("DataType"); 528 } 529 } 530 } 531 532 [System.Runtime.Serialization.DataMemberAttribute()] 533 public long Id 534 { 535 get 536 { 537 return this.IdField; 538 } 539 set 540 { 541 if ((this.IdField.Equals(value) != true)) 542 { 543 this.IdField = value; 544 this.RaisePropertyChanged("Id"); 545 } 546 } 547 } 548 549 [System.Runtime.Serialization.DataMemberAttribute()] 550 public long ProblemId 551 { 552 get 553 { 554 return this.ProblemIdField; 555 } 556 set 557 { 558 if ((this.ProblemIdField.Equals(value) != true)) 559 { 560 this.ProblemIdField = value; 561 this.RaisePropertyChanged("ProblemId"); 562 } 563 } 564 } 565 566 [System.Runtime.Serialization.DataMemberAttribute()] 567 public System.Nullable<long> RunId 568 { 569 get 570 { 571 return this.RunIdField; 572 } 573 set 574 { 575 if ((this.RunIdField.Equals(value) != true)) 576 { 577 this.RunIdField = value; 578 this.RaisePropertyChanged("RunId"); 579 } 580 } 581 } 582 583 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 584 585 protected void RaisePropertyChanged(string propertyName) 586 { 587 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 588 if ((propertyChanged != null)) 589 { 590 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 591 } 592 } 593 } 594 595 [System.Diagnostics.DebuggerStepThroughAttribute()] 596 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 597 [System.Runtime.Serialization.DataContractAttribute(Name="SingleObjectiveSolution", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 598 "aTransfer")] 599 public partial class SingleObjectiveSolution : HeuristicLab.Clients.OKB.RunCreation.Solution 600 { 601 602 private double QualityField; 603 604 [System.Runtime.Serialization.DataMemberAttribute()] 605 public double Quality 606 { 607 get 608 { 609 return this.QualityField; 610 } 611 set 612 { 613 if ((this.QualityField.Equals(value) != true)) 614 { 615 this.QualityField = value; 616 this.RaisePropertyChanged("Quality"); 617 } 618 } 619 } 620 } 621 622 [System.Diagnostics.DebuggerStepThroughAttribute()] 623 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 624 [System.Runtime.Serialization.DataContractAttribute(Name="Run", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 625 "aTransfer")] 626 public partial class Run : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged 627 { 628 629 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 630 631 private long AlgorithmIdField; 632 633 private System.Guid ClientIdField; 634 635 private System.DateTime CreatedDateField; 636 637 private System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Value> ParameterValuesField; 638 639 private long ProblemIdField; 640 641 private System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Value> ResultValuesField; 642 643 private System.Guid UserIdField; 644 645 public System.Runtime.Serialization.ExtensionDataObject ExtensionData 646 { 647 get 648 { 649 return this.extensionDataField; 650 } 651 set 652 { 653 this.extensionDataField = value; 654 } 655 } 656 657 [System.Runtime.Serialization.DataMemberAttribute()] 658 public long AlgorithmId 659 { 660 get 661 { 662 return this.AlgorithmIdField; 663 } 664 set 665 { 666 if ((this.AlgorithmIdField.Equals(value) != true)) 667 { 668 this.AlgorithmIdField = value; 669 this.RaisePropertyChanged("AlgorithmId"); 670 } 671 } 672 } 673 674 [System.Runtime.Serialization.DataMemberAttribute()] 675 public System.Guid ClientId 676 { 677 get 678 { 679 return this.ClientIdField; 680 } 681 set 682 { 683 if ((this.ClientIdField.Equals(value) != true)) 684 { 685 this.ClientIdField = value; 686 this.RaisePropertyChanged("ClientId"); 687 } 688 } 689 } 690 691 [System.Runtime.Serialization.DataMemberAttribute()] 692 public System.DateTime CreatedDate 693 { 694 get 695 { 696 return this.CreatedDateField; 697 } 698 set 699 { 700 if ((this.CreatedDateField.Equals(value) != true)) 701 { 702 this.CreatedDateField = value; 703 this.RaisePropertyChanged("CreatedDate"); 704 } 705 } 706 } 707 708 [System.Runtime.Serialization.DataMemberAttribute()] 709 public System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Value> ParameterValues 710 { 711 get 712 { 713 return this.ParameterValuesField; 714 } 715 set 716 { 717 if ((object.ReferenceEquals(this.ParameterValuesField, value) != true)) 718 { 719 this.ParameterValuesField = value; 720 this.RaisePropertyChanged("ParameterValues"); 721 } 722 } 723 } 724 725 [System.Runtime.Serialization.DataMemberAttribute()] 726 public long ProblemId 727 { 728 get 729 { 730 return this.ProblemIdField; 731 } 732 set 733 { 734 if ((this.ProblemIdField.Equals(value) != true)) 735 { 736 this.ProblemIdField = value; 737 this.RaisePropertyChanged("ProblemId"); 738 } 739 } 740 } 741 742 [System.Runtime.Serialization.DataMemberAttribute()] 743 public System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Value> ResultValues 744 { 745 get 746 { 747 return this.ResultValuesField; 748 } 749 set 750 { 751 if ((object.ReferenceEquals(this.ResultValuesField, value) != true)) 752 { 753 this.ResultValuesField = value; 754 this.RaisePropertyChanged("ResultValues"); 755 } 756 } 757 } 758 759 [System.Runtime.Serialization.DataMemberAttribute()] 760 public System.Guid UserId 761 { 762 get 763 { 764 return this.UserIdField; 765 } 766 set 767 { 768 if ((this.UserIdField.Equals(value) != true)) 769 { 770 this.UserIdField = value; 771 this.RaisePropertyChanged("UserId"); 772 } 773 } 774 } 775 776 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 777 778 protected void RaisePropertyChanged(string propertyName) 779 { 780 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 781 if ((propertyChanged != null)) 782 { 783 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 784 } 785 } 786 } 787 788 [System.Diagnostics.DebuggerStepThroughAttribute()] 789 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 790 [System.Runtime.Serialization.DataContractAttribute(Name="Value", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 791 "aTransfer")] 792 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.BoolValue))] 793 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.LongValue))] 794 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.TimeSpanValue))] 795 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.IntValue))] 796 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.DoubleValue))] 797 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.FloatValue))] 798 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.StringValue))] 799 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.BinaryValue))] 800 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.PercentValue))] 801 public partial class Value : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged 802 { 803 804 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 805 806 private HeuristicLab.Clients.OKB.RunCreation.DataType DataTypeField; 807 808 private string NameField; 809 810 public System.Runtime.Serialization.ExtensionDataObject ExtensionData 811 { 812 get 813 { 814 return this.extensionDataField; 815 } 816 set 817 { 818 this.extensionDataField = value; 819 } 820 } 821 822 [System.Runtime.Serialization.DataMemberAttribute()] 823 public HeuristicLab.Clients.OKB.RunCreation.DataType DataType 824 { 825 get 826 { 827 return this.DataTypeField; 828 } 829 set 830 { 831 if ((object.ReferenceEquals(this.DataTypeField, value) != true)) 832 { 833 this.DataTypeField = value; 834 this.RaisePropertyChanged("DataType"); 835 } 836 } 837 } 838 839 [System.Runtime.Serialization.DataMemberAttribute()] 840 public string Name 841 { 842 get 843 { 844 return this.NameField; 845 } 846 set 847 { 848 if ((object.ReferenceEquals(this.NameField, value) != true)) 849 { 850 this.NameField = value; 851 this.RaisePropertyChanged("Name"); 852 } 853 } 854 } 855 856 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 857 858 protected void RaisePropertyChanged(string propertyName) 859 { 860 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 861 if ((propertyChanged != null)) 862 { 863 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 864 } 865 } 866 } 867 868 [System.Diagnostics.DebuggerStepThroughAttribute()] 869 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 870 [System.Runtime.Serialization.DataContractAttribute(Name="BoolValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 871 "aTransfer")] 872 public partial class BoolValue : HeuristicLab.Clients.OKB.RunCreation.Value 873 { 874 875 private bool ValueField; 876 877 [System.Runtime.Serialization.DataMemberAttribute()] 878 public bool Value 879 { 880 get 881 { 882 return this.ValueField; 883 } 884 set 885 { 886 if ((this.ValueField.Equals(value) != true)) 887 { 888 this.ValueField = value; 889 this.RaisePropertyChanged("Value"); 890 } 891 } 892 } 893 } 894 895 [System.Diagnostics.DebuggerStepThroughAttribute()] 896 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 897 [System.Runtime.Serialization.DataContractAttribute(Name="LongValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 898 "aTransfer")] 899 public partial class LongValue : HeuristicLab.Clients.OKB.RunCreation.Value 900 { 901 902 private long ValueField; 903 904 [System.Runtime.Serialization.DataMemberAttribute()] 905 public long Value 906 { 907 get 908 { 909 return this.ValueField; 910 } 911 set 912 { 913 if ((this.ValueField.Equals(value) != true)) 914 { 915 this.ValueField = value; 916 this.RaisePropertyChanged("Value"); 917 } 918 } 919 } 920 } 921 922 [System.Diagnostics.DebuggerStepThroughAttribute()] 923 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 924 [System.Runtime.Serialization.DataContractAttribute(Name="TimeSpanValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 925 "aTransfer")] 926 public partial class TimeSpanValue : HeuristicLab.Clients.OKB.RunCreation.Value 927 { 928 929 private long ValueField; 930 931 [System.Runtime.Serialization.DataMemberAttribute()] 932 public long Value 933 { 934 get 935 { 936 return this.ValueField; 937 } 938 set 939 { 940 if ((this.ValueField.Equals(value) != true)) 941 { 942 this.ValueField = value; 943 this.RaisePropertyChanged("Value"); 944 } 945 } 946 } 947 } 948 949 [System.Diagnostics.DebuggerStepThroughAttribute()] 950 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 951 [System.Runtime.Serialization.DataContractAttribute(Name="IntValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 952 "aTransfer")] 953 public partial class IntValue : HeuristicLab.Clients.OKB.RunCreation.Value 954 { 955 956 private int ValueField; 957 958 [System.Runtime.Serialization.DataMemberAttribute()] 959 public int Value 960 { 961 get 962 { 963 return this.ValueField; 964 } 965 set 966 { 967 if ((this.ValueField.Equals(value) != true)) 968 { 969 this.ValueField = value; 970 this.RaisePropertyChanged("Value"); 971 } 972 } 973 } 974 } 975 976 [System.Diagnostics.DebuggerStepThroughAttribute()] 977 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 978 [System.Runtime.Serialization.DataContractAttribute(Name="DoubleValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 979 "aTransfer")] 980 public partial class DoubleValue : HeuristicLab.Clients.OKB.RunCreation.Value 981 { 982 983 private double ValueField; 984 985 [System.Runtime.Serialization.DataMemberAttribute()] 986 public double Value 987 { 988 get 989 { 990 return this.ValueField; 991 } 992 set 993 { 994 if ((this.ValueField.Equals(value) != true)) 995 { 996 this.ValueField = value; 997 this.RaisePropertyChanged("Value"); 998 } 999 } 1000 } 1001 } 1002 1003 [System.Diagnostics.DebuggerStepThroughAttribute()] 1004 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1005 [System.Runtime.Serialization.DataContractAttribute(Name="FloatValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 1006 "aTransfer")] 1007 public partial class FloatValue : HeuristicLab.Clients.OKB.RunCreation.Value 1008 { 1009 1010 private float ValueField; 1011 1012 [System.Runtime.Serialization.DataMemberAttribute()] 1013 public float Value 1014 { 1015 get 1016 { 1017 return this.ValueField; 1018 } 1019 set 1020 { 1021 if ((this.ValueField.Equals(value) != true)) 1022 { 1023 this.ValueField = value; 1024 this.RaisePropertyChanged("Value"); 1025 } 1026 } 1027 } 1028 } 1029 1030 [System.Diagnostics.DebuggerStepThroughAttribute()] 1031 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1032 [System.Runtime.Serialization.DataContractAttribute(Name="StringValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 1033 "aTransfer")] 1034 public partial class StringValue : HeuristicLab.Clients.OKB.RunCreation.Value 1035 { 1036 1037 private string ValueField; 1038 1039 [System.Runtime.Serialization.DataMemberAttribute()] 1040 public string Value 1041 { 1042 get 1043 { 1044 return this.ValueField; 1045 } 1046 set 1047 { 1048 if ((object.ReferenceEquals(this.ValueField, value) != true)) 1049 { 1050 this.ValueField = value; 1051 this.RaisePropertyChanged("Value"); 1052 } 1053 } 1054 } 1055 } 1056 1057 [System.Diagnostics.DebuggerStepThroughAttribute()] 1058 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1059 [System.Runtime.Serialization.DataContractAttribute(Name="BinaryValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 1060 "aTransfer")] 1061 public partial class BinaryValue : HeuristicLab.Clients.OKB.RunCreation.Value 1062 { 1063 1064 private byte[] ValueField; 1065 1066 [System.Runtime.Serialization.DataMemberAttribute()] 1067 public byte[] Value 1068 { 1069 get 1070 { 1071 return this.ValueField; 1072 } 1073 set 1074 { 1075 if ((object.ReferenceEquals(this.ValueField, value) != true)) 1076 { 1077 this.ValueField = value; 1078 this.RaisePropertyChanged("Value"); 1079 } 1080 } 1081 } 1082 } 1083 1084 [System.Diagnostics.DebuggerStepThroughAttribute()] 1085 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1086 [System.Runtime.Serialization.DataContractAttribute(Name="PercentValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 1087 "aTransfer")] 1088 public partial class PercentValue : HeuristicLab.Clients.OKB.RunCreation.Value 1089 { 1090 1091 private double ValueField; 1092 1093 [System.Runtime.Serialization.DataMemberAttribute()] 1094 public double Value 1095 { 1096 get 1097 { 1098 return this.ValueField; 1099 } 1100 set 1101 { 1102 if ((this.ValueField.Equals(value) != true)) 1103 { 1104 this.ValueField = value; 1105 this.RaisePropertyChanged("Value"); 1106 } 1107 } 1108 } 1109 } 1110 1111 [System.Diagnostics.DebuggerStepThroughAttribute()] 1112 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1113 [System.Runtime.Serialization.DataContractAttribute(Name="MissingProblem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation")] 1114 public partial class MissingProblem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged 1115 { 1116 1117 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 1118 1119 private string MessageField; 1120 1121 public System.Runtime.Serialization.ExtensionDataObject ExtensionData 1122 { 1123 get 1124 { 1125 return this.extensionDataField; 1126 } 1127 set 1128 { 1129 this.extensionDataField = value; 1130 } 1131 } 1132 1133 [System.Runtime.Serialization.DataMemberAttribute()] 1134 public string Message 1135 { 1136 get 1137 { 1138 return this.MessageField; 1139 } 1140 set 1141 { 1142 if ((object.ReferenceEquals(this.MessageField, value) != true)) 1143 { 1144 this.MessageField = value; 1145 this.RaisePropertyChanged("Message"); 1146 } 1147 } 1148 } 1149 1150 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 1151 1152 protected void RaisePropertyChanged(string propertyName) 1153 { 1154 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 1155 if ((propertyChanged != null)) 1156 { 1157 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 1158 } 1159 } 1160 } 1161 1162 [System.Diagnostics.DebuggerStepThroughAttribute()] 1163 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1164 [System.Runtime.Serialization.DataContractAttribute(Name="MissingSolution", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation")] 1165 public partial class MissingSolution : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged 1166 { 1167 1168 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 1169 1170 private string MessageField; 1171 1172 public System.Runtime.Serialization.ExtensionDataObject ExtensionData 1173 { 1174 get 1175 { 1176 return this.extensionDataField; 1177 } 1178 set 1179 { 1180 this.extensionDataField = value; 1181 } 1182 } 1183 1184 [System.Runtime.Serialization.DataMemberAttribute()] 1185 public string Message 1186 { 1187 get 1188 { 1189 return this.MessageField; 1190 } 1191 set 1192 { 1193 if ((object.ReferenceEquals(this.MessageField, value) != true)) 1194 { 1195 this.MessageField = value; 1196 this.RaisePropertyChanged("Message"); 1197 } 1198 } 1199 } 1200 1201 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 1202 1203 protected void RaisePropertyChanged(string propertyName) 1204 { 1205 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 1206 if ((propertyChanged != null)) 1207 { 1208 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 1209 } 1210 } 1211 } 1212 1213 [System.Diagnostics.DebuggerStepThroughAttribute()] 1214 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 1215 [System.Runtime.Serialization.DataContractAttribute(Name="UnknownCharacteristicType", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation")] 1216 public partial class UnknownCharacteristicType : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged 1217 { 1218 1219 private System.Runtime.Serialization.ExtensionDataObject extensionDataField; 1220 1221 private string MessageField; 1222 1223 public System.Runtime.Serialization.ExtensionDataObject ExtensionData 1224 { 1225 get 1226 { 1227 return this.extensionDataField; 1228 } 1229 set 1230 { 1231 this.extensionDataField = value; 1232 } 1233 } 1234 1235 [System.Runtime.Serialization.DataMemberAttribute()] 1236 public string Message 1237 { 1238 get 1239 { 1240 return this.MessageField; 1241 } 1242 set 1243 { 1244 if ((object.ReferenceEquals(this.MessageField, value) != true)) 1245 { 1246 this.MessageField = value; 1247 this.RaisePropertyChanged("Message"); 1248 } 1249 } 1250 } 1251 1252 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 1253 1254 protected void RaisePropertyChanged(string propertyName) 1255 { 1256 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; 1257 if ((propertyChanged != null)) 1258 { 1259 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); 1260 } 1261 } 1262 } 1263 1264 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 1265 [System.ServiceModel.ServiceContractAttribute(ConfigurationName="HeuristicLab.Clients.OKB.RunCreation.IRunCreationService")] 1266 public interface IRunCreationService 1267 { 1268 1269 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetAlgorithms", ReplyAction="http://tempuri.org/IRunCreationService/GetAlgorithmsResponse")] 1270 System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Algorithm> GetAlgorithms(string platformName); 1271 1272 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetAlgorithms", ReplyAction="http://tempuri.org/IRunCreationService/GetAlgorithmsResponse")] 1273 System.Threading.Tasks.Task<System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Algorithm>> GetAlgorithmsAsync(string platformName); 1274 1275 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetAlgorithmData", ReplyAction="http://tempuri.org/IRunCreationService/GetAlgorithmDataResponse")] 1276 byte[] GetAlgorithmData(long algorithmId); 1277 1278 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetAlgorithmData", ReplyAction="http://tempuri.org/IRunCreationService/GetAlgorithmDataResponse")] 1279 System.Threading.Tasks.Task<byte[]> GetAlgorithmDataAsync(long algorithmId); 1280 1281 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetProblems", ReplyAction="http://tempuri.org/IRunCreationService/GetProblemsResponse")] 1282 System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Problem> GetProblems(string platformName); 1283 1284 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetProblems", ReplyAction="http://tempuri.org/IRunCreationService/GetProblemsResponse")] 1285 System.Threading.Tasks.Task<System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Problem>> GetProblemsAsync(string platformName); 1286 1287 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetProblemData", ReplyAction="http://tempuri.org/IRunCreationService/GetProblemDataResponse")] 1288 byte[] GetProblemData(long problemId); 1289 1290 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetProblemData", ReplyAction="http://tempuri.org/IRunCreationService/GetProblemDataResponse")] 1291 System.Threading.Tasks.Task<byte[]> GetProblemDataAsync(long problemId); 1292 1293 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetSolutions", ReplyAction="http://tempuri.org/IRunCreationService/GetSolutionsResponse")] 1294 [System.ServiceModel.FaultContractAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.MissingProblem), Action="http://tempuri.org/IRunCreationService/GetSolutionsMissingProblemFault", Name="MissingProblem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation")] 1295 System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Solution> GetSolutions(long problemId); 1296 1297 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetSolutions", ReplyAction="http://tempuri.org/IRunCreationService/GetSolutionsResponse")] 1298 System.Threading.Tasks.Task<System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Solution>> GetSolutionsAsync(long problemId); 1299 1300 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetSolutionData", ReplyAction="http://tempuri.org/IRunCreationService/GetSolutionDataResponse")] 1301 [System.ServiceModel.FaultContractAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.MissingSolution), Action="http://tempuri.org/IRunCreationService/GetSolutionDataMissingSolutionFault", Name="MissingSolution", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation")] 1302 byte[] GetSolutionData(long solutionId); 1303 1304 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetSolutionData", ReplyAction="http://tempuri.org/IRunCreationService/GetSolutionDataResponse")] 1305 System.Threading.Tasks.Task<byte[]> GetSolutionDataAsync(long solutionId); 1306 1307 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/AddSolution", ReplyAction="http://tempuri.org/IRunCreationService/AddSolutionResponse")] 1308 long AddSolution(HeuristicLab.Clients.OKB.RunCreation.Solution solution, byte[] data); 1309 1310 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/AddSolution", ReplyAction="http://tempuri.org/IRunCreationService/AddSolutionResponse")] 1311 System.Threading.Tasks.Task<long> AddSolutionAsync(HeuristicLab.Clients.OKB.RunCreation.Solution solution, byte[] data); 1312 1313 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/DeleteSolution", ReplyAction="http://tempuri.org/IRunCreationService/DeleteSolutionResponse")] 1314 void DeleteSolution(HeuristicLab.Clients.OKB.RunCreation.Solution solution); 1315 1316 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/DeleteSolution", ReplyAction="http://tempuri.org/IRunCreationService/DeleteSolutionResponse")] 1317 System.Threading.Tasks.Task DeleteSolutionAsync(HeuristicLab.Clients.OKB.RunCreation.Solution solution); 1318 1319 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/AddRun", ReplyAction="http://tempuri.org/IRunCreationService/AddRunResponse")] 1320 void AddRun(HeuristicLab.Clients.OKB.RunCreation.Run run); 1321 1322 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/AddRun", ReplyAction="http://tempuri.org/IRunCreationService/AddRunResponse")] 1323 System.Threading.Tasks.Task AddRunAsync(HeuristicLab.Clients.OKB.RunCreation.Run run); 1324 1325 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetCharacteristicValues", ReplyAction="http://tempuri.org/IRunCreationService/GetCharacteristicValuesResponse")] 1326 System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Value> GetCharacteristicValues(long problemId); 1327 1328 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetCharacteristicValues", ReplyAction="http://tempuri.org/IRunCreationService/GetCharacteristicValuesResponse")] 1329 System.Threading.Tasks.Task<System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Value>> GetCharacteristicValuesAsync(long problemId); 1330 1331 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/SetCharacteristicValue", ReplyAction="http://tempuri.org/IRunCreationService/SetCharacteristicValueResponse")] 1332 [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")] 1333 [System.ServiceModel.FaultContractAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.UnknownCharacteristicType), Action="http://tempuri.org/IRunCreationService/SetCharacteristicValueUnknownCharacteristi" + 1334 "cTypeFault", Name="UnknownCharacteristicType", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation")] 1335 void SetCharacteristicValue(long problemId, HeuristicLab.Clients.OKB.RunCreation.Value value); 1336 1337 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/SetCharacteristicValue", ReplyAction="http://tempuri.org/IRunCreationService/SetCharacteristicValueResponse")] 1338 System.Threading.Tasks.Task SetCharacteristicValueAsync(long problemId, HeuristicLab.Clients.OKB.RunCreation.Value value); 1339 1340 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/SetCharacteristicValues", ReplyAction="http://tempuri.org/IRunCreationService/SetCharacteristicValuesResponse")] 1341 [System.ServiceModel.FaultContractAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.UnknownCharacteristicType), Action="http://tempuri.org/IRunCreationService/SetCharacteristicValuesUnknownCharacterist" + 1342 "icTypeFault", Name="UnknownCharacteristicType", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation")] 1343 [System.ServiceModel.FaultContractAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.MissingProblem), Action="http://tempuri.org/IRunCreationService/SetCharacteristicValuesMissingProblemFault" + 1344 "", Name="MissingProblem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation")] 1345 void SetCharacteristicValues(long problemId, System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Value> values); 1346 1347 [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/SetCharacteristicValues", ReplyAction="http://tempuri.org/IRunCreationService/SetCharacteristicValuesResponse")] 1348 System.Threading.Tasks.Task SetCharacteristicValuesAsync(long problemId, System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Value> values); 1349 } 1350 1351 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 1352 public interface IRunCreationServiceChannel : HeuristicLab.Clients.OKB.RunCreation.IRunCreationService, System.ServiceModel.IClientChannel 1353 { 1354 } 1355 1356 [System.Diagnostics.DebuggerStepThroughAttribute()] 1357 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] 1358 public partial class RunCreationServiceClient : System.ServiceModel.ClientBase<HeuristicLab.Clients.OKB.RunCreation.IRunCreationService>, HeuristicLab.Clients.OKB.RunCreation.IRunCreationService 1359 { 1360 1361 public RunCreationServiceClient() 1362 { 1363 } 1364 1365 public RunCreationServiceClient(string endpointConfigurationName) : 1366 base(endpointConfigurationName) 1367 { 1368 } 1369 1370 public RunCreationServiceClient(string endpointConfigurationName, string remoteAddress) : 1371 base(endpointConfigurationName, remoteAddress) 1372 { 1373 } 1374 1375 public RunCreationServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 1376 base(endpointConfigurationName, remoteAddress) 1377 { 1378 } 1379 1380 public RunCreationServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 1381 base(binding, remoteAddress) 1382 { 1383 } 1384 1385 public System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Algorithm> GetAlgorithms(string platformName) 1386 { 1387 return base.Channel.GetAlgorithms(platformName); 1388 } 1389 1390 public System.Threading.Tasks.Task<System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Algorithm>> GetAlgorithmsAsync(string platformName) 1391 { 1392 return base.Channel.GetAlgorithmsAsync(platformName); 1393 } 1394 1395 public byte[] GetAlgorithmData(long algorithmId) 1396 { 1397 return base.Channel.GetAlgorithmData(algorithmId); 1398 } 1399 1400 public System.Threading.Tasks.Task<byte[]> GetAlgorithmDataAsync(long algorithmId) 1401 { 1402 return base.Channel.GetAlgorithmDataAsync(algorithmId); 1403 } 1404 1405 public System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Problem> GetProblems(string platformName) 1406 { 1407 return base.Channel.GetProblems(platformName); 1408 } 1409 1410 public System.Threading.Tasks.Task<System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Problem>> GetProblemsAsync(string platformName) 1411 { 1412 return base.Channel.GetProblemsAsync(platformName); 1413 } 1414 1415 public byte[] GetProblemData(long problemId) 1416 { 1417 return base.Channel.GetProblemData(problemId); 1418 } 1419 1420 public System.Threading.Tasks.Task<byte[]> GetProblemDataAsync(long problemId) 1421 { 1422 return base.Channel.GetProblemDataAsync(problemId); 1423 } 1424 1425 public System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Solution> GetSolutions(long problemId) 1426 { 1427 return base.Channel.GetSolutions(problemId); 1428 } 1429 1430 public System.Threading.Tasks.Task<System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Solution>> GetSolutionsAsync(long problemId) 1431 { 1432 return base.Channel.GetSolutionsAsync(problemId); 1433 } 1434 1435 public byte[] GetSolutionData(long solutionId) 1436 { 1437 return base.Channel.GetSolutionData(solutionId); 1438 } 1439 1440 public System.Threading.Tasks.Task<byte[]> GetSolutionDataAsync(long solutionId) 1441 { 1442 return base.Channel.GetSolutionDataAsync(solutionId); 1443 } 1444 1445 public long AddSolution(HeuristicLab.Clients.OKB.RunCreation.Solution solution, byte[] data) 1446 { 1447 return base.Channel.AddSolution(solution, data); 1448 } 1449 1450 public System.Threading.Tasks.Task<long> AddSolutionAsync(HeuristicLab.Clients.OKB.RunCreation.Solution solution, byte[] data) 1451 { 1452 return base.Channel.AddSolutionAsync(solution, data); 1453 } 1454 1455 public void DeleteSolution(HeuristicLab.Clients.OKB.RunCreation.Solution solution) 1456 { 1457 base.Channel.DeleteSolution(solution); 1458 } 1459 1460 public System.Threading.Tasks.Task DeleteSolutionAsync(HeuristicLab.Clients.OKB.RunCreation.Solution solution) 1461 { 1462 return base.Channel.DeleteSolutionAsync(solution); 1463 } 1464 1465 public void AddRun(HeuristicLab.Clients.OKB.RunCreation.Run run) 1466 { 1467 base.Channel.AddRun(run); 1468 } 1469 1470 public System.Threading.Tasks.Task AddRunAsync(HeuristicLab.Clients.OKB.RunCreation.Run run) 1471 { 1472 return base.Channel.AddRunAsync(run); 1473 } 1474 1475 public System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Value> GetCharacteristicValues(long problemId) 1476 { 1477 return base.Channel.GetCharacteristicValues(problemId); 1478 } 1479 1480 public System.Threading.Tasks.Task<System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Value>> GetCharacteristicValuesAsync(long problemId) 1481 { 1482 return base.Channel.GetCharacteristicValuesAsync(problemId); 1483 } 1484 1485 public void SetCharacteristicValue(long problemId, HeuristicLab.Clients.OKB.RunCreation.Value value) 1486 { 1487 base.Channel.SetCharacteristicValue(problemId, value); 1488 } 1489 1490 public System.Threading.Tasks.Task SetCharacteristicValueAsync(long problemId, HeuristicLab.Clients.OKB.RunCreation.Value value) 1491 { 1492 return base.Channel.SetCharacteristicValueAsync(problemId, value); 1493 } 1494 1495 public void SetCharacteristicValues(long problemId, System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Value> values) 1496 { 1497 base.Channel.SetCharacteristicValues(problemId, values); 1498 } 1499 1500 public System.Threading.Tasks.Task SetCharacteristicValuesAsync(long problemId, System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Value> values) 1501 { 1502 return base.Channel.SetCharacteristicValuesAsync(problemId, values); 1503 } 1504 } 1018 1505 } -
trunk/sources/HeuristicLab.Services.OKB/3.3/RunCreation/IRunCreationService.cs
r13683 r13684 52 52 53 53 [OperationContract] 54 [FaultContract(typeof(MissingProblem))] 55 void AddSolution(Solution solution, byte[] data); 54 long AddSolution(Solution solution, byte[] data); 55 56 [OperationContract] 57 void DeleteSolution(Solution solution); 56 58 57 59 [OperationContract] -
trunk/sources/HeuristicLab.Services.OKB/3.3/RunCreation/RunCreationService.cs
r13683 r13684 169 169 } 170 170 171 public voidAddSolution(DataTransfer.Solution solution, byte[] data) {171 public long AddSolution(DataTransfer.Solution solution, byte[] data) { 172 172 roleVerifier.AuthenticateForAnyRole(OKBRoles.OKBAdministrator, OKBRoles.OKBUser); 173 173 … … 177 177 DataAccess.SingleObjectiveSolution entity = Convert.ToEntity(soSolution, data, okb); 178 178 okb.SingleObjectiveSolutions.InsertOnSubmit(entity); 179 okb.SubmitChanges(); 180 return entity.Id; 181 } 182 } 183 throw new FaultException(new FaultReason("The solution could not be added.")); 184 } 185 186 public void DeleteSolution(DataTransfer.Solution solution) { 187 roleVerifier.AuthenticateForAnyRole(OKBRoles.OKBAdministrator, OKBRoles.OKBUser); 188 189 using (OKBDataContext okb = new OKBDataContext()) { 190 var soSolution = solution as DataTransfer.SingleObjectiveSolution; 191 if (soSolution != null) { 192 okb.SingleObjectiveSolutions.DeleteOnSubmit(okb.SingleObjectiveSolutions.Single(x => x.Id == soSolution.Id)); 179 193 okb.SubmitChanges(); 180 194 }
Note: See TracChangeset
for help on using the changeset viewer.