|
|
@ -627,7 +627,7 @@ namespace QMAPP.WinForm.Forms.Operation |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
#region 20220429 DQZhang
|
|
|
|
#region 20220429 DQZhang BC316总成装配 按装车顺序(321654)排序后
|
|
|
|
DataTable fisPlanTable = dgvPlan.DataSource as DataTable; |
|
|
|
//fisPlanTable = fisPlanTable.AsEnumerable().Where(p => p.Field<int>("SendState") == 0).CopyToDataTable();
|
|
|
|
//if (fisPlanTable == null || fisPlanTable.Rows.Count == 0)
|
|
|
@ -711,7 +711,7 @@ namespace QMAPP.WinForm.Forms.Operation |
|
|
|
var result = _agent.InvokeServiceFunction<DAResult>(B9IPCService.DAI_Input.ToString() |
|
|
|
, new DAArgs |
|
|
|
{ |
|
|
|
WorkerPid = WorkerPid, |
|
|
|
WorkerPid = WorkerPid, //BC316总成装配 按装车顺序(321654)排序后,定位第一条工单使用
|
|
|
|
WorkCellCode = dai.WORKCELL_CODE, |
|
|
|
WorkLocCode = dai.WORKLOC_CODE, |
|
|
|
DACode = dai.DA_CODE, |
|
|
@ -1022,27 +1022,6 @@ namespace QMAPP.WinForm.Forms.Operation |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#region 20220429 QDZhang BC316装车排序起始号记录
|
|
|
|
//if (result.Success)
|
|
|
|
//{
|
|
|
|
// //if (fisPlanTable.Rows.Count > 0)
|
|
|
|
// //{
|
|
|
|
// int initNo = 0;
|
|
|
|
// int.TryParse(fisPlanRow["No"].ToString(), out initNo);
|
|
|
|
// if (!cboxSort.Checked)
|
|
|
|
// initNo = 0;
|
|
|
|
// WorkOrderBLL.SaveStartIndex(initNo);
|
|
|
|
// //}
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//闫永刚2017-10-2发送操作命令
|
|
|
|
dai.MOULD_CODE = string.Equals(dai.DIVBY_MOULD, "1") ? result.MouldCode : "1"; |
|
|
|
|
|
|
|