|
@@ -0,0 +1,134 @@
|
|
|
+namespace UAS_PLCDataReader
|
|
|
+{
|
|
|
+ partial class MainWindow
|
|
|
+ {
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ private System.ComponentModel.IContainer components = null;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ protected override void Dispose(bool disposing)
|
|
|
+ {
|
|
|
+ if (disposing && (components != null))
|
|
|
+ {
|
|
|
+ components.Dispose();
|
|
|
+ }
|
|
|
+ base.Dispose(disposing);
|
|
|
+ }
|
|
|
+
|
|
|
+ #region Windows 窗体设计器生成的代码
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ private void InitializeComponent()
|
|
|
+ {
|
|
|
+ this.IP = new System.Windows.Forms.TextBox();
|
|
|
+ this.IP_label = new System.Windows.Forms.Label();
|
|
|
+ this.Port_label = new System.Windows.Forms.Label();
|
|
|
+ this.Port = new System.Windows.Forms.TextBox();
|
|
|
+ this.OpenServer = new System.Windows.Forms.Button();
|
|
|
+ this.CloseServer = new System.Windows.Forms.Button();
|
|
|
+ this.Result = new UAS_PLCDataReader.RichTextAutoBottom();
|
|
|
+ this.SuspendLayout();
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.IP.Enabled = false;
|
|
|
+ this.IP.Location = new System.Drawing.Point(111, 328);
|
|
|
+ this.IP.Name = "IP";
|
|
|
+ this.IP.Size = new System.Drawing.Size(133, 21);
|
|
|
+ this.IP.TabIndex = 0;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.IP_label.AutoSize = true;
|
|
|
+ this.IP_label.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.IP_label.Location = new System.Drawing.Point(12, 328);
|
|
|
+ this.IP_label.Name = "IP_label";
|
|
|
+ this.IP_label.Size = new System.Drawing.Size(85, 21);
|
|
|
+ this.IP_label.TabIndex = 1;
|
|
|
+ this.IP_label.Text = "IPAddress";
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.Port_label.AutoSize = true;
|
|
|
+ this.Port_label.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.Port_label.Location = new System.Drawing.Point(255, 328);
|
|
|
+ this.Port_label.Name = "Port_label";
|
|
|
+ this.Port_label.Size = new System.Drawing.Size(42, 21);
|
|
|
+ this.Port_label.TabIndex = 3;
|
|
|
+ this.Port_label.Text = "Port";
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.Port.Location = new System.Drawing.Point(314, 328);
|
|
|
+ this.Port.Name = "Port";
|
|
|
+ this.Port.Size = new System.Drawing.Size(133, 21);
|
|
|
+ this.Port.TabIndex = 2;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.OpenServer.Location = new System.Drawing.Point(496, 328);
|
|
|
+ this.OpenServer.Name = "OpenServer";
|
|
|
+ this.OpenServer.Size = new System.Drawing.Size(65, 23);
|
|
|
+ this.OpenServer.TabIndex = 4;
|
|
|
+ this.OpenServer.Text = "Open";
|
|
|
+ this.OpenServer.UseVisualStyleBackColor = true;
|
|
|
+ this.OpenServer.Click += new System.EventHandler(this.OpenServer_Click);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.CloseServer.Location = new System.Drawing.Point(597, 328);
|
|
|
+ this.CloseServer.Name = "CloseServer";
|
|
|
+ this.CloseServer.Size = new System.Drawing.Size(65, 23);
|
|
|
+ this.CloseServer.TabIndex = 5;
|
|
|
+ this.CloseServer.Text = "Close";
|
|
|
+ this.CloseServer.UseVisualStyleBackColor = true;
|
|
|
+ this.CloseServer.Click += new System.EventHandler(this.CloseServer_Click);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.Result.Location = new System.Drawing.Point(12, 12);
|
|
|
+ this.Result.Name = "Result";
|
|
|
+ this.Result.Size = new System.Drawing.Size(678, 310);
|
|
|
+ this.Result.TabIndex = 6;
|
|
|
+ this.Result.Text = "";
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
+ this.ClientSize = new System.Drawing.Size(702, 358);
|
|
|
+ this.Controls.Add(this.Result);
|
|
|
+ this.Controls.Add(this.CloseServer);
|
|
|
+ this.Controls.Add(this.OpenServer);
|
|
|
+ this.Controls.Add(this.Port_label);
|
|
|
+ this.Controls.Add(this.Port);
|
|
|
+ this.Controls.Add(this.IP_label);
|
|
|
+ this.Controls.Add(this.IP);
|
|
|
+ this.Name = "MainWindow";
|
|
|
+ this.Text = "PLCDataReader";
|
|
|
+ this.Load += new System.EventHandler(this.Form1_Load);
|
|
|
+ this.ResumeLayout(false);
|
|
|
+ this.PerformLayout();
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ #endregion
|
|
|
+
|
|
|
+ private System.Windows.Forms.TextBox IP;
|
|
|
+ private System.Windows.Forms.Label IP_label;
|
|
|
+ private System.Windows.Forms.Label Port_label;
|
|
|
+ private System.Windows.Forms.TextBox Port;
|
|
|
+ private System.Windows.Forms.Button OpenServer;
|
|
|
+ private System.Windows.Forms.Button CloseServer;
|
|
|
+ private RichTextAutoBottom Result;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|