Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
SO1057_XLC_Store
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 1ab5c55c
由
张东亮
编写于
2023-10-17 11:42:11 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
温湿度控制优化
1 个父辈
5d39ca13
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
5 行增加
和
6 行删除
DeviceLibrary/theMachine/MainMachine _IOMonitor.cs
TheMachine/AboutBox1.Designer.cs
DeviceLibrary/theMachine/MainMachine _IOMonitor.cs
查看文件 @
1ab5c55
...
...
@@ -130,17 +130,16 @@ namespace DeviceLibrary
//var tempIsOK = Current_Temperate < ServerCM.Max_Temperature;
var
humiNeedStart
=
Current_Humidity
>
ServerCM
.
Max_Humidity
-
Setting_Init
.
Device_HumidityStartOffser
;
var
humiNeedStop
=
Current_Humidity
<
ServerCM
.
Max_Humidity
-
Setting_Init
.
Device_HumidityEndOffser
;
airisopen
=
IOValue
(
IO_Type
.
AirValue
).
Equals
(
IO_VALUE
.
LOW
);
if
(
humiNeedStart
&&
!
airisopen
)
{
IOMove
(
IO_Type
.
AirValue
,
IO_VALUE
.
LOW
);
airisopen
=
true
;
LogUtil
.
info
(
$
"开始吹气,当前最大湿度:{Current_Humidity} > {ServerCM.Max_Humidity}-{Setting_Init.Device_HumidityStartOffser}."
);
}
else
if
(
humiNeedStop
&&
airisopen
)
{
IOMove
(
IO_Type
.
AirValue
,
IO_VALUE
.
HIGH
);
airisopen
=
false
;
//
airisopen = false;
LogUtil
.
info
(
$
"关闭吹气,当前最大湿度:{Current_Humidity} < {ServerCM.Max_Humidity}-{Setting_Init.Device_HumidityEndOffser}."
);
}
}
...
...
TheMachine/AboutBox1.Designer.cs
查看文件 @
1ab5c55
...
...
@@ -51,7 +51,7 @@ namespace TheMachine
this
.
tableLayoutPanel
.
Controls
.
Add
(
this
.
okButton
,
1
,
5
);
this
.
tableLayoutPanel
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
tableLayoutPanel
.
Location
=
new
System
.
Drawing
.
Point
(
12
,
10
);
this
.
tableLayoutPanel
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
tableLayoutPanel
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
tableLayoutPanel
.
Name
=
"tableLayoutPanel"
;
this
.
tableLayoutPanel
.
RowCount
=
6
;
this
.
tableLayoutPanel
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
10F
));
...
...
@@ -131,7 +131,7 @@ namespace TheMachine
this
.
okButton
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
okButton
.
DialogResult
=
System
.
Windows
.
Forms
.
DialogResult
.
Cancel
;
this
.
okButton
.
Location
=
new
System
.
Drawing
.
Point
(
452
,
277
);
this
.
okButton
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
okButton
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
okButton
.
Name
=
"okButton"
;
this
.
okButton
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
25
);
this
.
okButton
.
TabIndex
=
24
;
...
...
@@ -146,7 +146,7 @@ namespace TheMachine
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
580
,
326
);
this
.
Controls
.
Add
(
this
.
tableLayoutPanel
);
this
.
FormBorderStyle
=
System
.
Windows
.
Forms
.
FormBorderStyle
.
FixedDialog
;
this
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
,
4
,
4
,
4
);
this
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
4
);
this
.
MaximizeBox
=
false
;
this
.
MinimizeBox
=
false
;
this
.
Name
=
"AboutBox1"
;
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论