This commit is contained in:
82
全自动水压检测仪/NormalTemperatureMode.Designer.cs
generated
82
全自动水压检测仪/NormalTemperatureMode.Designer.cs
generated
@@ -49,6 +49,8 @@ namespace 全自动水压检测仪
|
||||
this.uiPanel8 = new Sunny.UI.UIPanel();
|
||||
this.uiPanel5 = new Sunny.UI.UIPanel();
|
||||
this.uiTableLayoutPanel3 = new Sunny.UI.UITableLayoutPanel();
|
||||
this.uiPanel6 = new Sunny.UI.UIPanel();
|
||||
this.uiButton7 = new Sunny.UI.UIButton();
|
||||
this.uiButton1 = new Sunny.UI.UIButton();
|
||||
this.uiTableLayoutPanel5 = new Sunny.UI.UITableLayoutPanel();
|
||||
this.uiPanel9 = new Sunny.UI.UIPanel();
|
||||
@@ -158,8 +160,7 @@ namespace 全自动水压检测仪
|
||||
this.uiPanel2 = new Sunny.UI.UIPanel();
|
||||
this.uiLabel1 = new Sunny.UI.UILabel();
|
||||
this.uiLight1 = new Sunny.UI.UILight();
|
||||
this.uiPanel6 = new Sunny.UI.UIPanel();
|
||||
this.uiButton7 = new Sunny.UI.UIButton();
|
||||
this.uiButton8 = new Sunny.UI.UIButton();
|
||||
this.uiTableLayoutPanel1.SuspendLayout();
|
||||
this.uiTableLayoutPanel2.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
@@ -172,6 +173,7 @@ namespace 全自动水压检测仪
|
||||
this.uiPanel15.SuspendLayout();
|
||||
this.uiPanel5.SuspendLayout();
|
||||
this.uiTableLayoutPanel3.SuspendLayout();
|
||||
this.uiPanel6.SuspendLayout();
|
||||
this.uiTableLayoutPanel5.SuspendLayout();
|
||||
this.uiPanel9.SuspendLayout();
|
||||
this.uiTableLayoutPanel6.SuspendLayout();
|
||||
@@ -212,7 +214,6 @@ namespace 全自动水压检测仪
|
||||
this.uiPanel4.SuspendLayout();
|
||||
this.uiPanel3.SuspendLayout();
|
||||
this.uiPanel2.SuspendLayout();
|
||||
this.uiPanel6.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// uiTableLayoutPanel1
|
||||
@@ -531,6 +532,38 @@ namespace 全自动水压检测仪
|
||||
this.uiTableLayoutPanel3.TabIndex = 0;
|
||||
this.uiTableLayoutPanel3.TagString = null;
|
||||
//
|
||||
// uiPanel6
|
||||
//
|
||||
this.uiPanel6.Controls.Add(this.uiButton7);
|
||||
this.uiPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.uiPanel6.FillColor = System.Drawing.Color.White;
|
||||
this.uiPanel6.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.uiPanel6.Location = new System.Drawing.Point(9, 10);
|
||||
this.uiPanel6.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.uiPanel6.MinimumSize = new System.Drawing.Size(1, 1);
|
||||
this.uiPanel6.Name = "uiPanel6";
|
||||
this.uiPanel6.RectColor = System.Drawing.Color.White;
|
||||
this.uiPanel6.Size = new System.Drawing.Size(154, 39);
|
||||
this.uiPanel6.TabIndex = 0;
|
||||
this.uiPanel6.Text = null;
|
||||
this.uiPanel6.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// uiButton7
|
||||
//
|
||||
this.uiButton7.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.uiButton7.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.uiButton7.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(180)))), ((int)(((byte)(255)))));
|
||||
this.uiButton7.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(140)))), ((int)(((byte)(235)))));
|
||||
this.uiButton7.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.uiButton7.Location = new System.Drawing.Point(0, 0);
|
||||
this.uiButton7.MinimumSize = new System.Drawing.Size(1, 1);
|
||||
this.uiButton7.Name = "uiButton7";
|
||||
this.uiButton7.Size = new System.Drawing.Size(154, 39);
|
||||
this.uiButton7.TabIndex = 2;
|
||||
this.uiButton7.Text = "录入系统";
|
||||
this.uiButton7.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.uiButton7.Click += new System.EventHandler(this.uiButton7_Click);
|
||||
//
|
||||
// uiButton1
|
||||
//
|
||||
this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
@@ -1629,6 +1662,7 @@ namespace 全自动水压检测仪
|
||||
//
|
||||
// uiPanel14
|
||||
//
|
||||
this.uiPanel14.Controls.Add(this.uiButton8);
|
||||
this.uiPanel14.Controls.Add(this.uiButton5);
|
||||
this.uiPanel14.Controls.Add(this.uiLabel48);
|
||||
this.uiPanel14.Controls.Add(this.uiTextBox9);
|
||||
@@ -2160,36 +2194,17 @@ namespace 全自动水压检测仪
|
||||
this.uiLight1.TabIndex = 1;
|
||||
this.uiLight1.Text = "uiLight1";
|
||||
//
|
||||
// uiPanel6
|
||||
// uiButton8
|
||||
//
|
||||
this.uiPanel6.Controls.Add(this.uiButton7);
|
||||
this.uiPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.uiPanel6.FillColor = System.Drawing.Color.White;
|
||||
this.uiPanel6.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.uiPanel6.Location = new System.Drawing.Point(9, 10);
|
||||
this.uiPanel6.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.uiPanel6.MinimumSize = new System.Drawing.Size(1, 1);
|
||||
this.uiPanel6.Name = "uiPanel6";
|
||||
this.uiPanel6.RectColor = System.Drawing.Color.White;
|
||||
this.uiPanel6.Size = new System.Drawing.Size(154, 39);
|
||||
this.uiPanel6.TabIndex = 0;
|
||||
this.uiPanel6.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// uiButton7
|
||||
//
|
||||
this.uiButton7.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.uiButton7.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.uiButton7.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(180)))), ((int)(((byte)(255)))));
|
||||
this.uiButton7.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(140)))), ((int)(((byte)(235)))));
|
||||
this.uiButton7.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.uiButton7.Location = new System.Drawing.Point(0, 0);
|
||||
this.uiButton7.MinimumSize = new System.Drawing.Size(1, 1);
|
||||
this.uiButton7.Name = "uiButton7";
|
||||
this.uiButton7.Size = new System.Drawing.Size(154, 39);
|
||||
this.uiButton7.TabIndex = 2;
|
||||
this.uiButton7.Text = "录入系统";
|
||||
this.uiButton7.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.uiButton7.Click += new System.EventHandler(this.uiButton7_Click);
|
||||
this.uiButton8.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.uiButton8.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.uiButton8.Location = new System.Drawing.Point(426, 126);
|
||||
this.uiButton8.MinimumSize = new System.Drawing.Size(1, 1);
|
||||
this.uiButton8.Name = "uiButton8";
|
||||
this.uiButton8.Size = new System.Drawing.Size(58, 33);
|
||||
this.uiButton8.TabIndex = 16;
|
||||
this.uiButton8.Text = "写入";
|
||||
this.uiButton8.TipsFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
//
|
||||
// NormalTemperatureMode
|
||||
//
|
||||
@@ -2216,6 +2231,7 @@ namespace 全自动水压检测仪
|
||||
this.uiPanel15.ResumeLayout(false);
|
||||
this.uiPanel5.ResumeLayout(false);
|
||||
this.uiTableLayoutPanel3.ResumeLayout(false);
|
||||
this.uiPanel6.ResumeLayout(false);
|
||||
this.uiTableLayoutPanel5.ResumeLayout(false);
|
||||
this.uiPanel9.ResumeLayout(false);
|
||||
this.uiTableLayoutPanel6.ResumeLayout(false);
|
||||
@@ -2256,7 +2272,6 @@ namespace 全自动水压检测仪
|
||||
this.uiPanel4.ResumeLayout(false);
|
||||
this.uiPanel3.ResumeLayout(false);
|
||||
this.uiPanel2.ResumeLayout(false);
|
||||
this.uiPanel6.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@@ -2393,6 +2408,7 @@ namespace 全自动水压检测仪
|
||||
private Sunny.UI.UIProcessBar uiProcessBar2;
|
||||
private Sunny.UI.UIPanel uiPanel6;
|
||||
private Sunny.UI.UIButton uiButton7;
|
||||
private Sunny.UI.UIButton uiButton8;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -624,8 +624,8 @@ namespace 全自动水压检测仪
|
||||
|
||||
private void NormalTemperatureMode_Load(object sender, EventArgs e)
|
||||
{
|
||||
string plcIp = "192.168.1.10";
|
||||
//string plcIp = "127.0.0.1";
|
||||
// string plcIp = "192.168.1.10";
|
||||
string plcIp = "127.0.0.1";
|
||||
bool initSuccess = Data.ModbusResourceManager.Instance.Init(plcIp, 502);
|
||||
if (!initSuccess)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user