diff --git a/北京北汽/Controller/CK.SCP.Controller.csproj b/北京北汽/Controller/CK.SCP.Controller.csproj
index a35aef8..b8f43de 100644
--- a/北京北汽/Controller/CK.SCP.Controller.csproj
+++ b/北京北汽/Controller/CK.SCP.Controller.csproj
@@ -74,6 +74,7 @@
+
True
True
@@ -127,11 +128,36 @@
+
+ True
+ True
+ Reference.map
+
+
+ True
+ True
+ Reference.map
+
+
+ True
+ True
+ Reference.map
+
+
+ True
+ True
+ Reference.map
+
True
True
Reference.map
+
+ True
+ True
+ Reference.map
+
@@ -150,11 +176,36 @@
SettingsSingleFileGenerator
Settings.Designer.cs
+
+
+ MSDiscoCodeGenerator
+ Reference.cs
+
+
+
+ MSDiscoCodeGenerator
+ Reference.cs
+
+
+
+ MSDiscoCodeGenerator
+ Reference.cs
+
+
+
+ MSDiscoCodeGenerator
+ Reference.cs
+
MSDiscoCodeGenerator
Reference.cs
+
+
+ MSDiscoCodeGenerator
+ Reference.cs
+
@@ -163,6 +214,17 @@
+
+ Dynamic
+ Web References\BJ\
+ http://10.60.101.3:8009/ExchangeCenterService.asmx
+
+
+
+
+ Settings
+ CK_SCP_Controller_BJ_ExchangeCenterService
+
Dynamic
Web References\WebReference\
@@ -174,9 +236,68 @@
Settings
CK_SCP_Controller_WebReference_ExchangeCenterService
+
+ Dynamic
+ Web References\ZZ\
+ http://10.60.101.3:8011/ExchangeCenterService.asmx
+
+
+
+
+ Settings
+ CK_SCP_Controller_ZZ_ExchangeCenterService
+
+
+ Dynamic
+ Web References\HF\
+ http://10.60.101.3:8012/ExchangeCenterService.asmx
+
+
+
+
+ Settings
+ CK_SCP_Controller_HF_ExchangeCenterService
+
+
+ Dynamic
+ Web References\CQ\
+ http://10.60.101.85:8010/ExchangeCenterService.asmx
+
+
+
+
+ Settings
+ CK_SCP_Controller_CQExchangeCenterService_ExchangeCenterService
+
+
+ Dynamic
+ Web References\CD\
+ http://10.60.101.85:8070/ExchangeCenterService.asmx
+
+
+
+
+ Settings
+ CK_SCP_Controller_CD_ExchangeCenterService
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/北京北汽/Controller/ExchangeCenterFactoryController.cs b/北京北汽/Controller/ExchangeCenterFactoryController.cs
new file mode 100644
index 0000000..c20a72b
--- /dev/null
+++ b/北京北汽/Controller/ExchangeCenterFactoryController.cs
@@ -0,0 +1,184 @@
+using CK.SCP.Controller.WebReference;
+using CK.SCP.Models.UniApiEntity;
+using Newtonsoft.Json;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace CK.SCP.Controller
+{
+ public class ExchangeCenterFactoryController
+ {
+ public IExchangeCenterService CreateExchangeCenterService(string doMain)
+ {
+ switch (doMain.ToUpper())
+ {
+ case "BJBMPT": //北京
+ return new BJExchangeCenterService();
+ case "CQBMPT": //重庆
+ return new CQExchangeCenterService();
+ case "HFBMPT": //合肥
+ return new HFExchangeCenterService();
+ case "CDBMPT": //成都
+ return new CDExchangeCenterService();
+ case "ZZBMPT": //株洲
+ return new ZZExchangeCenterService();
+ default:
+ throw new ArgumentException("Invalid Domain is empty!");
+ }
+ }
+
+ }
+
+ public interface IExchangeCenterService
+ {
+ string GetSessionId();
+ string UpdateTaskState(string sessionId, string taskID, int taskState, int failedCount, string failedInfo);
+ }
+
+ ///
+ /// 北京
+ /// http://10.60.101.3:8009/ExchangeCenterService.asmx
+ ///
+ public class BJExchangeCenterService : IExchangeCenterService
+ {
+ private BJ.ExchangeCenterService service;
+
+ public BJExchangeCenterService()
+ {
+ service = new BJ.ExchangeCenterService();
+ }
+
+ public string GetSessionId()
+ {
+ var jsonResult = service.GetSessionId("SCP", "5C2DE907DB859810", "");
+ var serviceResultEntityList = JsonConvert.DeserializeObject>(jsonResult);
+ string sessionId = serviceResultEntityList.First().Data;
+ return sessionId;
+ }
+
+ public string UpdateTaskState(string sessionId, string taskID, int taskState, int failedCount, string failedInfo)
+ {
+ string result = service.UpdateTaskState(sessionId, taskID, taskState, failedCount, failedInfo);
+ return result;
+ }
+ }
+
+ ///
+ /// 重庆
+ /// http://10.60.101.85:8010/ExchangeCenterService.asmx
+ ///
+ public class CQExchangeCenterService : IExchangeCenterService
+ {
+ private CQ.ExchangeCenterService service;
+
+ public CQExchangeCenterService()
+ {
+ service = new CQ.ExchangeCenterService();
+ }
+
+ public string GetSessionId()
+ {
+ var jsonResult = service.GetSessionId("SCP", "5C2DE907DB859810", "");
+ var serviceResultEntityList = JsonConvert.DeserializeObject>(jsonResult);
+ string sessionId = serviceResultEntityList.First().Data;
+ return sessionId;
+ }
+
+ public string UpdateTaskState(string sessionId, string taskID, int taskState, int failedCount, string failedInfo)
+ {
+ string result = service.UpdateTaskState(sessionId, taskID, taskState, failedCount, failedInfo);
+ return result;
+ }
+ }
+
+ ///
+ /// 合肥
+ /// http://10.60.101.3:8012/ExchangeCenterService.asmx
+ ///
+ public class HFExchangeCenterService : IExchangeCenterService
+ {
+ private HF.ExchangeCenterService service;
+
+ public HFExchangeCenterService()
+ {
+ service = new HF.ExchangeCenterService();
+ }
+
+ public string GetSessionId()
+ {
+ var jsonResult = service.GetSessionId("SCP", "5C2DE907DB859810", "");
+ var serviceResultEntityList = JsonConvert.DeserializeObject>(jsonResult);
+ string sessionId = serviceResultEntityList.First().Data;
+ return sessionId;
+ }
+
+ public string UpdateTaskState(string sessionId, string taskID, int taskState, int failedCount, string failedInfo)
+ {
+ string result = service.UpdateTaskState(sessionId, taskID, taskState, failedCount, failedInfo);
+ return result;
+ }
+
+ }
+
+ ///
+ /// 成都
+ /// http://10.60.101.85:8070/ExchangeCenterService.asmx
+ ///
+ public class CDExchangeCenterService : IExchangeCenterService
+ {
+ private CD.ExchangeCenterService service;
+
+ public CDExchangeCenterService()
+ {
+ service = new CD.ExchangeCenterService();
+ }
+
+ public string GetSessionId()
+ {
+ var jsonResult = service.GetSessionId("SCP", "5C2DE907DB859810", "");
+ var serviceResultEntityList = JsonConvert.DeserializeObject>(jsonResult);
+ string sessionId = serviceResultEntityList.First().Data;
+ return sessionId;
+ }
+
+ public string UpdateTaskState(string sessionId, string taskID, int taskState, int failedCount, string failedInfo)
+ {
+ string result = service.UpdateTaskState(sessionId, taskID, taskState, failedCount, failedInfo);
+ return result;
+ }
+
+ }
+
+ ///
+ /// 株洲
+ /// http://10.60.101.3:8011/ExchangeCenterService.asmx
+ ///
+ public class ZZExchangeCenterService : IExchangeCenterService
+ {
+ private ZZ.ExchangeCenterService service;
+
+ public ZZExchangeCenterService()
+ {
+ service = new ZZ.ExchangeCenterService();
+ }
+
+ public string GetSessionId()
+ {
+ var jsonResult = service.GetSessionId("SCP", "5C2DE907DB859810", "");
+ var serviceResultEntityList = JsonConvert.DeserializeObject>(jsonResult);
+ string sessionId = serviceResultEntityList.First().Data;
+ return sessionId;
+ }
+
+ public string UpdateTaskState(string sessionId, string taskID, int taskState, int failedCount, string failedInfo)
+ {
+ string result = service.UpdateTaskState(sessionId, taskID, taskState, failedCount, failedInfo);
+ return result;
+ }
+
+ }
+
+}
diff --git a/北京北汽/Controller/Properties/Settings.Designer.cs b/北京北汽/Controller/Properties/Settings.Designer.cs
index ffbd1a4..f638295 100644
--- a/北京北汽/Controller/Properties/Settings.Designer.cs
+++ b/北京北汽/Controller/Properties/Settings.Designer.cs
@@ -32,5 +32,55 @@ namespace CK.SCP.Controller.Properties {
return ((string)(this["CK_SCP_Controller_WebReference_ExchangeCenterService"]));
}
}
+
+ [global::System.Configuration.ApplicationScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)]
+ [global::System.Configuration.DefaultSettingValueAttribute("http://10.60.101.85:8010/ExchangeCenterService.asmx")]
+ public string CK_SCP_Controller_CQExchangeCenterService_ExchangeCenterService {
+ get {
+ return ((string)(this["CK_SCP_Controller_CQExchangeCenterService_ExchangeCenterService"]));
+ }
+ }
+
+ [global::System.Configuration.ApplicationScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)]
+ [global::System.Configuration.DefaultSettingValueAttribute("http://10.60.101.3:8009/ExchangeCenterService.asmx")]
+ public string CK_SCP_Controller_BJ_ExchangeCenterService {
+ get {
+ return ((string)(this["CK_SCP_Controller_BJ_ExchangeCenterService"]));
+ }
+ }
+
+ [global::System.Configuration.ApplicationScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)]
+ [global::System.Configuration.DefaultSettingValueAttribute("http://10.60.101.85:8070/ExchangeCenterService.asmx")]
+ public string CK_SCP_Controller_CD_ExchangeCenterService {
+ get {
+ return ((string)(this["CK_SCP_Controller_CD_ExchangeCenterService"]));
+ }
+ }
+
+ [global::System.Configuration.ApplicationScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)]
+ [global::System.Configuration.DefaultSettingValueAttribute("http://10.60.101.3:8012/ExchangeCenterService.asmx")]
+ public string CK_SCP_Controller_HF_ExchangeCenterService {
+ get {
+ return ((string)(this["CK_SCP_Controller_HF_ExchangeCenterService"]));
+ }
+ }
+
+ [global::System.Configuration.ApplicationScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)]
+ [global::System.Configuration.DefaultSettingValueAttribute("http://10.60.101.3:8011/ExchangeCenterService.asmx")]
+ public string CK_SCP_Controller_ZZ_ExchangeCenterService {
+ get {
+ return ((string)(this["CK_SCP_Controller_ZZ_ExchangeCenterService"]));
+ }
+ }
}
}
diff --git a/北京北汽/Controller/Properties/Settings.settings b/北京北汽/Controller/Properties/Settings.settings
index a3a90cf..6528f3b 100644
--- a/北京北汽/Controller/Properties/Settings.settings
+++ b/北京北汽/Controller/Properties/Settings.settings
@@ -5,5 +5,20 @@
http://10.60.101.3:8009/ExchangeCenterService.asmx
+
+ http://10.60.101.85:8010/ExchangeCenterService.asmx
+
+
+ http://10.60.101.3:8009/ExchangeCenterService.asmx
+
+
+ http://10.60.101.85:8070/ExchangeCenterService.asmx
+
+
+ http://10.60.101.3:8012/ExchangeCenterService.asmx
+
+
+ http://10.60.101.3:8011/ExchangeCenterService.asmx
+
\ No newline at end of file
diff --git a/北京北汽/Controller/SCP_DC_UNI_CONTROLLER.cs b/北京北汽/Controller/SCP_DC_UNI_CONTROLLER.cs
index bb34b3e..0402dfe 100644
--- a/北京北汽/Controller/SCP_DC_UNI_CONTROLLER.cs
+++ b/北京北汽/Controller/SCP_DC_UNI_CONTROLLER.cs
@@ -436,16 +436,16 @@ namespace CK.SCP.Controller
// //UpdateSupplierExtend(_supplierlist);
// scope.Complete();
// break;
- // 吴哥更改时 把这个注释掉 把获取基础数据的更新零件注释取消
- case "TES_PART_MSTR":
- result = UpdatePart(db, scpdb, _task);
- result.Message = _task.TaskID.ToString();
- Update_TEA_TASK_SUB(db, _task);
- EntitiesFactory.SaveDb(scpdb);
- EntitiesFactory.SaveDb(db);
- EntitiesFactory.SaveDb(dc);
- scope.Complete();
- break;
+ // 把这个注释掉 把获取基础数据的更新零件注释取消
+ //case "TES_PART_MSTR":
+ // result = UpdatePart(db, scpdb, _task);
+ // result.Message = _task.TaskID.ToString();
+ // Update_TEA_TASK_SUB(db, _task);
+ // EntitiesFactory.SaveDb(scpdb);
+ // EntitiesFactory.SaveDb(db);
+ // EntitiesFactory.SaveDb(dc);
+ // scope.Complete();
+ // break;
#endregion
case "TED_PPOD_DET":
result = UpdatePPod(db, scpdb, _task);
@@ -527,29 +527,41 @@ namespace CK.SCP.Controller
// 添加不同的地点服务引用
// 重庆服务
//CQExchangeCenterService service = new CQExchangeCenterService();
-
// 北京服务
- ExchangeCenterService service = new ExchangeCenterService();
+ //ExchangeCenterService service = new ExchangeCenterService();
+
#region 获取服务的SessionId 可放到方法内
- var jsonResult = service.GetSessionId("SCP", "5C2DE907DB859810", "");
- var serviceResultEntityList = JsonConvert.DeserializeObject< List>(jsonResult);
- string SessionId = "";
- SessionId = serviceResultEntityList.First().Data;
+ //var jsonResult = service.GetSessionId("SCP", "5C2DE907DB859810", "");
+ //var serviceResultEntityList = JsonConvert.DeserializeObject>(jsonResult);
+ //string SessionId = "";
+ //SessionId = serviceResultEntityList.First().Data;
#endregion
+
var _result = Get_TEA_TASK_SUB_List(new TEA_TASK_SUB() { TaskState = EnumTaskState.Unread, Subscriber = "SCP" });
if (_result.Count() > 0)
{
-
+ #region "根据Domain不同,获取不同域的SessionId"
+ var doMain = _result.FirstOrDefault().Domain;
+ if (string.IsNullOrWhiteSpace(doMain))
+ throw new Exception("The field Domain in TEA_TASK_SUB table is empty!");
+
+ ExchangeCenterFactoryController ecFactoryController = new ExchangeCenterFactoryController();
+ var ecService = ecFactoryController.CreateExchangeCenterService(doMain);
+ string SessionId = ecService.GetSessionId();
+ if (string.IsNullOrWhiteSpace(SessionId))
+ throw new Exception("The SessionId in ExchangeCenterService is empty!");
+ if (!Guid.TryParse(SessionId, out Guid sessionGuid))
+ throw new Exception("The SessionId is not a valid Guid format!\n" + SessionId);
+ #endregion
+
foreach (var _task in _result)
- //foreach (var _task in _result.Result)
{
ScpEntities scpdb = EntitiesFactory.CreateScpInstance();
DataCenterContext dc = EntitiesFactory.CreateDataCenterInstance();
AppBoxContext authdb = EntitiesFactory.CreateAppBoxInstance();
ExchangeCenterContext db = EntitiesFactory.CreateExchangeCenterInstance();
-
- using (var scope =
- new TransactionScope(TransactionScopeOption.Suppress, new TransactionOptions()
+
+ using (var scope = new TransactionScope(TransactionScopeOption.Suppress, new TransactionOptions()
{
IsolationLevel = System.Transactions.IsolationLevel.RepeatableRead,
Timeout = new TimeSpan(0, 20, 0)
@@ -564,24 +576,19 @@ namespace CK.SCP.Controller
result = UpdateSupplier(_supplierlist, scpdb, authdb, _task);
result.Message = _task.TaskID.ToString();
//根据域去判断调用哪个服务更新状态
- // 更新北汽task状态
- service.UpdateTaskState(SessionId, _task.TaskID.ToString(), 2,0,"");
- // 更新重庆task状态
- //CQExchangeCenterService.UpdateTaskState(SessionId, _task.TaskID.ToString(), 2, 0, "");
- //Update_TEA_TASK_SUB(db, _task);
+ ecService.UpdateTaskState(SessionId, _task.TaskID.ToString(), 2, 0,"");
scpdb.BulkSaveChanges();
scope.Complete();
break;
- // 更新零件注释去掉
- //case "TES_PART_MSTR":
- // result = UpdatePart(db, scpdb, _task);
- // result.Message = _task.TaskID.ToString();
- // service.UpdateTaskState(SessionId, _task.TaskID.ToString(), 2, 0, "");
- // //Update_TEA_TASK_SUB(db, _task);
- // EntitiesFactory.SaveDb(scpdb);
- // scope.Complete();
- // break;
-
+ // 更新零件注释去掉
+ case "TES_PART_MSTR":
+ result = UpdatePart(db, scpdb, _task);
+ result.Message = _task.TaskID.ToString();
+ //根据域去判断调用哪个服务更新状态
+ ecService.UpdateTaskState(SessionId, _task.TaskID.ToString(), 2, 0, "");
+ EntitiesFactory.SaveDb(scpdb);
+ scope.Complete();
+ break;
}
result.State = ReturnStatus.Succeed;
result.Result = true;
@@ -602,7 +609,6 @@ namespace CK.SCP.Controller
}
catch (OptimisticConcurrencyException ex)//并发冲突异常
{
-
scope.Dispose();
result.State = ReturnStatus.Failed;
result.ErrorList.Add(ex);
diff --git a/北京北汽/Controller/Web References/BJ/ExchangeCenterService.disco b/北京北汽/Controller/Web References/BJ/ExchangeCenterService.disco
new file mode 100644
index 0000000..506b1f2
--- /dev/null
+++ b/北京北汽/Controller/Web References/BJ/ExchangeCenterService.disco
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/北京北汽/Controller/Web References/BJ/ExchangeCenterService.wsdl b/北京北汽/Controller/Web References/BJ/ExchangeCenterService.wsdl
new file mode 100644
index 0000000..0a36afa
--- /dev/null
+++ b/北京北汽/Controller/Web References/BJ/ExchangeCenterService.wsdl
@@ -0,0 +1,980 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/北京北汽/Controller/Web References/BJ/Reference.cs b/北京北汽/Controller/Web References/BJ/Reference.cs
new file mode 100644
index 0000000..05ea6a4
--- /dev/null
+++ b/北京北汽/Controller/Web References/BJ/Reference.cs
@@ -0,0 +1,796 @@
+//------------------------------------------------------------------------------
+//
+// 此代码由工具生成。
+// 运行时版本:4.0.30319.42000
+//
+// 对此文件的更改可能会导致不正确的行为,并且如果
+// 重新生成代码,这些更改将会丢失。
+//
+//------------------------------------------------------------------------------
+
+//
+// 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。
+//
+#pragma warning disable 1591
+
+namespace CK.SCP.Controller.BJ {
+ using System;
+ using System.Web.Services;
+ using System.Diagnostics;
+ using System.Web.Services.Protocols;
+ using System.Xml.Serialization;
+ using System.ComponentModel;
+
+
+ ///
+ [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;
+
+ ///
+ public ExchangeCenterService() {
+ this.Url = global::CK.SCP.Controller.Properties.Settings.Default.CK_SCP_Controller_BJ_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;
+ }
+ }
+
+ ///
+ public event GetVerCompletedEventHandler GetVerCompleted;
+
+ ///
+ public event GetServerTimeCompletedEventHandler GetServerTimeCompleted;
+
+ ///
+ public event GetSessionIdCompletedEventHandler GetSessionIdCompleted;
+
+ ///
+ public event AddTaskCompletedEventHandler AddTaskCompleted;
+
+ ///
+ public event AddMasterSlaveTaskCompletedEventHandler AddMasterSlaveTaskCompleted;
+
+ ///
+ public event GetNewTasksByTableListCompletedEventHandler GetNewTasksByTableListCompleted;
+
+ ///
+ public event GetNewTasksCompletedEventHandler GetNewTasksCompleted;
+
+ ///
+ public event GetTaskDataCompletedEventHandler GetTaskDataCompleted;
+
+ ///
+ public event GetMasterSlaveTaskDataCompletedEventHandler GetMasterSlaveTaskDataCompleted;
+
+ ///
+ public event UpdateTaskStateCompletedEventHandler UpdateTaskStateCompleted;
+
+ ///
+ public event GetManageDatasByPageCompletedEventHandler GetManageDatasByPageCompleted;
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetVerAsync() {
+ this.GetVerAsync(null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetServerTimeAsync() {
+ this.GetServerTimeAsync(null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetSessionIdAsync(string systemName, string encryptedPassword, string clientIp) {
+ this.GetSessionIdAsync(systemName, encryptedPassword, clientIp, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void AddTaskAsync(string sessionId, string jsonTask, string jsonData, bool zipped) {
+ this.AddTaskAsync(sessionId, jsonTask, jsonData, zipped, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void AddMasterSlaveTaskAsync(string sessionId, string jsonTask, string jsonMaster, string jsonSlave, bool zipped) {
+ this.AddMasterSlaveTaskAsync(sessionId, jsonTask, jsonMaster, jsonSlave, zipped, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetNewTasksByTableListAsync(string sessionId, string clientIp, string tableList) {
+ this.GetNewTasksByTableListAsync(sessionId, clientIp, tableList, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetNewTasksAsync(string sessionId, string clientIp) {
+ this.GetNewTasksAsync(sessionId, clientIp, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetTaskDataAsync(string sessionId, string taskID, bool zipped) {
+ this.GetTaskDataAsync(sessionId, taskID, zipped, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetMasterSlaveTaskDataAsync(string sessionId, string taskID, bool zipped) {
+ this.GetMasterSlaveTaskDataAsync(sessionId, taskID, zipped, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void UpdateTaskStateAsync(string sessionId, string taskID, int taskState, int failedCount, string failedInfo) {
+ this.UpdateTaskStateAsync(sessionId, taskID, taskState, failedCount, failedInfo, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetManageDatasByPageAsync(string sessionId, string filterJson, string tableName, int pageIndex, int pageSize, bool zipped) {
+ this.GetManageDatasByPageAsync(sessionId, filterJson, tableName, pageIndex, pageSize, zipped, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ 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;
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetVerCompletedEventHandler(object sender, GetVerCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetServerTimeCompletedEventHandler(object sender, GetServerTimeCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public System.DateTime Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((System.DateTime)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetSessionIdCompletedEventHandler(object sender, GetSessionIdCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void AddTaskCompletedEventHandler(object sender, AddTaskCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void AddMasterSlaveTaskCompletedEventHandler(object sender, AddMasterSlaveTaskCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetNewTasksByTableListCompletedEventHandler(object sender, GetNewTasksByTableListCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetNewTasksCompletedEventHandler(object sender, GetNewTasksCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetTaskDataCompletedEventHandler(object sender, GetTaskDataCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetMasterSlaveTaskDataCompletedEventHandler(object sender, GetMasterSlaveTaskDataCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void UpdateTaskStateCompletedEventHandler(object sender, UpdateTaskStateCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetManageDatasByPageCompletedEventHandler(object sender, GetManageDatasByPageCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+}
+
+#pragma warning restore 1591
\ No newline at end of file
diff --git a/北京北汽/Controller/Web References/BJ/Reference.map b/北京北汽/Controller/Web References/BJ/Reference.map
new file mode 100644
index 0000000..b66e9be
--- /dev/null
+++ b/北京北汽/Controller/Web References/BJ/Reference.map
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/北京北汽/Controller/Web References/CD/ExchangeCenterService.disco b/北京北汽/Controller/Web References/CD/ExchangeCenterService.disco
new file mode 100644
index 0000000..9c98c9f
--- /dev/null
+++ b/北京北汽/Controller/Web References/CD/ExchangeCenterService.disco
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/北京北汽/Controller/Web References/CD/ExchangeCenterService.wsdl b/北京北汽/Controller/Web References/CD/ExchangeCenterService.wsdl
new file mode 100644
index 0000000..fcb4c4a
--- /dev/null
+++ b/北京北汽/Controller/Web References/CD/ExchangeCenterService.wsdl
@@ -0,0 +1,980 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/北京北汽/Controller/Web References/CD/Reference.cs b/北京北汽/Controller/Web References/CD/Reference.cs
new file mode 100644
index 0000000..df24baf
--- /dev/null
+++ b/北京北汽/Controller/Web References/CD/Reference.cs
@@ -0,0 +1,796 @@
+//------------------------------------------------------------------------------
+//
+// 此代码由工具生成。
+// 运行时版本:4.0.30319.42000
+//
+// 对此文件的更改可能会导致不正确的行为,并且如果
+// 重新生成代码,这些更改将会丢失。
+//
+//------------------------------------------------------------------------------
+
+//
+// 此源代码是由 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;
+
+
+ ///
+ [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;
+
+ ///
+ 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;
+ }
+ }
+
+ ///
+ public event GetVerCompletedEventHandler GetVerCompleted;
+
+ ///
+ public event GetServerTimeCompletedEventHandler GetServerTimeCompleted;
+
+ ///
+ public event GetSessionIdCompletedEventHandler GetSessionIdCompleted;
+
+ ///
+ public event AddTaskCompletedEventHandler AddTaskCompleted;
+
+ ///
+ public event AddMasterSlaveTaskCompletedEventHandler AddMasterSlaveTaskCompleted;
+
+ ///
+ public event GetNewTasksByTableListCompletedEventHandler GetNewTasksByTableListCompleted;
+
+ ///
+ public event GetNewTasksCompletedEventHandler GetNewTasksCompleted;
+
+ ///
+ public event GetTaskDataCompletedEventHandler GetTaskDataCompleted;
+
+ ///
+ public event GetMasterSlaveTaskDataCompletedEventHandler GetMasterSlaveTaskDataCompleted;
+
+ ///
+ public event UpdateTaskStateCompletedEventHandler UpdateTaskStateCompleted;
+
+ ///
+ public event GetManageDatasByPageCompletedEventHandler GetManageDatasByPageCompleted;
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetVerAsync() {
+ this.GetVerAsync(null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetServerTimeAsync() {
+ this.GetServerTimeAsync(null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetSessionIdAsync(string systemName, string encryptedPassword, string clientIp) {
+ this.GetSessionIdAsync(systemName, encryptedPassword, clientIp, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void AddTaskAsync(string sessionId, string jsonTask, string jsonData, bool zipped) {
+ this.AddTaskAsync(sessionId, jsonTask, jsonData, zipped, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void AddMasterSlaveTaskAsync(string sessionId, string jsonTask, string jsonMaster, string jsonSlave, bool zipped) {
+ this.AddMasterSlaveTaskAsync(sessionId, jsonTask, jsonMaster, jsonSlave, zipped, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetNewTasksByTableListAsync(string sessionId, string clientIp, string tableList) {
+ this.GetNewTasksByTableListAsync(sessionId, clientIp, tableList, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetNewTasksAsync(string sessionId, string clientIp) {
+ this.GetNewTasksAsync(sessionId, clientIp, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetTaskDataAsync(string sessionId, string taskID, bool zipped) {
+ this.GetTaskDataAsync(sessionId, taskID, zipped, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetMasterSlaveTaskDataAsync(string sessionId, string taskID, bool zipped) {
+ this.GetMasterSlaveTaskDataAsync(sessionId, taskID, zipped, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void UpdateTaskStateAsync(string sessionId, string taskID, int taskState, int failedCount, string failedInfo) {
+ this.UpdateTaskStateAsync(sessionId, taskID, taskState, failedCount, failedInfo, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetManageDatasByPageAsync(string sessionId, string filterJson, string tableName, int pageIndex, int pageSize, bool zipped) {
+ this.GetManageDatasByPageAsync(sessionId, filterJson, tableName, pageIndex, pageSize, zipped, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ 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;
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetVerCompletedEventHandler(object sender, GetVerCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetServerTimeCompletedEventHandler(object sender, GetServerTimeCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public System.DateTime Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((System.DateTime)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetSessionIdCompletedEventHandler(object sender, GetSessionIdCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void AddTaskCompletedEventHandler(object sender, AddTaskCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void AddMasterSlaveTaskCompletedEventHandler(object sender, AddMasterSlaveTaskCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetNewTasksByTableListCompletedEventHandler(object sender, GetNewTasksByTableListCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetNewTasksCompletedEventHandler(object sender, GetNewTasksCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetTaskDataCompletedEventHandler(object sender, GetTaskDataCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetMasterSlaveTaskDataCompletedEventHandler(object sender, GetMasterSlaveTaskDataCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void UpdateTaskStateCompletedEventHandler(object sender, UpdateTaskStateCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetManageDatasByPageCompletedEventHandler(object sender, GetManageDatasByPageCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+}
+
+#pragma warning restore 1591
\ No newline at end of file
diff --git a/北京北汽/Controller/Web References/CD/Reference.map b/北京北汽/Controller/Web References/CD/Reference.map
new file mode 100644
index 0000000..224f171
--- /dev/null
+++ b/北京北汽/Controller/Web References/CD/Reference.map
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/北京北汽/Controller/Web References/CQ/ExchangeCenterService.disco b/北京北汽/Controller/Web References/CQ/ExchangeCenterService.disco
new file mode 100644
index 0000000..63906b5
--- /dev/null
+++ b/北京北汽/Controller/Web References/CQ/ExchangeCenterService.disco
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/北京北汽/Controller/Web References/CQ/ExchangeCenterService.wsdl b/北京北汽/Controller/Web References/CQ/ExchangeCenterService.wsdl
new file mode 100644
index 0000000..dda305b
--- /dev/null
+++ b/北京北汽/Controller/Web References/CQ/ExchangeCenterService.wsdl
@@ -0,0 +1,980 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/北京北汽/Controller/Web References/CQ/Reference.cs b/北京北汽/Controller/Web References/CQ/Reference.cs
new file mode 100644
index 0000000..84b063b
--- /dev/null
+++ b/北京北汽/Controller/Web References/CQ/Reference.cs
@@ -0,0 +1,796 @@
+//------------------------------------------------------------------------------
+//
+// 此代码由工具生成。
+// 运行时版本:4.0.30319.42000
+//
+// 对此文件的更改可能会导致不正确的行为,并且如果
+// 重新生成代码,这些更改将会丢失。
+//
+//------------------------------------------------------------------------------
+
+//
+// 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。
+//
+#pragma warning disable 1591
+
+namespace CK.SCP.Controller.CQ {
+ using System;
+ using System.Web.Services;
+ using System.Diagnostics;
+ using System.Web.Services.Protocols;
+ using System.Xml.Serialization;
+ using System.ComponentModel;
+
+
+ ///
+ [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;
+
+ ///
+ public ExchangeCenterService() {
+ this.Url = global::CK.SCP.Controller.Properties.Settings.Default.CK_SCP_Controller_CQExchangeCenterService_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;
+ }
+ }
+
+ ///
+ public event GetVerCompletedEventHandler GetVerCompleted;
+
+ ///
+ public event GetServerTimeCompletedEventHandler GetServerTimeCompleted;
+
+ ///
+ public event GetSessionIdCompletedEventHandler GetSessionIdCompleted;
+
+ ///
+ public event AddTaskCompletedEventHandler AddTaskCompleted;
+
+ ///
+ public event AddMasterSlaveTaskCompletedEventHandler AddMasterSlaveTaskCompleted;
+
+ ///
+ public event GetNewTasksByTableListCompletedEventHandler GetNewTasksByTableListCompleted;
+
+ ///
+ public event GetNewTasksCompletedEventHandler GetNewTasksCompleted;
+
+ ///
+ public event GetTaskDataCompletedEventHandler GetTaskDataCompleted;
+
+ ///
+ public event GetMasterSlaveTaskDataCompletedEventHandler GetMasterSlaveTaskDataCompleted;
+
+ ///
+ public event UpdateTaskStateCompletedEventHandler UpdateTaskStateCompleted;
+
+ ///
+ public event GetManageDatasByPageCompletedEventHandler GetManageDatasByPageCompleted;
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetVerAsync() {
+ this.GetVerAsync(null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetServerTimeAsync() {
+ this.GetServerTimeAsync(null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetSessionIdAsync(string systemName, string encryptedPassword, string clientIp) {
+ this.GetSessionIdAsync(systemName, encryptedPassword, clientIp, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void AddTaskAsync(string sessionId, string jsonTask, string jsonData, bool zipped) {
+ this.AddTaskAsync(sessionId, jsonTask, jsonData, zipped, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void AddMasterSlaveTaskAsync(string sessionId, string jsonTask, string jsonMaster, string jsonSlave, bool zipped) {
+ this.AddMasterSlaveTaskAsync(sessionId, jsonTask, jsonMaster, jsonSlave, zipped, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetNewTasksByTableListAsync(string sessionId, string clientIp, string tableList) {
+ this.GetNewTasksByTableListAsync(sessionId, clientIp, tableList, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetNewTasksAsync(string sessionId, string clientIp) {
+ this.GetNewTasksAsync(sessionId, clientIp, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetTaskDataAsync(string sessionId, string taskID, bool zipped) {
+ this.GetTaskDataAsync(sessionId, taskID, zipped, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetMasterSlaveTaskDataAsync(string sessionId, string taskID, bool zipped) {
+ this.GetMasterSlaveTaskDataAsync(sessionId, taskID, zipped, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void UpdateTaskStateAsync(string sessionId, string taskID, int taskState, int failedCount, string failedInfo) {
+ this.UpdateTaskStateAsync(sessionId, taskID, taskState, failedCount, failedInfo, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetManageDatasByPageAsync(string sessionId, string filterJson, string tableName, int pageIndex, int pageSize, bool zipped) {
+ this.GetManageDatasByPageAsync(sessionId, filterJson, tableName, pageIndex, pageSize, zipped, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ 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;
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetVerCompletedEventHandler(object sender, GetVerCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetServerTimeCompletedEventHandler(object sender, GetServerTimeCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public System.DateTime Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((System.DateTime)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetSessionIdCompletedEventHandler(object sender, GetSessionIdCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void AddTaskCompletedEventHandler(object sender, AddTaskCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void AddMasterSlaveTaskCompletedEventHandler(object sender, AddMasterSlaveTaskCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetNewTasksByTableListCompletedEventHandler(object sender, GetNewTasksByTableListCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetNewTasksCompletedEventHandler(object sender, GetNewTasksCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetTaskDataCompletedEventHandler(object sender, GetTaskDataCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetMasterSlaveTaskDataCompletedEventHandler(object sender, GetMasterSlaveTaskDataCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void UpdateTaskStateCompletedEventHandler(object sender, UpdateTaskStateCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetManageDatasByPageCompletedEventHandler(object sender, GetManageDatasByPageCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+}
+
+#pragma warning restore 1591
\ No newline at end of file
diff --git a/北京北汽/Controller/Web References/CQ/Reference.map b/北京北汽/Controller/Web References/CQ/Reference.map
new file mode 100644
index 0000000..b6c6766
--- /dev/null
+++ b/北京北汽/Controller/Web References/CQ/Reference.map
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/北京北汽/Controller/Web References/HF/ExchangeCenterService.disco b/北京北汽/Controller/Web References/HF/ExchangeCenterService.disco
new file mode 100644
index 0000000..19096f4
--- /dev/null
+++ b/北京北汽/Controller/Web References/HF/ExchangeCenterService.disco
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/北京北汽/Controller/Web References/HF/ExchangeCenterService.wsdl b/北京北汽/Controller/Web References/HF/ExchangeCenterService.wsdl
new file mode 100644
index 0000000..86b5dd2
--- /dev/null
+++ b/北京北汽/Controller/Web References/HF/ExchangeCenterService.wsdl
@@ -0,0 +1,980 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/北京北汽/Controller/Web References/HF/Reference.cs b/北京北汽/Controller/Web References/HF/Reference.cs
new file mode 100644
index 0000000..073b403
--- /dev/null
+++ b/北京北汽/Controller/Web References/HF/Reference.cs
@@ -0,0 +1,796 @@
+//------------------------------------------------------------------------------
+//
+// 此代码由工具生成。
+// 运行时版本:4.0.30319.42000
+//
+// 对此文件的更改可能会导致不正确的行为,并且如果
+// 重新生成代码,这些更改将会丢失。
+//
+//------------------------------------------------------------------------------
+
+//
+// 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。
+//
+#pragma warning disable 1591
+
+namespace CK.SCP.Controller.HF {
+ using System;
+ using System.Web.Services;
+ using System.Diagnostics;
+ using System.Web.Services.Protocols;
+ using System.Xml.Serialization;
+ using System.ComponentModel;
+
+
+ ///
+ [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;
+
+ ///
+ public ExchangeCenterService() {
+ this.Url = global::CK.SCP.Controller.Properties.Settings.Default.CK_SCP_Controller_HF_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;
+ }
+ }
+
+ ///
+ public event GetVerCompletedEventHandler GetVerCompleted;
+
+ ///
+ public event GetServerTimeCompletedEventHandler GetServerTimeCompleted;
+
+ ///
+ public event GetSessionIdCompletedEventHandler GetSessionIdCompleted;
+
+ ///
+ public event AddTaskCompletedEventHandler AddTaskCompleted;
+
+ ///
+ public event AddMasterSlaveTaskCompletedEventHandler AddMasterSlaveTaskCompleted;
+
+ ///
+ public event GetNewTasksByTableListCompletedEventHandler GetNewTasksByTableListCompleted;
+
+ ///
+ public event GetNewTasksCompletedEventHandler GetNewTasksCompleted;
+
+ ///
+ public event GetTaskDataCompletedEventHandler GetTaskDataCompleted;
+
+ ///
+ public event GetMasterSlaveTaskDataCompletedEventHandler GetMasterSlaveTaskDataCompleted;
+
+ ///
+ public event UpdateTaskStateCompletedEventHandler UpdateTaskStateCompleted;
+
+ ///
+ public event GetManageDatasByPageCompletedEventHandler GetManageDatasByPageCompleted;
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetVerAsync() {
+ this.GetVerAsync(null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetServerTimeAsync() {
+ this.GetServerTimeAsync(null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetSessionIdAsync(string systemName, string encryptedPassword, string clientIp) {
+ this.GetSessionIdAsync(systemName, encryptedPassword, clientIp, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void AddTaskAsync(string sessionId, string jsonTask, string jsonData, bool zipped) {
+ this.AddTaskAsync(sessionId, jsonTask, jsonData, zipped, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void AddMasterSlaveTaskAsync(string sessionId, string jsonTask, string jsonMaster, string jsonSlave, bool zipped) {
+ this.AddMasterSlaveTaskAsync(sessionId, jsonTask, jsonMaster, jsonSlave, zipped, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetNewTasksByTableListAsync(string sessionId, string clientIp, string tableList) {
+ this.GetNewTasksByTableListAsync(sessionId, clientIp, tableList, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetNewTasksAsync(string sessionId, string clientIp) {
+ this.GetNewTasksAsync(sessionId, clientIp, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetTaskDataAsync(string sessionId, string taskID, bool zipped) {
+ this.GetTaskDataAsync(sessionId, taskID, zipped, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetMasterSlaveTaskDataAsync(string sessionId, string taskID, bool zipped) {
+ this.GetMasterSlaveTaskDataAsync(sessionId, taskID, zipped, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void UpdateTaskStateAsync(string sessionId, string taskID, int taskState, int failedCount, string failedInfo) {
+ this.UpdateTaskStateAsync(sessionId, taskID, taskState, failedCount, failedInfo, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetManageDatasByPageAsync(string sessionId, string filterJson, string tableName, int pageIndex, int pageSize, bool zipped) {
+ this.GetManageDatasByPageAsync(sessionId, filterJson, tableName, pageIndex, pageSize, zipped, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ 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;
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetVerCompletedEventHandler(object sender, GetVerCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetServerTimeCompletedEventHandler(object sender, GetServerTimeCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public System.DateTime Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((System.DateTime)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetSessionIdCompletedEventHandler(object sender, GetSessionIdCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void AddTaskCompletedEventHandler(object sender, AddTaskCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void AddMasterSlaveTaskCompletedEventHandler(object sender, AddMasterSlaveTaskCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetNewTasksByTableListCompletedEventHandler(object sender, GetNewTasksByTableListCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetNewTasksCompletedEventHandler(object sender, GetNewTasksCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetTaskDataCompletedEventHandler(object sender, GetTaskDataCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetMasterSlaveTaskDataCompletedEventHandler(object sender, GetMasterSlaveTaskDataCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void UpdateTaskStateCompletedEventHandler(object sender, UpdateTaskStateCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetManageDatasByPageCompletedEventHandler(object sender, GetManageDatasByPageCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+}
+
+#pragma warning restore 1591
\ No newline at end of file
diff --git a/北京北汽/Controller/Web References/HF/Reference.map b/北京北汽/Controller/Web References/HF/Reference.map
new file mode 100644
index 0000000..e4a02cd
--- /dev/null
+++ b/北京北汽/Controller/Web References/HF/Reference.map
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/北京北汽/Controller/Web References/ZZ/ExchangeCenterService.disco b/北京北汽/Controller/Web References/ZZ/ExchangeCenterService.disco
new file mode 100644
index 0000000..8f48946
--- /dev/null
+++ b/北京北汽/Controller/Web References/ZZ/ExchangeCenterService.disco
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/北京北汽/Controller/Web References/ZZ/ExchangeCenterService.wsdl b/北京北汽/Controller/Web References/ZZ/ExchangeCenterService.wsdl
new file mode 100644
index 0000000..7a9e3ab
--- /dev/null
+++ b/北京北汽/Controller/Web References/ZZ/ExchangeCenterService.wsdl
@@ -0,0 +1,980 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/北京北汽/Controller/Web References/ZZ/Reference.cs b/北京北汽/Controller/Web References/ZZ/Reference.cs
new file mode 100644
index 0000000..c13e08e
--- /dev/null
+++ b/北京北汽/Controller/Web References/ZZ/Reference.cs
@@ -0,0 +1,796 @@
+//------------------------------------------------------------------------------
+//
+// 此代码由工具生成。
+// 运行时版本:4.0.30319.42000
+//
+// 对此文件的更改可能会导致不正确的行为,并且如果
+// 重新生成代码,这些更改将会丢失。
+//
+//------------------------------------------------------------------------------
+
+//
+// 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。
+//
+#pragma warning disable 1591
+
+namespace CK.SCP.Controller.ZZ {
+ using System;
+ using System.Web.Services;
+ using System.Diagnostics;
+ using System.Web.Services.Protocols;
+ using System.Xml.Serialization;
+ using System.ComponentModel;
+
+
+ ///
+ [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;
+
+ ///
+ public ExchangeCenterService() {
+ this.Url = global::CK.SCP.Controller.Properties.Settings.Default.CK_SCP_Controller_ZZ_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;
+ }
+ }
+
+ ///
+ public event GetVerCompletedEventHandler GetVerCompleted;
+
+ ///
+ public event GetServerTimeCompletedEventHandler GetServerTimeCompleted;
+
+ ///
+ public event GetSessionIdCompletedEventHandler GetSessionIdCompleted;
+
+ ///
+ public event AddTaskCompletedEventHandler AddTaskCompleted;
+
+ ///
+ public event AddMasterSlaveTaskCompletedEventHandler AddMasterSlaveTaskCompleted;
+
+ ///
+ public event GetNewTasksByTableListCompletedEventHandler GetNewTasksByTableListCompleted;
+
+ ///
+ public event GetNewTasksCompletedEventHandler GetNewTasksCompleted;
+
+ ///
+ public event GetTaskDataCompletedEventHandler GetTaskDataCompleted;
+
+ ///
+ public event GetMasterSlaveTaskDataCompletedEventHandler GetMasterSlaveTaskDataCompleted;
+
+ ///
+ public event UpdateTaskStateCompletedEventHandler UpdateTaskStateCompleted;
+
+ ///
+ public event GetManageDatasByPageCompletedEventHandler GetManageDatasByPageCompleted;
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetVerAsync() {
+ this.GetVerAsync(null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetServerTimeAsync() {
+ this.GetServerTimeAsync(null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetSessionIdAsync(string systemName, string encryptedPassword, string clientIp) {
+ this.GetSessionIdAsync(systemName, encryptedPassword, clientIp, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void AddTaskAsync(string sessionId, string jsonTask, string jsonData, bool zipped) {
+ this.AddTaskAsync(sessionId, jsonTask, jsonData, zipped, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void AddMasterSlaveTaskAsync(string sessionId, string jsonTask, string jsonMaster, string jsonSlave, bool zipped) {
+ this.AddMasterSlaveTaskAsync(sessionId, jsonTask, jsonMaster, jsonSlave, zipped, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetNewTasksByTableListAsync(string sessionId, string clientIp, string tableList) {
+ this.GetNewTasksByTableListAsync(sessionId, clientIp, tableList, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetNewTasksAsync(string sessionId, string clientIp) {
+ this.GetNewTasksAsync(sessionId, clientIp, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetTaskDataAsync(string sessionId, string taskID, bool zipped) {
+ this.GetTaskDataAsync(sessionId, taskID, zipped, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetMasterSlaveTaskDataAsync(string sessionId, string taskID, bool zipped) {
+ this.GetMasterSlaveTaskDataAsync(sessionId, taskID, zipped, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void UpdateTaskStateAsync(string sessionId, string taskID, int taskState, int failedCount, string failedInfo) {
+ this.UpdateTaskStateAsync(sessionId, taskID, taskState, failedCount, failedInfo, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ [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]));
+ }
+
+ ///
+ public void GetManageDatasByPageAsync(string sessionId, string filterJson, string tableName, int pageIndex, int pageSize, bool zipped) {
+ this.GetManageDatasByPageAsync(sessionId, filterJson, tableName, pageIndex, pageSize, zipped, null);
+ }
+
+ ///
+ 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));
+ }
+ }
+
+ ///
+ 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;
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetVerCompletedEventHandler(object sender, GetVerCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetServerTimeCompletedEventHandler(object sender, GetServerTimeCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public System.DateTime Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((System.DateTime)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetSessionIdCompletedEventHandler(object sender, GetSessionIdCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void AddTaskCompletedEventHandler(object sender, AddTaskCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void AddMasterSlaveTaskCompletedEventHandler(object sender, AddMasterSlaveTaskCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetNewTasksByTableListCompletedEventHandler(object sender, GetNewTasksByTableListCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetNewTasksCompletedEventHandler(object sender, GetNewTasksCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetTaskDataCompletedEventHandler(object sender, GetTaskDataCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetMasterSlaveTaskDataCompletedEventHandler(object sender, GetMasterSlaveTaskDataCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void UpdateTaskStateCompletedEventHandler(object sender, UpdateTaskStateCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
+ public delegate void GetManageDatasByPageCompletedEventHandler(object sender, GetManageDatasByPageCompletedEventArgs e);
+
+ ///
+ [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;
+ }
+
+ ///
+ public string Result {
+ get {
+ this.RaiseExceptionIfNecessary();
+ return ((string)(this.results[0]));
+ }
+ }
+ }
+}
+
+#pragma warning restore 1591
\ No newline at end of file
diff --git a/北京北汽/Controller/Web References/ZZ/Reference.map b/北京北汽/Controller/Web References/ZZ/Reference.map
new file mode 100644
index 0000000..1213dd1
--- /dev/null
+++ b/北京北汽/Controller/Web References/ZZ/Reference.map
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/北京北汽/Controller/app.config b/北京北汽/Controller/app.config
index 600f048..a4a11af 100644
--- a/北京北汽/Controller/app.config
+++ b/北京北汽/Controller/app.config
@@ -36,6 +36,22 @@
serializeAs="String">
http://10.60.101.3:8009/ExchangeCenterService.asmx
+
+ http://10.60.101.85:8010/ExchangeCenterService.asmx
+
+
+ http://10.60.101.3:8009/ExchangeCenterService.asmx
+
+
+ http://10.60.101.85:8070/ExchangeCenterService.asmx
+
+
+ http://10.60.101.3:8012/ExchangeCenterService.asmx
+
+
+ http://10.60.101.3:8011/ExchangeCenterService.asmx
+
diff --git a/北京北汽/SCP/DLL/Z.EntityFramework.Extensions.dll b/北京北汽/SCP/DLL/Z.EntityFramework.Extensions.dll
new file mode 100644
index 0000000..8159bb1
Binary files /dev/null and b/北京北汽/SCP/DLL/Z.EntityFramework.Extensions.dll differ
diff --git a/北京北汽/UniApiWpf/MainWindow.xaml.cs b/北京北汽/UniApiWpf/MainWindow.xaml.cs
index d99552a..ee3daca 100644
--- a/北京北汽/UniApiWpf/MainWindow.xaml.cs
+++ b/北京北汽/UniApiWpf/MainWindow.xaml.cs
@@ -229,6 +229,7 @@ namespace UniApiWpf
CreateLogDataList(_list, WriteLogEnum.Get);
}
});
+
SCP_DC_UNI_CONTROLLER.BaseReadService((rs) =>
{
List _list = new List();