From 7a23f140e04f37ce4c1660ff7a13e1d98c079401 Mon Sep 17 00:00:00 2001 From: 천호석 <hosuk1418@naver.com> Date: 금, 02 12월 2022 17:33:16 +0900 Subject: [PATCH] SequenceViewer에 장비 상태변경 radio button 제거. --- SHARP_CLAS_UI/300.Etc_Screen/Form_Vision_Test.cs | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/SHARP_CLAS_UI/300.Etc_Screen/Form_Vision_Test.cs b/SHARP_CLAS_UI/300.Etc_Screen/Form_Vision_Test.cs index b97a39a..004ec9b 100644 --- a/SHARP_CLAS_UI/300.Etc_Screen/Form_Vision_Test.cs +++ b/SHARP_CLAS_UI/300.Etc_Screen/Form_Vision_Test.cs @@ -378,7 +378,7 @@ private void btn_AOI_Grab_Ready_Req_Click(object sender, EventArgs e) { - int Seq_Type = 3; + int Seq_Type = cbb_AOI_SeqType.SelectedIndex == 0 ? 3 : 4; int Module_Idx = rb_AOI_Left.Checked ? 0 : 1; int Grab_Dir = 1; int Pnl_Dir = rb_AOI_Short.Checked ? 0 : 1; @@ -396,13 +396,13 @@ _Parent.sm.Set_Bit(Vision_Address.Measurement_Left_Ack, false); else _Parent.sm.Set_Bit(Vision_Address.Measurement_Right_Ack, false); - + _Parent._equip.Aoi_vision.SendData(vision_control.Send_Grab_Ready_Req(Seq_Type, Module_Idx, Grab_Dir, Pnl_Dir, Stage_No, Slot_No, Pnl_Idx, Panel_Id)); } private void btn_AOI_Grab_Start_Req_Click(object sender, EventArgs e) { - int Seq_Type = 3; + int Seq_Type = cbb_AOI_SeqType.SelectedIndex == 0 ? 3 : 4; int Module_Idx = rb_AOI_Left.Checked ? 0 : 1; int Mark_Idx = rb_AOI_Mark_1.Checked ? 0 : 1; double Motor_Offset_X; @@ -414,6 +414,7 @@ _Parent.sm.Set_Bit(Vision_Address.Measurement_Grab_Start_Left_Ack, false); else _Parent.sm.Set_Bit(Vision_Address.Measurement_Grab_Start_Right_Ack, false); + _Parent._equip.Aoi_vision.SendData(vision_control.Send_Grab_Start_Req(Seq_Type, Module_Idx, Mark_Idx, Motor_Offset_X, Motor_Offset_Y)); } -- Gitblit v1.9.3