using System;
|
using System.Reflection;
|
|
namespace SHARP_CLAS_UI
|
{
|
public class Panel_Info
|
{
|
#region Property
|
public bool Blank { get; set; }
|
|
public string Tray_ID { get; set; }
|
public string Panel_ID { get; set; }
|
public int Tray_Num { get; set; }
|
public int Panel_Num { get; set; }
|
public int Row_Num { get; set; }
|
public int Column_Num { get; set; }
|
|
public bool Ablation_Run { get; set; }
|
|
public bool Ld_Reverse { get; set; }
|
public bool Uld_Reverse { get; set; }
|
|
public bool Film_Judge_Ack { get; set; }
|
public bool Film_Judge_Result { get; set; }
|
|
public bool Pre_Align_Ack { get; set; }
|
public bool Pre_Align_Result { get; set; }
|
|
public double Pre_Align_X_Offset { get; set; }
|
public double Pre_Align_Y_Offset { get; set; }
|
public double Pre_Align_T_Offset { get; set; }
|
|
public bool Fine_Align_Ack { get; set; }
|
public bool Fine_Align_Result { get; set; }
|
|
public bool IsPanelIdReadWorked { get; set; }
|
public bool IsPanelIdRead { get; set; }
|
|
public double Fine_Align_X_Offset { get; set; }
|
public double Fine_Align_Y_Offset { get; set; }
|
public double Fine_Align_T_Offset { get; set; }
|
public double Fine_Align_Distatnce { get; set; }
|
|
public double AblationPower { get; set; }
|
public double AblationTargetPower { get; set; }
|
public bool IsAblationWorked { get; set; }
|
|
public bool IsPlasmaWorked { get; set; }
|
|
public bool Measurement_Ack { get; set; }
|
public bool Measurement_Result { get; set; }
|
|
public double Mark1Point1 { get; set; }
|
public double Mark1Point2 { get; set; }
|
public double Mark2Point1 { get; set; }
|
public double Mark2Point2 { get; set; }
|
public double Mark3Point1 { get; set; }
|
public double Mark3Point2 { get; set; }
|
public double Mark4Point1 { get; set; }
|
public double Mark4Point2 { get; set; }
|
|
public bool WidthMeasurement_Ack { get; set; }
|
public bool WidthMeasurement_Result { get; set; }
|
|
public double Mark1Width { get; set; }
|
public double Mark2Width { get; set; }
|
public double Mark3Width { get; set; }
|
public double Mark4Width { get; set; }
|
|
public int Stage_Num { get; set; }
|
|
public DateTime Start_Time { get; set; }
|
|
public DateTime End_Time { get; set; }
|
#endregion
|
|
#region Construct
|
public Panel_Info()
|
{
|
this.Start_Time = DateTime.Now;
|
this.End_Time = Convert.ToDateTime("9999-12-31 23:59:59");
|
this.Blank = true;
|
this.Ablation_Run = true;
|
this.Tray_ID = string.Empty;
|
this.Panel_ID = string.Empty;
|
}
|
#endregion
|
|
#region Fuction
|
public Panel_Info Clone()
|
{
|
Panel_Info info = new Panel_Info();
|
|
info.Blank = this.Blank;
|
info.Tray_ID = this.Tray_ID;
|
info.Panel_ID = this.Panel_ID;
|
info.Tray_Num = this.Tray_Num;
|
info.Panel_Num = this.Panel_Num;
|
info.Row_Num = this.Row_Num;
|
info.Column_Num = this.Column_Num;
|
info.Ld_Reverse = this.Ld_Reverse;
|
info.Uld_Reverse = this.Uld_Reverse;
|
info.Ablation_Run = this.Ablation_Run;
|
info.Film_Judge_Ack = this.Film_Judge_Ack;
|
info.Film_Judge_Result = this.Film_Judge_Result;
|
info.Pre_Align_Ack = this.Pre_Align_Ack;
|
info.Pre_Align_Result = this.Pre_Align_Result;
|
info.Pre_Align_X_Offset = this.Pre_Align_X_Offset;
|
info.Pre_Align_Y_Offset = this.Pre_Align_Y_Offset;
|
info.Pre_Align_T_Offset = this.Pre_Align_T_Offset;
|
info.IsPanelIdReadWorked = this.IsPanelIdReadWorked;
|
info.IsPanelIdRead = this.IsPanelIdRead;
|
info.Fine_Align_Ack = this.Fine_Align_Ack;
|
info.Fine_Align_Result = this.Fine_Align_Result;
|
info.Fine_Align_X_Offset = this.Fine_Align_X_Offset;
|
info.Fine_Align_Y_Offset = this.Fine_Align_Y_Offset;
|
info.Fine_Align_T_Offset = this.Fine_Align_T_Offset;
|
info.Fine_Align_Distatnce = this.Fine_Align_Distatnce;
|
info.AblationPower = this.AblationPower;
|
info.AblationTargetPower = this.AblationTargetPower;
|
info.IsAblationWorked = this.IsAblationWorked;
|
info.IsPlasmaWorked = this.IsPlasmaWorked;
|
info.Measurement_Ack = this.Measurement_Ack;
|
info.Measurement_Result = this.Measurement_Result;
|
info.Mark1Point1 = this.Mark1Point1;
|
info.Mark1Point2 = this.Mark1Point2;
|
info.Mark2Point1 = this.Mark2Point1;
|
info.Mark2Point2 = this.Mark2Point2;
|
info.Mark3Point1 = this.Mark3Point1;
|
info.Mark3Point2 = this.Mark3Point2;
|
info.Mark4Point1 = this.Mark4Point1;
|
info.Mark4Point2 = this.Mark4Point2;
|
info.WidthMeasurement_Ack = this.WidthMeasurement_Ack;
|
info.WidthMeasurement_Result = this.WidthMeasurement_Result;
|
info.Mark1Width = this.Mark1Width;
|
info.Mark2Width = this.Mark2Width;
|
info.Mark3Width = this.Mark3Width;
|
info.Mark4Width = this.Mark4Width;
|
info.Stage_Num = this.Stage_Num;
|
info.Start_Time = this.Start_Time;
|
info.End_Time = this.End_Time;
|
|
return info;
|
}
|
|
public override string ToString()
|
{
|
string str = string.Empty;
|
var properties = typeof(Panel_Info).GetProperties(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance);
|
|
foreach (PropertyInfo info in properties)
|
{
|
str += info.Name + ":";
|
str += info.GetValue(this).ToString() + ",";
|
}
|
|
return str;
|
}
|
#endregion
|
}
|
}
|