This commit is contained in:
hehaibing-1996
2024-11-12 19:37:47 +08:00
parent 3aa7e09e6a
commit ab53de1796
3 changed files with 33 additions and 6 deletions

View File

@ -75,7 +75,10 @@ namespace WCS.BLL.Services.Service
{
var shelfModel = new SingleLightShelfModel();
//报警灯
shelfModel.WarningLightMode = request.LightMode;
if(shelf.LightId > 0)
{
shelfModel.WarningLightMode = request.LightMode;
}
shelfModel.WarningLightColor = request.ColorMode;
shelfModel.WarningBoardId = shelf.LightId;
shelfModel.ClientIp = shelf.ClientIp;
@ -86,6 +89,7 @@ namespace WCS.BLL.Services.Service
BoardId = t.BoardId,
LightMode = request.LightMode,
LightColor = request.ColorMode,
LightNumber = t.SingleLightNumber,
}).ToList();
shelfModels.Add(shelfModel);