BUG
This commit is contained in:
@@ -157,7 +157,7 @@ namespace Tnb.ProductionMgr
|
||||
//扫码入库
|
||||
private void ScanInStock(object state)
|
||||
{
|
||||
var carry_code = "TestLX0001";//从数采读取
|
||||
var carry_code = "TestLX0001";//从数采读取载具
|
||||
WmsCarryH? carry = _repository.AsSugarClient().Queryable<WmsCarryH>().Single(it => it.carry_code == carry_code);
|
||||
if (carry != null)
|
||||
{
|
||||
@@ -176,7 +176,7 @@ namespace Tnb.ProductionMgr
|
||||
input.data.Add("container_no", WmsCarryCode.container_no!);//箱号
|
||||
input.data.Add("material_id", WmsCarryCode.material_id);
|
||||
input.data.Add("id", null);
|
||||
_wmsPDAScanInStock.ScanInStock(input);
|
||||
_wmsPDAScanInStock.ScanInStockByRedis(input);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -191,7 +191,7 @@ namespace Tnb.ProductionMgr
|
||||
{
|
||||
// Readtimer = new Timer(GetRedisData, null, TimeSpan.Zero, TimeSpan.FromSeconds(300));
|
||||
// CheckGettimer = new Timer(CheckGet, null, TimeSpan.Zero, TimeSpan.FromSeconds(300));
|
||||
// Scantimer = new Timer(ScanInStock, null, TimeSpan.Zero, TimeSpan.FromSeconds(300));
|
||||
Scantimer = new Timer(ScanInStock, null, TimeSpan.Zero, TimeSpan.FromSeconds(300));
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
public Task StopAsync(CancellationToken cancellationToken)
|
||||
|
||||
Reference in New Issue
Block a user