change-条码绑定修改

dev
liuwf 10 months ago
parent dea0a90a12
commit 355e686a9f

@ -30,7 +30,7 @@ namespace Admin.Core.Extensions
catch (Exception e)
{
log.Error($"An error was reported when starting the job service.\n{e.Message}");
throw;
//throw;
}
}
}

@ -59,11 +59,14 @@ namespace Aucma.Core.CodeBinding.ViewModels
timer.Interval = TimeSpan.FromSeconds(1);
timer.Tick += Timer_Tick;
timer.Start();
Scanner1State(false);
Scanner2State(false);
// Job_AllState_Quartz.RefreshStateEvent += RefreshStatus;
// MvCodeHelper.RefreshStateEvent += RefreshScanner;
TouchSocketService.RefreshStateEvent += RefreshScanner;
GunBusiness.InstanceSerialPort3();
// InitHikRobot();
}
@ -103,7 +106,6 @@ namespace Aucma.Core.CodeBinding.ViewModels
GunBusiness.InstanceSerialPort3();
Business.MvCodeHelper.Liner();
});
@ -126,7 +128,7 @@ namespace Aucma.Core.CodeBinding.ViewModels
if (ip == SnScannerIp)
{
Scanner1State(flag); ;
Scanner1State(flag);
}
else if (ip == MesScannerIp)
{

@ -197,7 +197,7 @@
},
"TouchSocket": {
"Enabled": true,
"Address": "10.10.92.123:5000"
"Address": "10.10.92.139:5000"
}
},
"ScannerServer": [

Loading…
Cancel
Save