Commit eb73b1b8 刘韬

1

1 个父辈 79a23313
...@@ -50,6 +50,8 @@ ...@@ -50,6 +50,8 @@
this.Y0 = new System.Windows.Forms.Panel(); this.Y0 = new System.Windows.Forms.Panel();
this.lblY0 = new System.Windows.Forms.Label(); this.lblY0 = new System.Windows.Forms.Label();
this.PanelSetting = new System.Windows.Forms.Panel(); this.PanelSetting = new System.Windows.Forms.Panel();
this.dtCalibrationDate = new System.Windows.Forms.DateTimePicker();
this.lblCalibrationDate = new System.Windows.Forms.Label();
this.lbl_WashTime = new System.Windows.Forms.Label(); this.lbl_WashTime = new System.Windows.Forms.Label();
this.lbl_WashUpperLimit = new System.Windows.Forms.Label(); this.lbl_WashUpperLimit = new System.Windows.Forms.Label();
this.txtWTime = new System.Windows.Forms.TextBox(); this.txtWTime = new System.Windows.Forms.TextBox();
...@@ -81,8 +83,6 @@ ...@@ -81,8 +83,6 @@
this.btnSetting = new System.Windows.Forms.Button(); this.btnSetting = new System.Windows.Forms.Button();
this.panelCalibration = new App.ucCalibration(); this.panelCalibration = new App.ucCalibration();
this.panel1 = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel();
this.dtCalibrationDate = new System.Windows.Forms.DateTimePicker();
this.lblCalibrationDate = new System.Windows.Forms.Label();
this.panelTesting.SuspendLayout(); this.panelTesting.SuspendLayout();
this.panel3.SuspendLayout(); this.panel3.SuspendLayout();
this.panel5.SuspendLayout(); this.panel5.SuspendLayout();
...@@ -354,6 +354,25 @@ ...@@ -354,6 +354,25 @@
this.PanelSetting.Size = new System.Drawing.Size(813, 456); this.PanelSetting.Size = new System.Drawing.Size(813, 456);
this.PanelSetting.TabIndex = 158; this.PanelSetting.TabIndex = 158;
// //
// dtCalibrationDate
//
this.dtCalibrationDate.Location = new System.Drawing.Point(198, 214);
this.dtCalibrationDate.Name = "dtCalibrationDate";
this.dtCalibrationDate.Size = new System.Drawing.Size(200, 23);
this.dtCalibrationDate.TabIndex = 168;
//
// lblCalibrationDate
//
this.lblCalibrationDate.BackColor = System.Drawing.Color.White;
this.lblCalibrationDate.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblCalibrationDate.ForeColor = System.Drawing.Color.Black;
this.lblCalibrationDate.Location = new System.Drawing.Point(69, 211);
this.lblCalibrationDate.Name = "lblCalibrationDate";
this.lblCalibrationDate.Size = new System.Drawing.Size(115, 30);
this.lblCalibrationDate.TabIndex = 129;
this.lblCalibrationDate.Text = "校准时间";
this.lblCalibrationDate.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// lbl_WashTime // lbl_WashTime
// //
this.lbl_WashTime.BackColor = System.Drawing.Color.White; this.lbl_WashTime.BackColor = System.Drawing.Color.White;
...@@ -708,25 +727,6 @@ ...@@ -708,25 +727,6 @@
this.panel1.Size = new System.Drawing.Size(1, 505); this.panel1.Size = new System.Drawing.Size(1, 505);
this.panel1.TabIndex = 169; this.panel1.TabIndex = 169;
// //
// dtCalibrationDate
//
this.dtCalibrationDate.Location = new System.Drawing.Point(198, 214);
this.dtCalibrationDate.Name = "dtCalibrationDate";
this.dtCalibrationDate.Size = new System.Drawing.Size(200, 23);
this.dtCalibrationDate.TabIndex = 168;
//
// lblCalibrationDate
//
this.lblCalibrationDate.BackColor = System.Drawing.Color.White;
this.lblCalibrationDate.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblCalibrationDate.ForeColor = System.Drawing.Color.Black;
this.lblCalibrationDate.Location = new System.Drawing.Point(69, 211);
this.lblCalibrationDate.Name = "lblCalibrationDate";
this.lblCalibrationDate.Size = new System.Drawing.Size(115, 30);
this.lblCalibrationDate.TabIndex = 129;
this.lblCalibrationDate.Text = "校准时间";
this.lblCalibrationDate.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// FrmAdjustQuotiety2 // FrmAdjustQuotiety2
// //
this.ClientSize = new System.Drawing.Size(1162, 698); this.ClientSize = new System.Drawing.Size(1162, 698);
......
...@@ -289,6 +289,7 @@ namespace MachineDll ...@@ -289,6 +289,7 @@ namespace MachineDll
} }
else else
{ {
LOGGER.Info($"response:length:{response.Length}={(5 + 2 * registers)},{CheckResponse(response)}");
//modbusStatus = "CRC error"; //modbusStatus = "CRC error";
return false; return false;
} }
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!