//------------------------------------------------------------------------------
// 
//     此代码由工具生成。
//     运行时版本:4.0.30319.42000
//
//     对此文件的更改可能会导致不正确的行为,并且如果
//     重新生成代码,这些更改将会丢失。
// 
//------------------------------------------------------------------------------
namespace DeiNiu.wms.win.PlateService {
    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="WcfWmsPlate", Namespace="http://schemas.datacontract.org/2004/07/DeiNiu.Wcf")]
    [System.SerializableAttribute()]
    public partial class WcfWmsPlate : 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 string createtimeField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string customerIdField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool drField;
        
        [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 int inPlateField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string lastmodifiedField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private decimal lengthField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private decimal loadField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string locationIdField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int operaterField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int ownerField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int partionField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string pickOrderNoField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string plateIdField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int plateLevelField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string preInOrderNoField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string specField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int stateField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int terminalField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string transNoField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int typeField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private decimal volumeField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string waveNoField;
        
        [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 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 customerId {
            get {
                return this.customerIdField;
            }
            set {
                if ((object.ReferenceEquals(this.customerIdField, value) != true)) {
                    this.customerIdField = value;
                    this.RaisePropertyChanged("customerId");
                }
            }
        }
        
        [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 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 int inPlate {
            get {
                return this.inPlateField;
            }
            set {
                if ((this.inPlateField.Equals(value) != true)) {
                    this.inPlateField = value;
                    this.RaisePropertyChanged("inPlate");
                }
            }
        }
        
        [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 decimal length {
            get {
                return this.lengthField;
            }
            set {
                if ((this.lengthField.Equals(value) != true)) {
                    this.lengthField = value;
                    this.RaisePropertyChanged("length");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public decimal load {
            get {
                return this.loadField;
            }
            set {
                if ((this.loadField.Equals(value) != true)) {
                    this.loadField = value;
                    this.RaisePropertyChanged("load");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string locationId {
            get {
                return this.locationIdField;
            }
            set {
                if ((object.ReferenceEquals(this.locationIdField, value) != true)) {
                    this.locationIdField = value;
                    this.RaisePropertyChanged("locationId");
                }
            }
        }
        
        [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 owner {
            get {
                return this.ownerField;
            }
            set {
                if ((this.ownerField.Equals(value) != true)) {
                    this.ownerField = value;
                    this.RaisePropertyChanged("owner");
                }
            }
        }
        
        [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 pickOrderNo {
            get {
                return this.pickOrderNoField;
            }
            set {
                if ((object.ReferenceEquals(this.pickOrderNoField, value) != true)) {
                    this.pickOrderNoField = value;
                    this.RaisePropertyChanged("pickOrderNo");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string plateId {
            get {
                return this.plateIdField;
            }
            set {
                if ((object.ReferenceEquals(this.plateIdField, value) != true)) {
                    this.plateIdField = value;
                    this.RaisePropertyChanged("plateId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int plateLevel {
            get {
                return this.plateLevelField;
            }
            set {
                if ((this.plateLevelField.Equals(value) != true)) {
                    this.plateLevelField = value;
                    this.RaisePropertyChanged("plateLevel");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string preInOrderNo {
            get {
                return this.preInOrderNoField;
            }
            set {
                if ((object.ReferenceEquals(this.preInOrderNoField, value) != true)) {
                    this.preInOrderNoField = value;
                    this.RaisePropertyChanged("preInOrderNo");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string spec {
            get {
                return this.specField;
            }
            set {
                if ((object.ReferenceEquals(this.specField, value) != true)) {
                    this.specField = value;
                    this.RaisePropertyChanged("spec");
                }
            }
        }
        
        [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 terminal {
            get {
                return this.terminalField;
            }
            set {
                if ((this.terminalField.Equals(value) != true)) {
                    this.terminalField = value;
                    this.RaisePropertyChanged("terminal");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string transNo {
            get {
                return this.transNoField;
            }
            set {
                if ((object.ReferenceEquals(this.transNoField, value) != true)) {
                    this.transNoField = value;
                    this.RaisePropertyChanged("transNo");
                }
            }
        }
        
        [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 string waveNo {
            get {
                return this.waveNoField;
            }
            set {
                if ((object.ReferenceEquals(this.waveNoField, value) != true)) {
                    this.waveNoField = value;
                    this.RaisePropertyChanged("waveNo");
                }
            }
        }
        
        [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="PlateService.IWmsPlate")]
    public interface IWmsPlate {
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWmsPlate/query", ReplyAction="http://tempuri.org/IWmsPlate/queryResponse")]
        System.Data.DataSet query(string querystr, int rownumStart, int rownumEnd);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWmsPlate/add", ReplyAction="http://tempuri.org/IWmsPlate/addResponse")]
        int add(DeiNiu.wms.win.PlateService.WcfWmsPlate wcfData, int count);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWmsPlate/delete", ReplyAction="http://tempuri.org/IWmsPlate/deleteResponse")]
        int delete(DeiNiu.wms.win.PlateService.WcfWmsPlate wcfData);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWmsPlate/update", ReplyAction="http://tempuri.org/IWmsPlate/updateResponse")]
        bool update(DeiNiu.wms.win.PlateService.WcfWmsPlate[] wcfs);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWmsPlate/inPlate", ReplyAction="http://tempuri.org/IWmsPlate/inPlateResponse")]
        int inPlate(string plateId, int type, string goodsId, string barcode, int skuId, decimal count, string orderNo);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWmsPlate/queryDesk", ReplyAction="http://tempuri.org/IWmsPlate/queryDeskResponse")]
        System.Data.DataSet queryDesk(string querystr, int rownumStart, int rownumEnd);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWmsPlate/updateDeskType", ReplyAction="http://tempuri.org/IWmsPlate/updateDeskTypeResponse")]
        int updateDeskType(int id, int type);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWmsPlate/updateDeskStatus", ReplyAction="http://tempuri.org/IWmsPlate/updateDeskStatusResponse")]
        int updateDeskStatus(int id, int status);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWmsPlate/updateDeskSeedsCnt", ReplyAction="http://tempuri.org/IWmsPlate/updateDeskSeedsCntResponse")]
        int updateDeskSeedsCnt(int id, int seedsCnt);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IWmsPlate/updateDesk", ReplyAction="http://tempuri.org/IWmsPlate/updateDeskResponse")]
        int updateDesk(int id, int type, int status, int seedsCnt, int minSeedsCnt);
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface IWmsPlateChannel : DeiNiu.wms.win.PlateService.IWmsPlate, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class WmsPlateClient : System.ServiceModel.ClientBase, DeiNiu.wms.win.PlateService.IWmsPlate {
        
        public WmsPlateClient() {
        }
        
        public WmsPlateClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public WmsPlateClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public WmsPlateClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public WmsPlateClient(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.PlateService.WcfWmsPlate wcfData, int count) {
            return base.Channel.add(wcfData, count);
        }
        
        public int delete(DeiNiu.wms.win.PlateService.WcfWmsPlate wcfData) {
            return base.Channel.delete(wcfData);
        }
        
        public bool update(DeiNiu.wms.win.PlateService.WcfWmsPlate[] wcfs) {
            return base.Channel.update(wcfs);
        }
        
        public int inPlate(string plateId, int type, string goodsId, string barcode, int skuId, decimal count, string orderNo) {
            return base.Channel.inPlate(plateId, type, goodsId, barcode, skuId, count, orderNo);
        }
        
        public System.Data.DataSet queryDesk(string querystr, int rownumStart, int rownumEnd) {
            return base.Channel.queryDesk(querystr, rownumStart, rownumEnd);
        }
        
        public int updateDeskType(int id, int type) {
            return base.Channel.updateDeskType(id, type);
        }
        
        public int updateDeskStatus(int id, int status) {
            return base.Channel.updateDeskStatus(id, status);
        }
        
        public int updateDeskSeedsCnt(int id, int seedsCnt) {
            return base.Channel.updateDeskSeedsCnt(id, seedsCnt);
        }
        
        public int updateDesk(int id, int type, int status, int seedsCnt, int minSeedsCnt) {
            return base.Channel.updateDesk(id, type, status, seedsCnt, minSeedsCnt);
        }
    }
}