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.
796 lines
38 KiB
796 lines
38 KiB
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// 此代码由工具生成。
|
|
// 运行时版本:4.0.30319.42000
|
|
//
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|
// 重新生成代码,这些更改将会丢失。
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
//
|
|
// 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。
|
|
//
|
|
#pragma warning disable 1591
|
|
|
|
namespace CK.SCP.Controller.CD {
|
|
using System;
|
|
using System.Web.Services;
|
|
using System.Diagnostics;
|
|
using System.Web.Services.Protocols;
|
|
using System.Xml.Serialization;
|
|
using System.ComponentModel;
|
|
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
[System.Web.Services.WebServiceBindingAttribute(Name="ExchangeCenterServiceSoap", Namespace="http://tempuri.org/")]
|
|
public partial class ExchangeCenterService : System.Web.Services.Protocols.SoapHttpClientProtocol {
|
|
|
|
private System.Threading.SendOrPostCallback GetVerOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback GetServerTimeOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback GetSessionIdOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback AddTaskOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback AddMasterSlaveTaskOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback GetNewTasksByTableListOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback GetNewTasksOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback GetTaskDataOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback GetMasterSlaveTaskDataOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback UpdateTaskStateOperationCompleted;
|
|
|
|
private System.Threading.SendOrPostCallback GetManageDatasByPageOperationCompleted;
|
|
|
|
private bool useDefaultCredentialsSetExplicitly;
|
|
|
|
/// <remarks/>
|
|
public ExchangeCenterService() {
|
|
this.Url = global::CK.SCP.Controller.Properties.Settings.Default.CK_SCP_Controller_CD_ExchangeCenterService;
|
|
if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
|
|
this.UseDefaultCredentials = true;
|
|
this.useDefaultCredentialsSetExplicitly = false;
|
|
}
|
|
else {
|
|
this.useDefaultCredentialsSetExplicitly = true;
|
|
}
|
|
}
|
|
|
|
public new string Url {
|
|
get {
|
|
return base.Url;
|
|
}
|
|
set {
|
|
if ((((this.IsLocalFileSystemWebService(base.Url) == true)
|
|
&& (this.useDefaultCredentialsSetExplicitly == false))
|
|
&& (this.IsLocalFileSystemWebService(value) == false))) {
|
|
base.UseDefaultCredentials = false;
|
|
}
|
|
base.Url = value;
|
|
}
|
|
}
|
|
|
|
public new bool UseDefaultCredentials {
|
|
get {
|
|
return base.UseDefaultCredentials;
|
|
}
|
|
set {
|
|
base.UseDefaultCredentials = value;
|
|
this.useDefaultCredentialsSetExplicitly = true;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public event GetVerCompletedEventHandler GetVerCompleted;
|
|
|
|
/// <remarks/>
|
|
public event GetServerTimeCompletedEventHandler GetServerTimeCompleted;
|
|
|
|
/// <remarks/>
|
|
public event GetSessionIdCompletedEventHandler GetSessionIdCompleted;
|
|
|
|
/// <remarks/>
|
|
public event AddTaskCompletedEventHandler AddTaskCompleted;
|
|
|
|
/// <remarks/>
|
|
public event AddMasterSlaveTaskCompletedEventHandler AddMasterSlaveTaskCompleted;
|
|
|
|
/// <remarks/>
|
|
public event GetNewTasksByTableListCompletedEventHandler GetNewTasksByTableListCompleted;
|
|
|
|
/// <remarks/>
|
|
public event GetNewTasksCompletedEventHandler GetNewTasksCompleted;
|
|
|
|
/// <remarks/>
|
|
public event GetTaskDataCompletedEventHandler GetTaskDataCompleted;
|
|
|
|
/// <remarks/>
|
|
public event GetMasterSlaveTaskDataCompletedEventHandler GetMasterSlaveTaskDataCompleted;
|
|
|
|
/// <remarks/>
|
|
public event UpdateTaskStateCompletedEventHandler UpdateTaskStateCompleted;
|
|
|
|
/// <remarks/>
|
|
public event GetManageDatasByPageCompletedEventHandler GetManageDatasByPageCompleted;
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetVer", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public string GetVer() {
|
|
object[] results = this.Invoke("GetVer", new object[0]);
|
|
return ((string)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void GetVerAsync() {
|
|
this.GetVerAsync(null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void GetVerAsync(object userState) {
|
|
if ((this.GetVerOperationCompleted == null)) {
|
|
this.GetVerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetVerOperationCompleted);
|
|
}
|
|
this.InvokeAsync("GetVer", new object[0], this.GetVerOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnGetVerOperationCompleted(object arg) {
|
|
if ((this.GetVerCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.GetVerCompleted(this, new GetVerCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetServerTime", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public System.DateTime GetServerTime() {
|
|
object[] results = this.Invoke("GetServerTime", new object[0]);
|
|
return ((System.DateTime)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void GetServerTimeAsync() {
|
|
this.GetServerTimeAsync(null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void GetServerTimeAsync(object userState) {
|
|
if ((this.GetServerTimeOperationCompleted == null)) {
|
|
this.GetServerTimeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetServerTimeOperationCompleted);
|
|
}
|
|
this.InvokeAsync("GetServerTime", new object[0], this.GetServerTimeOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnGetServerTimeOperationCompleted(object arg) {
|
|
if ((this.GetServerTimeCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.GetServerTimeCompleted(this, new GetServerTimeCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetSessionId", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public string GetSessionId(string systemName, string encryptedPassword, string clientIp) {
|
|
object[] results = this.Invoke("GetSessionId", new object[] {
|
|
systemName,
|
|
encryptedPassword,
|
|
clientIp});
|
|
return ((string)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void GetSessionIdAsync(string systemName, string encryptedPassword, string clientIp) {
|
|
this.GetSessionIdAsync(systemName, encryptedPassword, clientIp, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void GetSessionIdAsync(string systemName, string encryptedPassword, string clientIp, object userState) {
|
|
if ((this.GetSessionIdOperationCompleted == null)) {
|
|
this.GetSessionIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSessionIdOperationCompleted);
|
|
}
|
|
this.InvokeAsync("GetSessionId", new object[] {
|
|
systemName,
|
|
encryptedPassword,
|
|
clientIp}, this.GetSessionIdOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnGetSessionIdOperationCompleted(object arg) {
|
|
if ((this.GetSessionIdCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.GetSessionIdCompleted(this, new GetSessionIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/AddTask", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public string AddTask(string sessionId, string jsonTask, string jsonData, bool zipped) {
|
|
object[] results = this.Invoke("AddTask", new object[] {
|
|
sessionId,
|
|
jsonTask,
|
|
jsonData,
|
|
zipped});
|
|
return ((string)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void AddTaskAsync(string sessionId, string jsonTask, string jsonData, bool zipped) {
|
|
this.AddTaskAsync(sessionId, jsonTask, jsonData, zipped, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void AddTaskAsync(string sessionId, string jsonTask, string jsonData, bool zipped, object userState) {
|
|
if ((this.AddTaskOperationCompleted == null)) {
|
|
this.AddTaskOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddTaskOperationCompleted);
|
|
}
|
|
this.InvokeAsync("AddTask", new object[] {
|
|
sessionId,
|
|
jsonTask,
|
|
jsonData,
|
|
zipped}, this.AddTaskOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnAddTaskOperationCompleted(object arg) {
|
|
if ((this.AddTaskCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.AddTaskCompleted(this, new AddTaskCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/AddMasterSlaveTask", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public string AddMasterSlaveTask(string sessionId, string jsonTask, string jsonMaster, string jsonSlave, bool zipped) {
|
|
object[] results = this.Invoke("AddMasterSlaveTask", new object[] {
|
|
sessionId,
|
|
jsonTask,
|
|
jsonMaster,
|
|
jsonSlave,
|
|
zipped});
|
|
return ((string)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void AddMasterSlaveTaskAsync(string sessionId, string jsonTask, string jsonMaster, string jsonSlave, bool zipped) {
|
|
this.AddMasterSlaveTaskAsync(sessionId, jsonTask, jsonMaster, jsonSlave, zipped, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void AddMasterSlaveTaskAsync(string sessionId, string jsonTask, string jsonMaster, string jsonSlave, bool zipped, object userState) {
|
|
if ((this.AddMasterSlaveTaskOperationCompleted == null)) {
|
|
this.AddMasterSlaveTaskOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddMasterSlaveTaskOperationCompleted);
|
|
}
|
|
this.InvokeAsync("AddMasterSlaveTask", new object[] {
|
|
sessionId,
|
|
jsonTask,
|
|
jsonMaster,
|
|
jsonSlave,
|
|
zipped}, this.AddMasterSlaveTaskOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnAddMasterSlaveTaskOperationCompleted(object arg) {
|
|
if ((this.AddMasterSlaveTaskCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.AddMasterSlaveTaskCompleted(this, new AddMasterSlaveTaskCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetNewTasksByTableList", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public string GetNewTasksByTableList(string sessionId, string clientIp, string tableList) {
|
|
object[] results = this.Invoke("GetNewTasksByTableList", new object[] {
|
|
sessionId,
|
|
clientIp,
|
|
tableList});
|
|
return ((string)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void GetNewTasksByTableListAsync(string sessionId, string clientIp, string tableList) {
|
|
this.GetNewTasksByTableListAsync(sessionId, clientIp, tableList, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void GetNewTasksByTableListAsync(string sessionId, string clientIp, string tableList, object userState) {
|
|
if ((this.GetNewTasksByTableListOperationCompleted == null)) {
|
|
this.GetNewTasksByTableListOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetNewTasksByTableListOperationCompleted);
|
|
}
|
|
this.InvokeAsync("GetNewTasksByTableList", new object[] {
|
|
sessionId,
|
|
clientIp,
|
|
tableList}, this.GetNewTasksByTableListOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnGetNewTasksByTableListOperationCompleted(object arg) {
|
|
if ((this.GetNewTasksByTableListCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.GetNewTasksByTableListCompleted(this, new GetNewTasksByTableListCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetNewTasks", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public string GetNewTasks(string sessionId, string clientIp) {
|
|
object[] results = this.Invoke("GetNewTasks", new object[] {
|
|
sessionId,
|
|
clientIp});
|
|
return ((string)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void GetNewTasksAsync(string sessionId, string clientIp) {
|
|
this.GetNewTasksAsync(sessionId, clientIp, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void GetNewTasksAsync(string sessionId, string clientIp, object userState) {
|
|
if ((this.GetNewTasksOperationCompleted == null)) {
|
|
this.GetNewTasksOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetNewTasksOperationCompleted);
|
|
}
|
|
this.InvokeAsync("GetNewTasks", new object[] {
|
|
sessionId,
|
|
clientIp}, this.GetNewTasksOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnGetNewTasksOperationCompleted(object arg) {
|
|
if ((this.GetNewTasksCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.GetNewTasksCompleted(this, new GetNewTasksCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetTaskData", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public string GetTaskData(string sessionId, string taskID, bool zipped) {
|
|
object[] results = this.Invoke("GetTaskData", new object[] {
|
|
sessionId,
|
|
taskID,
|
|
zipped});
|
|
return ((string)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void GetTaskDataAsync(string sessionId, string taskID, bool zipped) {
|
|
this.GetTaskDataAsync(sessionId, taskID, zipped, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void GetTaskDataAsync(string sessionId, string taskID, bool zipped, object userState) {
|
|
if ((this.GetTaskDataOperationCompleted == null)) {
|
|
this.GetTaskDataOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetTaskDataOperationCompleted);
|
|
}
|
|
this.InvokeAsync("GetTaskData", new object[] {
|
|
sessionId,
|
|
taskID,
|
|
zipped}, this.GetTaskDataOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnGetTaskDataOperationCompleted(object arg) {
|
|
if ((this.GetTaskDataCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.GetTaskDataCompleted(this, new GetTaskDataCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetMasterSlaveTaskData", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public string GetMasterSlaveTaskData(string sessionId, string taskID, bool zipped) {
|
|
object[] results = this.Invoke("GetMasterSlaveTaskData", new object[] {
|
|
sessionId,
|
|
taskID,
|
|
zipped});
|
|
return ((string)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void GetMasterSlaveTaskDataAsync(string sessionId, string taskID, bool zipped) {
|
|
this.GetMasterSlaveTaskDataAsync(sessionId, taskID, zipped, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void GetMasterSlaveTaskDataAsync(string sessionId, string taskID, bool zipped, object userState) {
|
|
if ((this.GetMasterSlaveTaskDataOperationCompleted == null)) {
|
|
this.GetMasterSlaveTaskDataOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetMasterSlaveTaskDataOperationCompleted);
|
|
}
|
|
this.InvokeAsync("GetMasterSlaveTaskData", new object[] {
|
|
sessionId,
|
|
taskID,
|
|
zipped}, this.GetMasterSlaveTaskDataOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnGetMasterSlaveTaskDataOperationCompleted(object arg) {
|
|
if ((this.GetMasterSlaveTaskDataCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.GetMasterSlaveTaskDataCompleted(this, new GetMasterSlaveTaskDataCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/UpdateTaskState", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public string UpdateTaskState(string sessionId, string taskID, int taskState, int failedCount, string failedInfo) {
|
|
object[] results = this.Invoke("UpdateTaskState", new object[] {
|
|
sessionId,
|
|
taskID,
|
|
taskState,
|
|
failedCount,
|
|
failedInfo});
|
|
return ((string)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void UpdateTaskStateAsync(string sessionId, string taskID, int taskState, int failedCount, string failedInfo) {
|
|
this.UpdateTaskStateAsync(sessionId, taskID, taskState, failedCount, failedInfo, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void UpdateTaskStateAsync(string sessionId, string taskID, int taskState, int failedCount, string failedInfo, object userState) {
|
|
if ((this.UpdateTaskStateOperationCompleted == null)) {
|
|
this.UpdateTaskStateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateTaskStateOperationCompleted);
|
|
}
|
|
this.InvokeAsync("UpdateTaskState", new object[] {
|
|
sessionId,
|
|
taskID,
|
|
taskState,
|
|
failedCount,
|
|
failedInfo}, this.UpdateTaskStateOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnUpdateTaskStateOperationCompleted(object arg) {
|
|
if ((this.UpdateTaskStateCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.UpdateTaskStateCompleted(this, new UpdateTaskStateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetManageDatasByPage", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public string GetManageDatasByPage(string sessionId, string filterJson, string tableName, int pageIndex, int pageSize, bool zipped) {
|
|
object[] results = this.Invoke("GetManageDatasByPage", new object[] {
|
|
sessionId,
|
|
filterJson,
|
|
tableName,
|
|
pageIndex,
|
|
pageSize,
|
|
zipped});
|
|
return ((string)(results[0]));
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void GetManageDatasByPageAsync(string sessionId, string filterJson, string tableName, int pageIndex, int pageSize, bool zipped) {
|
|
this.GetManageDatasByPageAsync(sessionId, filterJson, tableName, pageIndex, pageSize, zipped, null);
|
|
}
|
|
|
|
/// <remarks/>
|
|
public void GetManageDatasByPageAsync(string sessionId, string filterJson, string tableName, int pageIndex, int pageSize, bool zipped, object userState) {
|
|
if ((this.GetManageDatasByPageOperationCompleted == null)) {
|
|
this.GetManageDatasByPageOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetManageDatasByPageOperationCompleted);
|
|
}
|
|
this.InvokeAsync("GetManageDatasByPage", new object[] {
|
|
sessionId,
|
|
filterJson,
|
|
tableName,
|
|
pageIndex,
|
|
pageSize,
|
|
zipped}, this.GetManageDatasByPageOperationCompleted, userState);
|
|
}
|
|
|
|
private void OnGetManageDatasByPageOperationCompleted(object arg) {
|
|
if ((this.GetManageDatasByPageCompleted != null)) {
|
|
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
|
this.GetManageDatasByPageCompleted(this, new GetManageDatasByPageCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
public new void CancelAsync(object userState) {
|
|
base.CancelAsync(userState);
|
|
}
|
|
|
|
private bool IsLocalFileSystemWebService(string url) {
|
|
if (((url == null)
|
|
|| (url == string.Empty))) {
|
|
return false;
|
|
}
|
|
System.Uri wsUri = new System.Uri(url);
|
|
if (((wsUri.Port >= 1024)
|
|
&& (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
|
public delegate void GetVerCompletedEventHandler(object sender, GetVerCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class GetVerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
private object[] results;
|
|
|
|
internal GetVerCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState) {
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string Result {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((string)(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
|
public delegate void GetServerTimeCompletedEventHandler(object sender, GetServerTimeCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class GetServerTimeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
private object[] results;
|
|
|
|
internal GetServerTimeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState) {
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public System.DateTime Result {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((System.DateTime)(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
|
public delegate void GetSessionIdCompletedEventHandler(object sender, GetSessionIdCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class GetSessionIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
private object[] results;
|
|
|
|
internal GetSessionIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState) {
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string Result {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((string)(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
|
public delegate void AddTaskCompletedEventHandler(object sender, AddTaskCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class AddTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
private object[] results;
|
|
|
|
internal AddTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState) {
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string Result {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((string)(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
|
public delegate void AddMasterSlaveTaskCompletedEventHandler(object sender, AddMasterSlaveTaskCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class AddMasterSlaveTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
private object[] results;
|
|
|
|
internal AddMasterSlaveTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState) {
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string Result {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((string)(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
|
public delegate void GetNewTasksByTableListCompletedEventHandler(object sender, GetNewTasksByTableListCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class GetNewTasksByTableListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
private object[] results;
|
|
|
|
internal GetNewTasksByTableListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState) {
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string Result {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((string)(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
|
public delegate void GetNewTasksCompletedEventHandler(object sender, GetNewTasksCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class GetNewTasksCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
private object[] results;
|
|
|
|
internal GetNewTasksCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState) {
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string Result {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((string)(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
|
public delegate void GetTaskDataCompletedEventHandler(object sender, GetTaskDataCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class GetTaskDataCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
private object[] results;
|
|
|
|
internal GetTaskDataCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState) {
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string Result {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((string)(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
|
public delegate void GetMasterSlaveTaskDataCompletedEventHandler(object sender, GetMasterSlaveTaskDataCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class GetMasterSlaveTaskDataCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
private object[] results;
|
|
|
|
internal GetMasterSlaveTaskDataCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState) {
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string Result {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((string)(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
|
public delegate void UpdateTaskStateCompletedEventHandler(object sender, UpdateTaskStateCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class UpdateTaskStateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
private object[] results;
|
|
|
|
internal UpdateTaskStateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState) {
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string Result {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((string)(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
|
public delegate void GetManageDatasByPageCompletedEventHandler(object sender, GetManageDatasByPageCompletedEventArgs e);
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
public partial class GetManageDatasByPageCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
|
|
|
private object[] results;
|
|
|
|
internal GetManageDatasByPageCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
|
base(exception, cancelled, userState) {
|
|
this.results = results;
|
|
}
|
|
|
|
/// <remarks/>
|
|
public string Result {
|
|
get {
|
|
this.RaiseExceptionIfNecessary();
|
|
return ((string)(this.results[0]));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#pragma warning restore 1591
|