移植后台关灯机制 超时退出模式关灯,灯状态不对的恢复

This commit is contained in:
hehaibing-1996
2024-05-29 14:23:01 +08:00
parent 4958c58706
commit d1914bb2d1
10 changed files with 233 additions and 30 deletions

View File

@ -152,6 +152,8 @@ namespace WCS.BLL.Services.Service
Message = $"操作失败:货架[{request.ShelfCode}]不在入库模式!\r\n当前为{shelf.CurrentMode}",
};
}
//物料在入库模式,更新时间 避免被后台线程关闭
shelf.SetCurrentModeTime = DateTime.Now;
}
#region //调用接口或者直接查询数据库