foamRearStore
liuwf 12 months ago
parent 5d2a3ce3ee
commit 868f7f30a7

Binary file not shown.

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

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

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

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

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

Loading…
Cancel
Save