Browse Source

北汽优化

master
qian 2 months ago
parent
commit
5ad9eae2df
  1. 36
      北京北汽/Controller/Properties/Settings.Designer.cs
  2. 9
      北京北汽/Controller/Properties/Settings.settings
  3. 8
      北京北汽/Controller/SCP_ASK_CONTROLLER.cs
  4. 52
      北京北汽/Controller/SCP_DC_UNI_CONTROLLER.cs
  5. 6
      北京北汽/Controller/Web References/WebReference/ExchangeCenterService.disco
  6. 980
      北京北汽/Controller/Web References/WebReference/ExchangeCenterService.wsdl
  7. 796
      北京北汽/Controller/Web References/WebReference/Reference.cs
  8. 7
      北京北汽/Controller/Web References/WebReference/Reference.map
  9. 3
      北京北汽/Models/ScpEntity/V_TB_INCOMOLETE_DETAIL.cs
  10. 105
      北京北汽/Models/ScpEntity/V_TB_PO_PLAN.cs
  11. 55
      北京北汽/Models/ScpEntity/V_TB_PO_PLAN_BJBMPT.cs
  12. 31
      北京北汽/Models/ScpEntity/V_TB_PO_PLAN_DETAIL.cs
  13. 16
      北京北汽/Models/UniApiEntity/ServiceResult.cs
  14. 112
      北京北汽/SCP/Views/PlanData/SCP_PO_BJPLAN.aspx
  15. 251
      北京北汽/SCP/Views/PlanData/SCP_PO_BJPLAN.aspx.cs
  16. 224
      北京北汽/SCP/Views/PlanData/SCP_PO_BJPLAN.aspx.designer.cs
  17. 62
      北京北汽/SCP/Views/PlanData/SCP_PO_PLAN_DETAIL.aspx
  18. 51
      北京北汽/SCP/Views/PlanData/SCP_PO_PLAN_DETAIL.aspx.cs
  19. 114
      北京北汽/SCP/Views/PlanData/SCP_PO_PLAN_DETAIL.aspx.designer.cs
  20. 6
      北京北汽/SCP/Views/SupplierData/SCP_INCOMOLETE_DETAIL.aspx.cs

36
北京北汽/Controller/Properties/Settings.Designer.cs

@ -0,0 +1,36 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace CK.SCP.Controller.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.10.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
[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_WebReference_ExchangeCenterService {
get {
return ((string)(this["CK_SCP_Controller_WebReference_ExchangeCenterService"]));
}
}
}
}

9
北京北汽/Controller/Properties/Settings.settings

@ -0,0 +1,9 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="CK.SCP.Controller.Properties" GeneratedClassName="Settings">
<Profiles />
<Settings>
<Setting Name="CK_SCP_Controller_WebReference_ExchangeCenterService" Type="(Web Service URL)" Scope="Application">
<Value Profile="(Default)">http://10.60.101.3:8009/ExchangeCenterService.asmx</Value>
</Setting>
</Settings>
</SettingsFile>

8
北京北汽/Controller/SCP_ASK_CONTROLLER.cs

@ -566,6 +566,14 @@ namespace CK.SCP.Controller
{ {
q = q.Where(p => p.VendId == p_entity.VendId); q = q.Where(p => p.VendId == p_entity.VendId);
} }
if (!string.IsNullOrEmpty(p_entity.SubSite))
{
q = q.Where(p => p.SubSite == p_entity.SubSite);
}
if (!string.IsNullOrEmpty(p_entity.Site))
{
q = q.Where(p => p.Site == p_entity.Site);
}
_ret.State = ReturnStatus.Succeed; _ret.State = ReturnStatus.Succeed;
_ret.Result = q; _ret.Result = q;
p_action(_ret); p_action(_ret);

52
北京北汽/Controller/SCP_DC_UNI_CONTROLLER.cs

@ -436,15 +436,16 @@ namespace CK.SCP.Controller
// //UpdateSupplierExtend(_supplierlist); // //UpdateSupplierExtend(_supplierlist);
// scope.Complete(); // scope.Complete();
// break; // break;
//case "TES_PART_MSTR": // 吴哥更改时 把这个注释掉 把获取基础数据的更新零件注释取消
// result = UpdatePart(db, scpdb, _task); case "TES_PART_MSTR":
// result.Message = _task.TaskID.ToString(); result = UpdatePart(db, scpdb, _task);
// Update_TEA_TASK_SUB(db, _task); result.Message = _task.TaskID.ToString();
// EntitiesFactory.SaveDb(scpdb); Update_TEA_TASK_SUB(db, _task);
// EntitiesFactory.SaveDb(db); EntitiesFactory.SaveDb(scpdb);
// EntitiesFactory.SaveDb(dc); EntitiesFactory.SaveDb(db);
// scope.Complete(); EntitiesFactory.SaveDb(dc);
// break; scope.Complete();
break;
#endregion #endregion
case "TED_PPOD_DET": case "TED_PPOD_DET":
result = UpdatePPod(db, scpdb, _task); result = UpdatePPod(db, scpdb, _task);
@ -522,11 +523,19 @@ namespace CK.SCP.Controller
public static void BaseReadService(Action<ResultObject<bool>> p_action) public static void BaseReadService(Action<ResultObject<bool>> p_action)
{ {
ResultObject<bool> result = new ResultObject<bool>(); ResultObject<bool> result = new ResultObject<bool>();
// 添加不同的地点服务引用
// 重庆服务
//CQExchangeCenterService service = new CQExchangeCenterService();
// 北京服务
ExchangeCenterService service = new ExchangeCenterService(); ExchangeCenterService service = new ExchangeCenterService();
#region 获取服务的SessionId 可放到方法内
var jsonResult = service.GetSessionId("SCP", "5C2DE907DB859810", ""); var jsonResult = service.GetSessionId("SCP", "5C2DE907DB859810", "");
var serviceResultEntityList = JsonConvert.DeserializeObject< List<ServiceResult>>(jsonResult); var serviceResultEntityList = JsonConvert.DeserializeObject< List<ServiceResult>>(jsonResult);
string SessionId = ""; string SessionId = "";
SessionId = serviceResultEntityList.First().Data; SessionId = serviceResultEntityList.First().Data;
#endregion
var _result = Get_TEA_TASK_SUB_List(new TEA_TASK_SUB() { TaskState = EnumTaskState.Unread, Subscriber = "SCP" }); var _result = Get_TEA_TASK_SUB_List(new TEA_TASK_SUB() { TaskState = EnumTaskState.Unread, Subscriber = "SCP" });
if (_result.Count() > 0) if (_result.Count() > 0)
{ {
@ -554,19 +563,24 @@ namespace CK.SCP.Controller
var _supplierlist = db.TES_SUPPLIER.Where(p => p.TaskID == _task.TaskID).ToList(); var _supplierlist = db.TES_SUPPLIER.Where(p => p.TaskID == _task.TaskID).ToList();
result = UpdateSupplier(_supplierlist, scpdb, authdb, _task); result = UpdateSupplier(_supplierlist, scpdb, authdb, _task);
result.Message = _task.TaskID.ToString(); result.Message = _task.TaskID.ToString();
//根据域去判断调用哪个服务更新状态
// 更新北汽task状态
service.UpdateTaskState(SessionId, _task.TaskID.ToString(), 2,0,""); service.UpdateTaskState(SessionId, _task.TaskID.ToString(), 2,0,"");
// 更新重庆task状态
//CQExchangeCenterService.UpdateTaskState(SessionId, _task.TaskID.ToString(), 2, 0, "");
//Update_TEA_TASK_SUB(db, _task); //Update_TEA_TASK_SUB(db, _task);
scpdb.BulkSaveChanges(); scpdb.BulkSaveChanges();
scope.Complete(); scope.Complete();
break; break;
case "TES_PART_MSTR": // 更新零件注释去掉
result = UpdatePart(db, scpdb, _task); //case "TES_PART_MSTR":
result.Message = _task.TaskID.ToString(); // result = UpdatePart(db, scpdb, _task);
service.UpdateTaskState(SessionId, _task.TaskID.ToString(), 2, 0, ""); // result.Message = _task.TaskID.ToString();
//Update_TEA_TASK_SUB(db, _task); // service.UpdateTaskState(SessionId, _task.TaskID.ToString(), 2, 0, "");
EntitiesFactory.SaveDb(scpdb); // //Update_TEA_TASK_SUB(db, _task);
scope.Complete(); // EntitiesFactory.SaveDb(scpdb);
break; // scope.Complete();
// break;
} }
result.State = ReturnStatus.Succeed; result.State = ReturnStatus.Succeed;
@ -627,8 +641,8 @@ namespace CK.SCP.Controller
{ {
ScpEntities scpdb = EntitiesFactory.CreateScpInstance(); ScpEntities scpdb = EntitiesFactory.CreateScpInstance();
ExchangeCenterContext db = EntitiesFactory.CreateExchangeCenterInstance(); ExchangeCenterContext db = EntitiesFactory.CreateExchangeCenterInstance();
var _list = scpdb.TS_UNI_API.Where(p => p.State == (int)DataState.Enabled && p.Domain == "CDBMPT").OrderBy(p => p.UID).ToList(); var _list = scpdb.TS_UNI_API.Where(p => p.State == (int)DataState.Enabled && p.Domain == "ZZBMPT").OrderBy(p => p.UID).ToList();
var _list1 = scpdb.TS_UNI_API.Where(p => p.State == (int)DataState.Enabled && p.Domain == "CDBMPT" && p.InterfaceType == "Price").OrderBy(p => p.UID).ToList(); var _list1 = scpdb.TS_UNI_API.Where(p => p.State == (int)DataState.Enabled && p.Domain == "ZZBMPT" && p.InterfaceType == "Price").OrderBy(p => p.UID).ToList();
var apiii = _list1.Count(); var apiii = _list1.Count();
if (apiii > 0) if (apiii > 0)

6
北京北汽/Controller/Web References/WebReference/ExchangeCenterService.disco

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/">
<contractRef ref="http://10.60.101.3:8009/ExchangeCenterService.asmx?wsdl" docRef="http://10.60.101.3:8009/ExchangeCenterService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
<soap address="http://10.60.101.3:8009/ExchangeCenterService.asmx" xmlns:q1="http://tempuri.org/" binding="q1:ExchangeCenterServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
<soap address="http://10.60.101.3:8009/ExchangeCenterService.asmx" xmlns:q2="http://tempuri.org/" binding="q2:ExchangeCenterServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
</discovery>

980
北京北汽/Controller/Web References/WebReference/ExchangeCenterService.wsdl

@ -0,0 +1,980 @@
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
<s:element name="GetVer">
<s:complexType />
</s:element>
<s:element name="GetVerResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetVerResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetServerTime">
<s:complexType />
</s:element>
<s:element name="GetServerTimeResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="GetServerTimeResult" type="s:dateTime" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetSessionId">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="systemName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="encryptedPassword" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="clientIp" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetSessionIdResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetSessionIdResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="AddTask">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="sessionId" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="jsonTask" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="jsonData" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="zipped" type="s:boolean" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="AddTaskResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="AddTaskResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="AddMasterSlaveTask">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="sessionId" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="jsonTask" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="jsonMaster" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="jsonSlave" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="zipped" type="s:boolean" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="AddMasterSlaveTaskResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="AddMasterSlaveTaskResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetNewTasksByTableList">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="sessionId" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="clientIp" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="tableList" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetNewTasksByTableListResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetNewTasksByTableListResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetNewTasks">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="sessionId" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="clientIp" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetNewTasksResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetNewTasksResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetTaskData">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="sessionId" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="taskID" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="zipped" type="s:boolean" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetTaskDataResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetTaskDataResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetMasterSlaveTaskData">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="sessionId" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="taskID" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="zipped" type="s:boolean" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetMasterSlaveTaskDataResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetMasterSlaveTaskDataResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="UpdateTaskState">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="sessionId" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="taskID" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="taskState" type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="failedCount" type="s:int" />
<s:element minOccurs="0" maxOccurs="1" name="failedInfo" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="UpdateTaskStateResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="UpdateTaskStateResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetManageDatasByPage">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="sessionId" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="filterJson" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="tableName" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="pageIndex" type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="pageSize" type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="zipped" type="s:boolean" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetManageDatasByPageResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetManageDatasByPageResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="string" nillable="true" type="s:string" />
<s:element name="dateTime" type="s:dateTime" />
</s:schema>
</wsdl:types>
<wsdl:message name="GetVerSoapIn">
<wsdl:part name="parameters" element="tns:GetVer" />
</wsdl:message>
<wsdl:message name="GetVerSoapOut">
<wsdl:part name="parameters" element="tns:GetVerResponse" />
</wsdl:message>
<wsdl:message name="GetServerTimeSoapIn">
<wsdl:part name="parameters" element="tns:GetServerTime" />
</wsdl:message>
<wsdl:message name="GetServerTimeSoapOut">
<wsdl:part name="parameters" element="tns:GetServerTimeResponse" />
</wsdl:message>
<wsdl:message name="GetSessionIdSoapIn">
<wsdl:part name="parameters" element="tns:GetSessionId" />
</wsdl:message>
<wsdl:message name="GetSessionIdSoapOut">
<wsdl:part name="parameters" element="tns:GetSessionIdResponse" />
</wsdl:message>
<wsdl:message name="AddTaskSoapIn">
<wsdl:part name="parameters" element="tns:AddTask" />
</wsdl:message>
<wsdl:message name="AddTaskSoapOut">
<wsdl:part name="parameters" element="tns:AddTaskResponse" />
</wsdl:message>
<wsdl:message name="AddMasterSlaveTaskSoapIn">
<wsdl:part name="parameters" element="tns:AddMasterSlaveTask" />
</wsdl:message>
<wsdl:message name="AddMasterSlaveTaskSoapOut">
<wsdl:part name="parameters" element="tns:AddMasterSlaveTaskResponse" />
</wsdl:message>
<wsdl:message name="GetNewTasksByTableListSoapIn">
<wsdl:part name="parameters" element="tns:GetNewTasksByTableList" />
</wsdl:message>
<wsdl:message name="GetNewTasksByTableListSoapOut">
<wsdl:part name="parameters" element="tns:GetNewTasksByTableListResponse" />
</wsdl:message>
<wsdl:message name="GetNewTasksSoapIn">
<wsdl:part name="parameters" element="tns:GetNewTasks" />
</wsdl:message>
<wsdl:message name="GetNewTasksSoapOut">
<wsdl:part name="parameters" element="tns:GetNewTasksResponse" />
</wsdl:message>
<wsdl:message name="GetTaskDataSoapIn">
<wsdl:part name="parameters" element="tns:GetTaskData" />
</wsdl:message>
<wsdl:message name="GetTaskDataSoapOut">
<wsdl:part name="parameters" element="tns:GetTaskDataResponse" />
</wsdl:message>
<wsdl:message name="GetMasterSlaveTaskDataSoapIn">
<wsdl:part name="parameters" element="tns:GetMasterSlaveTaskData" />
</wsdl:message>
<wsdl:message name="GetMasterSlaveTaskDataSoapOut">
<wsdl:part name="parameters" element="tns:GetMasterSlaveTaskDataResponse" />
</wsdl:message>
<wsdl:message name="UpdateTaskStateSoapIn">
<wsdl:part name="parameters" element="tns:UpdateTaskState" />
</wsdl:message>
<wsdl:message name="UpdateTaskStateSoapOut">
<wsdl:part name="parameters" element="tns:UpdateTaskStateResponse" />
</wsdl:message>
<wsdl:message name="GetManageDatasByPageSoapIn">
<wsdl:part name="parameters" element="tns:GetManageDatasByPage" />
</wsdl:message>
<wsdl:message name="GetManageDatasByPageSoapOut">
<wsdl:part name="parameters" element="tns:GetManageDatasByPageResponse" />
</wsdl:message>
<wsdl:message name="GetVerHttpGetIn" />
<wsdl:message name="GetVerHttpGetOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="GetServerTimeHttpGetIn" />
<wsdl:message name="GetServerTimeHttpGetOut">
<wsdl:part name="Body" element="tns:dateTime" />
</wsdl:message>
<wsdl:message name="GetSessionIdHttpGetIn">
<wsdl:part name="systemName" type="s:string" />
<wsdl:part name="encryptedPassword" type="s:string" />
<wsdl:part name="clientIp" type="s:string" />
</wsdl:message>
<wsdl:message name="GetSessionIdHttpGetOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="AddTaskHttpGetIn">
<wsdl:part name="sessionId" type="s:string" />
<wsdl:part name="jsonTask" type="s:string" />
<wsdl:part name="jsonData" type="s:string" />
<wsdl:part name="zipped" type="s:string" />
</wsdl:message>
<wsdl:message name="AddTaskHttpGetOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="AddMasterSlaveTaskHttpGetIn">
<wsdl:part name="sessionId" type="s:string" />
<wsdl:part name="jsonTask" type="s:string" />
<wsdl:part name="jsonMaster" type="s:string" />
<wsdl:part name="jsonSlave" type="s:string" />
<wsdl:part name="zipped" type="s:string" />
</wsdl:message>
<wsdl:message name="AddMasterSlaveTaskHttpGetOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="GetNewTasksByTableListHttpGetIn">
<wsdl:part name="sessionId" type="s:string" />
<wsdl:part name="clientIp" type="s:string" />
<wsdl:part name="tableList" type="s:string" />
</wsdl:message>
<wsdl:message name="GetNewTasksByTableListHttpGetOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="GetNewTasksHttpGetIn">
<wsdl:part name="sessionId" type="s:string" />
<wsdl:part name="clientIp" type="s:string" />
</wsdl:message>
<wsdl:message name="GetNewTasksHttpGetOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="GetTaskDataHttpGetIn">
<wsdl:part name="sessionId" type="s:string" />
<wsdl:part name="taskID" type="s:string" />
<wsdl:part name="zipped" type="s:string" />
</wsdl:message>
<wsdl:message name="GetTaskDataHttpGetOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="GetMasterSlaveTaskDataHttpGetIn">
<wsdl:part name="sessionId" type="s:string" />
<wsdl:part name="taskID" type="s:string" />
<wsdl:part name="zipped" type="s:string" />
</wsdl:message>
<wsdl:message name="GetMasterSlaveTaskDataHttpGetOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="UpdateTaskStateHttpGetIn">
<wsdl:part name="sessionId" type="s:string" />
<wsdl:part name="taskID" type="s:string" />
<wsdl:part name="taskState" type="s:string" />
<wsdl:part name="failedCount" type="s:string" />
<wsdl:part name="failedInfo" type="s:string" />
</wsdl:message>
<wsdl:message name="UpdateTaskStateHttpGetOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="GetManageDatasByPageHttpGetIn">
<wsdl:part name="sessionId" type="s:string" />
<wsdl:part name="filterJson" type="s:string" />
<wsdl:part name="tableName" type="s:string" />
<wsdl:part name="pageIndex" type="s:string" />
<wsdl:part name="pageSize" type="s:string" />
<wsdl:part name="zipped" type="s:string" />
</wsdl:message>
<wsdl:message name="GetManageDatasByPageHttpGetOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="GetVerHttpPostIn" />
<wsdl:message name="GetVerHttpPostOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="GetServerTimeHttpPostIn" />
<wsdl:message name="GetServerTimeHttpPostOut">
<wsdl:part name="Body" element="tns:dateTime" />
</wsdl:message>
<wsdl:message name="GetSessionIdHttpPostIn">
<wsdl:part name="systemName" type="s:string" />
<wsdl:part name="encryptedPassword" type="s:string" />
<wsdl:part name="clientIp" type="s:string" />
</wsdl:message>
<wsdl:message name="GetSessionIdHttpPostOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="AddTaskHttpPostIn">
<wsdl:part name="sessionId" type="s:string" />
<wsdl:part name="jsonTask" type="s:string" />
<wsdl:part name="jsonData" type="s:string" />
<wsdl:part name="zipped" type="s:string" />
</wsdl:message>
<wsdl:message name="AddTaskHttpPostOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="AddMasterSlaveTaskHttpPostIn">
<wsdl:part name="sessionId" type="s:string" />
<wsdl:part name="jsonTask" type="s:string" />
<wsdl:part name="jsonMaster" type="s:string" />
<wsdl:part name="jsonSlave" type="s:string" />
<wsdl:part name="zipped" type="s:string" />
</wsdl:message>
<wsdl:message name="AddMasterSlaveTaskHttpPostOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="GetNewTasksByTableListHttpPostIn">
<wsdl:part name="sessionId" type="s:string" />
<wsdl:part name="clientIp" type="s:string" />
<wsdl:part name="tableList" type="s:string" />
</wsdl:message>
<wsdl:message name="GetNewTasksByTableListHttpPostOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="GetNewTasksHttpPostIn">
<wsdl:part name="sessionId" type="s:string" />
<wsdl:part name="clientIp" type="s:string" />
</wsdl:message>
<wsdl:message name="GetNewTasksHttpPostOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="GetTaskDataHttpPostIn">
<wsdl:part name="sessionId" type="s:string" />
<wsdl:part name="taskID" type="s:string" />
<wsdl:part name="zipped" type="s:string" />
</wsdl:message>
<wsdl:message name="GetTaskDataHttpPostOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="GetMasterSlaveTaskDataHttpPostIn">
<wsdl:part name="sessionId" type="s:string" />
<wsdl:part name="taskID" type="s:string" />
<wsdl:part name="zipped" type="s:string" />
</wsdl:message>
<wsdl:message name="GetMasterSlaveTaskDataHttpPostOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="UpdateTaskStateHttpPostIn">
<wsdl:part name="sessionId" type="s:string" />
<wsdl:part name="taskID" type="s:string" />
<wsdl:part name="taskState" type="s:string" />
<wsdl:part name="failedCount" type="s:string" />
<wsdl:part name="failedInfo" type="s:string" />
</wsdl:message>
<wsdl:message name="UpdateTaskStateHttpPostOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:message name="GetManageDatasByPageHttpPostIn">
<wsdl:part name="sessionId" type="s:string" />
<wsdl:part name="filterJson" type="s:string" />
<wsdl:part name="tableName" type="s:string" />
<wsdl:part name="pageIndex" type="s:string" />
<wsdl:part name="pageSize" type="s:string" />
<wsdl:part name="zipped" type="s:string" />
</wsdl:message>
<wsdl:message name="GetManageDatasByPageHttpPostOut">
<wsdl:part name="Body" element="tns:string" />
</wsdl:message>
<wsdl:portType name="ExchangeCenterServiceSoap">
<wsdl:operation name="GetVer">
<wsdl:input message="tns:GetVerSoapIn" />
<wsdl:output message="tns:GetVerSoapOut" />
</wsdl:operation>
<wsdl:operation name="GetServerTime">
<wsdl:input message="tns:GetServerTimeSoapIn" />
<wsdl:output message="tns:GetServerTimeSoapOut" />
</wsdl:operation>
<wsdl:operation name="GetSessionId">
<wsdl:input message="tns:GetSessionIdSoapIn" />
<wsdl:output message="tns:GetSessionIdSoapOut" />
</wsdl:operation>
<wsdl:operation name="AddTask">
<wsdl:input message="tns:AddTaskSoapIn" />
<wsdl:output message="tns:AddTaskSoapOut" />
</wsdl:operation>
<wsdl:operation name="AddMasterSlaveTask">
<wsdl:input message="tns:AddMasterSlaveTaskSoapIn" />
<wsdl:output message="tns:AddMasterSlaveTaskSoapOut" />
</wsdl:operation>
<wsdl:operation name="GetNewTasksByTableList">
<wsdl:input message="tns:GetNewTasksByTableListSoapIn" />
<wsdl:output message="tns:GetNewTasksByTableListSoapOut" />
</wsdl:operation>
<wsdl:operation name="GetNewTasks">
<wsdl:input message="tns:GetNewTasksSoapIn" />
<wsdl:output message="tns:GetNewTasksSoapOut" />
</wsdl:operation>
<wsdl:operation name="GetTaskData">
<wsdl:input message="tns:GetTaskDataSoapIn" />
<wsdl:output message="tns:GetTaskDataSoapOut" />
</wsdl:operation>
<wsdl:operation name="GetMasterSlaveTaskData">
<wsdl:input message="tns:GetMasterSlaveTaskDataSoapIn" />
<wsdl:output message="tns:GetMasterSlaveTaskDataSoapOut" />
</wsdl:operation>
<wsdl:operation name="UpdateTaskState">
<wsdl:input message="tns:UpdateTaskStateSoapIn" />
<wsdl:output message="tns:UpdateTaskStateSoapOut" />
</wsdl:operation>
<wsdl:operation name="GetManageDatasByPage">
<wsdl:input message="tns:GetManageDatasByPageSoapIn" />
<wsdl:output message="tns:GetManageDatasByPageSoapOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:portType name="ExchangeCenterServiceHttpGet">
<wsdl:operation name="GetVer">
<wsdl:input message="tns:GetVerHttpGetIn" />
<wsdl:output message="tns:GetVerHttpGetOut" />
</wsdl:operation>
<wsdl:operation name="GetServerTime">
<wsdl:input message="tns:GetServerTimeHttpGetIn" />
<wsdl:output message="tns:GetServerTimeHttpGetOut" />
</wsdl:operation>
<wsdl:operation name="GetSessionId">
<wsdl:input message="tns:GetSessionIdHttpGetIn" />
<wsdl:output message="tns:GetSessionIdHttpGetOut" />
</wsdl:operation>
<wsdl:operation name="AddTask">
<wsdl:input message="tns:AddTaskHttpGetIn" />
<wsdl:output message="tns:AddTaskHttpGetOut" />
</wsdl:operation>
<wsdl:operation name="AddMasterSlaveTask">
<wsdl:input message="tns:AddMasterSlaveTaskHttpGetIn" />
<wsdl:output message="tns:AddMasterSlaveTaskHttpGetOut" />
</wsdl:operation>
<wsdl:operation name="GetNewTasksByTableList">
<wsdl:input message="tns:GetNewTasksByTableListHttpGetIn" />
<wsdl:output message="tns:GetNewTasksByTableListHttpGetOut" />
</wsdl:operation>
<wsdl:operation name="GetNewTasks">
<wsdl:input message="tns:GetNewTasksHttpGetIn" />
<wsdl:output message="tns:GetNewTasksHttpGetOut" />
</wsdl:operation>
<wsdl:operation name="GetTaskData">
<wsdl:input message="tns:GetTaskDataHttpGetIn" />
<wsdl:output message="tns:GetTaskDataHttpGetOut" />
</wsdl:operation>
<wsdl:operation name="GetMasterSlaveTaskData">
<wsdl:input message="tns:GetMasterSlaveTaskDataHttpGetIn" />
<wsdl:output message="tns:GetMasterSlaveTaskDataHttpGetOut" />
</wsdl:operation>
<wsdl:operation name="UpdateTaskState">
<wsdl:input message="tns:UpdateTaskStateHttpGetIn" />
<wsdl:output message="tns:UpdateTaskStateHttpGetOut" />
</wsdl:operation>
<wsdl:operation name="GetManageDatasByPage">
<wsdl:input message="tns:GetManageDatasByPageHttpGetIn" />
<wsdl:output message="tns:GetManageDatasByPageHttpGetOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:portType name="ExchangeCenterServiceHttpPost">
<wsdl:operation name="GetVer">
<wsdl:input message="tns:GetVerHttpPostIn" />
<wsdl:output message="tns:GetVerHttpPostOut" />
</wsdl:operation>
<wsdl:operation name="GetServerTime">
<wsdl:input message="tns:GetServerTimeHttpPostIn" />
<wsdl:output message="tns:GetServerTimeHttpPostOut" />
</wsdl:operation>
<wsdl:operation name="GetSessionId">
<wsdl:input message="tns:GetSessionIdHttpPostIn" />
<wsdl:output message="tns:GetSessionIdHttpPostOut" />
</wsdl:operation>
<wsdl:operation name="AddTask">
<wsdl:input message="tns:AddTaskHttpPostIn" />
<wsdl:output message="tns:AddTaskHttpPostOut" />
</wsdl:operation>
<wsdl:operation name="AddMasterSlaveTask">
<wsdl:input message="tns:AddMasterSlaveTaskHttpPostIn" />
<wsdl:output message="tns:AddMasterSlaveTaskHttpPostOut" />
</wsdl:operation>
<wsdl:operation name="GetNewTasksByTableList">
<wsdl:input message="tns:GetNewTasksByTableListHttpPostIn" />
<wsdl:output message="tns:GetNewTasksByTableListHttpPostOut" />
</wsdl:operation>
<wsdl:operation name="GetNewTasks">
<wsdl:input message="tns:GetNewTasksHttpPostIn" />
<wsdl:output message="tns:GetNewTasksHttpPostOut" />
</wsdl:operation>
<wsdl:operation name="GetTaskData">
<wsdl:input message="tns:GetTaskDataHttpPostIn" />
<wsdl:output message="tns:GetTaskDataHttpPostOut" />
</wsdl:operation>
<wsdl:operation name="GetMasterSlaveTaskData">
<wsdl:input message="tns:GetMasterSlaveTaskDataHttpPostIn" />
<wsdl:output message="tns:GetMasterSlaveTaskDataHttpPostOut" />
</wsdl:operation>
<wsdl:operation name="UpdateTaskState">
<wsdl:input message="tns:UpdateTaskStateHttpPostIn" />
<wsdl:output message="tns:UpdateTaskStateHttpPostOut" />
</wsdl:operation>
<wsdl:operation name="GetManageDatasByPage">
<wsdl:input message="tns:GetManageDatasByPageHttpPostIn" />
<wsdl:output message="tns:GetManageDatasByPageHttpPostOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ExchangeCenterServiceSoap" type="tns:ExchangeCenterServiceSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="GetVer">
<soap:operation soapAction="http://tempuri.org/GetVer" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetServerTime">
<soap:operation soapAction="http://tempuri.org/GetServerTime" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetSessionId">
<soap:operation soapAction="http://tempuri.org/GetSessionId" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="AddTask">
<soap:operation soapAction="http://tempuri.org/AddTask" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="AddMasterSlaveTask">
<soap:operation soapAction="http://tempuri.org/AddMasterSlaveTask" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetNewTasksByTableList">
<soap:operation soapAction="http://tempuri.org/GetNewTasksByTableList" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetNewTasks">
<soap:operation soapAction="http://tempuri.org/GetNewTasks" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetTaskData">
<soap:operation soapAction="http://tempuri.org/GetTaskData" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetMasterSlaveTaskData">
<soap:operation soapAction="http://tempuri.org/GetMasterSlaveTaskData" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="UpdateTaskState">
<soap:operation soapAction="http://tempuri.org/UpdateTaskState" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetManageDatasByPage">
<soap:operation soapAction="http://tempuri.org/GetManageDatasByPage" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="ExchangeCenterServiceSoap12" type="tns:ExchangeCenterServiceSoap">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="GetVer">
<soap12:operation soapAction="http://tempuri.org/GetVer" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetServerTime">
<soap12:operation soapAction="http://tempuri.org/GetServerTime" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetSessionId">
<soap12:operation soapAction="http://tempuri.org/GetSessionId" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="AddTask">
<soap12:operation soapAction="http://tempuri.org/AddTask" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="AddMasterSlaveTask">
<soap12:operation soapAction="http://tempuri.org/AddMasterSlaveTask" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetNewTasksByTableList">
<soap12:operation soapAction="http://tempuri.org/GetNewTasksByTableList" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetNewTasks">
<soap12:operation soapAction="http://tempuri.org/GetNewTasks" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetTaskData">
<soap12:operation soapAction="http://tempuri.org/GetTaskData" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetMasterSlaveTaskData">
<soap12:operation soapAction="http://tempuri.org/GetMasterSlaveTaskData" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="UpdateTaskState">
<soap12:operation soapAction="http://tempuri.org/UpdateTaskState" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetManageDatasByPage">
<soap12:operation soapAction="http://tempuri.org/GetManageDatasByPage" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="ExchangeCenterServiceHttpGet" type="tns:ExchangeCenterServiceHttpGet">
<http:binding verb="GET" />
<wsdl:operation name="GetVer">
<http:operation location="/GetVer" />
<wsdl:input>
<http:urlEncoded />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetServerTime">
<http:operation location="/GetServerTime" />
<wsdl:input>
<http:urlEncoded />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetSessionId">
<http:operation location="/GetSessionId" />
<wsdl:input>
<http:urlEncoded />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="AddTask">
<http:operation location="/AddTask" />
<wsdl:input>
<http:urlEncoded />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="AddMasterSlaveTask">
<http:operation location="/AddMasterSlaveTask" />
<wsdl:input>
<http:urlEncoded />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetNewTasksByTableList">
<http:operation location="/GetNewTasksByTableList" />
<wsdl:input>
<http:urlEncoded />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetNewTasks">
<http:operation location="/GetNewTasks" />
<wsdl:input>
<http:urlEncoded />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetTaskData">
<http:operation location="/GetTaskData" />
<wsdl:input>
<http:urlEncoded />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetMasterSlaveTaskData">
<http:operation location="/GetMasterSlaveTaskData" />
<wsdl:input>
<http:urlEncoded />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="UpdateTaskState">
<http:operation location="/UpdateTaskState" />
<wsdl:input>
<http:urlEncoded />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetManageDatasByPage">
<http:operation location="/GetManageDatasByPage" />
<wsdl:input>
<http:urlEncoded />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="ExchangeCenterServiceHttpPost" type="tns:ExchangeCenterServiceHttpPost">
<http:binding verb="POST" />
<wsdl:operation name="GetVer">
<http:operation location="/GetVer" />
<wsdl:input>
<mime:content type="application/x-www-form-urlencoded" />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetServerTime">
<http:operation location="/GetServerTime" />
<wsdl:input>
<mime:content type="application/x-www-form-urlencoded" />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetSessionId">
<http:operation location="/GetSessionId" />
<wsdl:input>
<mime:content type="application/x-www-form-urlencoded" />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="AddTask">
<http:operation location="/AddTask" />
<wsdl:input>
<mime:content type="application/x-www-form-urlencoded" />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="AddMasterSlaveTask">
<http:operation location="/AddMasterSlaveTask" />
<wsdl:input>
<mime:content type="application/x-www-form-urlencoded" />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetNewTasksByTableList">
<http:operation location="/GetNewTasksByTableList" />
<wsdl:input>
<mime:content type="application/x-www-form-urlencoded" />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetNewTasks">
<http:operation location="/GetNewTasks" />
<wsdl:input>
<mime:content type="application/x-www-form-urlencoded" />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetTaskData">
<http:operation location="/GetTaskData" />
<wsdl:input>
<mime:content type="application/x-www-form-urlencoded" />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetMasterSlaveTaskData">
<http:operation location="/GetMasterSlaveTaskData" />
<wsdl:input>
<mime:content type="application/x-www-form-urlencoded" />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="UpdateTaskState">
<http:operation location="/UpdateTaskState" />
<wsdl:input>
<mime:content type="application/x-www-form-urlencoded" />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetManageDatasByPage">
<http:operation location="/GetManageDatasByPage" />
<wsdl:input>
<mime:content type="application/x-www-form-urlencoded" />
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="Body" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="ExchangeCenterService">
<wsdl:port name="ExchangeCenterServiceSoap" binding="tns:ExchangeCenterServiceSoap">
<soap:address location="http://10.60.101.3:8009/ExchangeCenterService.asmx" />
</wsdl:port>
<wsdl:port name="ExchangeCenterServiceSoap12" binding="tns:ExchangeCenterServiceSoap12">
<soap12:address location="http://10.60.101.3:8009/ExchangeCenterService.asmx" />
</wsdl:port>
<wsdl:port name="ExchangeCenterServiceHttpGet" binding="tns:ExchangeCenterServiceHttpGet">
<http:address location="http://10.60.101.3:8009/ExchangeCenterService.asmx" />
</wsdl:port>
<wsdl:port name="ExchangeCenterServiceHttpPost" binding="tns:ExchangeCenterServiceHttpPost">
<http:address location="http://10.60.101.3:8009/ExchangeCenterService.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

796
北京北汽/Controller/Web References/WebReference/Reference.cs

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

7
北京北汽/Controller/Web References/WebReference/Reference.map

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<DiscoveryClientResultsFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Results>
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.DiscoveryDocumentReference" url="http://10.60.101.3:8009/ExchangeCenterService.asmx?disco" filename="ExchangeCenterService.disco" />
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.ContractReference" url="http://10.60.101.3:8009/ExchangeCenterService.asmx?wsdl" filename="ExchangeCenterService.wsdl" />
</Results>
</DiscoveryClientResultsFile>

3
北京北汽/Models/ScpEntity/V_TB_INCOMOLETE_DETAIL.cs

@ -48,5 +48,8 @@ namespace CK.SCP.Models.ScpEntity
public decimal Price { get; set; } public decimal Price { get; set; }
public string SubSite { get; set; }
public string Site { get; set; }
} }
} }

105
北京北汽/Models/ScpEntity/V_TB_PO_PLAN.cs

@ -0,0 +1,105 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码已从模板生成。
//
// 手动更改此文件可能导致应用程序出现意外的行为。
// 如果重新生成代码,将覆盖对此文件的手动更改。
// </auto-generated>
//------------------------------------------------------------------------------
namespace CK.SCP.Models.ScpEntity
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
public partial class V_TB_PO_PLAN
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Key]
public long UID { get; set; }
public string Domain { get; set; }
public string PartCode { get; set; }
public Nullable<System.DateTime> EndTime { get; set; }
//public Nullable<System.DateTime> CreateTime { get; set; }
public string PoBillNum { get; set; }
public string Site { get; set; }
public string AskBillNum { get; set; }
public string Version { get; set; }
public string PartDesc { get; set; }
public decimal PlanQty { get; set; }
public string PoUnit { get; set; }
public int PoLine { get; set; }
public string VendId { get; set; }
public string ProjectId { get; set; }
public string IsPlan { get; set; }
//public string Buyer { get; set; }
[NotMapped]
public List<string> UserInAddress { set; get; }
[NotMapped]
public List<string> UserInVendIds { set; get; }
[NotMapped]
public List<int> BillStateList { set; get; }
[NotMapped]
public DateTime? EndTime_Begin { set; get; }
[NotMapped]
public DateTime? EndTime_End { set; get; }
public DateTime? BeginTime { get; set; }
//[NotMapped]
//public DateTime? EndTime_Begin1 { set; get; }
//[NotMapped]
//public DateTime? EndTime_End1 { set; get; }
}
public partial class V_TB_PO_PLAN_EXTEND
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Key]
public long UID { get; set; }
public string Domain { get; set; }
public string PartCode { get; set; }
public Nullable<System.DateTime> EndTime { get; set; }
public string PoBillNum { get; set; }
public string Site { get; set; }
public string AskBillNum { get; set; }
public string Version { get; set; }
public string PartDesc { get; set; }
public decimal PlanQty { get; set; }
public string PoUnit { get; set; }
public int PoLine { get; set; }
public string VendId { get; set; }
public string ProjectId { get; set; }
public string IsPlan { get; set; }
[NotMapped]
public List<string> UserInAddress { set; get; }
[NotMapped]
public List<string> UserInVendIds { set; get; }
[NotMapped]
public List<int> BillStateList { set; get; }
[NotMapped]
public DateTime? EndTime_Begin { set; get; }
[NotMapped]
public DateTime? EndTime_End { set; get; }
}
}

55
北京北汽/Models/ScpEntity/V_TB_PO_PLAN_BJBMPT.cs

@ -0,0 +1,55 @@
namespace CK.SCP.Models.ScpEntity
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
public partial class V_TB_PO_PLAN_BJBMPT
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Key]
public long UID { get; set; }
public string Domain { get; set; }
public string PartCode { get; set; }
public Nullable<System.DateTime> EndTime { get; set; }
public Nullable<System.DateTime> CreateTime { get; set; }
public string PoBillNum { get; set; }
public string Site { get; set; }
public string AskBillNum { get; set; }
public string Version { get; set; }
public string PartDesc { get; set; }
public decimal PlanQty { get; set; }
public string PoUnit { get; set; }
public int PoLine { get; set; }
public string VendId { get; set; }
public string ProjectId { get; set; }
public string IsPlan { get; set; }
public string Buyer { get; set; }
[NotMapped]
public List<string> UserInAddress { set; get; }
[NotMapped]
public List<string> UserInVendIds { set; get; }
[NotMapped]
public List<int> BillStateList { set; get; }
[NotMapped]
public DateTime? EndTime_Begin { set; get; }
[NotMapped]
public DateTime? EndTime_End { set; get; }
[NotMapped]
public DateTime? EndTime_Begin1 { set; get; }
[NotMapped]
public DateTime? EndTime_End1 { set; get; }
}
}

31
北京北汽/Models/ScpEntity/V_TB_PO_PLAN_DETAIL.cs

@ -0,0 +1,31 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码已从模板生成。
//
// 手动更改此文件可能导致应用程序出现意外的行为。
// 如果重新生成代码,将覆盖对此文件的手动更改。
// </auto-generated>
//------------------------------------------------------------------------------
namespace CK.SCP.Models.ScpEntity
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
public partial class V_TB_PO_PLAN_DETAIL
{
[Key]
public long UID { get; set; }
public string PoBillNum { get; set; }
public string VendId { get; set; }
public Nullable<System.DateTime> EndTime { get; set; }
public string PartCode { get; set; }
public string AskBillNum { get; set; }
public string Version { get; set; }
public string Domain { get; set; }
public decimal PlanQty { get; set; }
public string PoUnit { get; set; }
}
}

16
北京北汽/Models/UniApiEntity/ServiceResult.cs

@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CK.SCP.Models.UniApiEntity
{
public class ServiceResult
{
public bool Success { get; set; }//是否执行成功
public string Type { get; set; }//任务类型,目前传递的是表格名称
public string Data { get; set; }//Json格式的数据
public string Message { get; set; }//返回信息,执行失败时,返回Exception信息
}
}

112
北京北汽/SCP/Views/PlanData/SCP_PO_BJPLAN.aspx

@ -0,0 +1,112 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SCP_PO_BJPLAN.aspx.cs" Inherits="SCP.Views.PlanData.SCP_PO_BJPLAN" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager runat="server" AutoSizePanelID="Panel1" />
<f:Panel ID="Panel1" runat="server" Title="" Layout="VBox" BoxConfigAlign="Stretch" BoxConfigPosition="Start">
<Items>
<f:Form runat="server" >
<Toolbars>
<f:Toolbar ID="Toolbar2" runat="server">
<Items>
<f:Button ID="btnOutput" runat="server" Text="导出" Icon="PageExcel" OnClick="btnOutput_Click" >
</f:Button>
<f:Button ID="btnExecl" runat="server" Text="横向导出" Icon="PageExcel" OnClick="btnExecl_Click" >
</f:Button>
<f:Button ID="btnMake" runat="server" OnClick="btnMake_Click" Text="生成看板" Icon="Add">
</f:Button>
<f:Button ID="btnShow" runat="server" Text="显示查询面板" OnClick="btnShow_OnClick">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
</f:Form>
<f:GroupPanel runat="server" ID="gp1" Hidden="True" Layout="HBox" ColumnWidth="100%">
<Items>
<f:Form runat="server">
<Rows>
<f:FormRow runat="server" ColumnWidths="33% 33% 33%">
<Items>
<f:DropDownList ID="ddl_Vender" runat="server" Label="供应商" EnableEdit="true" ></f:DropDownList>
<f:TextBox runat = "server" Label = "版本号" EmptyText = "请输入版本号" ID = "TXT_VersionNo" />
<f:TextBox runat = "server" Label = "计划员" ID = "TextBox2" />
</Items>
</f:FormRow>
<f:FormRow runat="server" ColumnWidths="33% 33% 33%">
<Items>
<f:DatePicker runat="server" Required ="true" DateFormatString="yyyy-MM-dd" Label="交货日期" EmptyText="请选择日期" ID="EndTime_Begin1" />
<f:DatePicker runat="server" Required ="true" DateFormatString="yyyy-MM-dd" Label="至" EmptyText="请选择日期" ID="EndTime_End1" />
<f:TextBox runat = "server" Label = "项目" ID = "TextBox1" />
</Items>
</f:FormRow>
<f:FormRow runat="server" ColumnWidths="33% 33% 33%">
<Items>
<f:DatePicker runat="server" Required ="true" DateFormatString="yyyy-MM-dd" Label="订货日期" EmptyText="请选择日期" ID="DatePicker2" />
<f:DatePicker runat="server" Required ="true" DateFormatString="yyyy-MM-dd" Label="至" EmptyText="请选择日期" ID="DatePicker3" />
<f:TextBox runat = "server" Label = "零件编码" ID = "TextBox3" />
</Items>
</f:FormRow>
<f:FormRow runat="server" ColumnWidths="33% 33% 33%">
<Items>
<f:Button runat="server" Text="关闭" OnClick="OnClick"></f:Button>
<f:Button ID="btnSearch" runat="server" OnClick="btnSearch_Click" Text="快速查找"></f:Button>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:GroupPanel>
<f:Grid ID = "Grid_V_TB_PO_PLAN" Title = "明细表格" BoxFlex="1" EnableCollapse = "true" ShowBorder = "true" ShowHeader = "true" EnableRowDoubleClickEvent="True"
runat ="server" EnableCheckBoxSelect = "true" PageSize="200"
DataKeyNames = "Domain,PartCode,EndTime,PoBillNum,Site,AskBillNum,Version,PartDesc,PlanQty,PoUnit,VendId,PoLine,BeginTime"
SortField="PartCode" IsDatabasePaging="True" AllowPaging="True" AllowColumnLocking="true"
AutoScroll="true" OnPageIndexChange="Grid_V_TB_PO_PLAN_PageIndexChange"
OnRowDoubleClick="Grid_V_TB_PO_PLAN_RowDoubleClick">
<Columns>
<f:BoundField Width = "100px" DataField = "PoBillNum" EnableLock="true" Locked="true" DataFormatString = "{0}" HeaderText = "订单编号" />
<f:BoundField Width = "100px" DataField = "PartCode" EnableLock="true" Locked="true" DataFormatString = "{0}" HeaderText = "零件编号" />
<f:BoundField Width = "200px" DataField = "PartDesc" EnableLock="true" Locked="true" DataFormatString = "{0}" HeaderText = "零件描述" />
<f:BoundField Width = "80px" DataField = "PlanQty" EnableLock="true" DataFormatString = "{0}" HeaderText = "数量" />
<f:BoundField Width = "50px" DataField = "PoUnit" EnableLock="true" DataFormatString = "{0}" HeaderText = "单位" />
<f:BoundField Width = "100px" DataField = "EndTime" EnableLock="true" DataFormatString = "{0:yyyy-MM-dd}" HeaderText = "交货日期" />
<f:BoundField Width = "100px" DataField = "Version" EnableLock="true" DataFormatString = "{0}" HeaderText = "版本" />
<f:BoundField Width = "100px" DataField = "ProjectId" EnableLock="true" DataFormatString = "{0}" HeaderText = "项目" />
<f:BoundField Width = "100px" DataField = "Buyer" EnableLock="true" DataFormatString = "{0}" HeaderText = "计划员" />
<f:BoundField Width = "100px" DataField = "AskBillNum" EnableLock="true" DataFormatString = "{0}" HeaderText = "看板编号" />
<f:BoundField Width = "100px" DataField = "CreateTime" EnableLock="true" DataFormatString = "{0:yyyy-MM-dd}" HeaderText = "订货日期" />
<f:BoundField Width = "100px" DataField = "Domain" EnableLock="true" DataFormatString = "{0}" HeaderText = "域名" Hidden="true" />
<f:BoundField Width = "100px" DataField = "Site" EnableLock="true" DataFormatString = "{0}" HeaderText = "站点" Hidden="true" />
</Columns>
<PageItems>
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
</f:ToolbarSeparator>
<f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数:">
</f:ToolbarText>
<f:DropDownList ID="ddlGridPageSize" Width="80px" AutoPostBack="true" OnSelectedIndexChanged="ddlGridPageSize_SelectedIndexChanged"
runat="server">
<f:ListItem Text="200" Value="200" />
<f:ListItem Text="500" Value="500" />
</f:DropDownList>
</PageItems>
</f:Grid>
</Items>
</f:Panel>
<f:Window runat="server" ID="Window1" Hidden="True" Height="600px" Width="800px" AutoScroll="True"
WindowPosition="Center" IsModal="true" Title="明细详情" Target="Parent" EnableIFrame="true"
IFrameUrl="about:blank" />
</form>
</body>
</html>

251
北京北汽/SCP/Views/PlanData/SCP_PO_BJPLAN.aspx.cs

@ -0,0 +1,251 @@
using CK.SCP.Controller;
using CK.SCP.Models.ScpEntity;
using CK.SCP.Utils;
using FineUI;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web.UI.WebControls;
namespace SCP.Views.PlanData
{
public partial class SCP_PO_BJPLAN : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
LoadData();
BindVender(ddl_Vender);
}
}
public void LoadData()
{
if (CurrentUser.FactoryList == null || CurrentUser.FactoryList.Count == 0)
{
Alert.Show("当前用户未选择地点!");
return;
}
Bind();
}
public void Bind()
{
SearchV_TB_PO_PLANData((result) => {
Grid_V_TB_PO_PLAN.RecordCount = result.Count();
var list = SortAndPage(result, Grid_V_TB_PO_PLAN);
var _ls = list.ToList();
Grid_V_TB_PO_PLAN.DataSource = _ls;
Grid_V_TB_PO_PLAN.DataBind();
});
}
public void SearchV_TB_PO_PLANData(Action<IQueryable<V_TB_PO_PLAN_BJBMPT>> p_action)
{
V_TB_PO_PLAN_BJBMPT _entity = new V_TB_PO_PLAN_BJBMPT();
_entity.PoBillNum = ddl_Vender.SelectedValue;
_entity.Version = TXT_VersionNo.Text;
_entity.ProjectId = TextBox1.Text;
_entity.Buyer = TextBox2.Text;
_entity.PartCode = TextBox3.Text;
if (EndTime_Begin1.SelectedDate != null)
{
_entity.EndTime_Begin = (DateTime)EndTime_Begin1.SelectedDate;
}
if (EndTime_End1.SelectedDate != null)
{
_entity.EndTime_End = (DateTime)EndTime_End1.SelectedDate;
}
if (DatePicker2.SelectedDate != null)
{
_entity.EndTime_Begin1 = (DateTime)DatePicker2.SelectedDate;
}
if (DatePicker3.SelectedDate != null)
{
_entity.EndTime_End1 = (DateTime)DatePicker3.SelectedDate;
}
if (CurrentUser.RoleList.Contains("供应商"))
{
if (CurrentUser.RoleList.Contains("计划人员") || CurrentUser.RoleList.Contains("采购人员") || CurrentUser.Name == "admin")
{
ddl_Vender.Hidden = false;
btnMake.Hidden = false;
btnSearch.Hidden = false;
btnShow.Hidden = false;
}
else
{
ddl_Vender.Hidden = true;
btnMake.Hidden = true;
btnSearch.Hidden = true;
btnShow.Hidden = true;
_entity.UserInVendIds = CurrentUser.VenderList;
_entity.UserInAddress = CurrentUser.FactoryList;
}
}
SCP_PO_CONTROLLER.Get_V_TB_PO_PLAN_List_BJKFT(_entity, (_ret) =>
{
if (_ret.State == ReturnStatus.Succeed)
{
p_action(_ret.Result);
}
});
}
protected void btnOutput_Click(object sender, EventArgs e)
{
SearchV_TB_PO_PLANData((rs) => {
var _list = rs.ToList();
Dictionary<string, string> cellheader = new Dictionary<string, string>();
cellheader.Add("PoBillNum", "订单编号");
cellheader.Add("AskBillNum", "看板编号");
cellheader.Add("PartCode", "零件编码");
cellheader.Add("PartDesc", "零件描述");
cellheader.Add("PlanQty", "数量");
cellheader.Add("PoUnit", "单位");
cellheader.Add("EndTime", "交货日期");
cellheader.Add("Version", "版本号");
cellheader.Add("Domain", "域名");
cellheader.Add("ProjectId", "项目");
cellheader.Add("Buyer", "计划员");
string url = EntityListToExcel2003(cellheader, _list, "预测导出");
});
}
protected void Grid_V_TB_PO_PLAN_RowDoubleClick(object sender, FineUI.GridRowClickEventArgs e)
{
object[] rowDataKeys = this.Grid_V_TB_PO_PLAN.DataKeys[e.RowIndex];
V_TB_PO_PLAN _entity = new V_TB_PO_PLAN();
_entity.Domain = rowDataKeys[0] as string;
_entity.PartCode = rowDataKeys[1] as string;
_entity.EndTime = ConvertHelper.To<DateTime>(rowDataKeys[2]);
_entity.PoBillNum = rowDataKeys[3] as string;
_entity.Site = rowDataKeys[4] as string;
_entity.AskBillNum = rowDataKeys[5] as string;
_entity.Version = rowDataKeys[6] as string;
_entity.PartDesc = rowDataKeys[7] as string;
_entity.PlanQty = ConvertHelper.To<decimal>(rowDataKeys[8]);
_entity.PoUnit = rowDataKeys[9] as string;
_entity.VendId = rowDataKeys[10] as string;
_entity.PoLine = ConvertHelper.To<int>(rowDataKeys[11]);
string _url = string.Format("../PlanData/SCP_PO_PLAN_DETAIL.aspx?PartCode={0}&&EndTime={1}&&PoBillNum={2}&&VendId={3}&&Domain={4}",
_entity.PartCode, _entity.EndTime.Value.ToString(), _entity.PoBillNum, _entity.VendId, _entity.Domain);
PageContext.RegisterStartupScript
(Window1.GetShowReference(_url));
}
protected void btnMake_Click(object sender, EventArgs e)
{
List<V_TB_PO_PLAN> _ls = new List<V_TB_PO_PLAN>();
int[] _selections = Grid_V_TB_PO_PLAN.SelectedRowIndexArray;
if (_selections.Count() == 0)
{
Alert.Show("请选择数据后再进行生成看板操作!");
return;
}
for (int i = 0, count = Grid_V_TB_PO_PLAN.Rows.Count; i < count; i++)
{
if (_selections.Contains(i))
{
V_TB_PO_PLAN _entity = new V_TB_PO_PLAN();
GridRow row = Grid_V_TB_PO_PLAN.Rows[i];
object[] rowDataKeys = Grid_V_TB_PO_PLAN.DataKeys[i];
_entity.Domain = rowDataKeys[0] as string;
_entity.PartCode = rowDataKeys[1] as string;
_entity.EndTime = ConvertHelper.To<DateTime>(rowDataKeys[2]);
_entity.PoBillNum = rowDataKeys[3] as string;
_entity.Site = rowDataKeys[4] as string;
_entity.AskBillNum = rowDataKeys[5] as string;
_entity.Version = rowDataKeys[6] as string;
_entity.PartDesc = rowDataKeys[7] as string;
_entity.PlanQty = ConvertHelper.To<decimal>(rowDataKeys[8]);
_entity.PoUnit = rowDataKeys[9] as string;
_entity.VendId = rowDataKeys[10] as string;
_entity.PoLine = ConvertHelper.To<int>(rowDataKeys[11]);
_entity.BeginTime = ConvertHelper.To<DateTime>(rowDataKeys[12]);
_ls.Add(_entity);
}
}
if (_ls.Count > 0)
{
var _count = _ls.Count(p => !string.IsNullOrEmpty(p.AskBillNum));
if (_count > 0)
{
Alert.Show("选择记录里有已生成要货看板记录!");
return;
}
}
var ret = SCP_PLAN_CONTROLLER.PLAN_TO_ASK1(_ls, CurrentUser);
if (ret.State == ReturnStatus.Succeed && ret.Result == true)
{
Bind();
}
else
{
Alert.Show(string.Join("<br>", ret.MessageList));
}
}
protected void ddlGridPageSize_SelectedIndexChanged(object sender, EventArgs e)
{
Convert.ToInt32(ddlGridPageSize.SelectedValue);
Bind();
}
protected void btnSearch_Click(object sender, EventArgs e)
{
Bind();
}
protected void Window1_Close(object sender, WindowCloseEventArgs e)
{
}
protected void Grid_V_TB_PO_PLAN_PageIndexChange(object sender, GridPageEventArgs e)
{
Bind();
}
protected void btnShow_OnClick(object sender, EventArgs e)
{
gp1.Hidden = false;
}
protected void OnClick(object sender, EventArgs e)
{
gp1.Hidden = true;
}
protected void btnExecl_Click(object sender, EventArgs e)
{
if (CurrentUser.RoleList.Contains("供应商"))
{
if (CurrentUser.RoleList.Contains("计划人员") || CurrentUser.RoleList.Contains("采购人员") || CurrentUser.Name == "admin")
{
if (string.IsNullOrEmpty(ddl_Vender.SelectedValue))
{
Alert.Show("供应商选项不能为空");
return;
}
V_TB_PO_PLAN _plan = new V_TB_PO_PLAN();
_plan.PoBillNum = ddl_Vender.SelectedValue;
DataTable _tb = SCP_PLAN_CONTROLLER.Get_TB_PLAN_REPORT(_plan);
DataSet _ds = new DataSet();
_ds.Tables.Add(_tb);
DataSetToExcel(_ds, "导出计划");
}
else
{
V_TB_PO_PLAN _plan = new V_TB_PO_PLAN();
_plan.PoBillNum = CurrentUser.VenderList.FirstOrDefault();
DataTable _tb = SCP_PLAN_CONTROLLER.Get_TB_PLAN_REPORT(_plan);
DataSet _ds = new DataSet();
_ds.Tables.Add(_tb);
DataSetToExcel(_ds, "导出计划");
}
}
}
}
}

224
北京北汽/SCP/Views/PlanData/SCP_PO_BJPLAN.aspx.designer.cs

@ -0,0 +1,224 @@
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace SCP.Views.PlanData
{
public partial class SCP_PO_BJPLAN
{
/// <summary>
/// form1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// Panel1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.Panel Panel1;
/// <summary>
/// Toolbar2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.Toolbar Toolbar2;
/// <summary>
/// btnOutput 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.Button btnOutput;
/// <summary>
/// btnExecl 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.Button btnExecl;
/// <summary>
/// btnMake 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.Button btnMake;
/// <summary>
/// btnShow 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.Button btnShow;
/// <summary>
/// gp1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.GroupPanel gp1;
/// <summary>
/// ddl_Vender 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.DropDownList ddl_Vender;
/// <summary>
/// TXT_VersionNo 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.TextBox TXT_VersionNo;
/// <summary>
/// TextBox2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.TextBox TextBox2;
/// <summary>
/// EndTime_Begin1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.DatePicker EndTime_Begin1;
/// <summary>
/// EndTime_End1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.DatePicker EndTime_End1;
/// <summary>
/// TextBox1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.TextBox TextBox1;
/// <summary>
/// DatePicker2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.DatePicker DatePicker2;
/// <summary>
/// DatePicker3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.DatePicker DatePicker3;
/// <summary>
/// TextBox3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.TextBox TextBox3;
/// <summary>
/// btnSearch 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.Button btnSearch;
/// <summary>
/// Grid_V_TB_PO_PLAN 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.Grid Grid_V_TB_PO_PLAN;
/// <summary>
/// ToolbarSeparator1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.ToolbarSeparator ToolbarSeparator1;
/// <summary>
/// ToolbarText1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.ToolbarText ToolbarText1;
/// <summary>
/// ddlGridPageSize 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.DropDownList ddlGridPageSize;
/// <summary>
/// Window1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.Window Window1;
}
}

62
北京北汽/SCP/Views/PlanData/SCP_PO_PLAN_DETAIL.aspx

@ -0,0 +1,62 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SCP_PO_PLAN_DETAIL.aspx.cs" Inherits="SCP.Views.PlanData.SCP_PO_PLAN_DETAIL" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager runat="server" AutoSizePanelID="Panel1" />
<f:Panel ID="Panel1" runat="server" Title="" AutoScroll="True" Layout="VBox" BoxConfigAlign="Stretch" BoxConfigPosition="Start">
<Toolbars>
<f:Toolbar ID="Toolbar2" runat="server">
<Items>
</Items>
</f:Toolbar>
</Toolbars>
<Items>
<f:Grid ID = "Grid_V_TB_PO_PLAN" Title = "表格明细" BoxFlex="1" EnableCollapse = "true" ShowBorder = "true" ShowHeader = "true"
runat ="server" EnableCheckBoxSelect = "true" PageSize="1000"
DataKeyNames = "Domain,PartCode,EndTime,PoBillNum,Site,AskBillNum,Version,PartDesc,PlanQty,PoUnit,VendId,PoLine"
SortField="Version" IsDatabasePaging="True" AllowPaging="True" SortDirection="Desc"
AutoScroll="true"
>
<Columns>
<f:BoundField Width = "100px" DataField = "PoBillNum" DataFormatString = "{0}" HeaderText = "订单编号" />
<f:BoundField Width = "100px" DataField = "PartCode" DataFormatString = "{0}" HeaderText = "零件编号" />
<f:BoundField Width = "80px" DataField = "PlanQty" DataFormatString = "{0}" HeaderText = "数量" />
<f:BoundField Width = "50px" DataField = "PoUnit" DataFormatString = "{0}" HeaderText = "单位" />
<f:BoundField Width = "100px" DataField = "EndTime" DataFormatString = "{0:yyyy-MM-dd}" HeaderText = "交货日期" />
<f:BoundField Width = "100px" DataField = "Version" DataFormatString = "{0}" HeaderText = "版本" />
<f:BoundField Width = "100px" DataField = "AskBillNum" DataFormatString = "{0}" HeaderText = "看板编号" />
</Columns>
<PageItems>
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
</f:ToolbarSeparator>
<f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数:">
</f:ToolbarText>
<f:DropDownList ID="ddlGridPageSize" Width="80px" AutoPostBack="true" OnSelectedIndexChanged="ddlGridPageSize_SelectedIndexChanged"
runat="server">
<f:ListItem Text="200" Value="200" />
<f:ListItem Text="500" Value="500" />
</f:DropDownList>
</PageItems>
</f:Grid>
</Items>
</f:Panel>
<f:Window runat="server" ID="Window1" Hidden="True"
WindowPosition="Center" IsModal="true" Title="Popup Window 1" Target="Parent" EnableIFrame="true"
IFrameUrl="about:blank" Height="840px" Width="700px" />
<f:Window ID="WindowUpload" runat="server" Hidden="True"
WindowPosition="Center" IsModal="true" Title="Popup Window 1" Target="Parent" EnableIFrame="true"
IFrameUrl="about:blank" Height="200px" Width="400px">
</f:Window>
<f:HiddenField runat="server" ID="TXT_ModType"></f:HiddenField>
<f:HiddenField runat="server" ID="TXT_State"></f:HiddenField>
</form>
</body>
</html>

51
北京北汽/SCP/Views/PlanData/SCP_PO_PLAN_DETAIL.aspx.cs

@ -0,0 +1,51 @@
using CK.SCP.Controller;
using CK.SCP.Models.ScpEntity;
using System;
using System.Linq;
using System.Web.UI.WebControls;
namespace SCP.Views.PlanData
{
public partial class SCP_PO_PLAN_DETAIL : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
Bind();
}
}
private void Bind()
{
var _partCode = Request["PartCode"];
var _endTime = Request["EndTime"];
var _poBillNum = Request["PoBillNum"];
var _vendId = Request["VendId"];
var _domain = Request["Domain"];
V_TB_PO_PLAN_DETAIL _plan = new V_TB_PO_PLAN_DETAIL();
_plan.PartCode = _partCode;
_plan.EndTime = DateTime.Parse(_endTime);
_plan.PoBillNum = _poBillNum;
_plan.VendId =_vendId;
_plan.Domain = _domain;
SCP_PLAN_CONTROLLER.Get_V_TB_PO_PLAN_DETAIL_List(_plan, (rs) =>{
if (rs.State == ReturnStatus.Succeed)
{
var list = SortAndPage<V_TB_PO_PLAN_DETAIL>(rs.Result, Grid_V_TB_PO_PLAN);
var _ls = list.ToList();
Grid_V_TB_PO_PLAN.DataSource = _ls;
Grid_V_TB_PO_PLAN.DataBind();
}
});
}
protected void ddlGridPageSize_SelectedIndexChanged(object sender, EventArgs e)
{
Grid_V_TB_PO_PLAN.PageSize = Convert.ToInt32(ddlGridPageSize.SelectedValue);
Bind();
}
}
}

114
北京北汽/SCP/Views/PlanData/SCP_PO_PLAN_DETAIL.aspx.designer.cs

@ -0,0 +1,114 @@
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace SCP.Views.PlanData {
public partial class SCP_PO_PLAN_DETAIL {
/// <summary>
/// form1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// Panel1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.Panel Panel1;
/// <summary>
/// Toolbar2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.Toolbar Toolbar2;
/// <summary>
/// Grid_V_TB_PO_PLAN 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.Grid Grid_V_TB_PO_PLAN;
/// <summary>
/// ToolbarSeparator1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.ToolbarSeparator ToolbarSeparator1;
/// <summary>
/// ToolbarText1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.ToolbarText ToolbarText1;
/// <summary>
/// ddlGridPageSize 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.DropDownList ddlGridPageSize;
/// <summary>
/// Window1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.Window Window1;
/// <summary>
/// WindowUpload 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.Window WindowUpload;
/// <summary>
/// TXT_ModType 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.HiddenField TXT_ModType;
/// <summary>
/// TXT_State 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUI.HiddenField TXT_State;
}
}

6
北京北汽/SCP/Views/SupplierData/SCP_INCOMOLETE_DETAIL.aspx.cs

@ -76,7 +76,9 @@ namespace SCP.Views.SupplierData
if (dp_EndTimeEnd.SelectedDate != null) if (dp_EndTimeEnd.SelectedDate != null)
{ {
_entity.EndTimeEnd = (DateTime)dp_EndTimeEnd.SelectedDate; _entity.EndTimeEnd = (DateTime)dp_EndTimeEnd.SelectedDate;
} }
_entity.SubSite = CurrentUser.UserdSite;
_entity.Site = CurrentUser.UsedDomain;
SCP_ASK_CONTROLLER.Get_V_TB_ASK_ASN_ARR_View_List(_entity, (_ret) => SCP_ASK_CONTROLLER.Get_V_TB_ASK_ASN_ARR_View_List(_entity, (_ret) =>
{ {
if (_ret.State == ReturnStatus.Succeed) if (_ret.State == ReturnStatus.Succeed)
@ -154,6 +156,8 @@ namespace SCP.Views.SupplierData
{ {
_entity.EndTimeEnd = (DateTime)dp_EndTimeEnd.SelectedDate; _entity.EndTimeEnd = (DateTime)dp_EndTimeEnd.SelectedDate;
} }
_entity.SubSite = CurrentUser.UserdSite;
_entity.Site = CurrentUser.UsedDomain;
SCP_ASK_CONTROLLER.Get_V_TB_ASK_ASN_ARR_View_List(_entity, (_ret) => SCP_ASK_CONTROLLER.Get_V_TB_ASK_ASN_ARR_View_List(_entity, (_ret) =>
{ {
if (_ret.State == ReturnStatus.Succeed) if (_ret.State == ReturnStatus.Succeed)

Loading…
Cancel
Save