chore: 初始化北汽福田MES采集程序
This commit is contained in:
104
Common/08WebFun_base/WebFun_base/MesWebFun_Special.cs
Normal file
104
Common/08WebFun_base/WebFun_base/MesWebFun_Special.cs
Normal file
@@ -0,0 +1,104 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Web;
|
||||
using System.Text;
|
||||
using bizFacade;
|
||||
using System.Data;
|
||||
////using SystemFramework;
|
||||
using DataLinkMesWork;
|
||||
|
||||
namespace MesWebFun
|
||||
{
|
||||
public class MesWebFun_Special
|
||||
{
|
||||
/// <summary>
|
||||
/// 提供调用特殊工位类型方法的调用入口
|
||||
/// </summary>
|
||||
/// <param name="context"></param>
|
||||
/// <returns></returns>
|
||||
public static string SpecialFuctionRequstBase( string cmd,string opName)
|
||||
{
|
||||
// string filepath = context.Request.UrlReferrer.ToString();
|
||||
// string[] fileItem = filepath.Split('/');
|
||||
// string item = fileItem[fileItem.Length - 1];
|
||||
// string[] itemUrl = item.Split('?');
|
||||
// string destUrl = itemUrl[0];//取得页面值
|
||||
// string mesWebFun = ApplicationConfig.MesWebFun[destUrl].ToString();
|
||||
// string type = HttpContext.Current.Request["type"];
|
||||
string responseText = "";
|
||||
// switch (mesWebFun)
|
||||
{
|
||||
//case "01":
|
||||
//WebFunction01 fun01 = new WebFunction01();
|
||||
// responseText = fun01.ProcessRequest(context);
|
||||
// break;
|
||||
//case "02":
|
||||
// WebFunction02 fun02 = new WebFunction02();
|
||||
// responseText = fun02.ProcessRequest(context);
|
||||
// break;
|
||||
//case "04":
|
||||
// WebFunction04 fun04 = new WebFunction04();
|
||||
// responseText = fun04.ProcessRequest(context);
|
||||
// break;
|
||||
//case "05":
|
||||
// WebFunction05 fun05 = new WebFunction05();
|
||||
// responseText = fun05.ProcessRequest(context);
|
||||
// break;
|
||||
//case "06":
|
||||
// WebFunction06 fun06 = new WebFunction06();
|
||||
// responseText = fun06.ProcessRequest(context);
|
||||
// break;
|
||||
//case "07":
|
||||
// WebFunction07 fun07 = new WebFunction07();
|
||||
// responseText = fun07.ProcessRequest(context);
|
||||
// break;
|
||||
//case "08":
|
||||
// WebFunction08 fun08 = new WebFunction08();
|
||||
// responseText = fun08.ProcessRequest(context);
|
||||
// break;
|
||||
//case "10":
|
||||
// WebFunction10 fun10 = new WebFunction10();
|
||||
// responseText = fun10.ProcessRequest(context);
|
||||
// break;
|
||||
//case "11":
|
||||
// WebFunction11 fun11 = new WebFunction11();
|
||||
// responseText = fun11.ProcessRequest(context);
|
||||
// break;
|
||||
//case "12":
|
||||
// WebFunction12 fun12 = new WebFunction12();
|
||||
// responseText = fun12.ProcessRequest(context);
|
||||
// break;
|
||||
//case "13":
|
||||
// WebFunction13 fun13 = new WebFunction13();
|
||||
// responseText = fun13.ProcessRequest(context);
|
||||
// break;
|
||||
//case "14":
|
||||
// WebFunction14 fun14 = new WebFunction14();
|
||||
// responseText = fun14.ProcessRequest(context);
|
||||
// break;
|
||||
//case "15":
|
||||
// WebFunction15 fun15 = new WebFunction15();
|
||||
// responseText = fun15.ProcessRequest(context);
|
||||
// break;
|
||||
//case "16":
|
||||
// WebFunction16 fun16 = new WebFunction16();
|
||||
// responseText = fun16.ProcessRequest(context);
|
||||
// break;
|
||||
//case "17":
|
||||
// WebFunction17 fun17 = new WebFunction17();
|
||||
// responseText = fun17.ProcessRequest(context);
|
||||
// break;
|
||||
}
|
||||
return responseText;
|
||||
}
|
||||
|
||||
public bool IsReusable
|
||||
{
|
||||
get
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user