//------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ namespace iWareSAP.WmsWcfService { 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="SaleOrder", Namespace="http://schemas.datacontract.org/2004/07/siemensSapService.aspEntity")] [System.SerializableAttribute()] public partial class SaleOrder : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { [System.NonSerializedAttribute()] private System.Runtime.Serialization.ExtensionDataObject extensionDataField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string ReservationNumberField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string orderNumberField; [System.Runtime.Serialization.OptionalFieldAttribute()] private int orderQuantityField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string productNameField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string productNumberField; [System.Runtime.Serialization.OptionalFieldAttribute()] private iWareSAP.WmsWcfService.SaleOrderList[] saleChildField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string saleCodeField; [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 ReservationNumber { get { return this.ReservationNumberField; } set { if ((object.ReferenceEquals(this.ReservationNumberField, value) != true)) { this.ReservationNumberField = value; this.RaisePropertyChanged("ReservationNumber"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string orderNumber { get { return this.orderNumberField; } set { if ((object.ReferenceEquals(this.orderNumberField, value) != true)) { this.orderNumberField = value; this.RaisePropertyChanged("orderNumber"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public int orderQuantity { get { return this.orderQuantityField; } set { if ((this.orderQuantityField.Equals(value) != true)) { this.orderQuantityField = value; this.RaisePropertyChanged("orderQuantity"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string productName { get { return this.productNameField; } set { if ((object.ReferenceEquals(this.productNameField, value) != true)) { this.productNameField = value; this.RaisePropertyChanged("productName"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string productNumber { get { return this.productNumberField; } set { if ((object.ReferenceEquals(this.productNumberField, value) != true)) { this.productNumberField = value; this.RaisePropertyChanged("productNumber"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public iWareSAP.WmsWcfService.SaleOrderList[] saleChild { get { return this.saleChildField; } set { if ((object.ReferenceEquals(this.saleChildField, value) != true)) { this.saleChildField = value; this.RaisePropertyChanged("saleChild"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string saleCode { get { return this.saleCodeField; } set { if ((object.ReferenceEquals(this.saleCodeField, value) != true)) { this.saleCodeField = value; this.RaisePropertyChanged("saleCode"); } } } 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.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] [System.Runtime.Serialization.DataContractAttribute(Name="SaleOrderList", Namespace="http://schemas.datacontract.org/2004/07/siemensSapService.aspEntity")] [System.SerializableAttribute()] public partial class SaleOrderList : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { [System.NonSerializedAttribute()] private System.Runtime.Serialization.ExtensionDataObject extensionDataField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string batchField; [System.Runtime.Serialization.OptionalFieldAttribute()] private decimal exitQtyField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string materialCodeField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string materialNameField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string saleItemField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string stockUnitField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string storageLocationField; [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 batch { get { return this.batchField; } set { if ((object.ReferenceEquals(this.batchField, value) != true)) { this.batchField = value; this.RaisePropertyChanged("batch"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public decimal exitQty { get { return this.exitQtyField; } set { if ((this.exitQtyField.Equals(value) != true)) { this.exitQtyField = value; this.RaisePropertyChanged("exitQty"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string materialCode { get { return this.materialCodeField; } set { if ((object.ReferenceEquals(this.materialCodeField, value) != true)) { this.materialCodeField = value; this.RaisePropertyChanged("materialCode"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string materialName { get { return this.materialNameField; } set { if ((object.ReferenceEquals(this.materialNameField, value) != true)) { this.materialNameField = value; this.RaisePropertyChanged("materialName"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string saleItem { get { return this.saleItemField; } set { if ((object.ReferenceEquals(this.saleItemField, value) != true)) { this.saleItemField = value; this.RaisePropertyChanged("saleItem"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string stockUnit { get { return this.stockUnitField; } set { if ((object.ReferenceEquals(this.stockUnitField, value) != true)) { this.stockUnitField = value; this.RaisePropertyChanged("stockUnit"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string storageLocation { get { return this.storageLocationField; } set { if ((object.ReferenceEquals(this.storageLocationField, value) != true)) { this.storageLocationField = value; this.RaisePropertyChanged("storageLocation"); } } } 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.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] [System.Runtime.Serialization.DataContractAttribute(Name="Material", Namespace="http://schemas.datacontract.org/2004/07/siemensSapService.aspEntity")] [System.SerializableAttribute()] public partial class Material : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { [System.NonSerializedAttribute()] private System.Runtime.Serialization.ExtensionDataObject extensionDataField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string CategoryField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string creatorField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string materialCodeField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string materialNameField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string purchaseUnitField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string stockUnitField; [System.Runtime.Serialization.OptionalFieldAttribute()] private decimal weightField; [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 Category { get { return this.CategoryField; } set { if ((object.ReferenceEquals(this.CategoryField, value) != true)) { this.CategoryField = value; this.RaisePropertyChanged("Category"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string creator { get { return this.creatorField; } set { if ((object.ReferenceEquals(this.creatorField, value) != true)) { this.creatorField = value; this.RaisePropertyChanged("creator"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string materialCode { get { return this.materialCodeField; } set { if ((object.ReferenceEquals(this.materialCodeField, value) != true)) { this.materialCodeField = value; this.RaisePropertyChanged("materialCode"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string materialName { get { return this.materialNameField; } set { if ((object.ReferenceEquals(this.materialNameField, value) != true)) { this.materialNameField = value; this.RaisePropertyChanged("materialName"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string purchaseUnit { get { return this.purchaseUnitField; } set { if ((object.ReferenceEquals(this.purchaseUnitField, value) != true)) { this.purchaseUnitField = value; this.RaisePropertyChanged("purchaseUnit"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string stockUnit { get { return this.stockUnitField; } set { if ((object.ReferenceEquals(this.stockUnitField, value) != true)) { this.stockUnitField = value; this.RaisePropertyChanged("stockUnit"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public decimal weight { get { return this.weightField; } set { if ((this.weightField.Equals(value) != true)) { this.weightField = value; this.RaisePropertyChanged("weight"); } } } 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.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] [System.Runtime.Serialization.DataContractAttribute(Name="ProductStock", Namespace="http://schemas.datacontract.org/2004/07/siemensSapService.aspEntity")] [System.SerializableAttribute()] public partial class ProductStock : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { [System.NonSerializedAttribute()] private System.Runtime.Serialization.ExtensionDataObject extensionDataField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string SaleCodeField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string SaleItemField; [System.Runtime.Serialization.OptionalFieldAttribute()] private byte isStockField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string materialCodeField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string materialNameField; [System.Runtime.Serialization.OptionalFieldAttribute()] private decimal stockQuantityField; [System.Runtime.Serialization.OptionalFieldAttribute()] private string stockUnitField; [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 SaleCode { get { return this.SaleCodeField; } set { if ((object.ReferenceEquals(this.SaleCodeField, value) != true)) { this.SaleCodeField = value; this.RaisePropertyChanged("SaleCode"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string SaleItem { get { return this.SaleItemField; } set { if ((object.ReferenceEquals(this.SaleItemField, value) != true)) { this.SaleItemField = value; this.RaisePropertyChanged("SaleItem"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public byte isStock { get { return this.isStockField; } set { if ((this.isStockField.Equals(value) != true)) { this.isStockField = value; this.RaisePropertyChanged("isStock"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string materialCode { get { return this.materialCodeField; } set { if ((object.ReferenceEquals(this.materialCodeField, value) != true)) { this.materialCodeField = value; this.RaisePropertyChanged("materialCode"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string materialName { get { return this.materialNameField; } set { if ((object.ReferenceEquals(this.materialNameField, value) != true)) { this.materialNameField = value; this.RaisePropertyChanged("materialName"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public decimal stockQuantity { get { return this.stockQuantityField; } set { if ((this.stockQuantityField.Equals(value) != true)) { this.stockQuantityField = value; this.RaisePropertyChanged("stockQuantity"); } } } [System.Runtime.Serialization.DataMemberAttribute()] public string stockUnit { get { return this.stockUnitField; } set { if ((object.ReferenceEquals(this.stockUnitField, value) != true)) { this.stockUnitField = value; this.RaisePropertyChanged("stockUnit"); } } } 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="WmsWcfService.IsapWcf")] public interface IsapWcf { [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IsapWcf/pickList", ReplyAction="http://tempuri.org/IsapWcf/pickListResponse")] string pickList(iWareSAP.WmsWcfService.SaleOrder sale); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IsapWcf/pickList", ReplyAction="http://tempuri.org/IsapWcf/pickListResponse")] System.Threading.Tasks.Task pickListAsync(iWareSAP.WmsWcfService.SaleOrder sale); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IsapWcf/addMaterial", ReplyAction="http://tempuri.org/IsapWcf/addMaterialResponse")] string addMaterial(iWareSAP.WmsWcfService.Material[] materials); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IsapWcf/addMaterial", ReplyAction="http://tempuri.org/IsapWcf/addMaterialResponse")] System.Threading.Tasks.Task addMaterialAsync(iWareSAP.WmsWcfService.Material[] materials); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IsapWcf/takeStock", ReplyAction="http://tempuri.org/IsapWcf/takeStockResponse")] string takeStock(iWareSAP.WmsWcfService.ProductStock[] stockQuantity); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IsapWcf/takeStock", ReplyAction="http://tempuri.org/IsapWcf/takeStockResponse")] System.Threading.Tasks.Task takeStockAsync(iWareSAP.WmsWcfService.ProductStock[] stockQuantity); } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public interface IsapWcfChannel : iWareSAP.WmsWcfService.IsapWcf, System.ServiceModel.IClientChannel { } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public partial class IsapWcfClient : System.ServiceModel.ClientBase, iWareSAP.WmsWcfService.IsapWcf { public IsapWcfClient() { } public IsapWcfClient(string endpointConfigurationName) : base(endpointConfigurationName) { } public IsapWcfClient(string endpointConfigurationName, string remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public IsapWcfClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public IsapWcfClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : base(binding, remoteAddress) { } public string pickList(iWareSAP.WmsWcfService.SaleOrder sale) { return base.Channel.pickList(sale); } public System.Threading.Tasks.Task pickListAsync(iWareSAP.WmsWcfService.SaleOrder sale) { return base.Channel.pickListAsync(sale); } public string addMaterial(iWareSAP.WmsWcfService.Material[] materials) { return base.Channel.addMaterial(materials); } public System.Threading.Tasks.Task addMaterialAsync(iWareSAP.WmsWcfService.Material[] materials) { return base.Channel.addMaterialAsync(materials); } public string takeStock(iWareSAP.WmsWcfService.ProductStock[] stockQuantity) { return base.Channel.takeStock(stockQuantity); } public System.Threading.Tasks.Task takeStockAsync(iWareSAP.WmsWcfService.ProductStock[] stockQuantity) { return base.Channel.takeStockAsync(stockQuantity); } } }