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

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
{
@ -21,12 +22,14 @@ namespace WCS.BLL.HardWare
public string OrderNumber { get; set; }
public int LightId { get; set; }
public LightColorEnum LightColor { get; set; }
public List<int> ModuleIds { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
public string ClientIp { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
public List<string> ExceptionMessages { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
public bool IsWarning { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
public string WebSocketIpAddress { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
public List<SmartShelfModule> Modules { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
public DateTime SetCurrentModeTime { get; set; }
public bool ConfirmStocktakingSingle(int BoardId, int LightNumber)
{
@ -36,38 +39,38 @@ namespace WCS.BLL.HardWare
public void GoInInstore(string IPAdress)
{
//找到对应的灯 亮灯
}
public void GoInOutstore(List<OutOrderMatDetail> MatDetails, OutOrder outOrder)
{
throw new NotImplementedException();
}
public void GoInStocktaking()
{
throw new NotImplementedException();
}
public void GoInStocktaking(List<StockTakingOrderMatDetail> MatDetails, StockTakingOrder outOrder)
{
throw new NotImplementedException();
}
public void GoOutInstore()
{
//找到已亮灯的 灭灯
throw new NotImplementedException();
}
public void GoOutOutstore()
{
throw new NotImplementedException();
}
public void GoOutStocktaking()
{
throw new NotImplementedException();
}
public void Reset()
@ -75,19 +78,19 @@ namespace WCS.BLL.HardWare
return;
}
public void SetCurrentMode()
public void SetCurrentMode(Mode mode)
{
throw new NotImplementedException();
}
public void ShelfCheck()
{
throw new NotImplementedException();
}
public void Warning()
{
throw new NotImplementedException();
}
}
}