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_Sequence_Viewer.cs          |   30 --------------
 SHARP_CLAS_UI/300.Etc_Screen/Form_Sequence_Viewer.Designer.cs |   57 ----------------------------
 2 files changed, 1 insertions(+), 86 deletions(-)

diff --git a/SHARP_CLAS_UI/300.Etc_Screen/Form_Sequence_Viewer.Designer.cs b/SHARP_CLAS_UI/300.Etc_Screen/Form_Sequence_Viewer.Designer.cs
index 0cdfd81..3ff3abf 100644
--- a/SHARP_CLAS_UI/300.Etc_Screen/Form_Sequence_Viewer.Designer.cs
+++ b/SHARP_CLAS_UI/300.Etc_Screen/Form_Sequence_Viewer.Designer.cs
@@ -69,9 +69,6 @@
             this.tb_Vision_Info_Name = new System.Windows.Forms.TextBox();
             this.label21 = new System.Windows.Forms.Label();
             this.button1 = new System.Windows.Forms.Button();
-            this.rb_Auto = new System.Windows.Forms.RadioButton();
-            this.rb_Pause = new System.Windows.Forms.RadioButton();
-            this.rb_Manual = new System.Windows.Forms.RadioButton();
             this.groupBox19 = new System.Windows.Forms.GroupBox();
             this.label16 = new System.Windows.Forms.Label();
             this.tb_ULD_Tray_Ng_Tray_Cur_Count = new System.Windows.Forms.TextBox();
@@ -165,7 +162,6 @@
             this.btn_Ablation_Stage_1_Init = new System.Windows.Forms.Button();
             this.tb_Board_Status = new System.Windows.Forms.TextBox();
             this.label22 = new System.Windows.Forms.Label();
-            this.btn_Vision = new System.Windows.Forms.Button();
             this.tb_Ld_Tray_Id = new System.Windows.Forms.TextBox();
             this.label24 = new System.Windows.Forms.Label();
             this.tb_Uld_Tray_Ok_Id = new System.Windows.Forms.TextBox();
@@ -629,41 +625,6 @@
             this.button1.Text = "Init Current Count";
             this.button1.UseVisualStyleBackColor = true;
             this.button1.Click += new System.EventHandler(this.button1_Click);
-            // 
-            // rb_Auto
-            // 
-            this.rb_Auto.AutoSize = true;
-            this.rb_Auto.Location = new System.Drawing.Point(379, 12);
-            this.rb_Auto.Name = "rb_Auto";
-            this.rb_Auto.Size = new System.Drawing.Size(48, 16);
-            this.rb_Auto.TabIndex = 84;
-            this.rb_Auto.Text = "Auto";
-            this.rb_Auto.UseVisualStyleBackColor = true;
-            this.rb_Auto.CheckedChanged += new System.EventHandler(this.rb_Auto_CheckedChanged);
-            // 
-            // rb_Pause
-            // 
-            this.rb_Pause.AutoSize = true;
-            this.rb_Pause.Location = new System.Drawing.Point(444, 12);
-            this.rb_Pause.Name = "rb_Pause";
-            this.rb_Pause.Size = new System.Drawing.Size(59, 16);
-            this.rb_Pause.TabIndex = 85;
-            this.rb_Pause.Text = "Pause";
-            this.rb_Pause.UseVisualStyleBackColor = true;
-            this.rb_Pause.CheckedChanged += new System.EventHandler(this.rb_Auto_CheckedChanged);
-            // 
-            // rb_Manual
-            // 
-            this.rb_Manual.AutoSize = true;
-            this.rb_Manual.Checked = true;
-            this.rb_Manual.Location = new System.Drawing.Point(520, 13);
-            this.rb_Manual.Name = "rb_Manual";
-            this.rb_Manual.Size = new System.Drawing.Size(65, 16);
-            this.rb_Manual.TabIndex = 86;
-            this.rb_Manual.TabStop = true;
-            this.rb_Manual.Text = "Manual";
-            this.rb_Manual.UseVisualStyleBackColor = true;
-            this.rb_Manual.CheckedChanged += new System.EventHandler(this.rb_Auto_CheckedChanged);
             // 
             // groupBox19
             // 
@@ -1668,16 +1629,6 @@
             this.label22.Text = "Board Status";
             this.label22.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
             // 
-            // btn_Vision
-            // 
-            this.btn_Vision.Location = new System.Drawing.Point(804, 24);
-            this.btn_Vision.Name = "btn_Vision";
-            this.btn_Vision.Size = new System.Drawing.Size(75, 23);
-            this.btn_Vision.TabIndex = 91;
-            this.btn_Vision.Text = "Vision Test";
-            this.btn_Vision.UseVisualStyleBackColor = true;
-            this.btn_Vision.Click += new System.EventHandler(this.btn_Vision_Click);
-            // 
             // tb_Ld_Tray_Id
             // 
             this.tb_Ld_Tray_Id.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
@@ -1747,15 +1698,11 @@
             this.Controls.Add(this.label26);
             this.Controls.Add(this.tb_Ld_Tray_Id);
             this.Controls.Add(this.label24);
-            this.Controls.Add(this.btn_Vision);
             this.Controls.Add(this.tb_Board_Status);
             this.Controls.Add(this.label22);
             this.Controls.Add(this.groupBox8);
             this.Controls.Add(this.groupBox20);
             this.Controls.Add(this.groupBox19);
-            this.Controls.Add(this.rb_Manual);
-            this.Controls.Add(this.rb_Pause);
-            this.Controls.Add(this.rb_Auto);
             this.Controls.Add(this.groupBox14);
             this.Controls.Add(this.groupBox9);
             this.Controls.Add(this.groupBox6);
@@ -1848,9 +1795,6 @@
         private System.Windows.Forms.Label label9;
         private System.Windows.Forms.GroupBox groupBox6;
         private System.Windows.Forms.Button button1;
-        private System.Windows.Forms.RadioButton rb_Auto;
-        private System.Windows.Forms.RadioButton rb_Pause;
-        private System.Windows.Forms.RadioButton rb_Manual;
         private System.Windows.Forms.GroupBox groupBox19;
         private System.Windows.Forms.Label label16;
         private System.Windows.Forms.TextBox tb_ULD_Tray_Ng_Tray_Cur_Count;
@@ -1958,7 +1902,6 @@
         private System.Windows.Forms.TextBox tb_ULD_Tray_TR_Seq;
         private System.Windows.Forms.Button btn_ULD_Tray_TR_Stop;
         private System.Windows.Forms.Button btn_ULD_Tray_TR_Init;
-        private System.Windows.Forms.Button btn_Vision;
         private System.Windows.Forms.TextBox tb_Process_Info_Name;
         private System.Windows.Forms.Label label23;
         private System.Windows.Forms.TextBox tb_Ld_Tray_Id;
diff --git a/SHARP_CLAS_UI/300.Etc_Screen/Form_Sequence_Viewer.cs b/SHARP_CLAS_UI/300.Etc_Screen/Form_Sequence_Viewer.cs
index 807680c..27effd3 100644
--- a/SHARP_CLAS_UI/300.Etc_Screen/Form_Sequence_Viewer.cs
+++ b/SHARP_CLAS_UI/300.Etc_Screen/Form_Sequence_Viewer.cs
@@ -46,8 +46,7 @@
             InitializeComponent();
 
             this._Parent = _Parent;
-
-            rb_Pause.Checked = true;
+            
 
             UI_Update_Th = new Thread(UI_Update_Th_Set);
 
@@ -57,33 +56,6 @@
         #endregion
 
         #region Form Function
-        private void rb_Auto_CheckedChanged(object sender, EventArgs e)
-        {
-            RadioButton rb = (RadioButton)sender;
-
-            if (!rb.Checked) return;
-
-            switch (rb.Name)
-            {
-                case "rb_Auto":
-                    {
-                        _Parent._equip.Set_Equipment_Mode(En_Equipment_Mode.Auto);
-                        break;
-                    }
-                case "rb_Manual":
-                    {
-                        _Parent._equip.Set_Equipment_Mode(En_Equipment_Mode.Manual);
-                        break;
-                    }
-                case "rb_Pause":
-                    {
-                        _Parent._equip.Set_Equipment_Mode(En_Equipment_Mode.Pause);
-                        break;
-                    }
-            }
-        }
-
-
         private void button1_Click(object sender, EventArgs e)
         {
             _Parent.sm.Set_Value(Process_Memory_Address.LD_Tray_In_Count, 0);

--
Gitblit v1.9.3