| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241 |
- using System;
- using System.Drawing;
- using System.Collections;
- using System.ComponentModel;
- using System.Windows.Forms;
- namespace Core.LgMes.Client.LgJobMgt
- {
- /// <summary>
- /// FrmCcmResetStatus 的摘要说明。
- /// </summary>
- public class FrmCcmResetStatus : System.Windows.Forms.Form
- {
- private System.Windows.Forms.GroupBox groupBox1;
- private System.Windows.Forms.RadioButton radioButton1;
- private System.Windows.Forms.RadioButton radioButton2;
- private System.Windows.Forms.RadioButton radioButton3;
- private System.Windows.Forms.RadioButton radioButton4;
- private System.Windows.Forms.RadioButton radioButton5;
- private System.Windows.Forms.Button button1;
- private System.Windows.Forms.Button button2;
- private RadioButton radioButton6;
- /// <summary>
- /// 必需的设计器变量。
- /// </summary>
- private System.ComponentModel.Container components = null;
- public FrmCcmResetStatus()
- {
- //
- // Windows 窗体设计器支持所必需的
- //
- InitializeComponent();
- //
- // TODO: 在 InitializeComponent 调用后添加任何构造函数代码
- //
- }
- /// <summary>
- /// 清理所有正在使用的资源。
- /// </summary>
- protected override void Dispose( bool disposing )
- {
- if( disposing )
- {
- if(components != null)
- {
- components.Dispose();
- }
- }
- base.Dispose( disposing );
- }
- #region Windows 窗体设计器生成的代码
- /// <summary>
- /// 设计器支持所需的方法 - 不要使用代码编辑器修改
- /// 此方法的内容。
- /// </summary>
- private void InitializeComponent()
- {
- this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.radioButton6 = new System.Windows.Forms.RadioButton();
- this.radioButton5 = new System.Windows.Forms.RadioButton();
- this.radioButton4 = new System.Windows.Forms.RadioButton();
- this.radioButton3 = new System.Windows.Forms.RadioButton();
- this.radioButton2 = new System.Windows.Forms.RadioButton();
- this.radioButton1 = new System.Windows.Forms.RadioButton();
- this.button1 = new System.Windows.Forms.Button();
- this.button2 = new System.Windows.Forms.Button();
- this.groupBox1.SuspendLayout();
- this.SuspendLayout();
- //
- // groupBox1
- //
- this.groupBox1.Controls.Add(this.radioButton6);
- this.groupBox1.Controls.Add(this.radioButton5);
- this.groupBox1.Controls.Add(this.radioButton4);
- this.groupBox1.Controls.Add(this.radioButton3);
- this.groupBox1.Controls.Add(this.radioButton2);
- this.groupBox1.Controls.Add(this.radioButton1);
- this.groupBox1.Location = new System.Drawing.Point(8, 8);
- this.groupBox1.Name = "groupBox1";
- this.groupBox1.Size = new System.Drawing.Size(112, 194);
- this.groupBox1.TabIndex = 0;
- this.groupBox1.TabStop = false;
- this.groupBox1.Text = "去向";
- //
- // radioButton6
- //
- this.radioButton6.Location = new System.Drawing.Point(16, 81);
- this.radioButton6.Name = "radioButton6";
- this.radioButton6.Size = new System.Drawing.Size(64, 24);
- this.radioButton6.TabIndex = 6;
- this.radioButton6.Tag = "CCM04";
- this.radioButton6.Text = "0#连铸";
- this.radioButton6.CheckedChanged += new System.EventHandler(this.radioButton6_CheckedChanged_1);
- //
- // radioButton5
- //
- this.radioButton5.Location = new System.Drawing.Point(16, 162);
- this.radioButton5.Name = "radioButton5";
- this.radioButton5.Size = new System.Drawing.Size(64, 24);
- this.radioButton5.TabIndex = 5;
- this.radioButton5.Tag = "CCM03";
- this.radioButton5.Text = "3#连铸";
- this.radioButton5.CheckedChanged += new System.EventHandler(this.radioButton5_CheckedChanged);
- //
- // radioButton4
- //
- this.radioButton4.Location = new System.Drawing.Point(16, 135);
- this.radioButton4.Name = "radioButton4";
- this.radioButton4.Size = new System.Drawing.Size(64, 24);
- this.radioButton4.TabIndex = 4;
- this.radioButton4.Tag = "CCM02";
- this.radioButton4.Text = "2#连铸";
- this.radioButton4.CheckedChanged += new System.EventHandler(this.radioButton4_CheckedChanged);
- //
- // radioButton3
- //
- this.radioButton3.Location = new System.Drawing.Point(16, 108);
- this.radioButton3.Name = "radioButton3";
- this.radioButton3.Size = new System.Drawing.Size(64, 24);
- this.radioButton3.TabIndex = 3;
- this.radioButton3.Tag = "CCM01";
- this.radioButton3.Text = "1#连铸";
- this.radioButton3.CheckedChanged += new System.EventHandler(this.radioButton3_CheckedChanged);
- //
- // radioButton2
- //
- this.radioButton2.Location = new System.Drawing.Point(16, 54);
- this.radioButton2.Name = "radioButton2";
- this.radioButton2.Size = new System.Drawing.Size(64, 24);
- this.radioButton2.TabIndex = 2;
- this.radioButton2.Tag = "LFS02";
- this.radioButton2.Text = "2#精炼";
- this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton2_CheckedChanged);
- //
- // radioButton1
- //
- this.radioButton1.Location = new System.Drawing.Point(16, 27);
- this.radioButton1.Name = "radioButton1";
- this.radioButton1.Size = new System.Drawing.Size(64, 24);
- this.radioButton1.TabIndex = 1;
- this.radioButton1.Tag = "LFS01";
- this.radioButton1.Text = "1#精炼";
- this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
- //
- // button1
- //
- this.button1.Location = new System.Drawing.Point(136, 127);
- this.button1.Name = "button1";
- this.button1.Size = new System.Drawing.Size(75, 23);
- this.button1.TabIndex = 1;
- this.button1.Text = "确认";
- this.button1.Click += new System.EventHandler(this.button1_Click);
- //
- // button2
- //
- this.button2.Location = new System.Drawing.Point(136, 167);
- this.button2.Name = "button2";
- this.button2.Size = new System.Drawing.Size(75, 23);
- this.button2.TabIndex = 2;
- this.button2.Text = "取消";
- this.button2.Click += new System.EventHandler(this.button2_Click);
- //
- // FrmCcmResetStatus
- //
- this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
- this.ClientSize = new System.Drawing.Size(232, 214);
- this.Controls.Add(this.button2);
- this.Controls.Add(this.button1);
- this.Controls.Add(this.groupBox1);
- this.MaximizeBox = false;
- this.MinimizeBox = false;
- this.Name = "FrmCcmResetStatus";
- this.Text = "设置";
- this.groupBox1.ResumeLayout(false);
- this.ResumeLayout(false);
- }
- #endregion
- public string _strSet = "";
- public string _strSta = "";
-
- private void button1_Click(object sender, System.EventArgs e)
- {
- this.Close();
- }
- private void button2_Click(object sender, System.EventArgs e)
- {
- _strSet = "";
- _strSta = "";
- this.Close();
- }
- private void radioButton1_CheckedChanged(object sender, System.EventArgs e)
- {
- if (this.radioButton1.Checked)
- {
- this._strSet = "LFS01";
- this._strSta = "LADLEARRIVE";
- }
- }
- private void radioButton2_CheckedChanged(object sender, System.EventArgs e)
- {
- if (this.radioButton2.Checked)
- {
- this._strSet = "LFS02";
- this._strSta = "LADLEARRIVE";
- }
- }
- private void radioButton3_CheckedChanged(object sender, System.EventArgs e)
- {
- this._strSet = "CCM01";
- this._strSta = "LADLEARRIVE";
- }
- private void radioButton4_CheckedChanged(object sender, System.EventArgs e)
- {
- this._strSet = "CCM02";
- this._strSta = "LADLEARRIVE";
- }
- private void radioButton5_CheckedChanged(object sender, System.EventArgs e)
- {
- this._strSet = "CCM03";
- this._strSta = "LADLEARRIVE";
- }
-
- private void radioButton6_CheckedChanged_1(object sender, EventArgs e)
- {
- this._strSet = "CCM04";
- this._strSta = "LADLEARRIVE";
- }
- }
- }
|