|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
// <auto-generated>
|
|
|
|
|
// 此代码由工具生成。
|
|
|
|
|
// 运行时版本:4.0.30319.42000
|
|
|
|
|
//
|
|
|
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|
|
|
|
// 重新生成代码,这些更改将会丢失。
|
|
|
|
|
// </auto-generated>
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
namespace TradeManage.ServiceReference1 {
|
|
|
|
|
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="WL_TrackList", Namespace="http://tempuri.org/")]
|
|
|
|
|
[System.SerializableAttribute()]
|
|
|
|
|
public partial class WL_TrackList : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
|
|
|
|
|
|
|
|
|
|
[System.NonSerializedAttribute()]
|
|
|
|
|
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
|
|
|
|
|
|
|
|
|
|
private System.Nullable<int> IdField;
|
|
|
|
|
|
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
|
|
|
private string CountryField;
|
|
|
|
|
|
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
|
|
|
private string TrackCodeField;
|
|
|
|
|
|
|
|
|
|
private System.Nullable<System.DateTime> InDateField;
|
|
|
|
|
|
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
|
|
|
private string CityField;
|
|
|
|
|
|
|
|
|
|
private System.Nullable<int> NumField;
|
|
|
|
|
|
|
|
|
|
private System.Nullable<int> DaysField;
|
|
|
|
|
|
|
|
|
|
private System.Nullable<int> LanField;
|
|
|
|
|
|
|
|
|
|
[global::System.ComponentModel.BrowsableAttribute(false)]
|
|
|
|
|
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
|
|
|
|
|
get {
|
|
|
|
|
return this.extensionDataField;
|
|
|
|
|
}
|
|
|
|
|
set {
|
|
|
|
|
this.extensionDataField = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
|
|
|
|
|
public System.Nullable<int> Id {
|
|
|
|
|
get {
|
|
|
|
|
return this.IdField;
|
|
|
|
|
}
|
|
|
|
|
set {
|
|
|
|
|
if ((this.IdField.Equals(value) != true)) {
|
|
|
|
|
this.IdField = value;
|
|
|
|
|
this.RaisePropertyChanged("Id");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
|
|
|
|
|
public string Country {
|
|
|
|
|
get {
|
|
|
|
|
return this.CountryField;
|
|
|
|
|
}
|
|
|
|
|
set {
|
|
|
|
|
if ((object.ReferenceEquals(this.CountryField, value) != true)) {
|
|
|
|
|
this.CountryField = value;
|
|
|
|
|
this.RaisePropertyChanged("Country");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]
|
|
|
|
|
public string TrackCode {
|
|
|
|
|
get {
|
|
|
|
|
return this.TrackCodeField;
|
|
|
|
|
}
|
|
|
|
|
set {
|
|
|
|
|
if ((object.ReferenceEquals(this.TrackCodeField, value) != true)) {
|
|
|
|
|
this.TrackCodeField = value;
|
|
|
|
|
this.RaisePropertyChanged("TrackCode");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=3)]
|
|
|
|
|
public System.Nullable<System.DateTime> InDate {
|
|
|
|
|
get {
|
|
|
|
|
return this.InDateField;
|
|
|
|
|
}
|
|
|
|
|
set {
|
|
|
|
|
if ((this.InDateField.Equals(value) != true)) {
|
|
|
|
|
this.InDateField = value;
|
|
|
|
|
this.RaisePropertyChanged("InDate");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)]
|
|
|
|
|
public string City {
|
|
|
|
|
get {
|
|
|
|
|
return this.CityField;
|
|
|
|
|
}
|
|
|
|
|
set {
|
|
|
|
|
if ((object.ReferenceEquals(this.CityField, value) != true)) {
|
|
|
|
|
this.CityField = value;
|
|
|
|
|
this.RaisePropertyChanged("City");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=5)]
|
|
|
|
|
public System.Nullable<int> Num {
|
|
|
|
|
get {
|
|
|
|
|
return this.NumField;
|
|
|
|
|
}
|
|
|
|
|
set {
|
|
|
|
|
if ((this.NumField.Equals(value) != true)) {
|
|
|
|
|
this.NumField = value;
|
|
|
|
|
this.RaisePropertyChanged("Num");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=6)]
|
|
|
|
|
public System.Nullable<int> Days {
|
|
|
|
|
get {
|
|
|
|
|
return this.DaysField;
|
|
|
|
|
}
|
|
|
|
|
set {
|
|
|
|
|
if ((this.DaysField.Equals(value) != true)) {
|
|
|
|
|
this.DaysField = value;
|
|
|
|
|
this.RaisePropertyChanged("Days");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=7)]
|
|
|
|
|
public System.Nullable<int> Lan {
|
|
|
|
|
get {
|
|
|
|
|
return this.LanField;
|
|
|
|
|
}
|
|
|
|
|
set {
|
|
|
|
|
if ((this.LanField.Equals(value) != true)) {
|
|
|
|
|
this.LanField = value;
|
|
|
|
|
this.RaisePropertyChanged("Lan");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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="ServiceReference1.OutServiceSoap")]
|
|
|
|
|
public interface OutServiceSoap {
|
|
|
|
|
|
|
|
|
|
// CODEGEN: 命名空间 http://tempuri.org/ 的元素名称 HelloWorldResult 以后生成的消息协定未标记为 nillable
|
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/HelloWorld", ReplyAction="*")]
|
|
|
|
|
TradeManage.ServiceReference1.HelloWorldResponse HelloWorld(TradeManage.ServiceReference1.HelloWorldRequest request);
|
|
|
|
|
|
|
|
|
|
// CODEGEN: 命名空间 http://tempuri.org/ 的元素名称 TrackCode 以后生成的消息协定未标记为 nillable
|
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/GetTrack", ReplyAction="*")]
|
|
|
|
|
TradeManage.ServiceReference1.GetTrackResponse GetTrack(TradeManage.ServiceReference1.GetTrackRequest request);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
|
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
|
|
|
|
|
public partial class HelloWorldRequest {
|
|
|
|
|
|
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Name="HelloWorld", Namespace="http://tempuri.org/", Order=0)]
|
|
|
|
|
public TradeManage.ServiceReference1.HelloWorldRequestBody Body;
|
|
|
|
|
|
|
|
|
|
public HelloWorldRequest() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public HelloWorldRequest(TradeManage.ServiceReference1.HelloWorldRequestBody Body) {
|
|
|
|
|
this.Body = Body;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
|
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
[System.Runtime.Serialization.DataContractAttribute()]
|
|
|
|
|
public partial class HelloWorldRequestBody {
|
|
|
|
|
|
|
|
|
|
public HelloWorldRequestBody() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
|
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
|
|
|
|
|
public partial class HelloWorldResponse {
|
|
|
|
|
|
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Name="HelloWorldResponse", Namespace="http://tempuri.org/", Order=0)]
|
|
|
|
|
public TradeManage.ServiceReference1.HelloWorldResponseBody Body;
|
|
|
|
|
|
|
|
|
|
public HelloWorldResponse() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public HelloWorldResponse(TradeManage.ServiceReference1.HelloWorldResponseBody Body) {
|
|
|
|
|
this.Body = Body;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
|
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
[System.Runtime.Serialization.DataContractAttribute(Namespace="http://tempuri.org/")]
|
|
|
|
|
public partial class HelloWorldResponseBody {
|
|
|
|
|
|
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
|
|
|
|
|
public string HelloWorldResult;
|
|
|
|
|
|
|
|
|
|
public HelloWorldResponseBody() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public HelloWorldResponseBody(string HelloWorldResult) {
|
|
|
|
|
this.HelloWorldResult = HelloWorldResult;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
|
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
|
|
|
|
|
public partial class GetTrackRequest {
|
|
|
|
|
|
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Name="GetTrack", Namespace="http://tempuri.org/", Order=0)]
|
|
|
|
|
public TradeManage.ServiceReference1.GetTrackRequestBody Body;
|
|
|
|
|
|
|
|
|
|
public GetTrackRequest() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public GetTrackRequest(TradeManage.ServiceReference1.GetTrackRequestBody Body) {
|
|
|
|
|
this.Body = Body;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
|
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
[System.Runtime.Serialization.DataContractAttribute(Namespace="http://tempuri.org/")]
|
|
|
|
|
public partial class GetTrackRequestBody {
|
|
|
|
|
|
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
|
|
|
|
|
public string TrackCode;
|
|
|
|
|
|
|
|
|
|
public GetTrackRequestBody() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public GetTrackRequestBody(string TrackCode) {
|
|
|
|
|
this.TrackCode = TrackCode;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
|
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
|
|
|
|
|
public partial class GetTrackResponse {
|
|
|
|
|
|
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Name="GetTrackResponse", Namespace="http://tempuri.org/", Order=0)]
|
|
|
|
|
public TradeManage.ServiceReference1.GetTrackResponseBody Body;
|
|
|
|
|
|
|
|
|
|
public GetTrackResponse() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public GetTrackResponse(TradeManage.ServiceReference1.GetTrackResponseBody Body) {
|
|
|
|
|
this.Body = Body;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
|
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
[System.Runtime.Serialization.DataContractAttribute(Namespace="http://tempuri.org/")]
|
|
|
|
|
public partial class GetTrackResponseBody {
|
|
|
|
|
|
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
|
|
|
|
|
public TradeManage.ServiceReference1.WL_TrackList GetTrackResult;
|
|
|
|
|
|
|
|
|
|
public GetTrackResponseBody() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public GetTrackResponseBody(TradeManage.ServiceReference1.WL_TrackList GetTrackResult) {
|
|
|
|
|
this.GetTrackResult = GetTrackResult;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
|
|
|
public interface OutServiceSoapChannel : TradeManage.ServiceReference1.OutServiceSoap, System.ServiceModel.IClientChannel {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
|
|
|
public partial class OutServiceSoapClient : System.ServiceModel.ClientBase<TradeManage.ServiceReference1.OutServiceSoap>, TradeManage.ServiceReference1.OutServiceSoap {
|
|
|
|
|
|
|
|
|
|
public OutServiceSoapClient() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public OutServiceSoapClient(string endpointConfigurationName) :
|
|
|
|
|
base(endpointConfigurationName) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public OutServiceSoapClient(string endpointConfigurationName, string remoteAddress) :
|
|
|
|
|
base(endpointConfigurationName, remoteAddress) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public OutServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
|
|
|
|
base(endpointConfigurationName, remoteAddress) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public OutServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
|
|
|
|
base(binding, remoteAddress) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
TradeManage.ServiceReference1.HelloWorldResponse TradeManage.ServiceReference1.OutServiceSoap.HelloWorld(TradeManage.ServiceReference1.HelloWorldRequest request) {
|
|
|
|
|
return base.Channel.HelloWorld(request);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string HelloWorld() {
|
|
|
|
|
TradeManage.ServiceReference1.HelloWorldRequest inValue = new TradeManage.ServiceReference1.HelloWorldRequest();
|
|
|
|
|
inValue.Body = new TradeManage.ServiceReference1.HelloWorldRequestBody();
|
|
|
|
|
TradeManage.ServiceReference1.HelloWorldResponse retVal = ((TradeManage.ServiceReference1.OutServiceSoap)(this)).HelloWorld(inValue);
|
|
|
|
|
return retVal.Body.HelloWorldResult;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
|
|
|
TradeManage.ServiceReference1.GetTrackResponse TradeManage.ServiceReference1.OutServiceSoap.GetTrack(TradeManage.ServiceReference1.GetTrackRequest request) {
|
|
|
|
|
return base.Channel.GetTrack(request);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public TradeManage.ServiceReference1.WL_TrackList GetTrack(string TrackCode) {
|
|
|
|
|
TradeManage.ServiceReference1.GetTrackRequest inValue = new TradeManage.ServiceReference1.GetTrackRequest();
|
|
|
|
|
inValue.Body = new TradeManage.ServiceReference1.GetTrackRequestBody();
|
|
|
|
|
inValue.Body.TrackCode = TrackCode;
|
|
|
|
|
TradeManage.ServiceReference1.GetTrackResponse retVal = ((TradeManage.ServiceReference1.OutServiceSoap)(this)).GetTrack(inValue);
|
|
|
|
|
return retVal.Body.GetTrackResult;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|