| | |
| | | this.btnDisconnect = new System.Windows.Forms.Button(); |
| | | this.btnConnect = new System.Windows.Forms.Button(); |
| | | this.label1 = new System.Windows.Forms.Label(); |
| | | this.btnTestDatabase = new System.Windows.Forms.Button(); |
| | | this.lblDatabaseStatus = new System.Windows.Forms.Label(); |
| | | this.label3 = new System.Windows.Forms.Label(); |
| | | this.groupBoxStats = new System.Windows.Forms.GroupBox(); |
| | | this.lblStats = new System.Windows.Forms.Label(); |
| | | this.groupBoxLog = new System.Windows.Forms.GroupBox(); |
| | |
| | | this.groupBoxConnection.Controls.Add(this.btnDisconnect); |
| | | this.groupBoxConnection.Controls.Add(this.btnConnect); |
| | | this.groupBoxConnection.Controls.Add(this.label1); |
| | | this.groupBoxConnection.Controls.Add(this.btnTestDatabase); |
| | | this.groupBoxConnection.Controls.Add(this.lblDatabaseStatus); |
| | | this.groupBoxConnection.Controls.Add(this.label3); |
| | | this.groupBoxConnection.Location = new System.Drawing.Point(12, 12); |
| | | this.groupBoxConnection.Name = "groupBoxConnection"; |
| | | this.groupBoxConnection.Size = new System.Drawing.Size(776, 90); |
| | | this.groupBoxConnection.Size = new System.Drawing.Size(776, 120); |
| | | this.groupBoxConnection.TabIndex = 0; |
| | | this.groupBoxConnection.TabStop = false; |
| | | this.groupBoxConnection.Text = "连接控制和配置"; |
| | |
| | | this.label1.TabIndex = 0; |
| | | this.label1.Text = "PLC连接状态:"; |
| | | // |
| | | // btnTestDatabase |
| | | // |
| | | this.btnTestDatabase.Location = new System.Drawing.Point(405, 24); |
| | | this.btnTestDatabase.Name = "btnTestDatabase"; |
| | | this.btnTestDatabase.Size = new System.Drawing.Size(80, 25); |
| | | this.btnTestDatabase.TabIndex = 7; |
| | | this.btnTestDatabase.Text = "测试数据库"; |
| | | this.btnTestDatabase.UseVisualStyleBackColor = true; |
| | | // |
| | | // lblDatabaseStatus |
| | | // |
| | | this.lblDatabaseStatus.AutoSize = true; |
| | | this.lblDatabaseStatus.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); |
| | | this.lblDatabaseStatus.ForeColor = System.Drawing.Color.Gray; |
| | | this.lblDatabaseStatus.Location = new System.Drawing.Point(556, 28); |
| | | this.lblDatabaseStatus.Name = "lblDatabaseStatus"; |
| | | this.lblDatabaseStatus.Size = new System.Drawing.Size(56, 17); |
| | | this.lblDatabaseStatus.TabIndex = 9; |
| | | this.lblDatabaseStatus.Text = "未检测"; |
| | | // |
| | | // label3 |
| | | // |
| | | this.label3.AutoSize = true; |
| | | this.label3.Location = new System.Drawing.Point(491, 28); |
| | | this.label3.Name = "label3"; |
| | | this.label3.Size = new System.Drawing.Size(59, 17); |
| | | this.label3.TabIndex = 8; |
| | | this.label3.Text = "数据库:"; |
| | | // |
| | | // groupBoxStats |
| | | // |
| | | this.groupBoxStats.Controls.Add(this.lblStats); |
| | | this.groupBoxStats.Location = new System.Drawing.Point(12, 108); |
| | | this.groupBoxStats.Location = new System.Drawing.Point(12, 138); |
| | | this.groupBoxStats.Name = "groupBoxStats"; |
| | | this.groupBoxStats.Size = new System.Drawing.Size(776, 80); |
| | | this.groupBoxStats.TabIndex = 1; |
| | |
| | | // |
| | | this.groupBoxLog.Controls.Add(this.btnClearLog); |
| | | this.groupBoxLog.Controls.Add(this.txtLog); |
| | | this.groupBoxLog.Location = new System.Drawing.Point(12, 224); |
| | | this.groupBoxLog.Location = new System.Drawing.Point(12, 254); |
| | | this.groupBoxLog.Name = "groupBoxLog"; |
| | | this.groupBoxLog.Size = new System.Drawing.Size(776, 340); |
| | | this.groupBoxLog.Size = new System.Drawing.Size(776, 310); |
| | | this.groupBoxLog.TabIndex = 3; |
| | | this.groupBoxLog.TabStop = false; |
| | | this.groupBoxLog.Text = "运行日志和数据"; |
| | |
| | | // lblDataCount |
| | | // |
| | | this.lblDataCount.AutoSize = true; |
| | | this.lblDataCount.Location = new System.Drawing.Point(12, 194); |
| | | this.lblDataCount.Location = new System.Drawing.Point(12, 224); |
| | | this.lblDataCount.Name = "lblDataCount"; |
| | | this.lblDataCount.Size = new System.Drawing.Size(80, 17); |
| | | this.lblDataCount.TabIndex = 4; |
| | |
| | | private System.Windows.Forms.Button btnClearLog; |
| | | private System.Windows.Forms.TextBox txtLog; |
| | | private System.Windows.Forms.Label lblDataCount; |
| | | private System.Windows.Forms.Button btnTestDatabase; |
| | | private System.Windows.Forms.Label lblDatabaseStatus; |
| | | private System.Windows.Forms.Label label3; |
| | | } |
| | | } |