液晶标签协议对接!

This commit is contained in:
hehaibing-1996
2024-12-09 19:40:05 +08:00
parent a37918a95d
commit 1c2a34256e
11 changed files with 460 additions and 621 deletions

View File

@ -19,6 +19,7 @@ namespace WCS.BLL.HardWare
{
public MXL4Shelf(ShelfInfo shelfInfo)
{
ShelfTypeName = shelfInfo.ShelfTypeName;
ShelfId = shelfInfo.Id;
ShelfCode = shelfInfo.ShelfCode;
RowCounts = shelfInfo.Rowcounts;
@ -49,22 +50,19 @@ namespace WCS.BLL.HardWare
});
}
public string ShelfTypeName { get; set; }
public int ShelfId { get; set; }
public string ShelfCode { get; set; }
public int RowCounts { get; set; }
public int ColumnCounts { get; set; }
public Mode CurrentMode { get; set; }
public DateTime SetCurrentModeTime { get; set; }
public string ModulesStr { get; set; }//当前货架所有模组的Str
public string GroupName { get; set; }
public List<SmartShelfModule> Modules { get; set; } = new List<SmartShelfModule>();
public List<MXL4ShelfModule> MXL4Modules { get; set; } = new List<MXL4ShelfModule>();
public TCPClient TcpCleint { get { return TCPClientManager.GetTCPClientByIPHost(ClientIp); } }
public int LightId { get; set; }
public LightColorEnum LightColor { get; set; }
public bool IsWarning { get; set; } = false;
public WarningLight WarningLight { get; set; }
@ -114,10 +112,11 @@ namespace WCS.BLL.HardWare
public string WebSocketIpAddress { get; set; } = "127.0.0.2";
public string OutOperateUser { get; set; } = string.Empty;
#region
public void GoInInstore(string? IPAddress)
{
}
public void GoOutInstore()
@ -131,20 +130,20 @@ namespace WCS.BLL.HardWare
/// <param name="ModuleId"></param>
public void GoInOutstoreByWebSocket(int moduleId)
{
}
public void GoInOutstore(List<OutOrderMatDetail> MatDetails, OutOrder outOrder, string OperateUser)
{
}
public void GoOutOutstore()
{
}
public void GoInStocktaking(List<StockTakingOrderMatDetail> MatDetails, StockTakingOrder stockTakingOrder)
{
}
/// <summary>
/// 确认盘点 Pda进行触发
@ -155,12 +154,12 @@ namespace WCS.BLL.HardWare
}
public void GoOutStocktaking()
{
}
public void Reset()
{
MXL4Modules.ForEach(t => t.Reset(TcpCleint));
}
public void QueryVoltage(int moduleId)
@ -196,7 +195,7 @@ namespace WCS.BLL.HardWare
public void ShelfCheck()
{
}
#endregion