1.相同物料同时出库 不同物料分批次出库 相邻两次亮灯颜色为绿色、蓝色、绿色、蓝色

This commit is contained in:
hehaibing-1996
2024-05-29 10:09:42 +08:00
parent 08850a2f15
commit 4958c58706
6 changed files with 32 additions and 10 deletions

View File

@ -5,6 +5,7 @@ using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using TouchSocket.Core;
using WCS.BLL.Config;
using WCS.DAL.Db;
using WCS.DAL.DbModels;
@ -235,6 +236,15 @@ namespace WCS.BLL.HardWare
var data4 = outDataStr.Substring(0, 8);
GoInOutstoreModeData[3] = Convert.ToByte(data3, 2);
GoInOutstoreModeData[4] = Convert.ToByte(data4, 2);
if (LocalFile.Config.IsSameMatCodeOut)
{
GoInOutstoreModeData[5] = LocalStatic.CurrentOutStoreColor;
}
else
{
GoInOutstoreModeData[5] = 0x02;
}
}
tcpClient.Send(tcpClient.GenerateMessage(BoardId, GoInOutstoreModeData));
}