Commit ffc3aa8f 刘韬

1

1 个父辈 0e51c838
......@@ -199,7 +199,7 @@ namespace DeviceLibrary
private void ServerCM_OutStoreEvent(JobInfo jobInfo)
{
AddOutStoreTask(jobInfo.WareNum, jobInfo.PosId, jobInfo.plateW, jobInfo.plateH);
AddOutStoreTask(jobInfo.WareNum, jobInfo.PosId, jobInfo.plateW, jobInfo.plateH,jobInfo.isNG,jobInfo.NgMsg);
}
private bool ServerCM_InStoreEvent1(JobInfo jobInfo, bool ng, string msg)
......
......@@ -20,8 +20,10 @@ namespace DeviceLibrary
StoreJobList OutStoreJobList = new StoreJobList("");
public void AddOutStoreTask(string warecode,string posId,int plateW,int plateH) {
public void AddOutStoreTask(string warecode,string posId,int plateW,int plateH,bool isNG, string ngMsg) {
JobInfo jobInfo = new JobInfo(warecode, posId,plateW,plateH);
jobInfo.isNG = isNG;
jobInfo.NgMsg = ngMsg;
OutStoreJobList.Enqueue(jobInfo);
LogUtil.info($"添加出库任务队列: {posId},当前任务数量: {OutStoreJobList.Count}");
}
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!