液晶标签剩余协议对接 编码

This commit is contained in:
hehaibing-1996
2024-12-10 19:09:43 +08:00
parent c94af9e987
commit 85a35ac34f
17 changed files with 393 additions and 149 deletions

View File

@ -5,6 +5,7 @@ using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
using WCS.BLL.Config;
using WCS.BLL.DbModels;
using WCS.BLL.DbModels.Task;
using WCS.BLL.HardWare;
using WCS.BLL.Manager;
using WCS.BLL.Services.IService;
@ -16,6 +17,7 @@ using WCS.Model;
using WCS.Model.ApiModel.InOutRecord;
using WCS.Model.ApiModel.InStore;
using WCS.Model.ApiModel.MXBackgroundThread;
using static Dm.net.buffer.ByteArrayBuffer;
namespace WCS.BLL.Services.Service
{
@ -68,7 +70,7 @@ namespace WCS.BLL.Services.Service
//已找到模组对应货架
shelf.GoInInstore(request.IpAdress);
if (shelf.CurrentMode == Mode.)
if (shelf.CurrentMode == TaskModeEnum.)
//成功进入入库模式
return new ShelfGoInInstoreResponse()
{
@ -157,7 +159,7 @@ namespace WCS.BLL.Services.Service
};
}
//判断当前是否是入库模式
if (shelf.CurrentMode != Mode.)
if (shelf.CurrentMode != TaskModeEnum.)
{
return new ResponseCommon<MatInfo>()
{
@ -381,7 +383,7 @@ namespace WCS.BLL.Services.Service
}
//判断当前是否是入库模式
if (shelf.CurrentMode != Mode.)
if (shelf.CurrentMode != TaskModeEnum.)
{
return new ResponseCommon()
{