You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

147 lines
5.0 KiB

using GummingCommon;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GummingEntity
{
/// <summary>
/// 工位状态
/// </summary>
public enum ExecuteStatusEnum
{
None = 0,
Prepare = 1,
Start = 2,
Wait = 3,
Done = 4,
Error = 5,
AllDone = 9
}
public enum MoveStatusEnum
{
Wait = 0,
MoveOut = 1,
MoveBack = 2
}
public class BasketStatus
{
public string Size { get; set; }
public string Basket { get; set; }
public string FlowId { get; set; }
public string WorkflowId { get; set; }
public string StationCode { get; set; }
public string BasketCode { get; set; }
public string Message { get; set; }
public string ExceptionMessage { get; set; }
public string LittleName { get; set; }
public List<SlotStatus> SlotStatues { get; set; }
public ExecuteStatusEnum Status { get; set; }
public HardSlotFlowEntity SelectedSlotFlow { get; set; }
public bool Canceling { get; set; }//花篮取消状态,用于加速取消
public string ErrorStation { get; set; }
public List<string> StationCodes { get; set; }
public ExecuteStatusEnum FinishStatus { get; set; }
}
public enum SlotInBasketStatus
{
NoExist = 0,
Exist = 1,
Moved = 2
}
//晶圆状态
public class SlotStatus
{
public BasketStatus BasketStatus { get; set; }
public string StationId { get; set; }
public string StationCode { get; set; }
public string Message { get; set; }
public int Priority { get; set; }
public List<SlotStepStatus> SlotStepStatues { get; set; }
public int Index { get; set; }
public ExecuteStatusEnum Status { get; set; }
public string StatusMessage { get; set; }
public SlotInBasketStatus InBasketStatus { get; set; }
public int InStatus { get; set; }
public SlotInBasketStatus InBasketCopyStatus { get; set; }//保留初始状态
public MoveStatusEnum MoveStatus { get; set; }
public bool IsAbort { get; set; } // 是否抛弃晶圆
}
public class SlotStepStatus
{
public StationTypeEnum StationType { get; set; }
public StationTypeEnum PreviousType { get; set; }
public SlotStepStatus PreviousSlotStepStatus { get; set; }
public StationTypeEnum NextType { get; set; }
public SlotStepStatus NextSlotStepStatus { get; set; }
public BasketStatus BasketStatus { get; set; }
public SlotStatus SlotStatus { get; set; }
public int Index { get; set; }
public ExecuteStatusEnum Status { get; set; }
public string Message { get; set; }
public List<StationStatus> Stations { get; set; }
public bool IsLastStep { get; set; }
public string GetArm { get; set; }
public string PreLockStation { get; set; }
}
public class StationStatus
{
public BasketStatus BasketStatus { get; set; }
public SlotStatus SlotStatus { get; set; }
public SlotStepStatus SlotStepStatus { get; set; }
public string StationCode { get; set; }
public string FormulaName { get; set; }
public int Index { get; set; }
public ExecuteStatusEnum Status { get; set; }
public string Message { get; set; }
public List<FlowStatus> FlowStatuses { get; set; }
public List<HardFormulaFlowEntity> Flows { get; set; }
public double TimeLeave { get; set; }
public DateTime StartTime { get; set; }
public DateTime EndTime { get; set; }
public double FormulaTime { get; set; }
public double FlowTime { get; set; }
}
public class FlowStatus
{
public BasketStatus BasketStatus { get; set; }
public SlotStatus SlotStatus { get; set; }
public SlotStepStatus SlotStepStatus { get; set; }
public StationStatus StationStatus { get; set; }
public string FlowId { get; set; }
public string FlowCode { get; set; }
public int Index { get; set; }
public ExecuteStatusEnum Status { get; set; }
public string Message { get; set; }
public string DetailMessage { get; set; }
public List<StepStatus> StepStatues { get; set; }
}
public class StepStatus
{
public BasketStatus BasketStatus { get; set; }
public SlotStatus SlotStatus { get; set; }
public SlotStepStatus SlotStepStatus { get; set; }
public StationStatus StationStatus { get; set; }
public FlowStatus FlowStatus { get; set; }
public string StepId { get; set; }
public string StepCode { get; set; }
public int Index { get; set; }
public ExecuteStatusEnum Status { get; set; }
public string Message { get; set; }
public string DetailMessage { get; set; }
}
}