|
|
@ -287,6 +287,11 @@ namespace QMAPP.FJC.Web.Controllers |
|
|
|
string orderby = Request.Form["ORDER_TYPE"]; |
|
|
|
ServiceAgent wcfAgent = this.GetServiceAgent(); |
|
|
|
|
|
|
|
using (System.IO.StreamWriter file = new System.IO.StreamWriter(@"D:\ceshi\WriteLines.txt", true)) |
|
|
|
{ |
|
|
|
file.WriteLine("1111"); |
|
|
|
} |
|
|
|
|
|
|
|
Materiel materialmodel = new Materiel(); |
|
|
|
ProduceShift produceshiftmodel = new ProduceShift(); |
|
|
|
MachineInfo machine = new MachineInfo(); |
|
|
@ -294,9 +299,19 @@ namespace QMAPP.FJC.Web.Controllers |
|
|
|
QMAPP.MD.Entity.WorkCell workcell = new QMAPP.MD.Entity.WorkCell(); |
|
|
|
workcell.WORKCELL_CODE = orderby; |
|
|
|
|
|
|
|
using (System.IO.StreamWriter file = new System.IO.StreamWriter(@"D:\ceshi\WriteLines.txt", true)) |
|
|
|
{ |
|
|
|
file.WriteLine("22222"); |
|
|
|
} |
|
|
|
|
|
|
|
try |
|
|
|
{ |
|
|
|
dt = this.GetTableByExcel("TJZhuSuPlanImp", fileName, dt); |
|
|
|
|
|
|
|
using (System.IO.StreamWriter file = new System.IO.StreamWriter(@"D:\ceshi\WriteLines.txt", true)) |
|
|
|
{ |
|
|
|
file.WriteLine("3333"); |
|
|
|
} |
|
|
|
//格式转换
|
|
|
|
list = QMFrameWork.Common.Util.BindHelper.ConvertToList<TJZhuSuPlan>(dt).ToList(); |
|
|
|
serviceResult = wcfAgent.InvokeServiceFunction<DataResult<ImportMessage>>("TJZhuSuPlanBLL_GetImportData", list, materialmodel,machine, produceshiftmodel, workcell); |
|
|
|