form3.designer.cs

来自「实现电网发电的风机监控等功能!利用以太网、plc等。在此我只是做了一个opc的客」· CS 代码 · 共 976 行 · 第 1/5 页

CS
976
字号
            // 
            this.OPCServerConnect.BackColor = System.Drawing.SystemColors.Control;
            this.OPCServerConnect.Cursor = System.Windows.Forms.Cursors.Default;
            this.OPCServerConnect.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.OPCServerConnect.ForeColor = System.Drawing.SystemColors.ControlText;
            this.OPCServerConnect.Location = new System.Drawing.Point(35, 123);
            this.OPCServerConnect.Name = "OPCServerConnect";
            this.OPCServerConnect.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.OPCServerConnect.Size = new System.Drawing.Size(69, 23);
            this.OPCServerConnect.TabIndex = 99;
            this.OPCServerConnect.Text = "Connect";
            this.OPCServerConnect.UseVisualStyleBackColor = false;
            // 
            // Frame2
            // 
            this.Frame2.BackColor = System.Drawing.SystemColors.Control;
            this.Frame2.Controls.Add(this._OPCItemSyncReadButton_9);
            this.Frame2.Controls.Add(this._OPCItemSyncReadButton_8);
            this.Frame2.Controls.Add(this._OPCItemSyncReadButton_7);
            this.Frame2.Controls.Add(this._OPCItemSyncReadButton_6);
            this.Frame2.Controls.Add(this._OPCItemSyncReadButton_5);
            this.Frame2.Controls.Add(this._OPCItemSyncReadButton_4);
            this.Frame2.Controls.Add(this._OPCItemSyncReadButton_3);
            this.Frame2.Controls.Add(this._OPCItemSyncReadButton_2);
            this.Frame2.Controls.Add(this._OPCItemActiveState_9);
            this.Frame2.Controls.Add(this._OPCItemActiveState_8);
            this.Frame2.Controls.Add(this._OPCItemActiveState_7);
            this.Frame2.Controls.Add(this._OPCItemActiveState_6);
            this.Frame2.Controls.Add(this._OPCItemActiveState_5);
            this.Frame2.Controls.Add(this._OPCItemActiveState_4);
            this.Frame2.Controls.Add(this._OPCItemActiveState_3);
            this.Frame2.Controls.Add(this._OPCItemActiveState_2);
            this.Frame2.Controls.Add(this._OPCItemWriteButton_9);
            this.Frame2.Controls.Add(this._OPCItemWriteButton_8);
            this.Frame2.Controls.Add(this._OPCItemWriteButton_7);
            this.Frame2.Controls.Add(this._OPCItemWriteButton_6);
            this.Frame2.Controls.Add(this._OPCItemWriteButton_5);
            this.Frame2.Controls.Add(this._OPCItemWriteButton_4);
            this.Frame2.Controls.Add(this._OPCItemWriteButton_3);
            this.Frame2.Controls.Add(this._OPCItemWriteButton_2);
            this.Frame2.Controls.Add(this._OPCItemValueToWrite_9);
            this.Frame2.Controls.Add(this._OPCItemValueToWrite_8);
            this.Frame2.Controls.Add(this._OPCItemValueToWrite_7);
            this.Frame2.Controls.Add(this._OPCItemValueToWrite_6);
            this.Frame2.Controls.Add(this._OPCItemValueToWrite_5);
            this.Frame2.Controls.Add(this._OPCItemValueToWrite_4);
            this.Frame2.Controls.Add(this._OPCItemValueToWrite_3);
            this.Frame2.Controls.Add(this._OPCItemValueToWrite_2);
            this.Frame2.Controls.Add(this._OPCItemQuality_9);
            this.Frame2.Controls.Add(this._OPCItemQuality_8);
            this.Frame2.Controls.Add(this._OPCItemQuality_7);
            this.Frame2.Controls.Add(this._OPCItemQuality_6);
            this.Frame2.Controls.Add(this._OPCItemQuality_5);
            this.Frame2.Controls.Add(this._OPCItemQuality_4);
            this.Frame2.Controls.Add(this._OPCItemQuality_3);
            this.Frame2.Controls.Add(this._OPCItemQuality_2);
            this.Frame2.Controls.Add(this._OPCItemValue_9);
            this.Frame2.Controls.Add(this._OPCItemValue_8);
            this.Frame2.Controls.Add(this._OPCItemValue_7);
            this.Frame2.Controls.Add(this._OPCItemValue_6);
            this.Frame2.Controls.Add(this._OPCItemValue_5);
            this.Frame2.Controls.Add(this._OPCItemValue_4);
            this.Frame2.Controls.Add(this._OPCItemValue_3);
            this.Frame2.Controls.Add(this._OPCItemValue_2);
            this.Frame2.Controls.Add(this._OPCItemName_9);
            this.Frame2.Controls.Add(this._OPCItemName_8);
            this.Frame2.Controls.Add(this._OPCItemName_7);
            this.Frame2.Controls.Add(this._OPCItemName_6);
            this.Frame2.Controls.Add(this._OPCItemName_5);
            this.Frame2.Controls.Add(this._OPCItemName_4);
            this.Frame2.Controls.Add(this._OPCItemName_3);
            this.Frame2.Controls.Add(this._OPCItemName_2);
            this.Frame2.Controls.Add(this._OPCItemSyncReadButton_1);
            this.Frame2.Controls.Add(this._OPCItemActiveState_1);
            this.Frame2.Controls.Add(this._OPCItemWriteButton_1);
            this.Frame2.Controls.Add(this._OPCItemValueToWrite_1);
            this.Frame2.Controls.Add(this._OPCItemQuality_1);
            this.Frame2.Controls.Add(this._OPCItemValue_1);
            this.Frame2.Controls.Add(this._OPCItemName_1);
            this.Frame2.Controls.Add(this._OPCItemName_0);
            this.Frame2.Controls.Add(this.OPCRemoveItems);
            this.Frame2.Controls.Add(this._OPCItemSyncReadButton_0);
            this.Frame2.Controls.Add(this._OPCItemActiveState_0);
            this.Frame2.Controls.Add(this._OPCItemWriteButton_0);
            this.Frame2.Controls.Add(this._OPCItemValueToWrite_0);
            this.Frame2.Controls.Add(this._OPCItemQuality_0);
            this.Frame2.Controls.Add(this._OPCItemValue_0);
            this.Frame2.Controls.Add(this.Label9);
            this.Frame2.Controls.Add(this.Label8);
            this.Frame2.Controls.Add(this.Label7);
            this.Frame2.Controls.Add(this.Label4);
            this.Frame2.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Frame2.ForeColor = System.Drawing.SystemColors.ControlText;
            this.Frame2.Location = new System.Drawing.Point(12, 234);
            this.Frame2.Name = "Frame2";
            this.Frame2.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.Frame2.Size = new System.Drawing.Size(884, 344);
            this.Frame2.TabIndex = 112;
            this.Frame2.TabStop = false;
            this.Frame2.Text = "OPC Items";
            // 
            // OPCRemoveItems
            // 
            this.OPCRemoveItems.BackColor = System.Drawing.SystemColors.Control;
            this.OPCRemoveItems.Cursor = System.Windows.Forms.Cursors.Default;
            this.OPCRemoveItems.Enabled = false;
            this.OPCRemoveItems.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.OPCRemoveItems.ForeColor = System.Drawing.SystemColors.ControlText;
            this.OPCRemoveItems.Location = new System.Drawing.Point(509, 17);
            this.OPCRemoveItems.Name = "OPCRemoveItems";
            this.OPCRemoveItems.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.OPCRemoveItems.Size = new System.Drawing.Size(145, 26);
            this.OPCRemoveItems.TabIndex = 93;
            this.OPCRemoveItems.Text = "Remove OPC Items";
            this.OPCRemoveItems.UseVisualStyleBackColor = false;
            // 
            // _OPCItemSyncReadButton_0
            // 
            this._OPCItemSyncReadButton_0.BackColor = System.Drawing.SystemColors.Control;
            this._OPCItemSyncReadButton_0.Cursor = System.Windows.Forms.Cursors.Default;
            this._OPCItemSyncReadButton_0.Enabled = false;
            this._OPCItemSyncReadButton_0.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this._OPCItemSyncReadButton_0.ForeColor = System.Drawing.SystemColors.ControlText;
            this._OPCItemSyncReadButton_0.Location = new System.Drawing.Point(682, 69);
            this._OPCItemSyncReadButton_0.Name = "_OPCItemSyncReadButton_0";
            this._OPCItemSyncReadButton_0.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this._OPCItemSyncReadButton_0.Size = new System.Drawing.Size(86, 20);
            this._OPCItemSyncReadButton_0.TabIndex = 83;
            this._OPCItemSyncReadButton_0.Text = "Sync Read";
            this._OPCItemSyncReadButton_0.UseVisualStyleBackColor = false;
            // 
            // _OPCItemActiveState_0
            // 
            this._OPCItemActiveState_0.BackColor = System.Drawing.SystemColors.Control;
            this._OPCItemActiveState_0.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
            this._OPCItemActiveState_0.Checked = true;
            this._OPCItemActiveState_0.CheckState = System.Windows.Forms.CheckState.Checked;
            this._OPCItemActiveState_0.Cursor = System.Windows.Forms.Cursors.Default;
            this._OPCItemActiveState_0.Enabled = false;
            this._OPCItemActiveState_0.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this._OPCItemActiveState_0.ForeColor = System.Drawing.SystemColors.ControlText;
            this._OPCItemActiveState_0.Location = new System.Drawing.Point(595, 69);
            this._OPCItemActiveState_0.Name = "_OPCItemActiveState_0";
            this._OPCItemActiveState_0.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this._OPCItemActiveState_0.Size = new System.Drawing.Size(69, 18);
            this._OPCItemActiveState_0.TabIndex = 64;
            this._OPCItemActiveState_0.Text = "Active";
            this._OPCItemActiveState_0.UseVisualStyleBackColor = false;
            // 
            // _OPCItemWriteButton_0
            // 
            this._OPCItemWriteButton_0.BackColor = System.Drawing.SystemColors.Control;
            this._OPCItemWriteButton_0.Cursor = System.Windows.Forms.Cursors.Default;
            this._OPCItemWriteButton_0.Enabled = false;
            this._OPCItemWriteButton_0.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this._OPCItemWriteButton_0.ForeColor = System.Drawing.SystemColors.ControlText;
            this._OPCItemWriteButton_0.Location = new System.Drawing.Point(495, 69);
            this._OPCItemWriteButton_0.Name = "_OPCItemWriteButton_0";
            this._OPCItemWriteButton_0.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this._OPCItemWriteButton_0.Size = new System.Drawing.Size(87, 20);
            this._OPCItemWriteButton_0.TabIndex = 63;
            this._OPCItemWriteButton_0.Text = "Write Value";
            this._OPCItemWriteButton_0.UseVisualStyleBackColor = false;
            // 
            // _OPCItemValueToWrite_0
            // 
            this._OPCItemValueToWrite_0.AcceptsReturn = true;
            this._OPCItemValueToWrite_0.BackColor = System.Drawing.SystemColors.Window;
            this._OPCItemValueToWrite_0.Cursor = System.Windows.Forms.Cursors.IBeam;
            this._OPCItemValueToWrite_0.Enabled = false;
            this._OPCItemValueToWrite_0.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this._OPCItemValueToWrite_0.ForeColor = System.Drawing.SystemColors.WindowText;
            this._OPCItemValueToWrite_0.Location = new System.Drawing.Point(361, 69);
            this._OPCItemValueToWrite_0.MaxLength = 0;
            this._OPCItemValueToWrite_0.Name = "_OPCItemValueToWrite_0";
            this._OPCItemValueToWrite_0.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this._OPCItemValueToWrite_0.Size = new System.Drawing.Size(116, 20);
            this._OPCItemValueToWrite_0.TabIndex = 52;
            this._OPCItemValueToWrite_0.Text = "0";
            // 
            // _OPCItemQuality_0
            // 
            this._OPCItemQuality_0.AcceptsReturn = true;
            this._OPCItemQuality_0.BackColor = System.Drawing.SystemColors.Window;
            this._OPCItemQuality_0.Cursor = System.Windows.Forms.Cursors.IBeam;
            this._OPCItemQuality_0.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this._OPCItemQuality_0.ForeColor = System.Drawing.SystemColors.WindowText;
            this._OPCItemQuality_0.Location = new System.Drawing.Point(778, 69);
            this._OPCItemQuality_0.MaxLength = 0;
            this._OPCItemQuality_0.Name = "_OPCItemQuality_0";
            this._OPCItemQuality_0.ReadOnly = true;
            this._OPCItemQuality_0.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this._OPCItemQuality_0.Size = new System.Drawing.Size(68, 20);
            this._OPCItemQuality_0.TabIndex = 41;
            // 
            // _OPCItemValue_0

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?