You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
416 lines
15 KiB
416 lines
15 KiB
|
|
namespace CommClient
|
|
{
|
|
partial class MainForm
|
|
{
|
|
/// <summary>
|
|
/// 필수 디자이너 변수입니다.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// 사용 중인 모든 리소스를 정리합니다.
|
|
/// </summary>
|
|
/// <param name="disposing">관리되는 리소스를 삭제해야 하면 true이고, 그렇지 않으면 false입니다.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form 디자이너에서 생성한 코드
|
|
|
|
/// <summary>
|
|
/// 디자이너 지원에 필요한 메서드입니다.
|
|
/// 이 메서드의 내용을 코드 편집기로 수정하지 마세요.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.groupBox5 = new System.Windows.Forms.GroupBox();
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
|
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
|
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.tbStatus = new System.Windows.Forms.TextBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.nudPort = new System.Windows.Forms.NumericUpDown();
|
|
this.btnConnect = new System.Windows.Forms.Button();
|
|
this.btnDisconnect = new System.Windows.Forms.Button();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.tbName = new System.Windows.Forms.TextBox();
|
|
this.btnRead = new System.Windows.Forms.Button();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.tbWriteName = new System.Windows.Forms.TextBox();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.tbWriteValue = new System.Windows.Forms.TextBox();
|
|
this.btnWrite = new System.Windows.Forms.Button();
|
|
this.chkModbus = new System.Windows.Forms.RadioButton();
|
|
this.chkOPCUA = new System.Windows.Forms.RadioButton();
|
|
this.chkSdk = new System.Windows.Forms.RadioButton();
|
|
this.rtbLog = new System.Windows.Forms.RichTextBox();
|
|
this.chkAutoScroll = new System.Windows.Forms.CheckBox();
|
|
this.btnClear = new System.Windows.Forms.Button();
|
|
this.tbIP = new System.Windows.Forms.TextBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.groupBox1.SuspendLayout();
|
|
this.groupBox5.SuspendLayout();
|
|
this.groupBox2.SuspendLayout();
|
|
this.groupBox3.SuspendLayout();
|
|
this.groupBox4.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudPort)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Controls.Add(this.btnDisconnect);
|
|
this.groupBox1.Controls.Add(this.tbIP);
|
|
this.groupBox1.Controls.Add(this.btnConnect);
|
|
this.groupBox1.Controls.Add(this.nudPort);
|
|
this.groupBox1.Controls.Add(this.label3);
|
|
this.groupBox1.Controls.Add(this.label2);
|
|
this.groupBox1.Controls.Add(this.tbStatus);
|
|
this.groupBox1.Controls.Add(this.label1);
|
|
this.groupBox1.Location = new System.Drawing.Point(13, 13);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(240, 135);
|
|
this.groupBox1.TabIndex = 0;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "Server";
|
|
//
|
|
// groupBox5
|
|
//
|
|
this.groupBox5.Controls.Add(this.chkAutoScroll);
|
|
this.groupBox5.Controls.Add(this.btnClear);
|
|
this.groupBox5.Controls.Add(this.rtbLog);
|
|
this.groupBox5.Location = new System.Drawing.Point(259, 13);
|
|
this.groupBox5.Name = "groupBox5";
|
|
this.groupBox5.Size = new System.Drawing.Size(417, 384);
|
|
this.groupBox5.TabIndex = 0;
|
|
this.groupBox5.TabStop = false;
|
|
this.groupBox5.Text = "Log";
|
|
//
|
|
// groupBox2
|
|
//
|
|
this.groupBox2.Controls.Add(this.btnRead);
|
|
this.groupBox2.Controls.Add(this.tbName);
|
|
this.groupBox2.Controls.Add(this.label4);
|
|
this.groupBox2.Location = new System.Drawing.Point(13, 154);
|
|
this.groupBox2.Name = "groupBox2";
|
|
this.groupBox2.Size = new System.Drawing.Size(240, 75);
|
|
this.groupBox2.TabIndex = 0;
|
|
this.groupBox2.TabStop = false;
|
|
this.groupBox2.Text = "Read Config";
|
|
//
|
|
// groupBox3
|
|
//
|
|
this.groupBox3.Controls.Add(this.btnWrite);
|
|
this.groupBox3.Controls.Add(this.tbWriteValue);
|
|
this.groupBox3.Controls.Add(this.label6);
|
|
this.groupBox3.Controls.Add(this.tbWriteName);
|
|
this.groupBox3.Controls.Add(this.label5);
|
|
this.groupBox3.Location = new System.Drawing.Point(13, 235);
|
|
this.groupBox3.Name = "groupBox3";
|
|
this.groupBox3.Size = new System.Drawing.Size(240, 105);
|
|
this.groupBox3.TabIndex = 0;
|
|
this.groupBox3.TabStop = false;
|
|
this.groupBox3.Text = "Write Config";
|
|
//
|
|
// groupBox4
|
|
//
|
|
this.groupBox4.Controls.Add(this.chkSdk);
|
|
this.groupBox4.Controls.Add(this.chkOPCUA);
|
|
this.groupBox4.Controls.Add(this.chkModbus);
|
|
this.groupBox4.Location = new System.Drawing.Point(13, 346);
|
|
this.groupBox4.Name = "groupBox4";
|
|
this.groupBox4.Size = new System.Drawing.Size(240, 51);
|
|
this.groupBox4.TabIndex = 0;
|
|
this.groupBox4.TabStop = false;
|
|
this.groupBox4.Text = "Mode";
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(4, 24);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(40, 12);
|
|
this.label1.TabIndex = 6;
|
|
this.label1.Text = "Status";
|
|
//
|
|
// tbStatus
|
|
//
|
|
this.tbStatus.BackColor = System.Drawing.Color.Silver;
|
|
this.tbStatus.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.tbStatus.Location = new System.Drawing.Point(78, 20);
|
|
this.tbStatus.Name = "tbStatus";
|
|
this.tbStatus.ReadOnly = true;
|
|
this.tbStatus.Size = new System.Drawing.Size(156, 21);
|
|
this.tbStatus.TabIndex = 7;
|
|
this.tbStatus.Text = "Disconnected";
|
|
this.tbStatus.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(4, 78);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(55, 12);
|
|
this.label2.TabIndex = 5;
|
|
this.label2.Text = "TCP port";
|
|
//
|
|
// nudPort
|
|
//
|
|
this.nudPort.Location = new System.Drawing.Point(78, 74);
|
|
this.nudPort.Maximum = new decimal(new int[] {
|
|
65535,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudPort.Name = "nudPort";
|
|
this.nudPort.Size = new System.Drawing.Size(156, 21);
|
|
this.nudPort.TabIndex = 9;
|
|
this.nudPort.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
|
this.nudPort.Value = new decimal(new int[] {
|
|
502,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// btnConnect
|
|
//
|
|
this.btnConnect.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnConnect.Location = new System.Drawing.Point(78, 101);
|
|
this.btnConnect.Name = "btnConnect";
|
|
this.btnConnect.Size = new System.Drawing.Size(68, 23);
|
|
this.btnConnect.TabIndex = 11;
|
|
this.btnConnect.Text = "Connect";
|
|
this.btnConnect.UseVisualStyleBackColor = true;
|
|
//
|
|
// btnDisconnect
|
|
//
|
|
this.btnDisconnect.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnDisconnect.Location = new System.Drawing.Point(152, 101);
|
|
this.btnDisconnect.Name = "btnDisconnect";
|
|
this.btnDisconnect.Size = new System.Drawing.Size(82, 23);
|
|
this.btnDisconnect.TabIndex = 10;
|
|
this.btnDisconnect.Text = "Disconnect";
|
|
this.btnDisconnect.UseVisualStyleBackColor = true;
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(6, 17);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(79, 12);
|
|
this.label4.TabIndex = 6;
|
|
this.label4.Text = "Tag name/Id";
|
|
//
|
|
// tbName
|
|
//
|
|
this.tbName.Location = new System.Drawing.Point(91, 13);
|
|
this.tbName.Name = "tbName";
|
|
this.tbName.Size = new System.Drawing.Size(143, 21);
|
|
this.tbName.TabIndex = 7;
|
|
this.tbName.Text = "00001";
|
|
//
|
|
// btnRead
|
|
//
|
|
this.btnRead.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnRead.Location = new System.Drawing.Point(159, 40);
|
|
this.btnRead.Name = "btnRead";
|
|
this.btnRead.Size = new System.Drawing.Size(75, 23);
|
|
this.btnRead.TabIndex = 10;
|
|
this.btnRead.Text = "Read";
|
|
this.btnRead.UseVisualStyleBackColor = true;
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(6, 24);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(79, 12);
|
|
this.label5.TabIndex = 6;
|
|
this.label5.Text = "Tag name/Id";
|
|
//
|
|
// tbWriteName
|
|
//
|
|
this.tbWriteName.Location = new System.Drawing.Point(91, 20);
|
|
this.tbWriteName.Name = "tbWriteName";
|
|
this.tbWriteName.Size = new System.Drawing.Size(143, 21);
|
|
this.tbWriteName.TabIndex = 7;
|
|
this.tbWriteName.Text = "00001";
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.AutoSize = true;
|
|
this.label6.Location = new System.Drawing.Point(6, 51);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(66, 12);
|
|
this.label6.TabIndex = 6;
|
|
this.label6.Text = "Write value";
|
|
//
|
|
// tbWriteValue
|
|
//
|
|
this.tbWriteValue.Location = new System.Drawing.Point(91, 47);
|
|
this.tbWriteValue.Name = "tbWriteValue";
|
|
this.tbWriteValue.Size = new System.Drawing.Size(143, 21);
|
|
this.tbWriteValue.TabIndex = 7;
|
|
this.tbWriteValue.Text = "0";
|
|
//
|
|
// btnWrite
|
|
//
|
|
this.btnWrite.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnWrite.Location = new System.Drawing.Point(159, 74);
|
|
this.btnWrite.Name = "btnWrite";
|
|
this.btnWrite.Size = new System.Drawing.Size(75, 23);
|
|
this.btnWrite.TabIndex = 10;
|
|
this.btnWrite.Text = "Write";
|
|
this.btnWrite.UseVisualStyleBackColor = true;
|
|
//
|
|
// chkModbus
|
|
//
|
|
this.chkModbus.AutoSize = true;
|
|
this.chkModbus.Checked = true;
|
|
this.chkModbus.Location = new System.Drawing.Point(8, 21);
|
|
this.chkModbus.Name = "chkModbus";
|
|
this.chkModbus.Size = new System.Drawing.Size(69, 16);
|
|
this.chkModbus.TabIndex = 0;
|
|
this.chkModbus.TabStop = true;
|
|
this.chkModbus.Text = "Modbus";
|
|
this.chkModbus.UseVisualStyleBackColor = true;
|
|
//
|
|
// chkOPCUA
|
|
//
|
|
this.chkOPCUA.AutoSize = true;
|
|
this.chkOPCUA.Location = new System.Drawing.Point(91, 21);
|
|
this.chkOPCUA.Name = "chkOPCUA";
|
|
this.chkOPCUA.Size = new System.Drawing.Size(69, 16);
|
|
this.chkOPCUA.TabIndex = 0;
|
|
this.chkOPCUA.Text = "OPC UA";
|
|
this.chkOPCUA.UseVisualStyleBackColor = true;
|
|
//
|
|
// chkSdk
|
|
//
|
|
this.chkSdk.AutoSize = true;
|
|
this.chkSdk.Location = new System.Drawing.Point(174, 21);
|
|
this.chkSdk.Name = "chkSdk";
|
|
this.chkSdk.Size = new System.Drawing.Size(47, 16);
|
|
this.chkSdk.TabIndex = 0;
|
|
this.chkSdk.Text = "SDK";
|
|
this.chkSdk.UseVisualStyleBackColor = true;
|
|
//
|
|
// rtbLog
|
|
//
|
|
this.rtbLog.BackColor = System.Drawing.Color.Black;
|
|
this.rtbLog.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.rtbLog.ForeColor = System.Drawing.Color.Lime;
|
|
this.rtbLog.Location = new System.Drawing.Point(6, 20);
|
|
this.rtbLog.Name = "rtbLog";
|
|
this.rtbLog.ReadOnly = true;
|
|
this.rtbLog.Size = new System.Drawing.Size(405, 329);
|
|
this.rtbLog.TabIndex = 1;
|
|
this.rtbLog.Text = "";
|
|
//
|
|
// chkAutoScroll
|
|
//
|
|
this.chkAutoScroll.AutoSize = true;
|
|
this.chkAutoScroll.Checked = true;
|
|
this.chkAutoScroll.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
this.chkAutoScroll.Location = new System.Drawing.Point(6, 362);
|
|
this.chkAutoScroll.Name = "chkAutoScroll";
|
|
this.chkAutoScroll.Size = new System.Drawing.Size(84, 16);
|
|
this.chkAutoScroll.TabIndex = 4;
|
|
this.chkAutoScroll.Text = "Auto scroll";
|
|
this.chkAutoScroll.UseVisualStyleBackColor = true;
|
|
//
|
|
// btnClear
|
|
//
|
|
this.btnClear.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnClear.Location = new System.Drawing.Point(336, 355);
|
|
this.btnClear.Name = "btnClear";
|
|
this.btnClear.Size = new System.Drawing.Size(75, 23);
|
|
this.btnClear.TabIndex = 5;
|
|
this.btnClear.Text = "Clear log";
|
|
this.btnClear.UseVisualStyleBackColor = true;
|
|
//
|
|
// tbIP
|
|
//
|
|
this.tbIP.Location = new System.Drawing.Point(78, 47);
|
|
this.tbIP.Name = "tbIP";
|
|
this.tbIP.Size = new System.Drawing.Size(156, 21);
|
|
this.tbIP.TabIndex = 7;
|
|
this.tbIP.Text = "127.0.0.1";
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(4, 51);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(56, 12);
|
|
this.label3.TabIndex = 5;
|
|
this.label3.Text = "Server IP";
|
|
//
|
|
// MainForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.BackColor = System.Drawing.Color.White;
|
|
this.ClientSize = new System.Drawing.Size(690, 407);
|
|
this.Controls.Add(this.groupBox5);
|
|
this.Controls.Add(this.groupBox4);
|
|
this.Controls.Add(this.groupBox3);
|
|
this.Controls.Add(this.groupBox2);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
|
this.Name = "MainForm";
|
|
this.Text = "Comm Client";
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox1.PerformLayout();
|
|
this.groupBox5.ResumeLayout(false);
|
|
this.groupBox5.PerformLayout();
|
|
this.groupBox2.ResumeLayout(false);
|
|
this.groupBox2.PerformLayout();
|
|
this.groupBox3.ResumeLayout(false);
|
|
this.groupBox3.PerformLayout();
|
|
this.groupBox4.ResumeLayout(false);
|
|
this.groupBox4.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudPort)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.GroupBox groupBox5;
|
|
private System.Windows.Forms.Button btnDisconnect;
|
|
private System.Windows.Forms.Button btnConnect;
|
|
private System.Windows.Forms.NumericUpDown nudPort;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.TextBox tbStatus;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.GroupBox groupBox2;
|
|
private System.Windows.Forms.GroupBox groupBox3;
|
|
private System.Windows.Forms.GroupBox groupBox4;
|
|
private System.Windows.Forms.Button btnRead;
|
|
private System.Windows.Forms.TextBox tbName;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.Button btnWrite;
|
|
private System.Windows.Forms.TextBox tbWriteValue;
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.TextBox tbWriteName;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.RadioButton chkSdk;
|
|
private System.Windows.Forms.RadioButton chkOPCUA;
|
|
private System.Windows.Forms.RadioButton chkModbus;
|
|
private System.Windows.Forms.RichTextBox rtbLog;
|
|
private System.Windows.Forms.CheckBox chkAutoScroll;
|
|
private System.Windows.Forms.Button btnClear;
|
|
private System.Windows.Forms.TextBox tbIP;
|
|
private System.Windows.Forms.Label label3;
|
|
}
|
|
}
|
|
|
|
|