foamRearStore
liuwf 12 months ago
parent 5d2a3ce3ee
commit 868f7f30a7

Binary file not shown.

@ -120,15 +120,15 @@ namespace Aucma.Scada.Business
MvCodeHelper.RefreshLogMessageEvent += PrintLogInfoMessage;
StartPassDown();
Task.Run(() =>
{
Thread.Sleep(6000);
for (int i = 1; i < 2; i++)
{
InStore("B24010181060282920010");
Thread.Sleep(1000);
}
});
//Task.Run(() =>
//{
// Thread.Sleep(6000);
// for (int i = 1; i < 2; i++)
// {
// InStore("B24010181060282920010");
// Thread.Sleep(1000);
// }
//});
}
#region delete 2024-01-04出库时堵塞入库 ,不需要堵塞整个库
@ -284,6 +284,7 @@ namespace Aucma.Scada.Business
Task.Run(() =>
{
Thread.Sleep(2000);
while (true)
{
PassDownFoamTask();

@ -91,7 +91,7 @@ namespace Aucma.Scada.Business
Task.Run(() =>
{
Thread.Sleep(2000);
while (true)
{
if (_plcDictionary.Count > 0)

@ -311,6 +311,7 @@ namespace Aucma.Scada.Business
{
Task.Run(() =>
{
Thread.Sleep(2000);
while (true)
{
PassDownTaskInfo();
@ -351,16 +352,16 @@ namespace Aucma.Scada.Business
}
else if (result == 2)
{
PrintLogInfoMessage("泡后出库任务下发失败PLC接收任务未就绪");
// PrintLogInfoMessage("泡后出库任务下发失败PLC接收任务未就绪");
}
else
{
PrintLogInfoMessage($"泡后出库任务:{taskInfo.taskCode}下发失败请排除PLC连接");
// PrintLogInfoMessage($"泡后出库任务:{taskInfo.taskCode}下发失败请排除PLC连接");
}
}
else
{
PrintLogInfoMessage("未获取到需要下发的出库任务");
// PrintLogInfoMessage("未获取到需要下发的出库任务");
}
}
catch (Exception ex)

@ -93,6 +93,7 @@ namespace Aucma.Scada.Business
{
Task.Run(() =>
{
Thread.Sleep(2000);
while (true)
{
RealTaskInfo task = GetTaskInfoByTaskStatus(appConfig.foamStoreCode).OrderBy(x => x.createTime).FirstOrDefault();

@ -9,11 +9,11 @@ stationCode=1006
stationName=泡后库
#箱壳库编号
shellStoreCode=XKJCK-001
shellStoreCode=XKK-001
#内胆库编号
linerStoreCode=NDJCK-001
linerStoreCode=NDK-001
#泡后库编号
foamStoreCode=FPJCK-001
foamStoreCode=PHK-001
#泡后物料类型编号
foamMaterialType=200
@ -25,4 +25,4 @@ outstoreTaskType=2
#泡后扫码器IP
foamHikRobotIp=169.254.100.169
searchItems=SC232%SC233%SC234%
searchItems=SC232%SC233%SC234%150%%%

Loading…
Cancel
Save