Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
IonicContaminationTest
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit eb73b1b8
由
刘韬
编写于
2022-11-07 09:40:11 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
79a23313
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
22 行增加
和
21 行删除
App/NewCode/FrmAdjustQuotiety2.designer.cs
MachineDll/ModBus.cs
App/NewCode/FrmAdjustQuotiety2.designer.cs
查看文件 @
eb73b1b
...
...
@@ -50,6 +50,8 @@
this
.
Y0
=
new
System
.
Windows
.
Forms
.
Panel
();
this
.
lblY0
=
new
System
.
Windows
.
Forms
.
Label
();
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_WashUpperLimit
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
txtWTime
=
new
System
.
Windows
.
Forms
.
TextBox
();
...
...
@@ -81,8 +83,6 @@
this
.
btnSetting
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
panelCalibration
=
new
App
.
ucCalibration
();
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
.
panel3
.
SuspendLayout
();
this
.
panel5
.
SuspendLayout
();
...
...
@@ -354,6 +354,25 @@
this
.
PanelSetting
.
Size
=
new
System
.
Drawing
.
Size
(
813
,
456
);
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
//
this
.
lbl_WashTime
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
...
...
@@ -708,25 +727,6 @@
this
.
panel1
.
Size
=
new
System
.
Drawing
.
Size
(
1
,
505
);
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
//
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
1162
,
698
);
...
...
MachineDll/ModBus.cs
查看文件 @
eb73b1b
...
...
@@ -289,6 +289,7 @@ namespace MachineDll
}
else
{
LOGGER
.
Info
(
$
"response:length:{response.Length}={(5 + 2 * registers)},{CheckResponse(response)}"
);
//modbusStatus = "CRC error";
return
false
;
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论