using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using bizFacade; using MesServerWork; //using BizDataAccess; namespace MesServerFunctions { partial class Functions_BASE_17 { /// /// 根据扫描条码创建线外工件编号 /// /// private void CreateEngineIDByBarcode(string opName, out string engineType, out int engineTypeID, out string engineID) { engineTypeID = 0; int isRepair = 0; string orderForm = ""; engineType = ""; string palletCode = ""; string repairCode = ""; engineID = ""; //获取订单号,发动机型号,发动机型号代码(在线首工位将选择的订单,机型等信息保存到监控表中) BaseDataSystemMES.OpName_MIS_CreateMoby_Select(opName, out orderForm, out engineTypeID, out engineType, out engineID, out palletCode, out isRepair, out repairCode); //保存机型数据到表[电子看板_发动机号_线首工位] //if (!BaseDataSystemMES.GetEngineID_Save_Outline(opName, orderForm, palletCode, engineType, engineTypeID, engineID, "1")) // { // //工件编号创建失败+OpName // engineID = ""; // engineTypeID = -1; // engineType = ""; // AsyncSendMessage_Notice(opName, "保存工件信息出错..."); // return; // } } } }