500 lines
20 KiB
C#
500 lines
20 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// 此代码由工具生成。
|
|
// 运行时版本:4.0.30319.42000
|
|
//
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|
// 重新生成代码,这些更改将会丢失。
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace DeiNiu.wms.win.ServiceReferenceLot {
|
|
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="WcfLot", Namespace="http://schemas.datacontract.org/2004/07/DeiNiu.Wcf")]
|
|
[System.SerializableAttribute()]
|
|
public partial class WcfLot : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
|
|
|
|
[System.NonSerializedAttribute()]
|
|
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private int IDField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private string createtimeField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private string descriptionField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private bool drField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private string lastmodifiedField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private string lotNameField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private int operaterField;
|
|
|
|
[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 ID {
|
|
get {
|
|
return this.IDField;
|
|
}
|
|
set {
|
|
if ((this.IDField.Equals(value) != true)) {
|
|
this.IDField = value;
|
|
this.RaisePropertyChanged("ID");
|
|
}
|
|
}
|
|
}
|
|
|
|
[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 description {
|
|
get {
|
|
return this.descriptionField;
|
|
}
|
|
set {
|
|
if ((object.ReferenceEquals(this.descriptionField, value) != true)) {
|
|
this.descriptionField = value;
|
|
this.RaisePropertyChanged("description");
|
|
}
|
|
}
|
|
}
|
|
|
|
[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 lastmodified {
|
|
get {
|
|
return this.lastmodifiedField;
|
|
}
|
|
set {
|
|
if ((object.ReferenceEquals(this.lastmodifiedField, value) != true)) {
|
|
this.lastmodifiedField = value;
|
|
this.RaisePropertyChanged("lastmodified");
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string lotName {
|
|
get {
|
|
return this.lotNameField;
|
|
}
|
|
set {
|
|
if ((object.ReferenceEquals(this.lotNameField, value) != true)) {
|
|
this.lotNameField = value;
|
|
this.RaisePropertyChanged("lotName");
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public int operater {
|
|
get {
|
|
return this.operaterField;
|
|
}
|
|
set {
|
|
if ((this.operaterField.Equals(value) != true)) {
|
|
this.operaterField = value;
|
|
this.RaisePropertyChanged("operater");
|
|
}
|
|
}
|
|
}
|
|
|
|
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="WcfLotAtt", Namespace="http://schemas.datacontract.org/2004/07/DeiNiu.Wcf")]
|
|
[System.SerializableAttribute()]
|
|
public partial class WcfLotAtt : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
|
|
|
|
[System.NonSerializedAttribute()]
|
|
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private int IDField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private string attNameField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private int attTypeField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private string createtimeField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private bool drField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private bool isListField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private bool isOptionalField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private string lastmodifiedField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private int listIdField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private int lotIdField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private int operaterField;
|
|
|
|
[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 ID {
|
|
get {
|
|
return this.IDField;
|
|
}
|
|
set {
|
|
if ((this.IDField.Equals(value) != true)) {
|
|
this.IDField = value;
|
|
this.RaisePropertyChanged("ID");
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public string attName {
|
|
get {
|
|
return this.attNameField;
|
|
}
|
|
set {
|
|
if ((object.ReferenceEquals(this.attNameField, value) != true)) {
|
|
this.attNameField = value;
|
|
this.RaisePropertyChanged("attName");
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public int attType {
|
|
get {
|
|
return this.attTypeField;
|
|
}
|
|
set {
|
|
if ((this.attTypeField.Equals(value) != true)) {
|
|
this.attTypeField = value;
|
|
this.RaisePropertyChanged("attType");
|
|
}
|
|
}
|
|
}
|
|
|
|
[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 bool dr {
|
|
get {
|
|
return this.drField;
|
|
}
|
|
set {
|
|
if ((this.drField.Equals(value) != true)) {
|
|
this.drField = value;
|
|
this.RaisePropertyChanged("dr");
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public bool isList {
|
|
get {
|
|
return this.isListField;
|
|
}
|
|
set {
|
|
if ((this.isListField.Equals(value) != true)) {
|
|
this.isListField = value;
|
|
this.RaisePropertyChanged("isList");
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public bool isOptional {
|
|
get {
|
|
return this.isOptionalField;
|
|
}
|
|
set {
|
|
if ((this.isOptionalField.Equals(value) != true)) {
|
|
this.isOptionalField = value;
|
|
this.RaisePropertyChanged("isOptional");
|
|
}
|
|
}
|
|
}
|
|
|
|
[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 listId {
|
|
get {
|
|
return this.listIdField;
|
|
}
|
|
set {
|
|
if ((this.listIdField.Equals(value) != true)) {
|
|
this.listIdField = value;
|
|
this.RaisePropertyChanged("listId");
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public int lotId {
|
|
get {
|
|
return this.lotIdField;
|
|
}
|
|
set {
|
|
if ((this.lotIdField.Equals(value) != true)) {
|
|
this.lotIdField = value;
|
|
this.RaisePropertyChanged("lotId");
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
public int operater {
|
|
get {
|
|
return this.operaterField;
|
|
}
|
|
set {
|
|
if ((this.operaterField.Equals(value) != true)) {
|
|
this.operaterField = value;
|
|
this.RaisePropertyChanged("operater");
|
|
}
|
|
}
|
|
}
|
|
|
|
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="ServiceReferenceLot.ILotService")]
|
|
public interface ILotService {
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ILotService/queryLots", ReplyAction="http://tempuri.org/ILotService/queryLotsResponse")]
|
|
System.Data.DataSet queryLots(string querystr, int rownumStart, int rownumEnd);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ILotService/newLot", ReplyAction="http://tempuri.org/ILotService/newLotResponse")]
|
|
int newLot(DeiNiu.wms.win.ServiceReferenceLot.WcfLot wcfLot);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ILotService/updateLot", ReplyAction="http://tempuri.org/ILotService/updateLotResponse")]
|
|
int updateLot(DeiNiu.wms.win.ServiceReferenceLot.WcfLot wcfLot);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ILotService/deleteLot", ReplyAction="http://tempuri.org/ILotService/deleteLotResponse")]
|
|
int deleteLot(DeiNiu.wms.win.ServiceReferenceLot.WcfLot wcfLot);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ILotService/newLotAtt", ReplyAction="http://tempuri.org/ILotService/newLotAttResponse")]
|
|
int newLotAtt(DeiNiu.wms.win.ServiceReferenceLot.WcfLotAtt wcfLotAtt);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ILotService/updateLotAtt", ReplyAction="http://tempuri.org/ILotService/updateLotAttResponse")]
|
|
int updateLotAtt(DeiNiu.wms.win.ServiceReferenceLot.WcfLotAtt wcfLotAtt);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ILotService/deleteLotAtt", ReplyAction="http://tempuri.org/ILotService/deleteLotAttResponse")]
|
|
int deleteLotAtt(DeiNiu.wms.win.ServiceReferenceLot.WcfLotAtt wcfLotAtt);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ILotService/querySkuValues", ReplyAction="http://tempuri.org/ILotService/querySkuValuesResponse")]
|
|
System.Data.DataTable querySkuValues(int skuId);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ILotService/queryLotAtts", ReplyAction="http://tempuri.org/ILotService/queryLotAttsResponse")]
|
|
System.Data.DataTable queryLotAtts(int lotId);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ILotService/getLotAtts", ReplyAction="http://tempuri.org/ILotService/getLotAttsResponse")]
|
|
System.Data.DataTable getLotAtts(string goodsId);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ILotService/getSKU", ReplyAction="http://tempuri.org/ILotService/getSKUResponse")]
|
|
int getSKU(string skuCode, System.Collections.Generic.Dictionary<string, string> skuValues, int lotId, string goodsId, string ownerCode);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ILotService/getLotGoodsType", ReplyAction="http://tempuri.org/ILotService/getLotGoodsTypeResponse")]
|
|
System.Data.DataTable getLotGoodsType(int lotId);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ILotService/getFreeGoodsType", ReplyAction="http://tempuri.org/ILotService/getFreeGoodsTypeResponse")]
|
|
System.Data.DataTable getFreeGoodsType();
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ILotService/newGoodTypeLot", ReplyAction="http://tempuri.org/ILotService/newGoodTypeLotResponse")]
|
|
bool newGoodTypeLot(int[] goodsType, int lotId);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ILotService/deleteGoodTypeLot", ReplyAction="http://tempuri.org/ILotService/deleteGoodTypeLotResponse")]
|
|
bool deleteGoodTypeLot(int id);
|
|
}
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
public interface ILotServiceChannel : DeiNiu.wms.win.ServiceReferenceLot.ILotService, System.ServiceModel.IClientChannel {
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
public partial class LotServiceClient : System.ServiceModel.ClientBase<DeiNiu.wms.win.ServiceReferenceLot.ILotService>, DeiNiu.wms.win.ServiceReferenceLot.ILotService {
|
|
|
|
public LotServiceClient() {
|
|
}
|
|
|
|
public LotServiceClient(string endpointConfigurationName) :
|
|
base(endpointConfigurationName) {
|
|
}
|
|
|
|
public LotServiceClient(string endpointConfigurationName, string remoteAddress) :
|
|
base(endpointConfigurationName, remoteAddress) {
|
|
}
|
|
|
|
public LotServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
|
base(endpointConfigurationName, remoteAddress) {
|
|
}
|
|
|
|
public LotServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
|
base(binding, remoteAddress) {
|
|
}
|
|
|
|
public System.Data.DataSet queryLots(string querystr, int rownumStart, int rownumEnd) {
|
|
return base.Channel.queryLots(querystr, rownumStart, rownumEnd);
|
|
}
|
|
|
|
public int newLot(DeiNiu.wms.win.ServiceReferenceLot.WcfLot wcfLot) {
|
|
return base.Channel.newLot(wcfLot);
|
|
}
|
|
|
|
public int updateLot(DeiNiu.wms.win.ServiceReferenceLot.WcfLot wcfLot) {
|
|
return base.Channel.updateLot(wcfLot);
|
|
}
|
|
|
|
public int deleteLot(DeiNiu.wms.win.ServiceReferenceLot.WcfLot wcfLot) {
|
|
return base.Channel.deleteLot(wcfLot);
|
|
}
|
|
|
|
public int newLotAtt(DeiNiu.wms.win.ServiceReferenceLot.WcfLotAtt wcfLotAtt) {
|
|
return base.Channel.newLotAtt(wcfLotAtt);
|
|
}
|
|
|
|
public int updateLotAtt(DeiNiu.wms.win.ServiceReferenceLot.WcfLotAtt wcfLotAtt) {
|
|
return base.Channel.updateLotAtt(wcfLotAtt);
|
|
}
|
|
|
|
public int deleteLotAtt(DeiNiu.wms.win.ServiceReferenceLot.WcfLotAtt wcfLotAtt) {
|
|
return base.Channel.deleteLotAtt(wcfLotAtt);
|
|
}
|
|
|
|
public System.Data.DataTable querySkuValues(int skuId) {
|
|
return base.Channel.querySkuValues(skuId);
|
|
}
|
|
|
|
public System.Data.DataTable queryLotAtts(int lotId) {
|
|
return base.Channel.queryLotAtts(lotId);
|
|
}
|
|
|
|
public System.Data.DataTable getLotAtts(string goodsId) {
|
|
return base.Channel.getLotAtts(goodsId);
|
|
}
|
|
|
|
public int getSKU(string skuCode, System.Collections.Generic.Dictionary<string, string> skuValues, int lotId, string goodsId, string ownerCode) {
|
|
return base.Channel.getSKU(skuCode, skuValues, lotId, goodsId, ownerCode);
|
|
}
|
|
|
|
public System.Data.DataTable getLotGoodsType(int lotId) {
|
|
return base.Channel.getLotGoodsType(lotId);
|
|
}
|
|
|
|
public System.Data.DataTable getFreeGoodsType() {
|
|
return base.Channel.getFreeGoodsType();
|
|
}
|
|
|
|
public bool newGoodTypeLot(int[] goodsType, int lotId) {
|
|
return base.Channel.newGoodTypeLot(goodsType, lotId);
|
|
}
|
|
|
|
public bool deleteGoodTypeLot(int id) {
|
|
return base.Channel.deleteGoodTypeLot(id);
|
|
}
|
|
}
|
|
}
|