2024-05-30 15:34:20 +08:00
|
|
|
|
namespace WcsMain.EquipOperation.Entity;
|
2024-05-14 16:30:56 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 给输送机任务
|
|
|
|
|
|
/// </summary>
|
2024-06-12 09:23:20 +08:00
|
|
|
|
public class ConveyPLCTask(int plcId, short router)
|
2024-05-14 16:30:56 +08:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Plc任务号
|
|
|
|
|
|
/// </summary>
|
2024-06-12 09:23:20 +08:00
|
|
|
|
public int PlcId { get; set; } = plcId;
|
2024-05-14 16:30:56 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 路向
|
|
|
|
|
|
/// </summary>
|
2024-06-12 09:23:20 +08:00
|
|
|
|
public short Router { get; set; } = router;
|
2024-05-14 16:30:56 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public override string ToString()
|
|
|
|
|
|
{
|
|
|
|
|
|
return $"<{PlcId} | {Router}>";
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|