Added labels to scada,

Remove network card monitor
This commit is contained in:
Lucio Maranta
2019-01-21 09:29:03 +01:00
parent 6d25dcc55e
commit d9a22655b8
10 changed files with 61 additions and 184 deletions
+4 -99
View File
@@ -46,17 +46,9 @@ namespace Step.UI
this.TXTType = new System.Windows.Forms.Label();
this.CHNcConnected = new MetroFramework.Controls.MetroCheckBox();
this.label1 = new System.Windows.Forms.Label();
this.labelNetworkName = new System.Windows.Forms.Label();
this.metroPanel1 = new MetroFramework.Controls.MetroPanel();
this.label3 = new System.Windows.Forms.Label();
this.labelNetworkSpeed = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.labelNetworkBand = new System.Windows.Forms.Label();
this.NotifyIconMenu.SuspendLayout();
this.metroTabControl1.SuspendLayout();
this.ThreadsInfo.SuspendLayout();
this.metroPanel1.SuspendLayout();
this.SuspendLayout();
//
// StepNotifyIcon
@@ -86,7 +78,7 @@ namespace Step.UI
// openUiButton
//
this.openUiButton.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.openUiButton.Location = new System.Drawing.Point(11, 477);
this.openUiButton.Location = new System.Drawing.Point(11, 371);
this.openUiButton.Name = "openUiButton";
this.openUiButton.Size = new System.Drawing.Size(151, 42);
this.openUiButton.TabIndex = 1;
@@ -159,7 +151,7 @@ namespace Step.UI
// stopServerButton
//
this.stopServerButton.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.stopServerButton.Location = new System.Drawing.Point(188, 477);
this.stopServerButton.Location = new System.Drawing.Point(188, 371);
this.stopServerButton.Name = "stopServerButton";
this.stopServerButton.Size = new System.Drawing.Size(151, 42);
this.stopServerButton.TabIndex = 3;
@@ -187,7 +179,7 @@ namespace Step.UI
this.TXTstatus.Enabled = false;
this.TXTstatus.Lines = new string[] {
"..."};
this.TXTstatus.Location = new System.Drawing.Point(-1, 535);
this.TXTstatus.Location = new System.Drawing.Point(-1, 419);
this.TXTstatus.MaxLength = 32767;
this.TXTstatus.Name = "TXTstatus";
this.TXTstatus.PasswordChar = '\0';
@@ -234,90 +226,11 @@ namespace Step.UI
this.label1.TabIndex = 54;
this.label1.Text = "Vendor:";
//
// labelNetworkName
//
this.labelNetworkName.Location = new System.Drawing.Point(82, 12);
this.labelNetworkName.Name = "labelNetworkName";
this.labelNetworkName.Size = new System.Drawing.Size(242, 22);
this.labelNetworkName.TabIndex = 55;
this.labelNetworkName.Text = "---";
this.labelNetworkName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// metroPanel1
//
this.metroPanel1.AccessibleName = "";
this.metroPanel1.Controls.Add(this.label4);
this.metroPanel1.Controls.Add(this.labelNetworkBand);
this.metroPanel1.Controls.Add(this.label3);
this.metroPanel1.Controls.Add(this.labelNetworkSpeed);
this.metroPanel1.Controls.Add(this.label2);
this.metroPanel1.Controls.Add(this.labelNetworkName);
this.metroPanel1.HorizontalScrollbarBarColor = true;
this.metroPanel1.HorizontalScrollbarHighlightOnWheel = false;
this.metroPanel1.HorizontalScrollbarSize = 10;
this.metroPanel1.Location = new System.Drawing.Point(8, 371);
this.metroPanel1.Name = "metroPanel1";
this.metroPanel1.Size = new System.Drawing.Size(331, 100);
this.metroPanel1.TabIndex = 56;
this.metroPanel1.Tag = "";
this.metroPanel1.VerticalScrollbarBarColor = true;
this.metroPanel1.VerticalScrollbarHighlightOnWheel = false;
this.metroPanel1.VerticalScrollbarSize = 10;
//
// label3
//
this.label3.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.label3.Location = new System.Drawing.Point(3, 34);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(73, 22);
this.label3.TabIndex = 58;
this.label3.Text = "Load: ";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// labelNetworkSpeed
//
this.labelNetworkSpeed.Location = new System.Drawing.Point(82, 34);
this.labelNetworkSpeed.Name = "labelNetworkSpeed";
this.labelNetworkSpeed.Size = new System.Drawing.Size(242, 22);
this.labelNetworkSpeed.TabIndex = 57;
this.labelNetworkSpeed.Text = "0.0%";
this.labelNetworkSpeed.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label2
//
this.label2.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.label2.Location = new System.Drawing.Point(3, 12);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(73, 22);
this.label2.TabIndex = 56;
this.label2.Text = "NIC Name: ";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label4
//
this.label4.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.label4.Location = new System.Drawing.Point(3, 56);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(73, 22);
this.label4.TabIndex = 60;
this.label4.Text = "Bandwidth: ";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// labelNetworkBand
//
this.labelNetworkBand.Location = new System.Drawing.Point(82, 56);
this.labelNetworkBand.Name = "labelNetworkBand";
this.labelNetworkBand.Size = new System.Drawing.Size(242, 22);
this.labelNetworkBand.TabIndex = 59;
this.labelNetworkBand.Text = "0 Mb/s";
this.labelNetworkBand.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// ServerControlWindow
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(350, 565);
this.Controls.Add(this.metroPanel1);
this.ClientSize = new System.Drawing.Size(350, 449);
this.Controls.Add(this.label1);
this.Controls.Add(this.TXTType);
this.Controls.Add(this.CHNcConnected);
@@ -338,7 +251,6 @@ namespace Step.UI
this.NotifyIconMenu.ResumeLayout(false);
this.metroTabControl1.ResumeLayout(false);
this.ThreadsInfo.ResumeLayout(false);
this.metroPanel1.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
@@ -359,12 +271,5 @@ namespace Step.UI
private Label TXTType;
private MetroFramework.Controls.MetroCheckBox CHNcConnected;
private Label label1;
private Label labelNetworkName;
private MetroFramework.Controls.MetroPanel metroPanel1;
private Label label3;
private Label labelNetworkSpeed;
private Label label2;
private Label label4;
private Label labelNetworkBand;
}
}