//------------------------------------------------------------------------------
// 
//     此代码由工具生成。
//     运行时版本:4.0.30319.42000
//
//     对此文件的更改可能会导致不正确的行为,并且如果
//     重新生成代码,这些更改将会丢失。
// 
//------------------------------------------------------------------------------
namespace DeiNiu.wms.win.ServiceCustomer {
    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="WcfWmsDeskCustomer", Namespace="http://schemas.datacontract.org/2004/07/DeiNiu.Wcf")]
    [System.SerializableAttribute()]
    public partial class WcfWmsDeskCustomer : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string createtimeField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string custNameField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string custidField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int deskIdField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool drField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string flowNoField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int idField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string lastmodifiedField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int lightIdField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string memField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int operaterField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int partionField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string partionNameField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int portNoField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string createtime {
            get {
                return this.createtimeField;
            }
            set {
                if ((object.ReferenceEquals(this.createtimeField, value) != true)) {
                    this.createtimeField = value;
                    this.RaisePropertyChanged("createtime");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string custName {
            get {
                return this.custNameField;
            }
            set {
                if ((object.ReferenceEquals(this.custNameField, value) != true)) {
                    this.custNameField = value;
                    this.RaisePropertyChanged("custName");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string custid {
            get {
                return this.custidField;
            }
            set {
                if ((object.ReferenceEquals(this.custidField, value) != true)) {
                    this.custidField = value;
                    this.RaisePropertyChanged("custid");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int deskId {
            get {
                return this.deskIdField;
            }
            set {
                if ((this.deskIdField.Equals(value) != true)) {
                    this.deskIdField = value;
                    this.RaisePropertyChanged("deskId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool dr {
            get {
                return this.drField;
            }
            set {
                if ((this.drField.Equals(value) != true)) {
                    this.drField = value;
                    this.RaisePropertyChanged("dr");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string flowNo {
            get {
                return this.flowNoField;
            }
            set {
                if ((object.ReferenceEquals(this.flowNoField, value) != true)) {
                    this.flowNoField = value;
                    this.RaisePropertyChanged("flowNo");
                }
            }
        }
        
        [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 string lastmodified {
            get {
                return this.lastmodifiedField;
            }
            set {
                if ((object.ReferenceEquals(this.lastmodifiedField, value) != true)) {
                    this.lastmodifiedField = value;
                    this.RaisePropertyChanged("lastmodified");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int lightId {
            get {
                return this.lightIdField;
            }
            set {
                if ((this.lightIdField.Equals(value) != true)) {
                    this.lightIdField = value;
                    this.RaisePropertyChanged("lightId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string mem {
            get {
                return this.memField;
            }
            set {
                if ((object.ReferenceEquals(this.memField, value) != true)) {
                    this.memField = value;
                    this.RaisePropertyChanged("mem");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int operater {
            get {
                return this.operaterField;
            }
            set {
                if ((this.operaterField.Equals(value) != true)) {
                    this.operaterField = value;
                    this.RaisePropertyChanged("operater");
                }
            }
        }
        
        [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 string partionName {
            get {
                return this.partionNameField;
            }
            set {
                if ((object.ReferenceEquals(this.partionNameField, value) != true)) {
                    this.partionNameField = value;
                    this.RaisePropertyChanged("partionName");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int portNo {
            get {
                return this.portNoField;
            }
            set {
                if ((this.portNoField.Equals(value) != true)) {
                    this.portNoField = value;
                    this.RaisePropertyChanged("portNo");
                }
            }
        }
        
        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="ServiceCustomer.ICustomer")]
    public interface ICustomer {
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomer/query", ReplyAction="http://tempuri.org/ICustomer/queryResponse")]
        System.Data.DataSet query(string querystr, int rownumStart, int rownumEnd);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomer/updateJdGroup", ReplyAction="http://tempuri.org/ICustomer/updateJdGroupResponse")]
        int updateJdGroup(string[] Ids, int group);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomer/updateJdHourPoint", ReplyAction="http://tempuri.org/ICustomer/updateJdHourPointResponse")]
        int updateJdHourPoint(string[] Ids, int point);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomer/updatePickInterval", ReplyAction="http://tempuri.org/ICustomer/updatePickIntervalResponse")]
        int updatePickInterval(string[] Ids, int point);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomer/queryDesks", ReplyAction="http://tempuri.org/ICustomer/queryDesksResponse")]
        System.Data.DataSet queryDesks(string querystr, int rownumStart, int rownumEnd);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomer/add", ReplyAction="http://tempuri.org/ICustomer/addResponse")]
        int add(DeiNiu.wms.win.ServiceCustomer.WcfWmsDeskCustomer wcfData);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomer/delete", ReplyAction="http://tempuri.org/ICustomer/deleteResponse")]
        int delete(int id);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomer/update", ReplyAction="http://tempuri.org/ICustomer/updateResponse")]
        int update(DeiNiu.wms.win.ServiceCustomer.WcfWmsDeskCustomer wcfData);
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface ICustomerChannel : DeiNiu.wms.win.ServiceCustomer.ICustomer, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class CustomerClient : System.ServiceModel.ClientBase, DeiNiu.wms.win.ServiceCustomer.ICustomer {
        
        public CustomerClient() {
        }
        
        public CustomerClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public CustomerClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public CustomerClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public CustomerClient(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 updateJdGroup(string[] Ids, int group) {
            return base.Channel.updateJdGroup(Ids, group);
        }
        
        public int updateJdHourPoint(string[] Ids, int point) {
            return base.Channel.updateJdHourPoint(Ids, point);
        }
        
        public int updatePickInterval(string[] Ids, int point) {
            return base.Channel.updatePickInterval(Ids, point);
        }
        
        public System.Data.DataSet queryDesks(string querystr, int rownumStart, int rownumEnd) {
            return base.Channel.queryDesks(querystr, rownumStart, rownumEnd);
        }
        
        public int add(DeiNiu.wms.win.ServiceCustomer.WcfWmsDeskCustomer wcfData) {
            return base.Channel.add(wcfData);
        }
        
        public int delete(int id) {
            return base.Channel.delete(id);
        }
        
        public int update(DeiNiu.wms.win.ServiceCustomer.WcfWmsDeskCustomer wcfData) {
            return base.Channel.update(wcfData);
        }
    }
}