//------------------------------------------------------------------------------
// 
//     此代码由工具生成。
//     运行时版本:4.0.30319.42000
//
//     对此文件的更改可能会导致不正确的行为,并且如果
//     重新生成代码,这些更改将会丢失。
// 
//------------------------------------------------------------------------------
namespace DeiNiu.wms.win.BoxService.svc {
    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="WcfWmsOutBox", Namespace="http://schemas.datacontract.org/2004/07/DeiNiu.Wcf")]
    [System.SerializableAttribute()]
    public partial class WcfWmsOutBox : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int colorField;
        
        [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 partionField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int stateField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int typeField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private decimal volumeField;
        
        [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 color {
            get {
                return this.colorField;
            }
            set {
                if ((this.colorField.Equals(value) != true)) {
                    this.colorField = value;
                    this.RaisePropertyChanged("color");
                }
            }
        }
        
        [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 partion {
            get {
                return this.partionField;
            }
            set {
                if ((this.partionField.Equals(value) != true)) {
                    this.partionField = value;
                    this.RaisePropertyChanged("partion");
                }
            }
        }
        
        [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 int type {
            get {
                return this.typeField;
            }
            set {
                if ((this.typeField.Equals(value) != true)) {
                    this.typeField = value;
                    this.RaisePropertyChanged("type");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public decimal volume {
            get {
                return this.volumeField;
            }
            set {
                if ((this.volumeField.Equals(value) != true)) {
                    this.volumeField = value;
                    this.RaisePropertyChanged("volume");
                }
            }
        }
        
        [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="BoxService.svc.IWmsOutBox")]
    public interface IWmsOutBox {
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWmsOutBox/query", ReplyAction="http://tempuri.org/IWmsOutBox/queryResponse")]
        System.Data.DataSet query(string querystr, int rownumStart, int rownumEnd);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWmsOutBox/add", ReplyAction="http://tempuri.org/IWmsOutBox/addResponse")]
        int add(DeiNiu.wms.win.BoxService.svc.WcfWmsOutBox wcfData, int count);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWmsOutBox/delete", ReplyAction="http://tempuri.org/IWmsOutBox/deleteResponse")]
        int delete(DeiNiu.wms.win.BoxService.svc.WcfWmsOutBox wcfData);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWmsOutBox/update", ReplyAction="http://tempuri.org/IWmsOutBox/updateResponse")]
        bool update(DeiNiu.wms.win.BoxService.svc.WcfWmsOutBox[] wcfs);
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface IWmsOutBoxChannel : DeiNiu.wms.win.BoxService.svc.IWmsOutBox, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class WmsOutBoxClient : System.ServiceModel.ClientBase, DeiNiu.wms.win.BoxService.svc.IWmsOutBox {
        
        public WmsOutBoxClient() {
        }
        
        public WmsOutBoxClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public WmsOutBoxClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public WmsOutBoxClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public WmsOutBoxClient(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 int add(DeiNiu.wms.win.BoxService.svc.WcfWmsOutBox wcfData, int count) {
            return base.Channel.add(wcfData, count);
        }
        
        public int delete(DeiNiu.wms.win.BoxService.svc.WcfWmsOutBox wcfData) {
            return base.Channel.delete(wcfData);
        }
        
        public bool update(DeiNiu.wms.win.BoxService.svc.WcfWmsOutBox[] wcfs) {
            return base.Channel.update(wcfs);
        }
    }
}