Commit 74dfb385 几米阳光

1

1 个父辈 10be948a
...@@ -92,8 +92,7 @@ ...@@ -92,8 +92,7 @@
this.btnMiddleMove.Size = new System.Drawing.Size(131, 36); this.btnMiddleMove.Size = new System.Drawing.Size(131, 36);
this.btnMiddleMove.TabIndex = 4; this.btnMiddleMove.TabIndex = 4;
this.btnMiddleMove.Text = "旋转轴+(顺时针)"; this.btnMiddleMove.Text = "旋转轴+(顺时针)";
this.btnMiddleMove.UseVisualStyleBackColor = true; this.btnMiddleMove.UseVisualStyleBackColor = true;
this.btnMiddleMove.Click += new System.EventHandler(this.btnMiddleMove_Click);
this.btnMiddleMove.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnMiddleMove_MouseDown); this.btnMiddleMove.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnMiddleMove_MouseDown);
this.btnMiddleMove.MouseUp += new System.Windows.Forms.MouseEventHandler(this.btnMiddleMove_MouseUp); this.btnMiddleMove.MouseUp += new System.Windows.Forms.MouseEventHandler(this.btnMiddleMove_MouseUp);
// //
......
...@@ -46,9 +46,10 @@ ...@@ -46,9 +46,10 @@
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.ClientSize = new System.Drawing.Size(300, 300); this.ClientSize = new System.Drawing.Size(300, 300);
this.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "FrmBase"; this.Name = "FrmBase";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "FrmBase"; this.Text = "FrmBase";
this.ResumeLayout(false); this.ResumeLayout(false);
......
...@@ -77,20 +77,20 @@ ...@@ -77,20 +77,20 @@
this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.label6);
this.groupBox1.Controls.Add(this.btnWriteSingleDO); this.groupBox1.Controls.Add(this.btnWriteSingleDO);
this.groupBox1.Controls.Add(this.cmbWriteIO); this.groupBox1.Controls.Add(this.cmbWriteIO);
this.groupBox1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.groupBox1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.groupBox1.Location = new System.Drawing.Point(19, 25); this.groupBox1.Location = new System.Drawing.Point(17, 21);
this.groupBox1.Name = "groupBox1"; this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(344, 478); this.groupBox1.Size = new System.Drawing.Size(301, 406);
this.groupBox1.TabIndex = 105; this.groupBox1.TabIndex = 105;
this.groupBox1.TabStop = false; this.groupBox1.TabStop = false;
this.groupBox1.Text = "DO写入"; this.groupBox1.Text = "DO写入";
// //
// btnLocationDown // btnLocationDown
// //
this.btnLocationDown.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnLocationDown.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnLocationDown.Location = new System.Drawing.Point(164, 384); this.btnLocationDown.Location = new System.Drawing.Point(144, 326);
this.btnLocationDown.Name = "btnLocationDown"; this.btnLocationDown.Name = "btnLocationDown";
this.btnLocationDown.Size = new System.Drawing.Size(117, 40); this.btnLocationDown.Size = new System.Drawing.Size(102, 34);
this.btnLocationDown.TabIndex = 251; this.btnLocationDown.TabIndex = 251;
this.btnLocationDown.Text = "定位气缸下降"; this.btnLocationDown.Text = "定位气缸下降";
this.btnLocationDown.UseVisualStyleBackColor = true; this.btnLocationDown.UseVisualStyleBackColor = true;
...@@ -98,10 +98,10 @@ ...@@ -98,10 +98,10 @@
// //
// btnLocationUp // btnLocationUp
// //
this.btnLocationUp.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnLocationUp.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnLocationUp.Location = new System.Drawing.Point(31, 384); this.btnLocationUp.Location = new System.Drawing.Point(27, 326);
this.btnLocationUp.Name = "btnLocationUp"; this.btnLocationUp.Name = "btnLocationUp";
this.btnLocationUp.Size = new System.Drawing.Size(117, 40); this.btnLocationUp.Size = new System.Drawing.Size(102, 34);
this.btnLocationUp.TabIndex = 250; this.btnLocationUp.TabIndex = 250;
this.btnLocationUp.Text = "定位气缸上升"; this.btnLocationUp.Text = "定位气缸上升";
this.btnLocationUp.UseVisualStyleBackColor = true; this.btnLocationUp.UseVisualStyleBackColor = true;
...@@ -109,10 +109,10 @@ ...@@ -109,10 +109,10 @@
// //
// btnCloseDoor // btnCloseDoor
// //
this.btnCloseDoor.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnCloseDoor.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnCloseDoor.Location = new System.Drawing.Point(164, 332); this.btnCloseDoor.Location = new System.Drawing.Point(144, 282);
this.btnCloseDoor.Name = "btnCloseDoor"; this.btnCloseDoor.Name = "btnCloseDoor";
this.btnCloseDoor.Size = new System.Drawing.Size(117, 40); this.btnCloseDoor.Size = new System.Drawing.Size(102, 34);
this.btnCloseDoor.TabIndex = 249; this.btnCloseDoor.TabIndex = 249;
this.btnCloseDoor.Text = "关闭仓门"; this.btnCloseDoor.Text = "关闭仓门";
this.btnCloseDoor.UseVisualStyleBackColor = true; this.btnCloseDoor.UseVisualStyleBackColor = true;
...@@ -120,10 +120,10 @@ ...@@ -120,10 +120,10 @@
// //
// btnOpenDoor // btnOpenDoor
// //
this.btnOpenDoor.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnOpenDoor.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnOpenDoor.Location = new System.Drawing.Point(31, 332); this.btnOpenDoor.Location = new System.Drawing.Point(27, 282);
this.btnOpenDoor.Name = "btnOpenDoor"; this.btnOpenDoor.Name = "btnOpenDoor";
this.btnOpenDoor.Size = new System.Drawing.Size(117, 40); this.btnOpenDoor.Size = new System.Drawing.Size(102, 34);
this.btnOpenDoor.TabIndex = 248; this.btnOpenDoor.TabIndex = 248;
this.btnOpenDoor.Text = "打开仓门"; this.btnOpenDoor.Text = "打开仓门";
this.btnOpenDoor.UseVisualStyleBackColor = true; this.btnOpenDoor.UseVisualStyleBackColor = true;
...@@ -132,43 +132,43 @@ ...@@ -132,43 +132,43 @@
// label3 // label3
// //
this.label3.AutoSize = true; this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label3.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.label3.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.label3.Location = new System.Drawing.Point(194, 99); this.label3.Location = new System.Drawing.Point(170, 84);
this.label3.Name = "label3"; this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(62, 20); this.label3.Size = new System.Drawing.Size(54, 17);
this.label3.TabIndex = 247; this.label3.TabIndex = 247;
this.label3.Text = "选择DO:"; this.label3.Text = "选择DO:";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
// //
// txtSlaveId // txtSlaveId
// //
this.txtSlaveId.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.txtSlaveId.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtSlaveId.Location = new System.Drawing.Point(79, 94); this.txtSlaveId.Location = new System.Drawing.Point(69, 80);
this.txtSlaveId.MaxLength = 10; this.txtSlaveId.MaxLength = 10;
this.txtSlaveId.Name = "txtSlaveId"; this.txtSlaveId.Name = "txtSlaveId";
this.txtSlaveId.Size = new System.Drawing.Size(101, 26); this.txtSlaveId.Size = new System.Drawing.Size(89, 23);
this.txtSlaveId.TabIndex = 246; this.txtSlaveId.TabIndex = 246;
this.txtSlaveId.Text = "0"; this.txtSlaveId.Text = "0";
// //
// label2 // label2
// //
this.label2.AutoSize = true; this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label2.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.label2.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.label2.Location = new System.Drawing.Point(21, 101); this.label2.Location = new System.Drawing.Point(18, 86);
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(57, 20); this.label2.Size = new System.Drawing.Size(50, 17);
this.label2.TabIndex = 245; this.label2.TabIndex = 245;
this.label2.Text = "SlaveId"; this.label2.Text = "SlaveId";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
// //
// btnReadAllDo // btnReadAllDo
// //
this.btnReadAllDo.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnReadAllDo.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnReadAllDo.Location = new System.Drawing.Point(164, 280); this.btnReadAllDo.Location = new System.Drawing.Point(144, 238);
this.btnReadAllDo.Name = "btnReadAllDo"; this.btnReadAllDo.Name = "btnReadAllDo";
this.btnReadAllDo.Size = new System.Drawing.Size(117, 40); this.btnReadAllDo.Size = new System.Drawing.Size(102, 34);
this.btnReadAllDo.TabIndex = 245; this.btnReadAllDo.TabIndex = 245;
this.btnReadAllDo.Text = "读取所有DO"; this.btnReadAllDo.Text = "读取所有DO";
this.btnReadAllDo.UseVisualStyleBackColor = true; this.btnReadAllDo.UseVisualStyleBackColor = true;
...@@ -177,20 +177,20 @@ ...@@ -177,20 +177,20 @@
// chbAutoRead // chbAutoRead
// //
this.chbAutoRead.AutoSize = true; this.chbAutoRead.AutoSize = true;
this.chbAutoRead.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.chbAutoRead.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.chbAutoRead.Location = new System.Drawing.Point(196, 21); this.chbAutoRead.Location = new System.Drawing.Point(172, 18);
this.chbAutoRead.Name = "chbAutoRead"; this.chbAutoRead.Name = "chbAutoRead";
this.chbAutoRead.Size = new System.Drawing.Size(99, 24); this.chbAutoRead.Size = new System.Drawing.Size(89, 21);
this.chbAutoRead.TabIndex = 244; this.chbAutoRead.TabIndex = 244;
this.chbAutoRead.Text = "自动读取IO"; this.chbAutoRead.Text = "自动读取IO";
this.chbAutoRead.UseVisualStyleBackColor = true; this.chbAutoRead.UseVisualStyleBackColor = true;
// //
// btnReadAllDi // btnReadAllDi
// //
this.btnReadAllDi.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnReadAllDi.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnReadAllDi.Location = new System.Drawing.Point(31, 280); this.btnReadAllDi.Location = new System.Drawing.Point(27, 238);
this.btnReadAllDi.Name = "btnReadAllDi"; this.btnReadAllDi.Name = "btnReadAllDi";
this.btnReadAllDi.Size = new System.Drawing.Size(117, 40); this.btnReadAllDi.Size = new System.Drawing.Size(102, 34);
this.btnReadAllDi.TabIndex = 244; this.btnReadAllDi.TabIndex = 244;
this.btnReadAllDi.Text = "读取所有DI"; this.btnReadAllDi.Text = "读取所有DI";
this.btnReadAllDi.UseVisualStyleBackColor = true; this.btnReadAllDi.UseVisualStyleBackColor = true;
...@@ -198,10 +198,10 @@ ...@@ -198,10 +198,10 @@
// //
// btnReadIO // btnReadIO
// //
this.btnReadIO.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnReadIO.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnReadIO.Location = new System.Drawing.Point(31, 228); this.btnReadIO.Location = new System.Drawing.Point(27, 194);
this.btnReadIO.Name = "btnReadIO"; this.btnReadIO.Name = "btnReadIO";
this.btnReadIO.Size = new System.Drawing.Size(117, 40); this.btnReadIO.Size = new System.Drawing.Size(102, 34);
this.btnReadIO.TabIndex = 243; this.btnReadIO.TabIndex = 243;
this.btnReadIO.Text = "读取IO状态"; this.btnReadIO.Text = "读取IO状态";
this.btnReadIO.UseVisualStyleBackColor = true; this.btnReadIO.UseVisualStyleBackColor = true;
...@@ -209,32 +209,32 @@ ...@@ -209,32 +209,32 @@
// //
// txtDOIndex // txtDOIndex
// //
this.txtDOIndex.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.txtDOIndex.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtDOIndex.Location = new System.Drawing.Point(79, 56); this.txtDOIndex.Location = new System.Drawing.Point(69, 48);
this.txtDOIndex.MaxLength = 10; this.txtDOIndex.MaxLength = 10;
this.txtDOIndex.Name = "txtDOIndex"; this.txtDOIndex.Name = "txtDOIndex";
this.txtDOIndex.Size = new System.Drawing.Size(101, 26); this.txtDOIndex.Size = new System.Drawing.Size(89, 23);
this.txtDOIndex.TabIndex = 242; this.txtDOIndex.TabIndex = 242;
this.txtDOIndex.Text = "0"; this.txtDOIndex.Text = "0";
// //
// txtDoName // txtDoName
// //
this.txtDoName.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.txtDoName.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtDoName.Location = new System.Drawing.Point(79, 18); this.txtDoName.Location = new System.Drawing.Point(69, 15);
this.txtDoName.MaxLength = 10; this.txtDoName.MaxLength = 10;
this.txtDoName.Name = "txtDoName"; this.txtDoName.Name = "txtDoName";
this.txtDoName.Size = new System.Drawing.Size(101, 26); this.txtDoName.Size = new System.Drawing.Size(89, 23);
this.txtDoName.TabIndex = 241; this.txtDoName.TabIndex = 241;
this.txtDoName.Text = "0"; this.txtDoName.Text = "0";
// //
// label17 // label17
// //
this.label17.AutoSize = true; this.label17.AutoSize = true;
this.label17.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label17.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label17.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.label17.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.label17.Location = new System.Drawing.Point(21, 25); this.label17.Location = new System.Drawing.Point(18, 21);
this.label17.Name = "label17"; this.label17.Name = "label17";
this.label17.Size = new System.Drawing.Size(53, 20); this.label17.Size = new System.Drawing.Size(46, 17);
this.label17.TabIndex = 240; this.label17.TabIndex = 240;
this.label17.Text = "设备IP:"; this.label17.Text = "设备IP:";
this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
...@@ -242,33 +242,33 @@ ...@@ -242,33 +242,33 @@
// label14 // label14
// //
this.label14.AutoSize = true; this.label14.AutoSize = true;
this.label14.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label14.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label14.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.label14.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.label14.Location = new System.Drawing.Point(27, 62); this.label14.Location = new System.Drawing.Point(24, 53);
this.label14.Name = "label14"; this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(51, 20); this.label14.Size = new System.Drawing.Size(44, 17);
this.label14.TabIndex = 239; this.label14.TabIndex = 239;
this.label14.Text = "地址:"; this.label14.Text = "地址:";
this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
// //
// txtWriteTime // txtWriteTime
// //
this.txtWriteTime.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.txtWriteTime.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtWriteTime.Location = new System.Drawing.Point(244, 171); this.txtWriteTime.Location = new System.Drawing.Point(214, 145);
this.txtWriteTime.MaxLength = 10; this.txtWriteTime.MaxLength = 10;
this.txtWriteTime.Name = "txtWriteTime"; this.txtWriteTime.Name = "txtWriteTime";
this.txtWriteTime.Size = new System.Drawing.Size(84, 26); this.txtWriteTime.Size = new System.Drawing.Size(74, 23);
this.txtWriteTime.TabIndex = 238; this.txtWriteTime.TabIndex = 238;
this.txtWriteTime.Text = "0"; this.txtWriteTime.Text = "0";
// //
// label5 // label5
// //
this.label5.AutoSize = true; this.label5.AutoSize = true;
this.label5.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label5.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.label5.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.label5.Location = new System.Drawing.Point(169, 174); this.label5.Location = new System.Drawing.Point(148, 148);
this.label5.Name = "label5"; this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(69, 20); this.label5.Size = new System.Drawing.Size(60, 17);
this.label5.TabIndex = 237; this.label5.TabIndex = 237;
this.label5.Text = "定时(ms):"; this.label5.Text = "定时(ms):";
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
...@@ -277,35 +277,35 @@ ...@@ -277,35 +277,35 @@
// //
this.cmbWriteValue.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawVariable; this.cmbWriteValue.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawVariable;
this.cmbWriteValue.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbWriteValue.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbWriteValue.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.cmbWriteValue.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.cmbWriteValue.FormattingEnabled = true; this.cmbWriteValue.FormattingEnabled = true;
this.cmbWriteValue.Items.AddRange(new object[] { this.cmbWriteValue.Items.AddRange(new object[] {
"0", "0",
"1"}); "1"});
this.cmbWriteValue.Location = new System.Drawing.Point(79, 171); this.cmbWriteValue.Location = new System.Drawing.Point(69, 145);
this.cmbWriteValue.Name = "cmbWriteValue"; this.cmbWriteValue.Name = "cmbWriteValue";
this.cmbWriteValue.Size = new System.Drawing.Size(84, 27); this.cmbWriteValue.Size = new System.Drawing.Size(74, 24);
this.cmbWriteValue.TabIndex = 236; this.cmbWriteValue.TabIndex = 236;
this.cmbWriteValue.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.cmbWriteValue_DrawItem); this.cmbWriteValue.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.cmbWriteValue_DrawItem);
// //
// label6 // label6
// //
this.label6.AutoSize = true; this.label6.AutoSize = true;
this.label6.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label6.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label6.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.label6.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
this.label6.Location = new System.Drawing.Point(21, 174); this.label6.Location = new System.Drawing.Point(18, 148);
this.label6.Name = "label6"; this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(54, 20); this.label6.Size = new System.Drawing.Size(47, 17);
this.label6.TabIndex = 235; this.label6.TabIndex = 235;
this.label6.Text = "写入值:"; this.label6.Text = "写入值:";
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
// //
// btnWriteSingleDO // btnWriteSingleDO
// //
this.btnWriteSingleDO.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnWriteSingleDO.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnWriteSingleDO.Location = new System.Drawing.Point(164, 228); this.btnWriteSingleDO.Location = new System.Drawing.Point(144, 194);
this.btnWriteSingleDO.Name = "btnWriteSingleDO"; this.btnWriteSingleDO.Name = "btnWriteSingleDO";
this.btnWriteSingleDO.Size = new System.Drawing.Size(117, 40); this.btnWriteSingleDO.Size = new System.Drawing.Size(102, 34);
this.btnWriteSingleDO.TabIndex = 232; this.btnWriteSingleDO.TabIndex = 232;
this.btnWriteSingleDO.Text = "写入DO"; this.btnWriteSingleDO.Text = "写入DO";
this.btnWriteSingleDO.UseVisualStyleBackColor = true; this.btnWriteSingleDO.UseVisualStyleBackColor = true;
...@@ -316,11 +316,11 @@ ...@@ -316,11 +316,11 @@
this.cmbWriteIO.DisplayMember = "ProName"; this.cmbWriteIO.DisplayMember = "ProName";
this.cmbWriteIO.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawVariable; this.cmbWriteIO.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawVariable;
this.cmbWriteIO.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbWriteIO.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbWriteIO.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.cmbWriteIO.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.cmbWriteIO.FormattingEnabled = true; this.cmbWriteIO.FormattingEnabled = true;
this.cmbWriteIO.Location = new System.Drawing.Point(22, 132); this.cmbWriteIO.Location = new System.Drawing.Point(19, 112);
this.cmbWriteIO.Name = "cmbWriteIO"; this.cmbWriteIO.Name = "cmbWriteIO";
this.cmbWriteIO.Size = new System.Drawing.Size(279, 27); this.cmbWriteIO.Size = new System.Drawing.Size(268, 24);
this.cmbWriteIO.TabIndex = 234; this.cmbWriteIO.TabIndex = 234;
this.cmbWriteIO.ValueMember = "ProName"; this.cmbWriteIO.ValueMember = "ProName";
this.cmbWriteIO.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.cmbWriteIO_DrawItem); this.cmbWriteIO.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.cmbWriteIO_DrawItem);
...@@ -329,9 +329,9 @@ ...@@ -329,9 +329,9 @@
// groupBox4 // groupBox4
// //
this.groupBox4.Controls.Add(this.tableLayoutPanel2); this.groupBox4.Controls.Add(this.tableLayoutPanel2);
this.groupBox4.Location = new System.Drawing.Point(591, 25); this.groupBox4.Location = new System.Drawing.Point(517, 21);
this.groupBox4.Name = "groupBox4"; this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(210, 478); this.groupBox4.Size = new System.Drawing.Size(184, 406);
this.groupBox4.TabIndex = 104; this.groupBox4.TabIndex = 104;
this.groupBox4.TabStop = false; this.groupBox4.TabStop = false;
this.groupBox4.Text = "DO列表"; this.groupBox4.Text = "DO列表";
...@@ -343,20 +343,20 @@ ...@@ -343,20 +343,20 @@
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.tableLayoutPanel2.ColumnCount = 1; this.tableLayoutPanel2.ColumnCount = 1;
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel2.Location = new System.Drawing.Point(6, 17); this.tableLayoutPanel2.Location = new System.Drawing.Point(5, 14);
this.tableLayoutPanel2.Name = "tableLayoutPanel2"; this.tableLayoutPanel2.Name = "tableLayoutPanel2";
this.tableLayoutPanel2.RowCount = 2; this.tableLayoutPanel2.RowCount = 2;
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 17F));
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 17F));
this.tableLayoutPanel2.Size = new System.Drawing.Size(198, 454); this.tableLayoutPanel2.Size = new System.Drawing.Size(173, 386);
this.tableLayoutPanel2.TabIndex = 103; this.tableLayoutPanel2.TabIndex = 103;
// //
// groupBox3 // groupBox3
// //
this.groupBox3.Controls.Add(this.tableLayoutPanel1); this.groupBox3.Controls.Add(this.tableLayoutPanel1);
this.groupBox3.Location = new System.Drawing.Point(380, 25); this.groupBox3.Location = new System.Drawing.Point(326, 21);
this.groupBox3.Name = "groupBox3"; this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(210, 478); this.groupBox3.Size = new System.Drawing.Size(184, 406);
this.groupBox3.TabIndex = 103; this.groupBox3.TabIndex = 103;
this.groupBox3.TabStop = false; this.groupBox3.TabStop = false;
this.groupBox3.Text = "DI列表"; this.groupBox3.Text = "DI列表";
...@@ -368,22 +368,23 @@ ...@@ -368,22 +368,23 @@
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.tableLayoutPanel1.ColumnCount = 1; this.tableLayoutPanel1.ColumnCount = 1;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.Location = new System.Drawing.Point(7, 16); this.tableLayoutPanel1.Location = new System.Drawing.Point(6, 14);
this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 2; this.tableLayoutPanel1.RowCount = 2;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 17F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 17F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(198, 454); this.tableLayoutPanel1.Size = new System.Drawing.Size(173, 386);
this.tableLayoutPanel1.TabIndex = 102; this.tableLayoutPanel1.TabIndex = 102;
// //
// FrmIOStatus // FrmIOStatus
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(825, 526); this.ClientSize = new System.Drawing.Size(722, 447);
this.Controls.Add(this.groupBox1); this.Controls.Add(this.groupBox1);
this.Controls.Add(this.groupBox4); this.Controls.Add(this.groupBox4);
this.Controls.Add(this.groupBox3); this.Controls.Add(this.groupBox3);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.MaximizeBox = false; this.MaximizeBox = false;
this.MinimizeBox = false; this.MinimizeBox = false;
this.Name = "FrmIOStatus"; this.Name = "FrmIOStatus";
......
...@@ -224,6 +224,7 @@ ...@@ -224,6 +224,7 @@
this.groupBox5.Controls.Add(this.label46); this.groupBox5.Controls.Add(this.label46);
this.groupBox5.Controls.Add(this.cmbAxisList); this.groupBox5.Controls.Add(this.cmbAxisList);
this.groupBox5.Controls.Add(this.label49); this.groupBox5.Controls.Add(this.label49);
this.groupBox5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.groupBox5.Location = new System.Drawing.Point(621, 71); this.groupBox5.Location = new System.Drawing.Point(621, 71);
this.groupBox5.Name = "groupBox5"; this.groupBox5.Name = "groupBox5";
this.groupBox5.Size = new System.Drawing.Size(653, 203); this.groupBox5.Size = new System.Drawing.Size(653, 203);
...@@ -260,7 +261,7 @@ ...@@ -260,7 +261,7 @@
"负方向"}); "负方向"});
this.cmbAxisHomeType.Location = new System.Drawing.Point(95, 159); this.cmbAxisHomeType.Location = new System.Drawing.Point(95, 159);
this.cmbAxisHomeType.Name = "cmbAxisHomeType"; this.cmbAxisHomeType.Name = "cmbAxisHomeType";
this.cmbAxisHomeType.Size = new System.Drawing.Size(88, 28); this.cmbAxisHomeType.Size = new System.Drawing.Size(88, 25);
this.cmbAxisHomeType.TabIndex = 276; this.cmbAxisHomeType.TabIndex = 276;
// //
// label7 // label7
...@@ -318,7 +319,7 @@ ...@@ -318,7 +319,7 @@
this.lblCountPulse.Location = new System.Drawing.Point(95, 128); this.lblCountPulse.Location = new System.Drawing.Point(95, 128);
this.lblCountPulse.Name = "lblCountPulse"; this.lblCountPulse.Name = "lblCountPulse";
this.lblCountPulse.ReadOnly = true; this.lblCountPulse.ReadOnly = true;
this.lblCountPulse.Size = new System.Drawing.Size(87, 26); this.lblCountPulse.Size = new System.Drawing.Size(87, 23);
this.lblCountPulse.TabIndex = 38; this.lblCountPulse.TabIndex = 38;
// //
// txtASpeed // txtASpeed
...@@ -341,7 +342,7 @@ ...@@ -341,7 +342,7 @@
this.lblOutPulse.Location = new System.Drawing.Point(95, 97); this.lblOutPulse.Location = new System.Drawing.Point(95, 97);
this.lblOutPulse.Name = "lblOutPulse"; this.lblOutPulse.Name = "lblOutPulse";
this.lblOutPulse.ReadOnly = true; this.lblOutPulse.ReadOnly = true;
this.lblOutPulse.Size = new System.Drawing.Size(87, 26); this.lblOutPulse.Size = new System.Drawing.Size(87, 23);
this.lblOutPulse.TabIndex = 30; this.lblOutPulse.TabIndex = 30;
// //
// label47 // label47
...@@ -559,6 +560,7 @@ ...@@ -559,6 +560,7 @@
// //
this.richTextBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) this.richTextBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left))); | System.Windows.Forms.AnchorStyles.Left)));
this.richTextBox1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.richTextBox1.Location = new System.Drawing.Point(22, 461); this.richTextBox1.Location = new System.Drawing.Point(22, 461);
this.richTextBox1.Name = "richTextBox1"; this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.Size = new System.Drawing.Size(581, 259); this.richTextBox1.Size = new System.Drawing.Size(581, 259);
...@@ -1922,6 +1924,7 @@ ...@@ -1922,6 +1924,7 @@
this.groupBox4.Controls.Add(this.txtPosition3); this.groupBox4.Controls.Add(this.txtPosition3);
this.groupBox4.Controls.Add(this.txtPosition2); this.groupBox4.Controls.Add(this.txtPosition2);
this.groupBox4.Controls.Add(this.txtPosition1); this.groupBox4.Controls.Add(this.txtPosition1);
this.groupBox4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.groupBox4.Location = new System.Drawing.Point(1042, 279); this.groupBox4.Location = new System.Drawing.Point(1042, 279);
this.groupBox4.Name = "groupBox4"; this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(232, 193); this.groupBox4.Size = new System.Drawing.Size(232, 193);
...@@ -1944,7 +1947,7 @@ ...@@ -1944,7 +1947,7 @@
this.chb3.AutoSize = true; this.chb3.AutoSize = true;
this.chb3.Location = new System.Drawing.Point(21, 104); this.chb3.Location = new System.Drawing.Point(21, 104);
this.chb3.Name = "chb3"; this.chb3.Name = "chb3";
this.chb3.Size = new System.Drawing.Size(84, 24); this.chb3.Size = new System.Drawing.Size(75, 21);
this.chb3.TabIndex = 271; this.chb3.TabIndex = 271;
this.chb3.Text = "轴三位置"; this.chb3.Text = "轴三位置";
this.chb3.UseVisualStyleBackColor = true; this.chb3.UseVisualStyleBackColor = true;
...@@ -1954,7 +1957,7 @@ ...@@ -1954,7 +1957,7 @@
this.chb2.AutoSize = true; this.chb2.AutoSize = true;
this.chb2.Location = new System.Drawing.Point(21, 68); this.chb2.Location = new System.Drawing.Point(21, 68);
this.chb2.Name = "chb2"; this.chb2.Name = "chb2";
this.chb2.Size = new System.Drawing.Size(84, 24); this.chb2.Size = new System.Drawing.Size(75, 21);
this.chb2.TabIndex = 270; this.chb2.TabIndex = 270;
this.chb2.Text = "轴二位置"; this.chb2.Text = "轴二位置";
this.chb2.UseVisualStyleBackColor = true; this.chb2.UseVisualStyleBackColor = true;
...@@ -1964,7 +1967,7 @@ ...@@ -1964,7 +1967,7 @@
this.chb1.AutoSize = true; this.chb1.AutoSize = true;
this.chb1.Location = new System.Drawing.Point(21, 32); this.chb1.Location = new System.Drawing.Point(21, 32);
this.chb1.Name = "chb1"; this.chb1.Name = "chb1";
this.chb1.Size = new System.Drawing.Size(84, 24); this.chb1.Size = new System.Drawing.Size(75, 21);
this.chb1.TabIndex = 269; this.chb1.TabIndex = 269;
this.chb1.Text = "轴一位置"; this.chb1.Text = "轴一位置";
this.chb1.UseVisualStyleBackColor = true; this.chb1.UseVisualStyleBackColor = true;
...@@ -1973,21 +1976,21 @@ ...@@ -1973,21 +1976,21 @@
// //
this.txtPosition3.Location = new System.Drawing.Point(109, 99); this.txtPosition3.Location = new System.Drawing.Point(109, 99);
this.txtPosition3.Name = "txtPosition3"; this.txtPosition3.Name = "txtPosition3";
this.txtPosition3.Size = new System.Drawing.Size(87, 26); this.txtPosition3.Size = new System.Drawing.Size(87, 23);
this.txtPosition3.TabIndex = 268; this.txtPosition3.TabIndex = 268;
// //
// txtPosition2 // txtPosition2
// //
this.txtPosition2.Location = new System.Drawing.Point(109, 64); this.txtPosition2.Location = new System.Drawing.Point(109, 64);
this.txtPosition2.Name = "txtPosition2"; this.txtPosition2.Name = "txtPosition2";
this.txtPosition2.Size = new System.Drawing.Size(87, 26); this.txtPosition2.Size = new System.Drawing.Size(87, 23);
this.txtPosition2.TabIndex = 266; this.txtPosition2.TabIndex = 266;
// //
// txtPosition1 // txtPosition1
// //
this.txtPosition1.Location = new System.Drawing.Point(109, 27); this.txtPosition1.Location = new System.Drawing.Point(109, 27);
this.txtPosition1.Name = "txtPosition1"; this.txtPosition1.Name = "txtPosition1";
this.txtPosition1.Size = new System.Drawing.Size(87, 26); this.txtPosition1.Size = new System.Drawing.Size(87, 23);
this.txtPosition1.TabIndex = 265; this.txtPosition1.TabIndex = 265;
// //
// FrmStoreBox // FrmStoreBox
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!