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

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

@ -5,6 +5,7 @@ using System.Text;
using System.Threading.Tasks;
using WCS.BLL.DbModels;
using WCS.Model;
using static WCS.BLL.HardWare.WarningLight;
namespace WCS.BLL.HardWare
{
@ -38,6 +39,7 @@ namespace WCS.BLL.HardWare
public int ColumnCounts { get; set; }
public int LightId { get; set; }
public LightColorEnum LightColor { get; set; }
public List<int> ModuleIds { get; set; }
public List<SmartShelfModule> Modules { get; set; }
public string ClientIp { get; set; }
@ -45,6 +47,10 @@ namespace WCS.BLL.HardWare
/// 货架当前模式
/// </summary>
public Mode CurrentMode { get; set; }
/// <summary>
/// 设置到当前模式的时间
/// </summary>
public DateTime SetCurrentModeTime { get; set; }
public MatInfoResponse InStoreData { get; set; }
@ -68,7 +74,7 @@ namespace WCS.BLL.HardWare
/// <summary>
/// 设置货架模式
/// </summary>
public void SetCurrentMode();
public void SetCurrentMode(Mode mode);
/// <summary>
/// 货架进入入库模式
@ -99,7 +105,7 @@ namespace WCS.BLL.HardWare
/// <summary>
/// 货架单个确认盘点
/// </summary>
public bool ConfirmStocktakingSingle(int BoardId,int LightNumber);
public bool ConfirmStocktakingSingle(int BoardId, int LightNumber);
/// <summary>
/// 货架退出盘点模式