You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1054 lines
42 KiB
1054 lines
42 KiB
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// 此代码由工具生成。
|
|
//
|
|
// 对此文件的更改可能导致不正确的行为,并在以下条件下丢失:
|
|
// 代码重新生成。
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace TangShanKaiPing
|
|
{
|
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
[System.ServiceModel.ServiceContractAttribute(Namespace = "http://dataEX_share", ConfigurationName = "ServiceReference1.WS_DataEX_Share")]
|
|
public interface WS_DataEX_Share
|
|
{
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
|
|
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
|
|
System.Threading.Tasks.Task<TangShanKaiPing.pullDiffDataResponse> pullDiffDataAsync(TangShanKaiPing.pullDiffData request);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
|
|
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
|
|
System.Threading.Tasks.Task<TangShanKaiPing.queryDataDiffResponse> queryDataDiffAsync(TangShanKaiPing.queryDataDiff request);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
|
|
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
|
|
System.Threading.Tasks.Task<TangShanKaiPing.dengluResponse> dengluAsync(TangShanKaiPing.denglu request);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
|
|
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
|
|
System.Threading.Tasks.Task<TangShanKaiPing.pullAllDataResponse> pullAllDataAsync(TangShanKaiPing.pullAllData request);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
|
|
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
|
|
System.Threading.Tasks.Task<TangShanKaiPing.queryDataResponse> queryDataAsync(TangShanKaiPing.queryData request);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
|
|
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
|
|
System.Threading.Tasks.Task<TangShanKaiPing.queryDataConfirmResponse> queryDataConfirmAsync(TangShanKaiPing.queryDataConfirm request);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
|
|
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
|
|
System.Threading.Tasks.Task<TangShanKaiPing.queryDataNOResponse> queryDataNOAsync(TangShanKaiPing.queryDataNO request);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")]
|
|
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)]
|
|
System.Threading.Tasks.Task<TangShanKaiPing.loginResponse> loginAsync(TangShanKaiPing.login request);
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://dataEX_share")]
|
|
public partial class dataEXQueryRequest
|
|
{
|
|
|
|
private dataEXToken dataEX_TokenField;
|
|
|
|
private string dataEX_QueryObjectField;
|
|
|
|
private string dataEX_QueryConditionField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, Order = 0)]
|
|
public dataEXToken dataEX_Token
|
|
{
|
|
get
|
|
{
|
|
return this.dataEX_TokenField;
|
|
}
|
|
set
|
|
{
|
|
this.dataEX_TokenField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, Order = 1)]
|
|
public string dataEX_QueryObject
|
|
{
|
|
get
|
|
{
|
|
return this.dataEX_QueryObjectField;
|
|
}
|
|
set
|
|
{
|
|
this.dataEX_QueryObjectField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, Order = 2)]
|
|
public string dataEX_QueryCondition
|
|
{
|
|
get
|
|
{
|
|
return this.dataEX_QueryConditionField;
|
|
}
|
|
set
|
|
{
|
|
this.dataEX_QueryConditionField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://dataEX_share")]
|
|
public partial class dataEXToken
|
|
{
|
|
|
|
private string userNameField;
|
|
|
|
private string loginTimeField;
|
|
|
|
private string userTokenField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, Order = 0)]
|
|
public string userName
|
|
{
|
|
get
|
|
{
|
|
return this.userNameField;
|
|
}
|
|
set
|
|
{
|
|
this.userNameField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, Order = 1)]
|
|
public string loginTime
|
|
{
|
|
get
|
|
{
|
|
return this.loginTimeField;
|
|
}
|
|
set
|
|
{
|
|
this.loginTimeField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, Order = 2)]
|
|
public string userToken
|
|
{
|
|
get
|
|
{
|
|
return this.userTokenField;
|
|
}
|
|
set
|
|
{
|
|
this.userTokenField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://dataEX_share")]
|
|
public partial class dataEXPage
|
|
{
|
|
|
|
private int pageCountField;
|
|
|
|
private int pageRecordField;
|
|
|
|
private int recordCountField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, Order = 0)]
|
|
public int pageCount
|
|
{
|
|
get
|
|
{
|
|
return this.pageCountField;
|
|
}
|
|
set
|
|
{
|
|
this.pageCountField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, Order = 1)]
|
|
public int pageRecord
|
|
{
|
|
get
|
|
{
|
|
return this.pageRecordField;
|
|
}
|
|
set
|
|
{
|
|
this.pageRecordField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, Order = 2)]
|
|
public int recordCount
|
|
{
|
|
get
|
|
{
|
|
return this.recordCountField;
|
|
}
|
|
set
|
|
{
|
|
this.recordCountField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://dataEX_share")]
|
|
public partial class dataEXPageResult
|
|
{
|
|
|
|
private dataEXError dataEX_ErrorField;
|
|
|
|
private dataEXPage pageField;
|
|
|
|
private string pageResultField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, Order = 0)]
|
|
public dataEXError dataEX_Error
|
|
{
|
|
get
|
|
{
|
|
return this.dataEX_ErrorField;
|
|
}
|
|
set
|
|
{
|
|
this.dataEX_ErrorField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, Order = 1)]
|
|
public dataEXPage page
|
|
{
|
|
get
|
|
{
|
|
return this.pageField;
|
|
}
|
|
set
|
|
{
|
|
this.pageField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, Order = 2)]
|
|
public string pageResult
|
|
{
|
|
get
|
|
{
|
|
return this.pageResultField;
|
|
}
|
|
set
|
|
{
|
|
this.pageResultField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://dataEX_share")]
|
|
public partial class dataEXError
|
|
{
|
|
|
|
private string dataEX_CategeoryField;
|
|
|
|
private string dataEX_CodeField;
|
|
|
|
private string dataEX_DescField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, Order = 0)]
|
|
public string dataEX_Categeory
|
|
{
|
|
get
|
|
{
|
|
return this.dataEX_CategeoryField;
|
|
}
|
|
set
|
|
{
|
|
this.dataEX_CategeoryField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, Order = 1)]
|
|
public string dataEX_Code
|
|
{
|
|
get
|
|
{
|
|
return this.dataEX_CodeField;
|
|
}
|
|
set
|
|
{
|
|
this.dataEX_CodeField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, Order = 2)]
|
|
public string dataEX_Desc
|
|
{
|
|
get
|
|
{
|
|
return this.dataEX_DescField;
|
|
}
|
|
set
|
|
{
|
|
this.dataEX_DescField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://dataEX_share")]
|
|
public partial class dataEXConfirmRequest
|
|
{
|
|
|
|
private dataEXToken dataEX_TokenField;
|
|
|
|
private string[] data_snField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, Order = 0)]
|
|
public dataEXToken dataEX_Token
|
|
{
|
|
get
|
|
{
|
|
return this.dataEX_TokenField;
|
|
}
|
|
set
|
|
{
|
|
this.dataEX_TokenField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute("data_sn", Form = System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable = true, Order = 1)]
|
|
public string[] data_sn
|
|
{
|
|
get
|
|
{
|
|
return this.data_snField;
|
|
}
|
|
set
|
|
{
|
|
this.data_snField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://dataEX_share")]
|
|
public partial class dataEXResultSet
|
|
{
|
|
|
|
private string primaryKeyField;
|
|
|
|
private string[] dataStructureField;
|
|
|
|
private string[][] dataResultField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, Order = 0)]
|
|
public string primaryKey
|
|
{
|
|
get
|
|
{
|
|
return this.primaryKeyField;
|
|
}
|
|
set
|
|
{
|
|
this.primaryKeyField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute("dataStructure", Form = System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable = true, Order = 1)]
|
|
public string[] dataStructure
|
|
{
|
|
get
|
|
{
|
|
return this.dataStructureField;
|
|
}
|
|
set
|
|
{
|
|
this.dataStructureField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlArrayAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, Order = 2)]
|
|
[System.Xml.Serialization.XmlArrayItemAttribute("dataRow", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
[System.Xml.Serialization.XmlArrayItemAttribute("data", Form = System.Xml.Schema.XmlSchemaForm.Unqualified, NestingLevel = 1)]
|
|
public string[][] dataResult
|
|
{
|
|
get
|
|
{
|
|
return this.dataResultField;
|
|
}
|
|
set
|
|
{
|
|
this.dataResultField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://dataEX_share")]
|
|
public partial class dataEXQueryResult
|
|
{
|
|
|
|
private string dataEX_ResultField;
|
|
|
|
private dataEXResultSet dataEX_ResultSetField;
|
|
|
|
private dataEXError dataEX_ErrorField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, Order = 0)]
|
|
public string dataEX_Result
|
|
{
|
|
get
|
|
{
|
|
return this.dataEX_ResultField;
|
|
}
|
|
set
|
|
{
|
|
this.dataEX_ResultField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, Order = 1)]
|
|
public dataEXResultSet dataEX_ResultSet
|
|
{
|
|
get
|
|
{
|
|
return this.dataEX_ResultSetField;
|
|
}
|
|
set
|
|
{
|
|
this.dataEX_ResultSetField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified, Order = 2)]
|
|
public dataEXError dataEX_Error
|
|
{
|
|
get
|
|
{
|
|
return this.dataEX_ErrorField;
|
|
}
|
|
set
|
|
{
|
|
this.dataEX_ErrorField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
[System.ServiceModel.MessageContractAttribute(WrapperName = "pullDiffData", WrapperNamespace = "http://dataEX_share", IsWrapped = true)]
|
|
public partial class pullDiffData
|
|
{
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://dataEX_share", Order = 0)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public TangShanKaiPing.dataEXQueryRequest pullRequest;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://dataEX_share", Order = 1)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public int arg1;
|
|
|
|
public pullDiffData()
|
|
{
|
|
}
|
|
|
|
public pullDiffData(TangShanKaiPing.dataEXQueryRequest pullRequest, int arg1)
|
|
{
|
|
this.pullRequest = pullRequest;
|
|
this.arg1 = arg1;
|
|
}
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
[System.ServiceModel.MessageContractAttribute(WrapperName = "pullDiffDataResponse", WrapperNamespace = "http://dataEX_share", IsWrapped = true)]
|
|
public partial class pullDiffDataResponse
|
|
{
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://dataEX_share", Order = 0)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public TangShanKaiPing.dataEXQueryResult @return;
|
|
|
|
public pullDiffDataResponse()
|
|
{
|
|
}
|
|
|
|
public pullDiffDataResponse(TangShanKaiPing.dataEXQueryResult @return)
|
|
{
|
|
this.@return = @return;
|
|
}
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
[System.ServiceModel.MessageContractAttribute(WrapperName = "queryDataDiff", WrapperNamespace = "http://dataEX_share", IsWrapped = true)]
|
|
public partial class queryDataDiff
|
|
{
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://dataEX_share", Order = 0)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public TangShanKaiPing.dataEXQueryRequest queryRequest;
|
|
|
|
public queryDataDiff()
|
|
{
|
|
}
|
|
|
|
public queryDataDiff(TangShanKaiPing.dataEXQueryRequest queryRequest)
|
|
{
|
|
this.queryRequest = queryRequest;
|
|
}
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
[System.ServiceModel.MessageContractAttribute(WrapperName = "queryDataDiffResponse", WrapperNamespace = "http://dataEX_share", IsWrapped = true)]
|
|
public partial class queryDataDiffResponse
|
|
{
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://dataEX_share", Order = 0)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public TangShanKaiPing.dataEXQueryResult @return;
|
|
|
|
public queryDataDiffResponse()
|
|
{
|
|
}
|
|
|
|
public queryDataDiffResponse(TangShanKaiPing.dataEXQueryResult @return)
|
|
{
|
|
this.@return = @return;
|
|
}
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
[System.ServiceModel.MessageContractAttribute(WrapperName = "denglu", WrapperNamespace = "http://dataEX_share", IsWrapped = true)]
|
|
public partial class denglu
|
|
{
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://dataEX_share", Order = 0)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public string userName;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://dataEX_share", Order = 1)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public string password;
|
|
|
|
public denglu()
|
|
{
|
|
}
|
|
|
|
public denglu(string userName, string password)
|
|
{
|
|
this.userName = userName;
|
|
this.password = password;
|
|
}
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
[System.ServiceModel.MessageContractAttribute(WrapperName = "dengluResponse", WrapperNamespace = "http://dataEX_share", IsWrapped = true)]
|
|
public partial class dengluResponse
|
|
{
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://dataEX_share", Order = 0)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public bool @return;
|
|
|
|
public dengluResponse()
|
|
{
|
|
}
|
|
|
|
public dengluResponse(bool @return)
|
|
{
|
|
this.@return = @return;
|
|
}
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
[System.ServiceModel.MessageContractAttribute(WrapperName = "pullAllData", WrapperNamespace = "http://dataEX_share", IsWrapped = true)]
|
|
public partial class pullAllData
|
|
{
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://dataEX_share", Order = 0)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public TangShanKaiPing.dataEXQueryRequest pullRequest;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://dataEX_share", Order = 1)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public int arg1;
|
|
|
|
public pullAllData()
|
|
{
|
|
}
|
|
|
|
public pullAllData(TangShanKaiPing.dataEXQueryRequest pullRequest, int arg1)
|
|
{
|
|
this.pullRequest = pullRequest;
|
|
this.arg1 = arg1;
|
|
}
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
[System.ServiceModel.MessageContractAttribute(WrapperName = "pullAllDataResponse", WrapperNamespace = "http://dataEX_share", IsWrapped = true)]
|
|
public partial class pullAllDataResponse
|
|
{
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://dataEX_share", Order = 0)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public TangShanKaiPing.dataEXQueryResult @return;
|
|
|
|
public pullAllDataResponse()
|
|
{
|
|
}
|
|
|
|
public pullAllDataResponse(TangShanKaiPing.dataEXQueryResult @return)
|
|
{
|
|
this.@return = @return;
|
|
}
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
[System.ServiceModel.MessageContractAttribute(WrapperName = "queryData", WrapperNamespace = "http://dataEX_share", IsWrapped = true)]
|
|
public partial class queryData
|
|
{
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://dataEX_share", Order = 0)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public TangShanKaiPing.dataEXQueryRequest queryRequest;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://dataEX_share", Order = 1)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public int arg1;
|
|
|
|
public queryData()
|
|
{
|
|
}
|
|
|
|
public queryData(TangShanKaiPing.dataEXQueryRequest queryRequest, int arg1)
|
|
{
|
|
this.queryRequest = queryRequest;
|
|
this.arg1 = arg1;
|
|
}
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
[System.ServiceModel.MessageContractAttribute(WrapperName = "queryDataResponse", WrapperNamespace = "http://dataEX_share", IsWrapped = true)]
|
|
public partial class queryDataResponse
|
|
{
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://dataEX_share", Order = 0)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public TangShanKaiPing.dataEXQueryResult @return;
|
|
|
|
public queryDataResponse()
|
|
{
|
|
}
|
|
|
|
public queryDataResponse(TangShanKaiPing.dataEXQueryResult @return)
|
|
{
|
|
this.@return = @return;
|
|
}
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
[System.ServiceModel.MessageContractAttribute(WrapperName = "queryDataConfirm", WrapperNamespace = "http://dataEX_share", IsWrapped = true)]
|
|
public partial class queryDataConfirm
|
|
{
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://dataEX_share", Order = 0)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public TangShanKaiPing.dataEXConfirmRequest queryRequest;
|
|
|
|
public queryDataConfirm()
|
|
{
|
|
}
|
|
|
|
public queryDataConfirm(TangShanKaiPing.dataEXConfirmRequest queryRequest)
|
|
{
|
|
this.queryRequest = queryRequest;
|
|
}
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
[System.ServiceModel.MessageContractAttribute(WrapperName = "queryDataConfirmResponse", WrapperNamespace = "http://dataEX_share", IsWrapped = true)]
|
|
public partial class queryDataConfirmResponse
|
|
{
|
|
|
|
public queryDataConfirmResponse()
|
|
{
|
|
}
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
[System.ServiceModel.MessageContractAttribute(WrapperName = "queryDataNO", WrapperNamespace = "http://dataEX_share", IsWrapped = true)]
|
|
public partial class queryDataNO
|
|
{
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://dataEX_share", Order = 0)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public TangShanKaiPing.dataEXQueryRequest queryRequest;
|
|
|
|
public queryDataNO()
|
|
{
|
|
}
|
|
|
|
public queryDataNO(TangShanKaiPing.dataEXQueryRequest queryRequest)
|
|
{
|
|
this.queryRequest = queryRequest;
|
|
}
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
[System.ServiceModel.MessageContractAttribute(WrapperName = "queryDataNOResponse", WrapperNamespace = "http://dataEX_share", IsWrapped = true)]
|
|
public partial class queryDataNOResponse
|
|
{
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://dataEX_share", Order = 0)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public TangShanKaiPing.dataEXPageResult @return;
|
|
|
|
public queryDataNOResponse()
|
|
{
|
|
}
|
|
|
|
public queryDataNOResponse(TangShanKaiPing.dataEXPageResult @return)
|
|
{
|
|
this.@return = @return;
|
|
}
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
[System.ServiceModel.MessageContractAttribute(WrapperName = "login", WrapperNamespace = "http://dataEX_share", IsWrapped = true)]
|
|
public partial class login
|
|
{
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://dataEX_share", Order = 0)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public string userName;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://dataEX_share", Order = 1)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public string password;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://dataEX_share", Order = 2)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public string loginTime;
|
|
|
|
public login()
|
|
{
|
|
}
|
|
|
|
public login(string userName, string password, string loginTime)
|
|
{
|
|
this.userName = userName;
|
|
this.password = password;
|
|
this.loginTime = loginTime;
|
|
}
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
[System.ServiceModel.MessageContractAttribute(WrapperName = "loginResponse", WrapperNamespace = "http://dataEX_share", IsWrapped = true)]
|
|
public partial class loginResponse
|
|
{
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://dataEX_share", Order = 0)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public string @return;
|
|
|
|
public loginResponse()
|
|
{
|
|
}
|
|
|
|
public loginResponse(string @return)
|
|
{
|
|
this.@return = @return;
|
|
}
|
|
}
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
public interface WS_DataEX_ShareChannel : TangShanKaiPing.WS_DataEX_Share, System.ServiceModel.IClientChannel
|
|
{
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.2")]
|
|
public partial class WS_DataEX_ShareClient : System.ServiceModel.ClientBase<TangShanKaiPing.WS_DataEX_Share>, TangShanKaiPing.WS_DataEX_Share
|
|
{
|
|
|
|
/// <summary>
|
|
/// 实现此分部方法,配置服务终结点。
|
|
/// </summary>
|
|
/// <param name="serviceEndpoint">要配置的终结点</param>
|
|
/// <param name="clientCredentials">客户端凭据</param>
|
|
static partial void ConfigureEndpoint(System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Description.ClientCredentials clientCredentials);
|
|
|
|
public WS_DataEX_ShareClient() :
|
|
base(WS_DataEX_ShareClient.GetDefaultBinding(), WS_DataEX_ShareClient.GetDefaultEndpointAddress())
|
|
{
|
|
this.Endpoint.Name = EndpointConfiguration.WS_DataEX_ShareImplPort.ToString();
|
|
ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
|
|
}
|
|
|
|
public WS_DataEX_ShareClient(EndpointConfiguration endpointConfiguration) :
|
|
base(WS_DataEX_ShareClient.GetBindingForEndpoint(endpointConfiguration), WS_DataEX_ShareClient.GetEndpointAddress(endpointConfiguration))
|
|
{
|
|
this.Endpoint.Name = endpointConfiguration.ToString();
|
|
ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
|
|
}
|
|
|
|
public WS_DataEX_ShareClient(EndpointConfiguration endpointConfiguration, string remoteAddress) :
|
|
base(WS_DataEX_ShareClient.GetBindingForEndpoint(endpointConfiguration), new System.ServiceModel.EndpointAddress(remoteAddress))
|
|
{
|
|
this.Endpoint.Name = endpointConfiguration.ToString();
|
|
ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
|
|
}
|
|
|
|
public WS_DataEX_ShareClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
|
|
base(WS_DataEX_ShareClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
|
|
{
|
|
this.Endpoint.Name = endpointConfiguration.ToString();
|
|
ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
|
|
}
|
|
|
|
public WS_DataEX_ShareClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
|
base(binding, remoteAddress)
|
|
{
|
|
}
|
|
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
System.Threading.Tasks.Task<TangShanKaiPing.pullDiffDataResponse> TangShanKaiPing.WS_DataEX_Share.pullDiffDataAsync(TangShanKaiPing.pullDiffData request)
|
|
{
|
|
return base.Channel.pullDiffDataAsync(request);
|
|
}
|
|
|
|
public System.Threading.Tasks.Task<TangShanKaiPing.pullDiffDataResponse> pullDiffDataAsync(TangShanKaiPing.dataEXQueryRequest pullRequest, int arg1)
|
|
{
|
|
TangShanKaiPing.pullDiffData inValue = new TangShanKaiPing.pullDiffData();
|
|
inValue.pullRequest = pullRequest;
|
|
inValue.arg1 = arg1;
|
|
return ((TangShanKaiPing.WS_DataEX_Share)(this)).pullDiffDataAsync(inValue);
|
|
}
|
|
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
System.Threading.Tasks.Task<TangShanKaiPing.queryDataDiffResponse> TangShanKaiPing.WS_DataEX_Share.queryDataDiffAsync(TangShanKaiPing.queryDataDiff request)
|
|
{
|
|
return base.Channel.queryDataDiffAsync(request);
|
|
}
|
|
|
|
public System.Threading.Tasks.Task<TangShanKaiPing.queryDataDiffResponse> queryDataDiffAsync(TangShanKaiPing.dataEXQueryRequest queryRequest)
|
|
{
|
|
TangShanKaiPing.queryDataDiff inValue = new TangShanKaiPing.queryDataDiff();
|
|
inValue.queryRequest = queryRequest;
|
|
return ((TangShanKaiPing.WS_DataEX_Share)(this)).queryDataDiffAsync(inValue);
|
|
}
|
|
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
System.Threading.Tasks.Task<TangShanKaiPing.dengluResponse> TangShanKaiPing.WS_DataEX_Share.dengluAsync(TangShanKaiPing.denglu request)
|
|
{
|
|
return base.Channel.dengluAsync(request);
|
|
}
|
|
|
|
public System.Threading.Tasks.Task<TangShanKaiPing.dengluResponse> dengluAsync(string userName, string password)
|
|
{
|
|
TangShanKaiPing.denglu inValue = new TangShanKaiPing.denglu();
|
|
inValue.userName = userName;
|
|
inValue.password = password;
|
|
return ((TangShanKaiPing.WS_DataEX_Share)(this)).dengluAsync(inValue);
|
|
}
|
|
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
System.Threading.Tasks.Task<TangShanKaiPing.pullAllDataResponse> TangShanKaiPing.WS_DataEX_Share.pullAllDataAsync(TangShanKaiPing.pullAllData request)
|
|
{
|
|
return base.Channel.pullAllDataAsync(request);
|
|
}
|
|
|
|
public System.Threading.Tasks.Task<TangShanKaiPing.pullAllDataResponse> pullAllDataAsync(TangShanKaiPing.dataEXQueryRequest pullRequest, int arg1)
|
|
{
|
|
TangShanKaiPing.pullAllData inValue = new TangShanKaiPing.pullAllData();
|
|
inValue.pullRequest = pullRequest;
|
|
inValue.arg1 = arg1;
|
|
return ((TangShanKaiPing.WS_DataEX_Share)(this)).pullAllDataAsync(inValue);
|
|
}
|
|
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
System.Threading.Tasks.Task<TangShanKaiPing.queryDataResponse> TangShanKaiPing.WS_DataEX_Share.queryDataAsync(TangShanKaiPing.queryData request)
|
|
{
|
|
return base.Channel.queryDataAsync(request);
|
|
}
|
|
|
|
public System.Threading.Tasks.Task<TangShanKaiPing.queryDataResponse> queryDataAsync(TangShanKaiPing.dataEXQueryRequest queryRequest, int arg1)
|
|
{
|
|
TangShanKaiPing.queryData inValue = new TangShanKaiPing.queryData();
|
|
inValue.queryRequest = queryRequest;
|
|
inValue.arg1 = arg1;
|
|
return ((TangShanKaiPing.WS_DataEX_Share)(this)).queryDataAsync(inValue);
|
|
}
|
|
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
System.Threading.Tasks.Task<TangShanKaiPing.queryDataConfirmResponse> TangShanKaiPing.WS_DataEX_Share.queryDataConfirmAsync(TangShanKaiPing.queryDataConfirm request)
|
|
{
|
|
return base.Channel.queryDataConfirmAsync(request);
|
|
}
|
|
|
|
public System.Threading.Tasks.Task<TangShanKaiPing.queryDataConfirmResponse> queryDataConfirmAsync(TangShanKaiPing.dataEXConfirmRequest queryRequest)
|
|
{
|
|
TangShanKaiPing.queryDataConfirm inValue = new TangShanKaiPing.queryDataConfirm();
|
|
inValue.queryRequest = queryRequest;
|
|
return ((TangShanKaiPing.WS_DataEX_Share)(this)).queryDataConfirmAsync(inValue);
|
|
}
|
|
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
System.Threading.Tasks.Task<TangShanKaiPing.queryDataNOResponse> TangShanKaiPing.WS_DataEX_Share.queryDataNOAsync(TangShanKaiPing.queryDataNO request)
|
|
{
|
|
return base.Channel.queryDataNOAsync(request);
|
|
}
|
|
|
|
public System.Threading.Tasks.Task<TangShanKaiPing.queryDataNOResponse> queryDataNOAsync(TangShanKaiPing.dataEXQueryRequest queryRequest)
|
|
{
|
|
TangShanKaiPing.queryDataNO inValue = new TangShanKaiPing.queryDataNO();
|
|
inValue.queryRequest = queryRequest;
|
|
return ((TangShanKaiPing.WS_DataEX_Share)(this)).queryDataNOAsync(inValue);
|
|
}
|
|
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
System.Threading.Tasks.Task<TangShanKaiPing.loginResponse> TangShanKaiPing.WS_DataEX_Share.loginAsync(TangShanKaiPing.login request)
|
|
{
|
|
return base.Channel.loginAsync(request);
|
|
}
|
|
|
|
public System.Threading.Tasks.Task<TangShanKaiPing.loginResponse> loginAsync(string userName, string password, string loginTime)
|
|
{
|
|
TangShanKaiPing.login inValue = new TangShanKaiPing.login();
|
|
inValue.userName = userName;
|
|
inValue.password = password;
|
|
inValue.loginTime = loginTime;
|
|
return ((TangShanKaiPing.WS_DataEX_Share)(this)).loginAsync(inValue);
|
|
}
|
|
|
|
public virtual System.Threading.Tasks.Task OpenAsync()
|
|
{
|
|
return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action<System.IAsyncResult>(((System.ServiceModel.ICommunicationObject)(this)).EndOpen));
|
|
}
|
|
|
|
public virtual System.Threading.Tasks.Task CloseAsync()
|
|
{
|
|
return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action<System.IAsyncResult>(((System.ServiceModel.ICommunicationObject)(this)).EndClose));
|
|
}
|
|
|
|
private static System.ServiceModel.Channels.Binding GetBindingForEndpoint(EndpointConfiguration endpointConfiguration)
|
|
{
|
|
if ((endpointConfiguration == EndpointConfiguration.WS_DataEX_ShareImplPort))
|
|
{
|
|
System.ServiceModel.BasicHttpBinding result = new System.ServiceModel.BasicHttpBinding();
|
|
result.MaxBufferSize = int.MaxValue;
|
|
result.ReaderQuotas = System.Xml.XmlDictionaryReaderQuotas.Max;
|
|
result.MaxReceivedMessageSize = int.MaxValue;
|
|
result.AllowCookies = true;
|
|
return result;
|
|
}
|
|
throw new System.InvalidOperationException(string.Format("找不到名称为“{0}”的终结点。", endpointConfiguration));
|
|
}
|
|
|
|
private static System.ServiceModel.EndpointAddress GetEndpointAddress(EndpointConfiguration endpointConfiguration)
|
|
{
|
|
if ((endpointConfiguration == EndpointConfiguration.WS_DataEX_ShareImplPort))
|
|
{
|
|
//return new System.ServiceModel.EndpointAddress("http://192.168.100.230:6601/EMIIS_WS/webServer/dataEX_share");
|
|
return new System.ServiceModel.EndpointAddress("http://221.194.113.154:8100/wsdl/EMIIS_WS/webServer/dataEX_share");
|
|
}
|
|
throw new System.InvalidOperationException(string.Format("找不到名称为“{0}”的终结点。", endpointConfiguration));
|
|
}
|
|
|
|
private static System.ServiceModel.Channels.Binding GetDefaultBinding()
|
|
{
|
|
return WS_DataEX_ShareClient.GetBindingForEndpoint(EndpointConfiguration.WS_DataEX_ShareImplPort);
|
|
}
|
|
|
|
private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
|
|
{
|
|
return WS_DataEX_ShareClient.GetEndpointAddress(EndpointConfiguration.WS_DataEX_ShareImplPort);
|
|
}
|
|
|
|
public enum EndpointConfiguration
|
|
{
|
|
|
|
WS_DataEX_ShareImplPort,
|
|
}
|
|
}
|
|
}
|