305 lines
		
	
	
		
			11 KiB
		
	
	
	
		
			C#
		
	
	
	
		
		
			
		
	
	
			305 lines
		
	
	
		
			11 KiB
		
	
	
	
		
			C#
		
	
	
	
|  | //------------------------------------------------------------------------------ | |||
|  | // <auto-generated> | |||
|  | //     此代码由工具生成。 | |||
|  | //     运行时版本:4.0.30319.42000 | |||
|  | // | |||
|  | //     对此文件的更改可能会导致不正确的行为,并且如果 | |||
|  | //     重新生成代码,这些更改将会丢失。 | |||
|  | // </auto-generated> | |||
|  | //------------------------------------------------------------------------------ | |||
|  | 
 | |||
|  | namespace DeiNiu.wms.win.ViechleService { | |||
|  |     using System.Runtime.Serialization; | |||
|  |     using System; | |||
|  |      | |||
|  |      | |||
|  |     [System.Diagnostics.DebuggerStepThroughAttribute()] | |||
|  |     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] | |||
|  |     [System.Runtime.Serialization.DataContractAttribute(Name="wcfViechle", Namespace="http://schemas.datacontract.org/2004/07/DeiNiu.Wcf")] | |||
|  |     [System.SerializableAttribute()] | |||
|  |     public partial class wcfViechle : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { | |||
|  |          | |||
|  |         [System.NonSerializedAttribute()] | |||
|  |         private System.Runtime.Serialization.ExtensionDataObject extensionDataField; | |||
|  |          | |||
|  |         [System.Runtime.Serialization.OptionalFieldAttribute()] | |||
|  |         private int airConditionField; | |||
|  |          | |||
|  |         [System.Runtime.Serialization.OptionalFieldAttribute()] | |||
|  |         private int driverField; | |||
|  |          | |||
|  |         [System.Runtime.Serialization.OptionalFieldAttribute()] | |||
|  |         private decimal heightField; | |||
|  |          | |||
|  |         [System.Runtime.Serialization.OptionalFieldAttribute()] | |||
|  |         private int idField; | |||
|  |          | |||
|  |         [System.Runtime.Serialization.OptionalFieldAttribute()] | |||
|  |         private decimal lengthField; | |||
|  |          | |||
|  |         [System.Runtime.Serialization.OptionalFieldAttribute()] | |||
|  |         private int loadField; | |||
|  |          | |||
|  |         [System.Runtime.Serialization.OptionalFieldAttribute()] | |||
|  |         private int ownerField; | |||
|  |          | |||
|  |         [System.Runtime.Serialization.OptionalFieldAttribute()] | |||
|  |         private int stateField; | |||
|  |          | |||
|  |         [System.Runtime.Serialization.OptionalFieldAttribute()] | |||
|  |         private string viechleIdField; | |||
|  |          | |||
|  |         [System.Runtime.Serialization.OptionalFieldAttribute()] | |||
|  |         private int volumeField; | |||
|  |          | |||
|  |         [System.Runtime.Serialization.OptionalFieldAttribute()] | |||
|  |         private decimal weightField; | |||
|  |          | |||
|  |         [System.Runtime.Serialization.OptionalFieldAttribute()] | |||
|  |         private decimal widthField; | |||
|  |          | |||
|  |         [global::System.ComponentModel.BrowsableAttribute(false)] | |||
|  |         public System.Runtime.Serialization.ExtensionDataObject ExtensionData { | |||
|  |             get { | |||
|  |                 return this.extensionDataField; | |||
|  |             } | |||
|  |             set { | |||
|  |                 this.extensionDataField = value; | |||
|  |             } | |||
|  |         } | |||
|  |          | |||
|  |         [System.Runtime.Serialization.DataMemberAttribute()] | |||
|  |         public int airCondition { | |||
|  |             get { | |||
|  |                 return this.airConditionField; | |||
|  |             } | |||
|  |             set { | |||
|  |                 if ((this.airConditionField.Equals(value) != true)) { | |||
|  |                     this.airConditionField = value; | |||
|  |                     this.RaisePropertyChanged("airCondition"); | |||
|  |                 } | |||
|  |             } | |||
|  |         } | |||
|  |          | |||
|  |         [System.Runtime.Serialization.DataMemberAttribute()] | |||
|  |         public int driver { | |||
|  |             get { | |||
|  |                 return this.driverField; | |||
|  |             } | |||
|  |             set { | |||
|  |                 if ((this.driverField.Equals(value) != true)) { | |||
|  |                     this.driverField = value; | |||
|  |                     this.RaisePropertyChanged("driver"); | |||
|  |                 } | |||
|  |             } | |||
|  |         } | |||
|  |          | |||
|  |         [System.Runtime.Serialization.DataMemberAttribute()] | |||
|  |         public decimal height { | |||
|  |             get { | |||
|  |                 return this.heightField; | |||
|  |             } | |||
|  |             set { | |||
|  |                 if ((this.heightField.Equals(value) != true)) { | |||
|  |                     this.heightField = value; | |||
|  |                     this.RaisePropertyChanged("height"); | |||
|  |                 } | |||
|  |             } | |||
|  |         } | |||
|  |          | |||
|  |         [System.Runtime.Serialization.DataMemberAttribute()] | |||
|  |         public int id { | |||
|  |             get { | |||
|  |                 return this.idField; | |||
|  |             } | |||
|  |             set { | |||
|  |                 if ((this.idField.Equals(value) != true)) { | |||
|  |                     this.idField = value; | |||
|  |                     this.RaisePropertyChanged("id"); | |||
|  |                 } | |||
|  |             } | |||
|  |         } | |||
|  |          | |||
|  |         [System.Runtime.Serialization.DataMemberAttribute()] | |||
|  |         public decimal length { | |||
|  |             get { | |||
|  |                 return this.lengthField; | |||
|  |             } | |||
|  |             set { | |||
|  |                 if ((this.lengthField.Equals(value) != true)) { | |||
|  |                     this.lengthField = value; | |||
|  |                     this.RaisePropertyChanged("length"); | |||
|  |                 } | |||
|  |             } | |||
|  |         } | |||
|  |          | |||
|  |         [System.Runtime.Serialization.DataMemberAttribute()] | |||
|  |         public int load { | |||
|  |             get { | |||
|  |                 return this.loadField; | |||
|  |             } | |||
|  |             set { | |||
|  |                 if ((this.loadField.Equals(value) != true)) { | |||
|  |                     this.loadField = value; | |||
|  |                     this.RaisePropertyChanged("load"); | |||
|  |                 } | |||
|  |             } | |||
|  |         } | |||
|  |          | |||
|  |         [System.Runtime.Serialization.DataMemberAttribute()] | |||
|  |         public int owner { | |||
|  |             get { | |||
|  |                 return this.ownerField; | |||
|  |             } | |||
|  |             set { | |||
|  |                 if ((this.ownerField.Equals(value) != true)) { | |||
|  |                     this.ownerField = value; | |||
|  |                     this.RaisePropertyChanged("owner"); | |||
|  |                 } | |||
|  |             } | |||
|  |         } | |||
|  |          | |||
|  |         [System.Runtime.Serialization.DataMemberAttribute()] | |||
|  |         public int state { | |||
|  |             get { | |||
|  |                 return this.stateField; | |||
|  |             } | |||
|  |             set { | |||
|  |                 if ((this.stateField.Equals(value) != true)) { | |||
|  |                     this.stateField = value; | |||
|  |                     this.RaisePropertyChanged("state"); | |||
|  |                 } | |||
|  |             } | |||
|  |         } | |||
|  |          | |||
|  |         [System.Runtime.Serialization.DataMemberAttribute()] | |||
|  |         public string viechleId { | |||
|  |             get { | |||
|  |                 return this.viechleIdField; | |||
|  |             } | |||
|  |             set { | |||
|  |                 if ((object.ReferenceEquals(this.viechleIdField, value) != true)) { | |||
|  |                     this.viechleIdField = value; | |||
|  |                     this.RaisePropertyChanged("viechleId"); | |||
|  |                 } | |||
|  |             } | |||
|  |         } | |||
|  |          | |||
|  |         [System.Runtime.Serialization.DataMemberAttribute()] | |||
|  |         public int volume { | |||
|  |             get { | |||
|  |                 return this.volumeField; | |||
|  |             } | |||
|  |             set { | |||
|  |                 if ((this.volumeField.Equals(value) != true)) { | |||
|  |                     this.volumeField = value; | |||
|  |                     this.RaisePropertyChanged("volume"); | |||
|  |                 } | |||
|  |             } | |||
|  |         } | |||
|  |          | |||
|  |         [System.Runtime.Serialization.DataMemberAttribute()] | |||
|  |         public decimal weight { | |||
|  |             get { | |||
|  |                 return this.weightField; | |||
|  |             } | |||
|  |             set { | |||
|  |                 if ((this.weightField.Equals(value) != true)) { | |||
|  |                     this.weightField = value; | |||
|  |                     this.RaisePropertyChanged("weight"); | |||
|  |                 } | |||
|  |             } | |||
|  |         } | |||
|  |          | |||
|  |         [System.Runtime.Serialization.DataMemberAttribute()] | |||
|  |         public decimal width { | |||
|  |             get { | |||
|  |                 return this.widthField; | |||
|  |             } | |||
|  |             set { | |||
|  |                 if ((this.widthField.Equals(value) != true)) { | |||
|  |                     this.widthField = value; | |||
|  |                     this.RaisePropertyChanged("width"); | |||
|  |                 } | |||
|  |             } | |||
|  |         } | |||
|  |          | |||
|  |         public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; | |||
|  |          | |||
|  |         protected void RaisePropertyChanged(string propertyName) { | |||
|  |             System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; | |||
|  |             if ((propertyChanged != null)) { | |||
|  |                 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); | |||
|  |             } | |||
|  |         } | |||
|  |     } | |||
|  |      | |||
|  |     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] | |||
|  |     [System.ServiceModel.ServiceContractAttribute(ConfigurationName="ViechleService.IViechle")] | |||
|  |     public interface IViechle { | |||
|  |          | |||
|  |         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IViechle/Query", ReplyAction="http://tempuri.org/IViechle/QueryResponse")] | |||
|  |         System.Data.DataSet Query(string querystr, int rownumStart, int rownumEnd); | |||
|  |          | |||
|  |         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IViechle/queryActived", ReplyAction="http://tempuri.org/IViechle/queryActivedResponse")] | |||
|  |         System.Data.DataTable queryActived(); | |||
|  |          | |||
|  |         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IViechle/update", ReplyAction="http://tempuri.org/IViechle/updateResponse")] | |||
|  |         bool update(DeiNiu.wms.win.ViechleService.wcfViechle[] wcfViechles); | |||
|  |          | |||
|  |         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IViechle/add", ReplyAction="http://tempuri.org/IViechle/addResponse")] | |||
|  |         bool add(DeiNiu.wms.win.ViechleService.wcfViechle wcfViechle); | |||
|  |          | |||
|  |         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IViechle/delete", ReplyAction="http://tempuri.org/IViechle/deleteResponse")] | |||
|  |         bool delete(DeiNiu.wms.win.ViechleService.wcfViechle wcfViechle); | |||
|  |     } | |||
|  |      | |||
|  |     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] | |||
|  |     public interface IViechleChannel : DeiNiu.wms.win.ViechleService.IViechle, System.ServiceModel.IClientChannel { | |||
|  |     } | |||
|  |      | |||
|  |     [System.Diagnostics.DebuggerStepThroughAttribute()] | |||
|  |     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] | |||
|  |     public partial class ViechleClient : System.ServiceModel.ClientBase<DeiNiu.wms.win.ViechleService.IViechle>, DeiNiu.wms.win.ViechleService.IViechle { | |||
|  |          | |||
|  |         public ViechleClient() { | |||
|  |         } | |||
|  |          | |||
|  |         public ViechleClient(string endpointConfigurationName) :  | |||
|  |                 base(endpointConfigurationName) { | |||
|  |         } | |||
|  |          | |||
|  |         public ViechleClient(string endpointConfigurationName, string remoteAddress) :  | |||
|  |                 base(endpointConfigurationName, remoteAddress) { | |||
|  |         } | |||
|  |          | |||
|  |         public ViechleClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :  | |||
|  |                 base(endpointConfigurationName, remoteAddress) { | |||
|  |         } | |||
|  |          | |||
|  |         public ViechleClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :  | |||
|  |                 base(binding, remoteAddress) { | |||
|  |         } | |||
|  |          | |||
|  |         public System.Data.DataSet Query(string querystr, int rownumStart, int rownumEnd) { | |||
|  |             return base.Channel.Query(querystr, rownumStart, rownumEnd); | |||
|  |         } | |||
|  |          | |||
|  |         public System.Data.DataTable queryActived() { | |||
|  |             return base.Channel.queryActived(); | |||
|  |         } | |||
|  |          | |||
|  |         public bool update(DeiNiu.wms.win.ViechleService.wcfViechle[] wcfViechles) { | |||
|  |             return base.Channel.update(wcfViechles); | |||
|  |         } | |||
|  |          | |||
|  |         public bool add(DeiNiu.wms.win.ViechleService.wcfViechle wcfViechle) { | |||
|  |             return base.Channel.add(wcfViechle); | |||
|  |         } | |||
|  |          | |||
|  |         public bool delete(DeiNiu.wms.win.ViechleService.wcfViechle wcfViechle) { | |||
|  |             return base.Channel.delete(wcfViechle); | |||
|  |         } | |||
|  |     } | |||
|  | } |