474 lines
20 KiB
C#
474 lines
20 KiB
C#
|
//------------------------------------------------------------------------------
|
|||
|
// <auto-generated>
|
|||
|
// 此代码由工具生成。
|
|||
|
// 运行时版本:4.0.30319.42000
|
|||
|
//
|
|||
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|||
|
// 重新生成代码,这些更改将会丢失。
|
|||
|
// </auto-generated>
|
|||
|
//------------------------------------------------------------------------------
|
|||
|
|
|||
|
namespace DeiNiu.wms.win.TMService {
|
|||
|
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="wcfTranRequest", Namespace="http://schemas.datacontract.org/2004/07/DeiNiu.Wcf")]
|
|||
|
[System.SerializableAttribute()]
|
|||
|
public partial class wcfTranRequest : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
|
|||
|
|
|||
|
[System.NonSerializedAttribute()]
|
|||
|
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private int boxCntField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private int bulkBagField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private int bulkBoxField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private string contactField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private string descriptionField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private int driverField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private int idField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private int lineIdField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private string phoneField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private int stateField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private decimal sumVolField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private decimal sumWeightField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private int thirdPartField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private int tranTypeField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private string transNoField;
|
|||
|
|
|||
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|||
|
private string viechleNoField;
|
|||
|
|
|||
|
[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 boxCnt {
|
|||
|
get {
|
|||
|
return this.boxCntField;
|
|||
|
}
|
|||
|
set {
|
|||
|
if ((this.boxCntField.Equals(value) != true)) {
|
|||
|
this.boxCntField = value;
|
|||
|
this.RaisePropertyChanged("boxCnt");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|||
|
public int bulkBag {
|
|||
|
get {
|
|||
|
return this.bulkBagField;
|
|||
|
}
|
|||
|
set {
|
|||
|
if ((this.bulkBagField.Equals(value) != true)) {
|
|||
|
this.bulkBagField = value;
|
|||
|
this.RaisePropertyChanged("bulkBag");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|||
|
public int bulkBox {
|
|||
|
get {
|
|||
|
return this.bulkBoxField;
|
|||
|
}
|
|||
|
set {
|
|||
|
if ((this.bulkBoxField.Equals(value) != true)) {
|
|||
|
this.bulkBoxField = value;
|
|||
|
this.RaisePropertyChanged("bulkBox");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|||
|
public string contact {
|
|||
|
get {
|
|||
|
return this.contactField;
|
|||
|
}
|
|||
|
set {
|
|||
|
if ((object.ReferenceEquals(this.contactField, value) != true)) {
|
|||
|
this.contactField = value;
|
|||
|
this.RaisePropertyChanged("contact");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[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 int driver {
|
|||
|
get {
|
|||
|
return this.driverField;
|
|||
|
}
|
|||
|
set {
|
|||
|
if ((this.driverField.Equals(value) != true)) {
|
|||
|
this.driverField = value;
|
|||
|
this.RaisePropertyChanged("driver");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[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 lineId {
|
|||
|
get {
|
|||
|
return this.lineIdField;
|
|||
|
}
|
|||
|
set {
|
|||
|
if ((this.lineIdField.Equals(value) != true)) {
|
|||
|
this.lineIdField = value;
|
|||
|
this.RaisePropertyChanged("lineId");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|||
|
public string phone {
|
|||
|
get {
|
|||
|
return this.phoneField;
|
|||
|
}
|
|||
|
set {
|
|||
|
if ((object.ReferenceEquals(this.phoneField, value) != true)) {
|
|||
|
this.phoneField = value;
|
|||
|
this.RaisePropertyChanged("phone");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[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 decimal sumVol {
|
|||
|
get {
|
|||
|
return this.sumVolField;
|
|||
|
}
|
|||
|
set {
|
|||
|
if ((this.sumVolField.Equals(value) != true)) {
|
|||
|
this.sumVolField = value;
|
|||
|
this.RaisePropertyChanged("sumVol");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|||
|
public decimal sumWeight {
|
|||
|
get {
|
|||
|
return this.sumWeightField;
|
|||
|
}
|
|||
|
set {
|
|||
|
if ((this.sumWeightField.Equals(value) != true)) {
|
|||
|
this.sumWeightField = value;
|
|||
|
this.RaisePropertyChanged("sumWeight");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|||
|
public int thirdPart {
|
|||
|
get {
|
|||
|
return this.thirdPartField;
|
|||
|
}
|
|||
|
set {
|
|||
|
if ((this.thirdPartField.Equals(value) != true)) {
|
|||
|
this.thirdPartField = value;
|
|||
|
this.RaisePropertyChanged("thirdPart");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[System.Runtime.Serialization.DataMemberAttribute()]
|
|||
|
public int tranType {
|
|||
|
get {
|
|||
|
return this.tranTypeField;
|
|||
|
}
|
|||
|
set {
|
|||
|
if ((this.tranTypeField.Equals(value) != true)) {
|
|||
|
this.tranTypeField = value;
|
|||
|
this.RaisePropertyChanged("tranType");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[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 string viechleNo {
|
|||
|
get {
|
|||
|
return this.viechleNoField;
|
|||
|
}
|
|||
|
set {
|
|||
|
if ((object.ReferenceEquals(this.viechleNoField, value) != true)) {
|
|||
|
this.viechleNoField = value;
|
|||
|
this.RaisePropertyChanged("viechleNo");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
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="TMService.ITMService")]
|
|||
|
public interface ITMService {
|
|||
|
|
|||
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITMService/Query", ReplyAction="http://tempuri.org/ITMService/QueryResponse")]
|
|||
|
System.Data.DataSet Query(string querystr, int rownumStart, int rownumEnd);
|
|||
|
|
|||
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITMService/getAvalibleCusts", ReplyAction="http://tempuri.org/ITMService/getAvalibleCustsResponse")]
|
|||
|
System.Data.DataSet getAvalibleCusts(int lineId, string custName, int startPage, int endPage);
|
|||
|
|
|||
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITMService/getLineCust", ReplyAction="http://tempuri.org/ITMService/getLineCustResponse")]
|
|||
|
System.Data.DataTable getLineCust(int lineNo);
|
|||
|
|
|||
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITMService/getLines", ReplyAction="http://tempuri.org/ITMService/getLinesResponse")]
|
|||
|
System.Data.DataTable getLines(string custName);
|
|||
|
|
|||
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITMService/addLineCust", ReplyAction="http://tempuri.org/ITMService/addLineCustResponse")]
|
|||
|
bool addLineCust(int lineNo, string custId, int order);
|
|||
|
|
|||
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITMService/updateLineCustOrder", ReplyAction="http://tempuri.org/ITMService/updateLineCustOrderResponse")]
|
|||
|
bool updateLineCustOrder(int lineId, int detailId, int orderOld, int orderNew);
|
|||
|
|
|||
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITMService/removeCust", ReplyAction="http://tempuri.org/ITMService/removeCustResponse")]
|
|||
|
bool removeCust(int lineDetailId);
|
|||
|
|
|||
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITMService/reOrderLine", ReplyAction="http://tempuri.org/ITMService/reOrderLineResponse")]
|
|||
|
bool reOrderLine(int lineId);
|
|||
|
|
|||
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITMService/queryPickRequests", ReplyAction="http://tempuri.org/ITMService/queryPickRequestsResponse")]
|
|||
|
System.Data.DataSet queryPickRequests(string query, int rownumStart, int rownumEnd);
|
|||
|
|
|||
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITMService/queryPickRequests4Report", ReplyAction="http://tempuri.org/ITMService/queryPickRequests4ReportResponse")]
|
|||
|
System.Data.DataTable queryPickRequests4Report(string pickOrderNo);
|
|||
|
|
|||
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITMService/getFreeViechles", ReplyAction="http://tempuri.org/ITMService/getFreeViechlesResponse")]
|
|||
|
System.Data.DataTable getFreeViechles();
|
|||
|
|
|||
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITMService/creatTrans", ReplyAction="http://tempuri.org/ITMService/creatTransResponse")]
|
|||
|
string creatTrans(string[] pickOrders, DeiNiu.wms.win.TMService.wcfTranRequest tran);
|
|||
|
|
|||
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITMService/getPickRequestDetail", ReplyAction="http://tempuri.org/ITMService/getPickRequestDetailResponse")]
|
|||
|
System.Data.DataSet getPickRequestDetail(string pickRequest);
|
|||
|
|
|||
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITMService/getTransRequests", ReplyAction="http://tempuri.org/ITMService/getTransRequestsResponse")]
|
|||
|
System.Data.DataTable getTransRequests(int tranStatus);
|
|||
|
|
|||
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITMService/updateTranStatus", ReplyAction="http://tempuri.org/ITMService/updateTranStatusResponse")]
|
|||
|
bool updateTranStatus(string transOrder, int status, string mem);
|
|||
|
|
|||
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITMService/getTranRequestDetail", ReplyAction="http://tempuri.org/ITMService/getTranRequestDetailResponse")]
|
|||
|
System.Data.DataTable getTranRequestDetail(string tranNo);
|
|||
|
|
|||
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITMService/getTmsStockBulkDetail", ReplyAction="http://tempuri.org/ITMService/getTmsStockBulkDetailResponse")]
|
|||
|
System.Data.DataTable getTmsStockBulkDetail(string pickOrerNo);
|
|||
|
|
|||
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITMService/updatePickInvoice", ReplyAction="http://tempuri.org/ITMService/updatePickInvoiceResponse")]
|
|||
|
int updatePickInvoice(string pickOrderNo, string invoiceNo);
|
|||
|
|
|||
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITMService/deletTmsRec", ReplyAction="http://tempuri.org/ITMService/deletTmsRecResponse")]
|
|||
|
int deletTmsRec(string pickOrderNo);
|
|||
|
|
|||
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ITMService/getLatestPickRequestsByViechole", ReplyAction="http://tempuri.org/ITMService/getLatestPickRequestsByViecholeResponse")]
|
|||
|
System.Data.DataTable getLatestPickRequestsByViechole(string plateId);
|
|||
|
}
|
|||
|
|
|||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|||
|
public interface ITMServiceChannel : DeiNiu.wms.win.TMService.ITMService, System.ServiceModel.IClientChannel {
|
|||
|
}
|
|||
|
|
|||
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|||
|
public partial class TMServiceClient : System.ServiceModel.ClientBase<DeiNiu.wms.win.TMService.ITMService>, DeiNiu.wms.win.TMService.ITMService {
|
|||
|
|
|||
|
public TMServiceClient() {
|
|||
|
}
|
|||
|
|
|||
|
public TMServiceClient(string endpointConfigurationName) :
|
|||
|
base(endpointConfigurationName) {
|
|||
|
}
|
|||
|
|
|||
|
public TMServiceClient(string endpointConfigurationName, string remoteAddress) :
|
|||
|
base(endpointConfigurationName, remoteAddress) {
|
|||
|
}
|
|||
|
|
|||
|
public TMServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
|||
|
base(endpointConfigurationName, remoteAddress) {
|
|||
|
}
|
|||
|
|
|||
|
public TMServiceClient(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 System.Data.DataSet getAvalibleCusts(int lineId, string custName, int startPage, int endPage) {
|
|||
|
return base.Channel.getAvalibleCusts(lineId, custName, startPage, endPage);
|
|||
|
}
|
|||
|
|
|||
|
public System.Data.DataTable getLineCust(int lineNo) {
|
|||
|
return base.Channel.getLineCust(lineNo);
|
|||
|
}
|
|||
|
|
|||
|
public System.Data.DataTable getLines(string custName) {
|
|||
|
return base.Channel.getLines(custName);
|
|||
|
}
|
|||
|
|
|||
|
public bool addLineCust(int lineNo, string custId, int order) {
|
|||
|
return base.Channel.addLineCust(lineNo, custId, order);
|
|||
|
}
|
|||
|
|
|||
|
public bool updateLineCustOrder(int lineId, int detailId, int orderOld, int orderNew) {
|
|||
|
return base.Channel.updateLineCustOrder(lineId, detailId, orderOld, orderNew);
|
|||
|
}
|
|||
|
|
|||
|
public bool removeCust(int lineDetailId) {
|
|||
|
return base.Channel.removeCust(lineDetailId);
|
|||
|
}
|
|||
|
|
|||
|
public bool reOrderLine(int lineId) {
|
|||
|
return base.Channel.reOrderLine(lineId);
|
|||
|
}
|
|||
|
|
|||
|
public System.Data.DataSet queryPickRequests(string query, int rownumStart, int rownumEnd) {
|
|||
|
return base.Channel.queryPickRequests(query, rownumStart, rownumEnd);
|
|||
|
}
|
|||
|
|
|||
|
public System.Data.DataTable queryPickRequests4Report(string pickOrderNo) {
|
|||
|
return base.Channel.queryPickRequests4Report(pickOrderNo);
|
|||
|
}
|
|||
|
|
|||
|
public System.Data.DataTable getFreeViechles() {
|
|||
|
return base.Channel.getFreeViechles();
|
|||
|
}
|
|||
|
|
|||
|
public string creatTrans(string[] pickOrders, DeiNiu.wms.win.TMService.wcfTranRequest tran) {
|
|||
|
return base.Channel.creatTrans(pickOrders, tran);
|
|||
|
}
|
|||
|
|
|||
|
public System.Data.DataSet getPickRequestDetail(string pickRequest) {
|
|||
|
return base.Channel.getPickRequestDetail(pickRequest);
|
|||
|
}
|
|||
|
|
|||
|
public System.Data.DataTable getTransRequests(int tranStatus) {
|
|||
|
return base.Channel.getTransRequests(tranStatus);
|
|||
|
}
|
|||
|
|
|||
|
public bool updateTranStatus(string transOrder, int status, string mem) {
|
|||
|
return base.Channel.updateTranStatus(transOrder, status, mem);
|
|||
|
}
|
|||
|
|
|||
|
public System.Data.DataTable getTranRequestDetail(string tranNo) {
|
|||
|
return base.Channel.getTranRequestDetail(tranNo);
|
|||
|
}
|
|||
|
|
|||
|
public System.Data.DataTable getTmsStockBulkDetail(string pickOrerNo) {
|
|||
|
return base.Channel.getTmsStockBulkDetail(pickOrerNo);
|
|||
|
}
|
|||
|
|
|||
|
public int updatePickInvoice(string pickOrderNo, string invoiceNo) {
|
|||
|
return base.Channel.updatePickInvoice(pickOrderNo, invoiceNo);
|
|||
|
}
|
|||
|
|
|||
|
public int deletTmsRec(string pickOrderNo) {
|
|||
|
return base.Channel.deletTmsRec(pickOrderNo);
|
|||
|
}
|
|||
|
|
|||
|
public System.Data.DataTable getLatestPickRequestsByViechole(string plateId) {
|
|||
|
return base.Channel.getLatestPickRequestsByViechole(plateId);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|