change-扫码器委托条码修复

collectionStore
liuwf 9 months ago
parent 8cfa0b52d3
commit 3c0c86d53a

@ -112,17 +112,17 @@ namespace Aucma.Scada.Business
StartPassDown();
Task.Run(() =>
{
Thread.Sleep(6000);
for (int i = 1; i < 2; i++)
{
InStore("B2401018302500586001" + i.ToString().PadLeft(2, '0'), "169.254.100.169");
// Thread.Sleep(1000 * 30);
// InStore(appConfig.linerStoreCode, "L23600000788110900" + i.ToString().PadLeft(2, '0'));
// Thread.Sleep(1000 * 30);
}
});
//Task.Run(() =>
//{
// Thread.Sleep(6000);
// for (int i = 1; i < 2; i++)
// {
// InStore("B2401018302500586001" + i.ToString().PadLeft(2, '0'), "169.254.100.169");
// // Thread.Sleep(1000 * 30);
// // InStore(appConfig.linerStoreCode, "L23600000788110900" + i.ToString().PadLeft(2, '0'));
// // Thread.Sleep(1000 * 30);
// }
//});
}

@ -63,9 +63,14 @@ namespace Aucma.Scada.Business
public void InitHikRobot()
{
try
{
{
Task.Run(() =>
{
Thread.Sleep(2000);
MvCodeHelper.DeviceListAcq();//获取创建设备
MvCodeHelper.StartGrab(); // 开启触发扫码接收数据
});
}
catch (Exception ex)
{

@ -70,7 +70,7 @@ namespace Aucma.Core.Scanner
// 内胆扫码器ip
string LinerScannerIp = appConfig.linerHikRobotIp;
// 箱壳扫码器ip
string ShellScannerIp = appConfig.linerHikRobotIp;
string ShellScannerIp = appConfig.shellHikRobotIp;
System.GC.Collect();
m_stDeviceList.nDeviceNum = 0;

@ -0,0 +1,102 @@
[2024-02-22 10:53:03:0958] | Info | Manager.cpp -L0305: ---------------------Start PROGRAM--------------------
[2024-02-22 10:53:04:0462] | Info | Manager.cpp -L1215: open cam[00DA1604598], GevMessageChannelCnt channelNum[1] gvmp[0] server set hostIp[0xa0a5cc7] hostPort[61063]
[2024-02-22 10:53:26:0531] | Info | Manager.cpp -L1428: GetEnumValue RUNNING_MODE [0]
[2024-02-22 10:53:26:0533] | Info | Manager.cpp -L1295: camera module GetIntValue PayloadSize[6561960]
[2024-02-22 10:53:28:0269] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:53:31:0268] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:53:34:0268] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:53:37:0268] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:53:40:0268] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:53:43:0268] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:53:53:0215] | Info | Manager.cpp -L0305: ---------------------Start PROGRAM--------------------
[2024-02-22 10:54:00:0386] | Info | Manager.cpp -L0305: ---------------------Start PROGRAM--------------------
[2024-02-22 10:54:00:0488] | Info | Manager.cpp -L0305: ---------------------Start PROGRAM--------------------
[2024-02-22 10:54:00:0491] | Error | CameraModule.cpp -L0683: camera module MV_CC_OpenDevice fail [0x80000203]
[2024-02-22 10:54:00:0491] | Error | Manager.cpp -L1026: open camera failed, [0x80020203]
[2024-02-22 10:54:00:0806] | Info | Manager.cpp -L1215: open cam[00DA1604598], GevMessageChannelCnt channelNum[1] gvmp[0] server set hostIp[0xa0a5cc7] hostPort[61272]
[2024-02-22 10:54:05:0384] | Info | Manager.cpp -L0305: ---------------------Start PROGRAM--------------------
[2024-02-22 10:54:05:0393] | Error | CameraModule.cpp -L0683: camera module MV_CC_OpenDevice fail [0x80000203]
[2024-02-22 10:54:05:0393] | Error | Manager.cpp -L1026: open camera failed, [0x80020203]
[2024-02-22 10:54:10:0372] | Info | Manager.cpp -L0305: ---------------------Start PROGRAM--------------------
[2024-02-22 10:54:10:0376] | Error | CameraModule.cpp -L0683: camera module MV_CC_OpenDevice fail [0x80000203]
[2024-02-22 10:54:10:0376] | Error | Manager.cpp -L1026: open camera failed, [0x80020203]
[2024-02-22 10:54:15:0376] | Info | Manager.cpp -L0305: ---------------------Start PROGRAM--------------------
[2024-02-22 10:54:15:0381] | Error | CameraModule.cpp -L0683: camera module MV_CC_OpenDevice fail [0x80000203]
[2024-02-22 10:54:15:0381] | Error | Manager.cpp -L1026: open camera failed, [0x80020203]
[2024-02-22 10:54:20:0424] | Info | Manager.cpp -L0305: ---------------------Start PROGRAM--------------------
[2024-02-22 10:54:20:0431] | Error | CameraModule.cpp -L0683: camera module MV_CC_OpenDevice fail [0x80000203]
[2024-02-22 10:54:20:0431] | Error | Manager.cpp -L1026: open camera failed, [0x80020203]
[2024-02-22 10:54:25:0405] | Info | Manager.cpp -L0305: ---------------------Start PROGRAM--------------------
[2024-02-22 10:54:25:0410] | Error | CameraModule.cpp -L0683: camera module MV_CC_OpenDevice fail [0x80000203]
[2024-02-22 10:54:25:0410] | Error | Manager.cpp -L1026: open camera failed, [0x80020203]
[2024-02-22 10:54:30:0420] | Info | Manager.cpp -L0305: ---------------------Start PROGRAM--------------------
[2024-02-22 10:54:30:0424] | Error | CameraModule.cpp -L0683: camera module MV_CC_OpenDevice fail [0x80000203]
[2024-02-22 10:54:30:0424] | Error | Manager.cpp -L1026: open camera failed, [0x80020203]
[2024-02-22 10:54:35:0388] | Info | Manager.cpp -L0305: ---------------------Start PROGRAM--------------------
[2024-02-22 10:54:35:0392] | Error | CameraModule.cpp -L0683: camera module MV_CC_OpenDevice fail [0x80000203]
[2024-02-22 10:54:35:0392] | Error | Manager.cpp -L1026: open camera failed, [0x80020203]
[2024-02-22 10:54:40:0428] | Info | Manager.cpp -L0305: ---------------------Start PROGRAM--------------------
[2024-02-22 10:54:40:0435] | Error | CameraModule.cpp -L0683: camera module MV_CC_OpenDevice fail [0x80000203]
[2024-02-22 10:54:40:0435] | Error | Manager.cpp -L1026: open camera failed, [0x80020203]
[2024-02-22 10:54:45:0425] | Info | Manager.cpp -L0305: ---------------------Start PROGRAM--------------------
[2024-02-22 10:54:45:0433] | Error | CameraModule.cpp -L0683: camera module MV_CC_OpenDevice fail [0x80000203]
[2024-02-22 10:54:45:0433] | Error | Manager.cpp -L1026: open camera failed, [0x80020203]
[2024-02-22 10:55:03:0233] | Info | Manager.cpp -L0305: ---------------------Start PROGRAM--------------------
[2024-02-22 10:56:27:0093] | Info | Manager.cpp -L0305: ---------------------Start PROGRAM--------------------
[2024-02-22 10:56:34:0870] | Info | Manager.cpp -L1215: open cam[00DA1604598], GevMessageChannelCnt channelNum[1] gvmp[0] server set hostIp[0xa0a5cc7] hostPort[61907]
[2024-02-22 10:57:04:0066] | Info | Manager.cpp -L1428: GetEnumValue RUNNING_MODE [0]
[2024-02-22 10:57:04:0067] | Info | Manager.cpp -L1295: camera module GetIntValue PayloadSize[6561960]
[2024-02-22 10:57:04:0259] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:57:07:0259] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:57:10:0259] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:57:13:0259] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:57:16:0259] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:57:19:0259] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:57:22:0259] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:57:25:0259] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:57:28:0259] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:57:29:0471] | Info | CodeReaderGvmp.cpp -L0965: sdk: recv cam[00DA1604598] package[61] frame[2103] channelID[0] width[3072] height[2048] imageCost[0] frameLen[247565] result: barcodenum[1] index[0] barcode[B24022183015008230010] codeLen[21] angle[268] ppm[135] algocost[93] sharpness[0] idRsocre[0] eventID[50006] nAllQualityValid[0] barType[2]
[2024-02-22 10:57:29:0476] | Info | Manager.cpp -L2125: app recv: camera[00DA1604598] main packageid[61] trigger index[61] channelID[0] framenum[2103] width[3072] height[2048] imageCost[0] framelen[247565] barcodenum[1] eventID[50006] ocrallnum[0]
[2024-02-22 10:57:29:0476] | Info | Manager.cpp -L2189: app recv: camera[00DA1604598] main packageid[61] trigger index[61] channelID[0] framenum[2103] barcode[0] character[B24022183015008230010] charLen[21] ppm[135] algocost[93] sharpness[0] idRsocre[0]
[2024-02-22 10:57:35:0439] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:57:38:0438] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:57:41:0438] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:57:44:0438] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:57:47:0438] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:57:50:0438] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:57:53:0438] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:57:56:0438] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:57:59:0437] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:58:02:0437] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:58:05:0437] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:58:08:0437] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:58:11:0437] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:58:14:0437] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:58:17:0436] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:58:20:0436] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 10:58:23:0436] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 11:00:17:0659] | Info | Manager.cpp -L0305: ---------------------Start PROGRAM--------------------
[2024-02-22 11:00:18:0139] | Info | Manager.cpp -L1215: open cam[00DA1604598], GevMessageChannelCnt channelNum[1] gvmp[0] server set hostIp[0xa0a5cc7] hostPort[62655]
[2024-02-22 11:00:18:0148] | Info | Manager.cpp -L1428: GetEnumValue RUNNING_MODE [0]
[2024-02-22 11:00:18:0149] | Info | Manager.cpp -L1295: camera module GetIntValue PayloadSize[6561960]
[2024-02-22 11:00:20:0431] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 11:00:22:0037] | Info | Manager.cpp -L0305: ---------------------Start PROGRAM--------------------
[2024-02-22 11:00:22:0042] | Error | CameraModule.cpp -L0683: camera module MV_CC_OpenDevice fail [0x80000203]
[2024-02-22 11:00:22:0042] | Error | Manager.cpp -L1026: open camera failed, [0x80020203]
[2024-02-22 11:00:23:0431] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 11:00:26:0431] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 11:00:27:0055] | Info | Manager.cpp -L0305: ---------------------Start PROGRAM--------------------
[2024-02-22 11:00:27:0059] | Error | CameraModule.cpp -L0683: camera module MV_CC_OpenDevice fail [0x80000203]
[2024-02-22 11:00:27:0059] | Error | Manager.cpp -L1026: open camera failed, [0x80020203]
[2024-02-22 11:00:29:0432] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 11:00:32:0035] | Info | Manager.cpp -L0305: ---------------------Start PROGRAM--------------------
[2024-02-22 11:00:32:0039] | Error | CameraModule.cpp -L0683: camera module MV_CC_OpenDevice fail [0x80000203]
[2024-02-22 11:00:32:0039] | Error | Manager.cpp -L1026: open camera failed, [0x80020203]
[2024-02-22 11:00:32:0430] | Info | CodeReaderGvmp.cpp -L0965: sdk: recv cam[00DA1604598] package[62] frame[2223] channelID[0] width[3072] height[2048] imageCost[0] frameLen[286554] result: barcodenum[1] index[0] barcode[B24022183015008230010] codeLen[21] angle[268] ppm[128] algocost[118] sharpness[0] idRsocre[0] eventID[50006] nAllQualityValid[0] barType[2]
[2024-02-22 11:00:32:0433] | Info | Manager.cpp -L2125: app recv: camera[00DA1604598] main packageid[62] trigger index[62] channelID[0] framenum[2223] width[3072] height[2048] imageCost[0] framelen[286554] barcodenum[1] eventID[50006] ocrallnum[0]
[2024-02-22 11:00:32:0433] | Info | Manager.cpp -L2189: app recv: camera[00DA1604598] main packageid[62] trigger index[62] channelID[0] framenum[2223] barcode[0] character[B24022183015008230010] charLen[21] ppm[128] algocost[118] sharpness[0] idRsocre[0]
[2024-02-22 11:00:38:0401] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 11:00:41:0401] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 11:00:44:0401] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 11:00:47:0401] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!
[2024-02-22 11:00:50:0401] | Error | CodeReaderGvmp.cpp -L0329: The TCP Data Length is 0, so contine!

@ -24,8 +24,8 @@ instoreTaskType=1
outstoreTaskType=2
#箱壳扫码器IP
shellHikRobotIp=169.254.100.169
shellHikRobotIp=10.10.92.122
#内胆扫码器IP
linerHikRobotIp=127.0.0.1
linerHikRobotIp=10.10.92.121
searchItems=Option 1%SC234%Option 3%SC232%Option 5%Option 6%Option 7%Option 8%Option 9%Option 10%%%%%
foamBeforeStoreCode=PBSCK-001

Loading…
Cancel
Save