- Timestamp:
- 03/06/12 20:21:07 (13 years ago)
- Location:
- branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/RunCreation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/RunCreation/OKBRun.cs
r7573 r7574 184 184 v.Value = ((Data.IntValue)item.Value).Value; 185 185 value = v; 186 } else if (item.Value is Data.TimeSpanValue) { 187 TimeSpanValue v = new TimeSpanValue(); 188 v.Value = (long)((Data.TimeSpanValue)item.Value).Value.TotalSeconds; 189 value = v; 186 190 } else if (item.Value is Data.PercentValue) { 187 191 PercentValue v = new PercentValue(); -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/RunCreation/ServiceClient/RunCreationServiceClient.cs
r7573 r7574 653 653 [System.Runtime.Serialization.DataContractAttribute(Name="Value", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 654 654 "aTransfer")] 655 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.BinaryValue))] 656 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.LongValue))] 655 657 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.FloatValue))] 658 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.TimeSpanValue))] 659 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.IntValue))] 660 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.BoolValue))] 656 661 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.DoubleValue))] 662 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.PercentValue))] 657 663 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.StringValue))] 658 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.PercentValue))]659 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.BoolValue))]660 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.IntValue))]661 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.LongValue))]662 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.BinaryValue))]663 664 public partial class Value : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged 664 665 { … … 730 731 [System.Diagnostics.DebuggerStepThroughAttribute()] 731 732 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 732 [System.Runtime.Serialization.DataContractAttribute(Name=" FloatValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +733 "aTransfer")] 734 public partial class FloatValue : HeuristicLab.Clients.OKB.RunCreation.Value735 { 736 737 private floatValueField;738 739 [System.Runtime.Serialization.DataMemberAttribute()] 740 public floatValue733 [System.Runtime.Serialization.DataContractAttribute(Name="BinaryValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 734 "aTransfer")] 735 public partial class BinaryValue : HeuristicLab.Clients.OKB.RunCreation.Value 736 { 737 738 private byte[] ValueField; 739 740 [System.Runtime.Serialization.DataMemberAttribute()] 741 public byte[] Value 741 742 { 742 743 get … … 746 747 set 747 748 { 748 if (( this.ValueField.Equals(value) != true))749 if ((object.ReferenceEquals(this.ValueField, value) != true)) 749 750 { 750 751 this.ValueField = value; … … 757 758 [System.Diagnostics.DebuggerStepThroughAttribute()] 758 759 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 759 [System.Runtime.Serialization.DataContractAttribute(Name=" DoubleValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +760 "aTransfer")] 761 public partial class DoubleValue : HeuristicLab.Clients.OKB.RunCreation.Value762 { 763 764 private doubleValueField;765 766 [System.Runtime.Serialization.DataMemberAttribute()] 767 public doubleValue760 [System.Runtime.Serialization.DataContractAttribute(Name="LongValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 761 "aTransfer")] 762 public partial class LongValue : HeuristicLab.Clients.OKB.RunCreation.Value 763 { 764 765 private long ValueField; 766 767 [System.Runtime.Serialization.DataMemberAttribute()] 768 public long Value 768 769 { 769 770 get … … 784 785 [System.Diagnostics.DebuggerStepThroughAttribute()] 785 786 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 786 [System.Runtime.Serialization.DataContractAttribute(Name=" StringValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +787 "aTransfer")] 788 public partial class StringValue : HeuristicLab.Clients.OKB.RunCreation.Value789 { 790 791 private stringValueField;792 793 [System.Runtime.Serialization.DataMemberAttribute()] 794 public stringValue787 [System.Runtime.Serialization.DataContractAttribute(Name="FloatValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 788 "aTransfer")] 789 public partial class FloatValue : HeuristicLab.Clients.OKB.RunCreation.Value 790 { 791 792 private float ValueField; 793 794 [System.Runtime.Serialization.DataMemberAttribute()] 795 public float Value 795 796 { 796 797 get … … 800 801 set 801 802 { 802 if (( object.ReferenceEquals(this.ValueField,value) != true))803 if ((this.ValueField.Equals(value) != true)) 803 804 { 804 805 this.ValueField = value; … … 811 812 [System.Diagnostics.DebuggerStepThroughAttribute()] 812 813 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 813 [System.Runtime.Serialization.DataContractAttribute(Name=" PercentValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +814 "aTransfer")] 815 public partial class PercentValue : HeuristicLab.Clients.OKB.RunCreation.Value816 { 817 818 private doubleValueField;819 820 [System.Runtime.Serialization.DataMemberAttribute()] 821 public doubleValue814 [System.Runtime.Serialization.DataContractAttribute(Name="TimeSpanValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 815 "aTransfer")] 816 public partial class TimeSpanValue : HeuristicLab.Clients.OKB.RunCreation.Value 817 { 818 819 private long ValueField; 820 821 [System.Runtime.Serialization.DataMemberAttribute()] 822 public long Value 822 823 { 823 824 get … … 838 839 [System.Diagnostics.DebuggerStepThroughAttribute()] 839 840 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 840 [System.Runtime.Serialization.DataContractAttribute(Name=" BoolValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +841 "aTransfer")] 842 public partial class BoolValue : HeuristicLab.Clients.OKB.RunCreation.Value843 { 844 845 private boolValueField;846 847 [System.Runtime.Serialization.DataMemberAttribute()] 848 public boolValue841 [System.Runtime.Serialization.DataContractAttribute(Name="IntValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 842 "aTransfer")] 843 public partial class IntValue : HeuristicLab.Clients.OKB.RunCreation.Value 844 { 845 846 private int ValueField; 847 848 [System.Runtime.Serialization.DataMemberAttribute()] 849 public int Value 849 850 { 850 851 get … … 865 866 [System.Diagnostics.DebuggerStepThroughAttribute()] 866 867 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 867 [System.Runtime.Serialization.DataContractAttribute(Name=" IntValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +868 "aTransfer")] 869 public partial class IntValue : HeuristicLab.Clients.OKB.RunCreation.Value870 { 871 872 private intValueField;873 874 [System.Runtime.Serialization.DataMemberAttribute()] 875 public intValue868 [System.Runtime.Serialization.DataContractAttribute(Name="BoolValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 869 "aTransfer")] 870 public partial class BoolValue : HeuristicLab.Clients.OKB.RunCreation.Value 871 { 872 873 private bool ValueField; 874 875 [System.Runtime.Serialization.DataMemberAttribute()] 876 public bool Value 876 877 { 877 878 get … … 892 893 [System.Diagnostics.DebuggerStepThroughAttribute()] 893 894 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 894 [System.Runtime.Serialization.DataContractAttribute(Name=" LongValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +895 "aTransfer")] 896 public partial class LongValue : HeuristicLab.Clients.OKB.RunCreation.Value897 { 898 899 private longValueField;900 901 [System.Runtime.Serialization.DataMemberAttribute()] 902 public longValue895 [System.Runtime.Serialization.DataContractAttribute(Name="DoubleValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 896 "aTransfer")] 897 public partial class DoubleValue : HeuristicLab.Clients.OKB.RunCreation.Value 898 { 899 900 private double ValueField; 901 902 [System.Runtime.Serialization.DataMemberAttribute()] 903 public double Value 903 904 { 904 905 get … … 919 920 [System.Diagnostics.DebuggerStepThroughAttribute()] 920 921 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 921 [System.Runtime.Serialization.DataContractAttribute(Name="BinaryValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 922 "aTransfer")] 923 public partial class BinaryValue : HeuristicLab.Clients.OKB.RunCreation.Value 924 { 925 926 private byte[] ValueField; 927 928 [System.Runtime.Serialization.DataMemberAttribute()] 929 public byte[] Value 922 [System.Runtime.Serialization.DataContractAttribute(Name="PercentValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 923 "aTransfer")] 924 public partial class PercentValue : HeuristicLab.Clients.OKB.RunCreation.Value 925 { 926 927 private double ValueField; 928 929 [System.Runtime.Serialization.DataMemberAttribute()] 930 public double Value 931 { 932 get 933 { 934 return this.ValueField; 935 } 936 set 937 { 938 if ((this.ValueField.Equals(value) != true)) 939 { 940 this.ValueField = value; 941 this.RaisePropertyChanged("Value"); 942 } 943 } 944 } 945 } 946 947 [System.Diagnostics.DebuggerStepThroughAttribute()] 948 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 949 [System.Runtime.Serialization.DataContractAttribute(Name="StringValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" + 950 "aTransfer")] 951 public partial class StringValue : HeuristicLab.Clients.OKB.RunCreation.Value 952 { 953 954 private string ValueField; 955 956 [System.Runtime.Serialization.DataMemberAttribute()] 957 public string Value 930 958 { 931 959 get
Note: See TracChangeset
for help on using the changeset viewer.