namespace SHARP_CLAS_UI
|
{
|
public class Sequence_Process
|
{
|
#region Enum
|
|
#endregion
|
|
#region Property
|
public bool Is_Home_Complete
|
{
|
get
|
{
|
return ablation_stage_1.IsHomeComplete && ablation_stage_2.IsHomeComplete && fine_align.IsHomeComplete && ablation.IsHomeComplete && plasma.IsHomeComplete;
|
}
|
}
|
|
public bool Panel_Exist
|
{
|
get
|
{
|
return ablation_stage_1.IsExist || ablation_stage_2.IsExist;
|
}
|
}
|
|
public SequenceTimer TactTime1
|
{
|
get
|
{
|
return _tactTime1;
|
}
|
|
set
|
{
|
_tactTime1 = value;
|
}
|
}
|
|
public SequenceTimer TactTime2
|
{
|
get
|
{
|
return _tactTime2;
|
}
|
|
set
|
{
|
_tactTime2 = value;
|
}
|
}
|
#endregion
|
|
#region Field
|
private Equipment _equip;
|
|
public AblationStage1 ablation_stage_1;
|
public AblationStage2 ablation_stage_2;
|
public Fine_Align fine_align;
|
public Ablation ablation;
|
public Plasma plasma;
|
|
private SequenceTimer _tactTime1 = new SequenceTimer();
|
private SequenceTimer _tactTime2 = new SequenceTimer();
|
//210811 HSLEE
|
double dTactTimeAblation1 = 0;
|
double dTactTimeAblation2 = 0;
|
|
#endregion
|
|
#region Construct
|
public Sequence_Process(Equipment _equip)
|
{
|
this._equip = _equip;
|
ablation_stage_1 = new AblationStage1(_equip);
|
ablation_stage_2 = new AblationStage2(_equip);
|
fine_align = new Fine_Align(_equip);
|
ablation = new Ablation(_equip);
|
plasma = new Plasma(_equip);
|
}
|
#endregion
|
|
#region Function
|
public void Seq_Logic()
|
{
|
ablation_stage_1.ExecuteProcess();
|
ablation_stage_2.ExecuteProcess();
|
fine_align.ExecuteProcess();
|
ablation.ExecuteProcess();
|
plasma.ExecuteProcess();
|
}
|
|
//210811 HSLEE
|
public void TactTimeAblation1(double dSecond)
|
{
|
dTactTimeAblation1 = dSecond;
|
}
|
public void TactTimeAblation2(double dSecond)
|
{
|
dTactTimeAblation2 = dSecond;
|
}
|
public double TactTimeAblation1()
|
{
|
return dTactTimeAblation1;
|
}
|
public double TactTimeAblation2()
|
{
|
return dTactTimeAblation2;
|
}
|
#endregion
|
}
|
}
|