@ -32,6 +32,7 @@ namespace Rs.MotionPlat
private void InitializeComponent ( )
private void InitializeComponent ( )
{
{
this . components = new System . ComponentModel . Container ( ) ;
this . components = new System . ComponentModel . Container ( ) ;
System . Windows . Forms . DataGridViewCellStyle dataGridViewCellStyle1 = new System . Windows . Forms . DataGridViewCellStyle ( ) ;
this . timer1 = new System . Windows . Forms . Timer ( this . components ) ;
this . timer1 = new System . Windows . Forms . Timer ( this . components ) ;
this . panel1 = new System . Windows . Forms . Panel ( ) ;
this . panel1 = new System . Windows . Forms . Panel ( ) ;
this . groupBox36 = new System . Windows . Forms . GroupBox ( ) ;
this . groupBox36 = new System . Windows . Forms . GroupBox ( ) ;
@ -150,6 +151,10 @@ namespace Rs.MotionPlat
this . timertc5 = new System . Windows . Forms . Timer ( this . components ) ;
this . timertc5 = new System . Windows . Forms . Timer ( this . components ) ;
this . timertc6 = new System . Windows . Forms . Timer ( this . components ) ;
this . timertc6 = new System . Windows . Forms . Timer ( this . components ) ;
this . timeruph = new System . Windows . Forms . Timer ( this . components ) ;
this . timeruph = new System . Windows . Forms . Timer ( this . components ) ;
this . groupBox37 = new System . Windows . Forms . GroupBox ( ) ;
this . dgv_errinfo = new System . Windows . Forms . DataGridView ( ) ;
this . dataGridViewTextBoxColumn1 = new System . Windows . Forms . DataGridViewTextBoxColumn ( ) ;
this . dataGridViewTextBoxColumn2 = new System . Windows . Forms . DataGridViewTextBoxColumn ( ) ;
this . panel1 . SuspendLayout ( ) ;
this . panel1 . SuspendLayout ( ) ;
this . groupBox36 . SuspendLayout ( ) ;
this . groupBox36 . SuspendLayout ( ) ;
this . panel4 . SuspendLayout ( ) ;
this . panel4 . SuspendLayout ( ) ;
@ -178,6 +183,8 @@ namespace Rs.MotionPlat
this . tabPage2 . SuspendLayout ( ) ;
this . tabPage2 . SuspendLayout ( ) ;
this . tableLayoutPanel5 . SuspendLayout ( ) ;
this . tableLayoutPanel5 . SuspendLayout ( ) ;
this . tableLayoutPanel4 . SuspendLayout ( ) ;
this . tableLayoutPanel4 . SuspendLayout ( ) ;
this . groupBox37 . SuspendLayout ( ) ;
( ( System . ComponentModel . ISupportInitialize ) ( this . dgv_errinfo ) ) . BeginInit ( ) ;
this . SuspendLayout ( ) ;
this . SuspendLayout ( ) ;
//
//
// timer1
// timer1
@ -188,6 +195,7 @@ namespace Rs.MotionPlat
// panel1
// panel1
//
//
this . panel1 . BackColor = System . Drawing . Color . Transparent ;
this . panel1 . BackColor = System . Drawing . Color . Transparent ;
this . panel1 . Controls . Add ( this . groupBox37 ) ;
this . panel1 . Controls . Add ( this . groupBox36 ) ;
this . panel1 . Controls . Add ( this . groupBox36 ) ;
this . panel1 . Controls . Add ( this . panel4 ) ;
this . panel1 . Controls . Add ( this . panel4 ) ;
this . panel1 . Dock = System . Windows . Forms . DockStyle . Right ;
this . panel1 . Dock = System . Windows . Forms . DockStyle . Right ;
@ -204,11 +212,11 @@ namespace Rs.MotionPlat
this . groupBox36 . Controls . Add ( this . btnNozzleStatus ) ;
this . groupBox36 . Controls . Add ( this . btnNozzleStatus ) ;
this . groupBox36 . Controls . Add ( this . btnLight ) ;
this . groupBox36 . Controls . Add ( this . btnLight ) ;
this . groupBox36 . Controls . Add ( this . btnBuzzer ) ;
this . groupBox36 . Controls . Add ( this . btnBuzzer ) ;
this . groupBox36 . Dock = System . Windows . Forms . DockStyle . Fill ;
this . groupBox36 . Dock = System . Windows . Forms . DockStyle . Top ;
this . groupBox36 . ForeColor = System . Drawing . Color . White ;
this . groupBox36 . ForeColor = System . Drawing . Color . White ;
this . groupBox36 . Location = new System . Drawing . Point ( 0 , 0 ) ;
this . groupBox36 . Location = new System . Drawing . Point ( 0 , 0 ) ;
this . groupBox36 . Name = "groupBox36" ;
this . groupBox36 . Name = "groupBox36" ;
this . groupBox36 . Size = new System . Drawing . Size ( 320 , 520 ) ;
this . groupBox36 . Size = new System . Drawing . Size ( 320 , 259 ) ;
this . groupBox36 . TabIndex = 7 ;
this . groupBox36 . TabIndex = 7 ;
this . groupBox36 . TabStop = false ;
this . groupBox36 . TabStop = false ;
this . groupBox36 . Text = "Quick functions" ;
this . groupBox36 . Text = "Quick functions" ;
@ -1721,6 +1729,64 @@ namespace Rs.MotionPlat
this . timeruph . Interval = 3000 ;
this . timeruph . Interval = 3000 ;
this . timeruph . Tick + = new System . EventHandler ( this . timer3_Tick_1 ) ;
this . timeruph . Tick + = new System . EventHandler ( this . timer3_Tick_1 ) ;
//
//
// groupBox37
//
this . groupBox37 . Controls . Add ( this . dgv_errinfo ) ;
this . groupBox37 . Dock = System . Windows . Forms . DockStyle . Fill ;
this . groupBox37 . ForeColor = System . Drawing . Color . White ;
this . groupBox37 . Location = new System . Drawing . Point ( 0 , 259 ) ;
this . groupBox37 . Name = "groupBox37" ;
this . groupBox37 . Size = new System . Drawing . Size ( 320 , 261 ) ;
this . groupBox37 . TabIndex = 8 ;
this . groupBox37 . TabStop = false ;
this . groupBox37 . Tag = "" ;
this . groupBox37 . Text = "Warn list" ;
//
// dgv_errinfo
//
this . dgv_errinfo . AllowUserToAddRows = false ;
this . dgv_errinfo . AutoSizeColumnsMode = System . Windows . Forms . DataGridViewAutoSizeColumnsMode . Fill ;
this . dgv_errinfo . BackgroundColor = System . Drawing . SystemColors . ActiveCaptionText ;
this . dgv_errinfo . ColumnHeadersBorderStyle = System . Windows . Forms . DataGridViewHeaderBorderStyle . Single ;
dataGridViewCellStyle1 . Alignment = System . Windows . Forms . DataGridViewContentAlignment . MiddleLeft ;
dataGridViewCellStyle1 . BackColor = System . Drawing . Color . Red ;
dataGridViewCellStyle1 . Font = new System . Drawing . Font ( "宋体" , 9F , System . Drawing . FontStyle . Regular , System . Drawing . GraphicsUnit . Point , ( ( byte ) ( 134 ) ) ) ;
dataGridViewCellStyle1 . ForeColor = System . Drawing . Color . White ;
dataGridViewCellStyle1 . SelectionBackColor = System . Drawing . SystemColors . Highlight ;
dataGridViewCellStyle1 . SelectionForeColor = System . Drawing . SystemColors . HighlightText ;
dataGridViewCellStyle1 . WrapMode = System . Windows . Forms . DataGridViewTriState . True ;
this . dgv_errinfo . ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1 ;
this . dgv_errinfo . ColumnHeadersHeight = 30 ;
this . dgv_errinfo . Columns . AddRange ( new System . Windows . Forms . DataGridViewColumn [ ] {
this . dataGridViewTextBoxColumn1 ,
this . dataGridViewTextBoxColumn2 } ) ;
this . dgv_errinfo . Dock = System . Windows . Forms . DockStyle . Fill ;
this . dgv_errinfo . Location = new System . Drawing . Point ( 3 , 17 ) ;
this . dgv_errinfo . Name = "dgv_errinfo" ;
this . dgv_errinfo . RowHeadersVisible = false ;
this . dgv_errinfo . RowHeadersWidth = 51 ;
this . dgv_errinfo . RowTemplate . DefaultCellStyle . BackColor = System . Drawing . Color . Black ;
this . dgv_errinfo . RowTemplate . DefaultCellStyle . ForeColor = System . Drawing . Color . Red ;
this . dgv_errinfo . RowTemplate . Height = 23 ;
this . dgv_errinfo . Size = new System . Drawing . Size ( 314 , 241 ) ;
this . dgv_errinfo . TabIndex = 4 ;
//
// dataGridViewTextBoxColumn1
//
this . dataGridViewTextBoxColumn1 . DataPropertyName = "Time" ;
this . dataGridViewTextBoxColumn1 . FillWeight = 25F ;
this . dataGridViewTextBoxColumn1 . HeaderText = "Time" ;
this . dataGridViewTextBoxColumn1 . MinimumWidth = 6 ;
this . dataGridViewTextBoxColumn1 . Name = "dataGridViewTextBoxColumn1" ;
//
// dataGridViewTextBoxColumn2
//
this . dataGridViewTextBoxColumn2 . DataPropertyName = "Content" ;
this . dataGridViewTextBoxColumn2 . FillWeight = 75F ;
this . dataGridViewTextBoxColumn2 . HeaderText = "Content" ;
this . dataGridViewTextBoxColumn2 . MinimumWidth = 6 ;
this . dataGridViewTextBoxColumn2 . Name = "dataGridViewTextBoxColumn2" ;
//
// FormMain
// FormMain
//
//
this . AutoScaleDimensions = new System . Drawing . SizeF ( 6F , 12F ) ;
this . AutoScaleDimensions = new System . Drawing . SizeF ( 6F , 12F ) ;
@ -1762,6 +1828,8 @@ namespace Rs.MotionPlat
this . tabPage2 . ResumeLayout ( false ) ;
this . tabPage2 . ResumeLayout ( false ) ;
this . tableLayoutPanel5 . ResumeLayout ( false ) ;
this . tableLayoutPanel5 . ResumeLayout ( false ) ;
this . tableLayoutPanel4 . ResumeLayout ( false ) ;
this . tableLayoutPanel4 . ResumeLayout ( false ) ;
this . groupBox37 . ResumeLayout ( false ) ;
( ( System . ComponentModel . ISupportInitialize ) ( this . dgv_errinfo ) ) . EndInit ( ) ;
this . ResumeLayout ( false ) ;
this . ResumeLayout ( false ) ;
}
}
@ -1886,5 +1954,9 @@ namespace Rs.MotionPlat
private System . Windows . Forms . Button btnNozzleStatus ;
private System . Windows . Forms . Button btnNozzleStatus ;
private System . Windows . Forms . Button btnLight ;
private System . Windows . Forms . Button btnLight ;
private System . Windows . Forms . Button btnBuzzer ;
private System . Windows . Forms . Button btnBuzzer ;
private System . Windows . Forms . GroupBox groupBox37 ;
private System . Windows . Forms . DataGridView dgv_errinfo ;
private System . Windows . Forms . DataGridViewTextBoxColumn dataGridViewTextBoxColumn1 ;
private System . Windows . Forms . DataGridViewTextBoxColumn dataGridViewTextBoxColumn2 ;
}
}
}
}