提交代码

This commit is contained in:
hehaibing-1996
2024-05-03 11:04:59 +08:00
parent 97888c6978
commit d283924ae1
48 changed files with 802 additions and 509 deletions

View File

@ -90,7 +90,7 @@ namespace 货架标准上位机.ViewModel
{
ModuleCodeProcess(scanner);
}
//TO DO 增加正则表达式进行判断是否扫到的是物料码
//TODO 增加正则表达式进行判断是否扫到的是物料码
else
{
MatSnProcess(scanner);
@ -168,6 +168,14 @@ namespace 货架标准上位机.ViewModel
scanner.IsInstoreMode = true;
scanner.ShelfCode = Result.Data.ShelfCode;
scanner.ModulesStr = Result.Data.ModulesStr;
//TODO 清除其他扫码枪的占用
var sacnners = ScannerManager.Scanners
.Where(t => ShelfCode == Result.Data.ShelfCode)
.ToList();
foreach (var item in sacnners)
{
item.ShelfCode = string.Empty;
}
}
else if (Result != null && !string.IsNullOrEmpty(Result.Message))
{