namespace ProximaAnalizer.Data;


public class ProcessData
{
    public string? Guid { get; set; }
    public DateTime Process_Begin_Time { get; set; }
    public DateTime Process_End_Time { get; set; }
    public string? Recipe_Name { get; set; }
    public string? Process_Status { get; set; }
    public string? Process_In { get; set; }
    public string? PJ_ID { get; set; }
    public RecipeType Recipe_Type { get; set; }
    public RecipeExecuteEnrty Recipe_Exec_Entry { get; set; }
    public float Recipe_Setting_Time { get; set; }

}

public enum RecipeType
{
    Undifiend = 1,
    Process_Recipe = 10,
    Abort_Recipe,
    Alarm_Recipe,
    Idle_Recipe,
    Reset_Recipe,
    Sub_Recipe,
}

public enum RecipeExecuteEnrty
{
    None = 1,
    AutoJobTrigger = 10,
    MaintenanceJobTrigger = 20,
    AbortRecipeTrigger = 30,
    IdleRecipeTrigger = 40,
    AlarmConditonTrigger = 50,
    LeakCheckTrigger = 60,
    SDWaferRangeTrigger = 70,
    EDWaferRangeTrigger = 80,
    RecipeRangeTrigger = 90,
    RecipeStepRangeTrigger = 100,
}

public class RecipeStepData
{
    public string? Guid { get; set; }
    public DateTime Step_Begin_Time { get; set; }
    public DateTime Step_End_Time { get; set; }
    public string? Step_Name { get; set; }
    public float Step_Time { get; set; }
    public int Step_Number { get; set; }
    public string? Process_Data_Guid { get; set; }
    public string? Sub_Recipe_Step_Time { get; set; }
    public string? Sub_Recipe_Step_Number { get; set; }
    public string? Sub_Recipe_Step_Name { get; set; }
    public string? Sub_Recipe_Loop_Info { get; set; }
    public string? Temp_correction { get; set; }
    public string? Temp_pid { get; set; }
}

public class EventData
{
    public string? Level { get; set; }
    public string? Description { get; set; }
    public DateTime Occur_Time { get; set; }
    public string? Source { get; set; }
    public string? Event_Enum { get; set; }
}