123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613 |
- namespace HRT_Measure
- {
- partial class FrmCommunication
- {
- /// <summary>
- /// Required designer variable.
- /// </summary>
- private System.ComponentModel.IContainer components = null;
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
- #region Windows Form Designer generated code
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- this.uiTableLayoutPanel1 = new Sunny.UI.UITableLayoutPanel();
- this.uiGroupBox3 = new Sunny.UI.UIGroupBox();
- this.btnTCPServerSend = new Sunny.UI.UIButton();
- this.txtTCPServerSend = new Sunny.UI.UITextBox();
- this.uiLabel8 = new Sunny.UI.UILabel();
- this.txtTCPServerRecv = new Sunny.UI.UITextBox();
- this.uiLabel9 = new Sunny.UI.UILabel();
- this.btnTcpServerStart = new Sunny.UI.UIButton();
- this.uiLabel10 = new Sunny.UI.UILabel();
- this.cobTcpServer = new Sunny.UI.UIComboBox();
- this.uiGroupBox1 = new Sunny.UI.UIGroupBox();
- this.uiLabel4 = new Sunny.UI.UILabel();
- this.rabPLCDataType = new Sunny.UI.UIRadioButtonGroup();
- this.txtPLCReturn = new Sunny.UI.UITextBox();
- this.btnPLCWrite = new Sunny.UI.UIButton();
- this.btnPLCRead = new Sunny.UI.UIButton();
- this.txtPLCValue = new Sunny.UI.UITextBox();
- this.txtPLCAdd = new Sunny.UI.UITextBox();
- this.uiLabel3 = new Sunny.UI.UILabel();
- this.uiLabel2 = new Sunny.UI.UILabel();
- this.btnPLCConnect = new Sunny.UI.UIButton();
- this.uiLabel1 = new Sunny.UI.UILabel();
- this.cobPLC = new Sunny.UI.UIComboBox();
- this.uiGroupBox2 = new Sunny.UI.UIGroupBox();
- this.btnClientSend = new Sunny.UI.UIButton();
- this.txtClientSend = new Sunny.UI.UITextBox();
- this.uiLabel7 = new Sunny.UI.UILabel();
- this.txtClientRecv = new Sunny.UI.UITextBox();
- this.uiLabel6 = new Sunny.UI.UILabel();
- this.btnClientConnect = new Sunny.UI.UIButton();
- this.uiLabel5 = new Sunny.UI.UILabel();
- this.cobTcpClient = new Sunny.UI.UIComboBox();
- this.timer1 = new System.Windows.Forms.Timer(this.components);
- this.uiTableLayoutPanel1.SuspendLayout();
- this.uiGroupBox3.SuspendLayout();
- this.uiGroupBox1.SuspendLayout();
- this.uiGroupBox2.SuspendLayout();
- this.SuspendLayout();
- //
- // uiTableLayoutPanel1
- //
- this.uiTableLayoutPanel1.ColumnCount = 2;
- this.uiTableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
- this.uiTableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
- this.uiTableLayoutPanel1.Controls.Add(this.uiGroupBox3, 0, 1);
- this.uiTableLayoutPanel1.Controls.Add(this.uiGroupBox1, 0, 0);
- this.uiTableLayoutPanel1.Controls.Add(this.uiGroupBox2, 1, 0);
- this.uiTableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.uiTableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
- this.uiTableLayoutPanel1.Name = "uiTableLayoutPanel1";
- this.uiTableLayoutPanel1.RowCount = 2;
- this.uiTableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
- this.uiTableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
- this.uiTableLayoutPanel1.Size = new System.Drawing.Size(1604, 881);
- this.uiTableLayoutPanel1.TabIndex = 0;
- this.uiTableLayoutPanel1.TagString = null;
- //
- // uiGroupBox3
- //
- this.uiGroupBox3.Controls.Add(this.btnTCPServerSend);
- this.uiGroupBox3.Controls.Add(this.txtTCPServerSend);
- this.uiGroupBox3.Controls.Add(this.uiLabel8);
- this.uiGroupBox3.Controls.Add(this.txtTCPServerRecv);
- this.uiGroupBox3.Controls.Add(this.uiLabel9);
- this.uiGroupBox3.Controls.Add(this.btnTcpServerStart);
- this.uiGroupBox3.Controls.Add(this.uiLabel10);
- this.uiGroupBox3.Controls.Add(this.cobTcpServer);
- this.uiGroupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
- this.uiGroupBox3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.uiGroupBox3.Location = new System.Drawing.Point(4, 445);
- this.uiGroupBox3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
- this.uiGroupBox3.MinimumSize = new System.Drawing.Size(1, 1);
- this.uiGroupBox3.Name = "uiGroupBox3";
- this.uiGroupBox3.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
- this.uiGroupBox3.Size = new System.Drawing.Size(794, 431);
- this.uiGroupBox3.TabIndex = 2;
- this.uiGroupBox3.Text = "Server通讯";
- this.uiGroupBox3.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // btnTCPServerSend
- //
- this.btnTCPServerSend.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnTCPServerSend.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnTCPServerSend.Location = new System.Drawing.Point(448, 331);
- this.btnTCPServerSend.MinimumSize = new System.Drawing.Size(1, 1);
- this.btnTCPServerSend.Name = "btnTCPServerSend";
- this.btnTCPServerSend.Radius = 10;
- this.btnTCPServerSend.Size = new System.Drawing.Size(194, 45);
- this.btnTCPServerSend.TabIndex = 10;
- this.btnTCPServerSend.Text = "发送";
- this.btnTCPServerSend.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnTCPServerSend.Click += new System.EventHandler(this.BtnTCPServerSend_Click);
- //
- // txtTCPServerSend
- //
- this.txtTCPServerSend.Cursor = System.Windows.Forms.Cursors.IBeam;
- this.txtTCPServerSend.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtTCPServerSend.Location = new System.Drawing.Point(151, 235);
- this.txtTCPServerSend.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
- this.txtTCPServerSend.MinimumSize = new System.Drawing.Size(1, 16);
- this.txtTCPServerSend.Multiline = true;
- this.txtTCPServerSend.Name = "txtTCPServerSend";
- this.txtTCPServerSend.Padding = new System.Windows.Forms.Padding(5);
- this.txtTCPServerSend.ShowText = false;
- this.txtTCPServerSend.Size = new System.Drawing.Size(622, 78);
- this.txtTCPServerSend.TabIndex = 9;
- this.txtTCPServerSend.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
- this.txtTCPServerSend.Watermark = "";
- //
- // uiLabel8
- //
- this.uiLabel8.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.uiLabel8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
- this.uiLabel8.Location = new System.Drawing.Point(31, 234);
- this.uiLabel8.Name = "uiLabel8";
- this.uiLabel8.Size = new System.Drawing.Size(100, 23);
- this.uiLabel8.TabIndex = 9;
- this.uiLabel8.Text = "发送:";
- this.uiLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // txtTCPServerRecv
- //
- this.txtTCPServerRecv.Cursor = System.Windows.Forms.Cursors.IBeam;
- this.txtTCPServerRecv.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtTCPServerRecv.Location = new System.Drawing.Point(151, 104);
- this.txtTCPServerRecv.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
- this.txtTCPServerRecv.MinimumSize = new System.Drawing.Size(1, 16);
- this.txtTCPServerRecv.Multiline = true;
- this.txtTCPServerRecv.Name = "txtTCPServerRecv";
- this.txtTCPServerRecv.Padding = new System.Windows.Forms.Padding(5);
- this.txtTCPServerRecv.ShowText = false;
- this.txtTCPServerRecv.Size = new System.Drawing.Size(622, 121);
- this.txtTCPServerRecv.TabIndex = 8;
- this.txtTCPServerRecv.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
- this.txtTCPServerRecv.Watermark = "";
- //
- // uiLabel9
- //
- this.uiLabel9.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.uiLabel9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
- this.uiLabel9.Location = new System.Drawing.Point(31, 104);
- this.uiLabel9.Name = "uiLabel9";
- this.uiLabel9.Size = new System.Drawing.Size(100, 23);
- this.uiLabel9.TabIndex = 5;
- this.uiLabel9.Text = "接收:";
- this.uiLabel9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // btnTcpServerStart
- //
- this.btnTcpServerStart.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnTcpServerStart.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnTcpServerStart.Location = new System.Drawing.Point(448, 38);
- this.btnTcpServerStart.MinimumSize = new System.Drawing.Size(1, 1);
- this.btnTcpServerStart.Name = "btnTcpServerStart";
- this.btnTcpServerStart.Radius = 10;
- this.btnTcpServerStart.Size = new System.Drawing.Size(194, 45);
- this.btnTcpServerStart.TabIndex = 4;
- this.btnTcpServerStart.Text = "启动";
- this.btnTcpServerStart.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnTcpServerStart.Click += new System.EventHandler(this.BtnTcpServerStart_Click);
- //
- // uiLabel10
- //
- this.uiLabel10.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.uiLabel10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
- this.uiLabel10.Location = new System.Drawing.Point(31, 58);
- this.uiLabel10.Name = "uiLabel10";
- this.uiLabel10.Size = new System.Drawing.Size(100, 23);
- this.uiLabel10.TabIndex = 3;
- this.uiLabel10.Text = "选项:";
- this.uiLabel10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // cobTcpServer
- //
- this.cobTcpServer.DataSource = null;
- this.cobTcpServer.FillColor = System.Drawing.Color.White;
- this.cobTcpServer.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.cobTcpServer.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(200)))), ((int)(((byte)(255)))));
- this.cobTcpServer.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
- this.cobTcpServer.Location = new System.Drawing.Point(151, 54);
- this.cobTcpServer.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
- this.cobTcpServer.MinimumSize = new System.Drawing.Size(63, 0);
- this.cobTcpServer.Name = "cobTcpServer";
- this.cobTcpServer.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
- this.cobTcpServer.Size = new System.Drawing.Size(168, 29);
- this.cobTcpServer.SymbolSize = 24;
- this.cobTcpServer.TabIndex = 2;
- this.cobTcpServer.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
- this.cobTcpServer.Watermark = "";
- //
- // uiGroupBox1
- //
- this.uiGroupBox1.Controls.Add(this.uiLabel4);
- this.uiGroupBox1.Controls.Add(this.rabPLCDataType);
- this.uiGroupBox1.Controls.Add(this.txtPLCReturn);
- this.uiGroupBox1.Controls.Add(this.btnPLCWrite);
- this.uiGroupBox1.Controls.Add(this.btnPLCRead);
- this.uiGroupBox1.Controls.Add(this.txtPLCValue);
- this.uiGroupBox1.Controls.Add(this.txtPLCAdd);
- this.uiGroupBox1.Controls.Add(this.uiLabel3);
- this.uiGroupBox1.Controls.Add(this.uiLabel2);
- this.uiGroupBox1.Controls.Add(this.btnPLCConnect);
- this.uiGroupBox1.Controls.Add(this.uiLabel1);
- this.uiGroupBox1.Controls.Add(this.cobPLC);
- this.uiGroupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.uiGroupBox1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.uiGroupBox1.Location = new System.Drawing.Point(4, 5);
- this.uiGroupBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
- this.uiGroupBox1.MinimumSize = new System.Drawing.Size(1, 1);
- this.uiGroupBox1.Name = "uiGroupBox1";
- this.uiGroupBox1.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
- this.uiGroupBox1.Size = new System.Drawing.Size(794, 430);
- this.uiGroupBox1.TabIndex = 0;
- this.uiGroupBox1.Text = "PLC通讯";
- this.uiGroupBox1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // uiLabel4
- //
- this.uiLabel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.uiLabel4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
- this.uiLabel4.Location = new System.Drawing.Point(46, 289);
- this.uiLabel4.Name = "uiLabel4";
- this.uiLabel4.Size = new System.Drawing.Size(68, 23);
- this.uiLabel4.TabIndex = 10;
- this.uiLabel4.Text = "信息:";
- this.uiLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // rabPLCDataType
- //
- this.rabPLCDataType.ColumnCount = 2;
- this.rabPLCDataType.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.rabPLCDataType.Items.AddRange(new object[] {
- "int",
- "float",
- "double",
- "short",
- "bool",
- "ushort",
- "string"});
- this.rabPLCDataType.Location = new System.Drawing.Point(465, 91);
- this.rabPLCDataType.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
- this.rabPLCDataType.MinimumSize = new System.Drawing.Size(1, 1);
- this.rabPLCDataType.Name = "rabPLCDataType";
- this.rabPLCDataType.Padding = new System.Windows.Forms.Padding(0, 32, 0, 0);
- this.rabPLCDataType.Size = new System.Drawing.Size(289, 173);
- this.rabPLCDataType.TabIndex = 9;
- this.rabPLCDataType.Text = "读写数据类型";
- this.rabPLCDataType.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // txtPLCReturn
- //
- this.txtPLCReturn.Cursor = System.Windows.Forms.Cursors.IBeam;
- this.txtPLCReturn.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtPLCReturn.Location = new System.Drawing.Point(121, 289);
- this.txtPLCReturn.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
- this.txtPLCReturn.MinimumSize = new System.Drawing.Size(1, 16);
- this.txtPLCReturn.Name = "txtPLCReturn";
- this.txtPLCReturn.Padding = new System.Windows.Forms.Padding(5);
- this.txtPLCReturn.ShowText = false;
- this.txtPLCReturn.Size = new System.Drawing.Size(609, 29);
- this.txtPLCReturn.TabIndex = 7;
- this.txtPLCReturn.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
- this.txtPLCReturn.Watermark = "";
- //
- // btnPLCWrite
- //
- this.btnPLCWrite.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnPLCWrite.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnPLCWrite.Location = new System.Drawing.Point(448, 326);
- this.btnPLCWrite.MinimumSize = new System.Drawing.Size(1, 1);
- this.btnPLCWrite.Name = "btnPLCWrite";
- this.btnPLCWrite.Radius = 10;
- this.btnPLCWrite.Size = new System.Drawing.Size(194, 45);
- this.btnPLCWrite.TabIndex = 8;
- this.btnPLCWrite.Text = "写";
- this.btnPLCWrite.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnPLCWrite.Click += new System.EventHandler(this.BtnPLCWrite_Click);
- //
- // btnPLCRead
- //
- this.btnPLCRead.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnPLCRead.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnPLCRead.Location = new System.Drawing.Point(151, 326);
- this.btnPLCRead.MinimumSize = new System.Drawing.Size(1, 1);
- this.btnPLCRead.Name = "btnPLCRead";
- this.btnPLCRead.Radius = 10;
- this.btnPLCRead.Size = new System.Drawing.Size(194, 45);
- this.btnPLCRead.TabIndex = 7;
- this.btnPLCRead.Text = "读";
- this.btnPLCRead.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnPLCRead.Click += new System.EventHandler(this.BtnPLCRead_Click);
- //
- // txtPLCValue
- //
- this.txtPLCValue.Cursor = System.Windows.Forms.Cursors.IBeam;
- this.txtPLCValue.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtPLCValue.Location = new System.Drawing.Point(247, 202);
- this.txtPLCValue.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
- this.txtPLCValue.MinimumSize = new System.Drawing.Size(1, 16);
- this.txtPLCValue.Name = "txtPLCValue";
- this.txtPLCValue.Padding = new System.Windows.Forms.Padding(5);
- this.txtPLCValue.ShowText = false;
- this.txtPLCValue.Size = new System.Drawing.Size(150, 29);
- this.txtPLCValue.TabIndex = 6;
- this.txtPLCValue.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
- this.txtPLCValue.Watermark = "";
- //
- // txtPLCAdd
- //
- this.txtPLCAdd.Cursor = System.Windows.Forms.Cursors.IBeam;
- this.txtPLCAdd.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtPLCAdd.Location = new System.Drawing.Point(36, 202);
- this.txtPLCAdd.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
- this.txtPLCAdd.MinimumSize = new System.Drawing.Size(1, 16);
- this.txtPLCAdd.Name = "txtPLCAdd";
- this.txtPLCAdd.Padding = new System.Windows.Forms.Padding(5);
- this.txtPLCAdd.ShowText = false;
- this.txtPLCAdd.Size = new System.Drawing.Size(150, 29);
- this.txtPLCAdd.TabIndex = 5;
- this.txtPLCAdd.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
- this.txtPLCAdd.Watermark = "";
- //
- // uiLabel3
- //
- this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.uiLabel3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
- this.uiLabel3.Location = new System.Drawing.Point(275, 145);
- this.uiLabel3.Name = "uiLabel3";
- this.uiLabel3.Size = new System.Drawing.Size(100, 23);
- this.uiLabel3.TabIndex = 4;
- this.uiLabel3.Text = "写入数值";
- this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // uiLabel2
- //
- this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.uiLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
- this.uiLabel2.Location = new System.Drawing.Point(63, 145);
- this.uiLabel2.Name = "uiLabel2";
- this.uiLabel2.Size = new System.Drawing.Size(100, 23);
- this.uiLabel2.TabIndex = 3;
- this.uiLabel2.Text = "地址";
- this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // btnPLCConnect
- //
- this.btnPLCConnect.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnPLCConnect.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnPLCConnect.Location = new System.Drawing.Point(450, 38);
- this.btnPLCConnect.MinimumSize = new System.Drawing.Size(1, 1);
- this.btnPLCConnect.Name = "btnPLCConnect";
- this.btnPLCConnect.Radius = 10;
- this.btnPLCConnect.Size = new System.Drawing.Size(194, 45);
- this.btnPLCConnect.TabIndex = 2;
- this.btnPLCConnect.Text = "连接";
- this.btnPLCConnect.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnPLCConnect.Click += new System.EventHandler(this.BtnPLCConnect_Click);
- //
- // uiLabel1
- //
- this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.uiLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
- this.uiLabel1.Location = new System.Drawing.Point(31, 58);
- this.uiLabel1.Name = "uiLabel1";
- this.uiLabel1.Size = new System.Drawing.Size(100, 23);
- this.uiLabel1.TabIndex = 1;
- this.uiLabel1.Text = "选项:";
- this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // cobPLC
- //
- this.cobPLC.DataSource = null;
- this.cobPLC.FillColor = System.Drawing.Color.White;
- this.cobPLC.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.cobPLC.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(200)))), ((int)(((byte)(255)))));
- this.cobPLC.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
- this.cobPLC.Location = new System.Drawing.Point(151, 54);
- this.cobPLC.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
- this.cobPLC.MinimumSize = new System.Drawing.Size(63, 0);
- this.cobPLC.Name = "cobPLC";
- this.cobPLC.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
- this.cobPLC.Size = new System.Drawing.Size(168, 29);
- this.cobPLC.SymbolSize = 24;
- this.cobPLC.TabIndex = 0;
- this.cobPLC.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
- this.cobPLC.Watermark = "";
- this.cobPLC.SelectedIndexChanged += new System.EventHandler(this.CobPLC_SelectedIndexChanged);
- //
- // uiGroupBox2
- //
- this.uiGroupBox2.Controls.Add(this.btnClientSend);
- this.uiGroupBox2.Controls.Add(this.txtClientSend);
- this.uiGroupBox2.Controls.Add(this.uiLabel7);
- this.uiGroupBox2.Controls.Add(this.txtClientRecv);
- this.uiGroupBox2.Controls.Add(this.uiLabel6);
- this.uiGroupBox2.Controls.Add(this.btnClientConnect);
- this.uiGroupBox2.Controls.Add(this.uiLabel5);
- this.uiGroupBox2.Controls.Add(this.cobTcpClient);
- this.uiGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.uiGroupBox2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.uiGroupBox2.Location = new System.Drawing.Point(806, 5);
- this.uiGroupBox2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
- this.uiGroupBox2.MinimumSize = new System.Drawing.Size(1, 1);
- this.uiGroupBox2.Name = "uiGroupBox2";
- this.uiGroupBox2.Padding = new System.Windows.Forms.Padding(0, 35, 0, 0);
- this.uiGroupBox2.Size = new System.Drawing.Size(794, 430);
- this.uiGroupBox2.TabIndex = 1;
- this.uiGroupBox2.Text = "Client通讯";
- this.uiGroupBox2.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // btnClientSend
- //
- this.btnClientSend.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnClientSend.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnClientSend.Location = new System.Drawing.Point(448, 327);
- this.btnClientSend.MinimumSize = new System.Drawing.Size(1, 1);
- this.btnClientSend.Name = "btnClientSend";
- this.btnClientSend.Radius = 10;
- this.btnClientSend.Size = new System.Drawing.Size(194, 45);
- this.btnClientSend.TabIndex = 10;
- this.btnClientSend.Text = "发送";
- this.btnClientSend.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnClientSend.Click += new System.EventHandler(this.BtnClientSend_Click);
- //
- // txtClientSend
- //
- this.txtClientSend.Cursor = System.Windows.Forms.Cursors.IBeam;
- this.txtClientSend.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtClientSend.Location = new System.Drawing.Point(151, 241);
- this.txtClientSend.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
- this.txtClientSend.MinimumSize = new System.Drawing.Size(1, 16);
- this.txtClientSend.Multiline = true;
- this.txtClientSend.Name = "txtClientSend";
- this.txtClientSend.Padding = new System.Windows.Forms.Padding(5);
- this.txtClientSend.ShowText = false;
- this.txtClientSend.Size = new System.Drawing.Size(622, 78);
- this.txtClientSend.TabIndex = 9;
- this.txtClientSend.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
- this.txtClientSend.Watermark = "";
- //
- // uiLabel7
- //
- this.uiLabel7.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.uiLabel7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
- this.uiLabel7.Location = new System.Drawing.Point(31, 241);
- this.uiLabel7.Name = "uiLabel7";
- this.uiLabel7.Size = new System.Drawing.Size(100, 23);
- this.uiLabel7.TabIndex = 9;
- this.uiLabel7.Text = "发送:";
- this.uiLabel7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // txtClientRecv
- //
- this.txtClientRecv.Cursor = System.Windows.Forms.Cursors.IBeam;
- this.txtClientRecv.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.txtClientRecv.Location = new System.Drawing.Point(151, 110);
- this.txtClientRecv.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
- this.txtClientRecv.MinimumSize = new System.Drawing.Size(1, 16);
- this.txtClientRecv.Multiline = true;
- this.txtClientRecv.Name = "txtClientRecv";
- this.txtClientRecv.Padding = new System.Windows.Forms.Padding(5);
- this.txtClientRecv.ShowText = false;
- this.txtClientRecv.Size = new System.Drawing.Size(622, 121);
- this.txtClientRecv.TabIndex = 8;
- this.txtClientRecv.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
- this.txtClientRecv.Watermark = "";
- //
- // uiLabel6
- //
- this.uiLabel6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.uiLabel6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
- this.uiLabel6.Location = new System.Drawing.Point(31, 110);
- this.uiLabel6.Name = "uiLabel6";
- this.uiLabel6.Size = new System.Drawing.Size(100, 23);
- this.uiLabel6.TabIndex = 5;
- this.uiLabel6.Text = "接收:";
- this.uiLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // btnClientConnect
- //
- this.btnClientConnect.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnClientConnect.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnClientConnect.Location = new System.Drawing.Point(448, 38);
- this.btnClientConnect.MinimumSize = new System.Drawing.Size(1, 1);
- this.btnClientConnect.Name = "btnClientConnect";
- this.btnClientConnect.Radius = 10;
- this.btnClientConnect.Size = new System.Drawing.Size(194, 45);
- this.btnClientConnect.TabIndex = 4;
- this.btnClientConnect.Text = "连接";
- this.btnClientConnect.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnClientConnect.Click += new System.EventHandler(this.BtnClientConnect_Click);
- //
- // uiLabel5
- //
- this.uiLabel5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.uiLabel5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
- this.uiLabel5.Location = new System.Drawing.Point(31, 58);
- this.uiLabel5.Name = "uiLabel5";
- this.uiLabel5.Size = new System.Drawing.Size(100, 23);
- this.uiLabel5.TabIndex = 3;
- this.uiLabel5.Text = "选项:";
- this.uiLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- //
- // cobTcpClient
- //
- this.cobTcpClient.DataSource = null;
- this.cobTcpClient.FillColor = System.Drawing.Color.White;
- this.cobTcpClient.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.cobTcpClient.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(200)))), ((int)(((byte)(255)))));
- this.cobTcpClient.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
- this.cobTcpClient.Location = new System.Drawing.Point(151, 54);
- this.cobTcpClient.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
- this.cobTcpClient.MinimumSize = new System.Drawing.Size(63, 0);
- this.cobTcpClient.Name = "cobTcpClient";
- this.cobTcpClient.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
- this.cobTcpClient.Size = new System.Drawing.Size(168, 29);
- this.cobTcpClient.SymbolSize = 24;
- this.cobTcpClient.TabIndex = 2;
- this.cobTcpClient.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
- this.cobTcpClient.Watermark = "";
- //
- // timer1
- //
- this.timer1.Interval = 1000;
- this.timer1.Tick += new System.EventHandler(this.Timer1_Tick);
- //
- // FrmCommunication
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(1604, 881);
- this.Controls.Add(this.uiTableLayoutPanel1);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
- this.Name = "FrmCommunication";
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "通讯";
- this.Load += new System.EventHandler(this.FrmCommunication_Load);
- this.uiTableLayoutPanel1.ResumeLayout(false);
- this.uiGroupBox3.ResumeLayout(false);
- this.uiGroupBox1.ResumeLayout(false);
- this.uiGroupBox2.ResumeLayout(false);
- this.ResumeLayout(false);
- }
- #endregion
- private Sunny.UI.UITableLayoutPanel uiTableLayoutPanel1;
- private Sunny.UI.UIGroupBox uiGroupBox1;
- private Sunny.UI.UILabel uiLabel1;
- private Sunny.UI.UIComboBox cobPLC;
- private Sunny.UI.UITextBox txtPLCValue;
- private Sunny.UI.UITextBox txtPLCAdd;
- private Sunny.UI.UILabel uiLabel3;
- private Sunny.UI.UILabel uiLabel2;
- private Sunny.UI.UIButton btnPLCConnect;
- private Sunny.UI.UIButton btnPLCWrite;
- private Sunny.UI.UIButton btnPLCRead;
- private Sunny.UI.UITextBox txtPLCReturn;
- private Sunny.UI.UIRadioButtonGroup rabPLCDataType;
- private System.Windows.Forms.Timer timer1;
- private Sunny.UI.UILabel uiLabel4;
- private Sunny.UI.UIGroupBox uiGroupBox2;
- private Sunny.UI.UIButton btnClientConnect;
- private Sunny.UI.UILabel uiLabel5;
- private Sunny.UI.UIComboBox cobTcpClient;
- private Sunny.UI.UILabel uiLabel6;
- private Sunny.UI.UIButton btnClientSend;
- private Sunny.UI.UITextBox txtClientSend;
- private Sunny.UI.UILabel uiLabel7;
- private Sunny.UI.UITextBox txtClientRecv;
- private Sunny.UI.UIGroupBox uiGroupBox3;
- private Sunny.UI.UIButton btnTCPServerSend;
- private Sunny.UI.UITextBox txtTCPServerSend;
- private Sunny.UI.UILabel uiLabel8;
- private Sunny.UI.UITextBox txtTCPServerRecv;
- private Sunny.UI.UILabel uiLabel9;
- private Sunny.UI.UIButton btnTcpServerStart;
- private Sunny.UI.UILabel uiLabel10;
- private Sunny.UI.UIComboBox cobTcpServer;
- }
- }
|