| | |
| | | mode.Plasma_Skip = true; |
| | | } |
| | | |
| | | if(btn_Width_Measurement_Use == (Button)sender) |
| | | { |
| | | mode.Width_Measurement_Skip = false; |
| | | } |
| | | else if (btn_Width_Measurement_Notuse == (Button)sender) |
| | | { |
| | | mode.Width_Measurement_Skip = true; |
| | | } |
| | | |
| | | if (btn_LD_Stacker_Use == (Button)sender) |
| | | { |
| | | mode.LD_Stacker_Skip = false; |
| | |
| | | |
| | | btn_Measurement_Use.Text = resLanguage.USE; |
| | | btn_Measurement_Notuse.Text = resLanguage.NOT_USE; |
| | | |
| | | |
| | | btn_Ablation_Use.Text = resLanguage.USE; |
| | | btn_Ablation_Notuse.Text = resLanguage.NOT_USE; |
| | | |
| | | btn_Plasma_Use.Text = resLanguage.USE; |
| | | btn_Plasma_Notuse.Text = resLanguage.NOT_USE; |
| | | |
| | | btn_Width_Measurement_Use.Text = resLanguage.USE; |
| | | btn_Width_Measurement_Notuse.Text = resLanguage.NOT_USE; |
| | | |
| | | btn_LD_Stacker_Use.Text = resLanguage.USE; |
| | | btn_LD_Stacker_Notuse.Text = resLanguage.NOT_USE; |
| | |
| | | btn_Plasma_Use.BackColor = !mode.Plasma_Skip ? mod.Plasma_Skip == mode.Plasma_Skip ? System.Drawing.Color.DodgerBlue : System.Drawing.Color.Red : System.Drawing.Color.White; |
| | | btn_Plasma_Notuse.BackColor = mode.Plasma_Skip ? mod.Plasma_Skip == mode.Plasma_Skip ? System.Drawing.Color.DodgerBlue : System.Drawing.Color.Red : System.Drawing.Color.White; |
| | | |
| | | btn_Width_Measurement_Use.BackColor = !mode.Width_Measurement_Skip ? mod.Width_Measurement_Skip == mode.Width_Measurement_Skip ? System.Drawing.Color.DodgerBlue : System.Drawing.Color.Red : System.Drawing.Color.White; |
| | | btn_Width_Measurement_Notuse.BackColor = mode.Width_Measurement_Skip ? mod.Width_Measurement_Skip == mode.Width_Measurement_Skip ? System.Drawing.Color.DodgerBlue : System.Drawing.Color.Red : System.Drawing.Color.White; |
| | | |
| | | btn_LD_Stacker_Use.BackColor = !mode.LD_Stacker_Skip ? mod.LD_Stacker_Skip == mode.LD_Stacker_Skip ? System.Drawing.Color.DodgerBlue : System.Drawing.Color.Red : System.Drawing.Color.White; |
| | | btn_LD_Stacker_Notuse.BackColor = mode.LD_Stacker_Skip ? mod.LD_Stacker_Skip == mode.LD_Stacker_Skip ? System.Drawing.Color.DodgerBlue : System.Drawing.Color.Red : System.Drawing.Color.White; |
| | | |
| | |
| | | tb_Cleaning_Count.Text = setting.Cleaning_Count.ToString(); |
| | | } |
| | | |
| | | if (ActiveControl == null || ActiveControl.Name != "tb_Width_Measurement_Count") |
| | | { |
| | | tb_Width_Measurement_Count.Text = setting.Width_Measurement_Count.ToString(); |
| | | } |
| | | |
| | | |
| | | tb_Film_Judge_Speed.BackColor = setting.Film_Judge_Speed == set.Film_Judge_Speed ? System.Drawing.Color.White : System.Drawing.Color.Red; |
| | | tb_Pre_Align_Speed.BackColor = setting.Pre_Align_Speed == set.Pre_Align_Speed ? System.Drawing.Color.White : System.Drawing.Color.Red; |
| | | tb_Fine_Align_Speed.BackColor = setting.Fine_Align_Speed == set.Fine_Align_Speed ? System.Drawing.Color.White : System.Drawing.Color.Red; |
| | |
| | | |
| | | tb_Handler_Pitch.BackColor = setting.Handler_Pitch == set.Handler_Pitch ? System.Drawing.Color.White : System.Drawing.Color.Red; |
| | | tb_Cleaning_Count.BackColor = setting.Cleaning_Count == set.Cleaning_Count ? System.Drawing.Color.White : System.Drawing.Color.Red; |
| | | tb_Width_Measurement_Count.BackColor = setting.Width_Measurement_Count == set.Width_Measurement_Count ? System.Drawing.Color.White : System.Drawing.Color.Red; |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | private void tb_Film_Judge_Speed_Leave(object sender, EventArgs e) |
| | |
| | | |
| | | break; |
| | | } |
| | | case "tb_Width_Measurement_Count": |
| | | { |
| | | int.TryParse(tb.Text, out int_data); |
| | | |
| | | if (int_data < 0) |
| | | { |
| | | int_data = 0; |
| | | } |
| | | |
| | | setting.Width_Measurement_Count = int_data; |
| | | |
| | | break; |
| | | } |
| | | } |
| | | } |
| | | } |