Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
HZH_Controls
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 00af66e3
由
kwwwvagaa
编写于
2020-05-08 22:10:38 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
朝上瓶子bug修复
1 个父辈
ae4f024e
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
9 行增加
和
11 行删除
HZH_Controls/HZH_Controls/Controls/FactoryControls/Blower/UCBlower.cs
HZH_Controls/HZH_Controls/Controls/FactoryControls/Bottle/UCBottle.cs
HZH_Controls/Test/UC/UCTestConduit.Designer.cs
HZH_Controls/HZH_Controls/Controls/FactoryControls/Blower/UCBlower.cs
查看文件 @
00af66e
...
...
@@ -117,9 +117,7 @@ namespace HZH_Controls.Controls
get
{
return
turnAround
;
}
set
{
turnAround
=
value
;
if
(
ControlHelper
.
IsDesignMode
())
return
;
turnAround
=
value
;
if
(
value
==
HZH_Controls
.
Controls
.
TurnAround
.
None
)
{
timer1
.
Enabled
=
false
;
...
...
@@ -144,9 +142,7 @@ namespace HZH_Controls.Controls
{
if
(
value
<
100
||
value
>
1000
)
return
;
turnSpeed
=
value
;
if
(
ControlHelper
.
IsDesignMode
())
return
;
turnSpeed
=
value
;
timer1
.
Interval
=
value
;
}
}
...
...
HZH_Controls/HZH_Controls/Controls/FactoryControls/Bottle/UCBottle.cs
查看文件 @
00af66e
...
...
@@ -414,11 +414,13 @@ namespace HZH_Controls.Controls
new
PointF
((
float
)(
m_workingRect
.
Left
+(
decYTHeight
-(
m_workingRect
.
Height
-
15
)))+
3
,(
float
)(
m_workingRect
.
Bottom
-
decYTHeight
)),
new
PointF
((
float
)(
m_workingRect
.
Right
-(
decYTHeight
-(
m_workingRect
.
Height
-
15
)))-
3
,(
float
)(
m_workingRect
.
Bottom
-
decYTHeight
)),
new
PointF
(
m_workingRect
.
Right
-
1
,
m_workingRect
.
Top
+
15
),
new
PointF
(
m_workingRect
.
Right
-
1
,
m_workingRect
.
Bottom
),
new
PointF
(
m_workingRect
.
Left
,
m_workingRect
.
Bottom
),
new
PointF
(
m_workingRect
.
Left
,
m_workingRect
.
Top
+
15
),
};
pathYT
.
AddLines
(
psYT
);
pathYT
.
CloseAllFigures
();
rectYT
=
new
Rectangle
(
m_workingRect
.
Left
+
(
int
)(
decYTHeight
-
(
m_workingRect
.
Height
-
15
))
+
3
,
(
int
)(
m_workingRect
.
Bottom
-
decYTHeight
),
m_workingRect
.
Width
-
(
int
)(
decYTHeight
-
(
m_workingRect
.
Height
-
15
))
*
2
-
8
,
10
);
rectYT
=
new
Rectangle
(
m_workingRect
.
Left
+
(
int
)(
decYTHeight
-
(
m_workingRect
.
Height
-
15
))
+
1
,
(
int
)(
m_workingRect
.
Bottom
-
decYTHeight
-
4
),
m_workingRect
.
Width
-
(
int
)(
decYTHeight
-
(
m_workingRect
.
Height
-
15
))
*
2
-
2
,
10
);
}
else
{
...
...
HZH_Controls/Test/UC/UCTestConduit.Designer.cs
查看文件 @
00af66e
...
...
@@ -445,9 +445,9 @@
this
.
ucBottle2
.
NO
=
"1#"
;
this
.
ucBottle2
.
Size
=
new
System
.
Drawing
.
Size
(
73
,
150
);
this
.
ucBottle2
.
TabIndex
=
53
;
this
.
ucBottle2
.
Title
=
"
12345
"
;
this
.
ucBottle2
.
Title
=
""
;
this
.
ucBottle2
.
Value
=
new
decimal
(
new
int
[]
{
5
0
,
9
0
,
0
,
0
,
0
});
...
...
@@ -470,7 +470,7 @@
this
.
ucBottle1
.
TabIndex
=
53
;
this
.
ucBottle1
.
Title
=
""
;
this
.
ucBottle1
.
Value
=
new
decimal
(
new
int
[]
{
5
0
,
1
0
,
0
,
0
,
0
});
...
...
@@ -505,7 +505,7 @@
this
.
ucBlower4
.
Name
=
"ucBlower4"
;
this
.
ucBlower4
.
Size
=
new
System
.
Drawing
.
Size
(
116
,
154
);
this
.
ucBlower4
.
TabIndex
=
62
;
this
.
ucBlower4
.
TurnAround
=
HZH_Controls
.
Controls
.
TurnAround
.
Non
e
;
this
.
ucBlower4
.
TurnAround
=
HZH_Controls
.
Controls
.
TurnAround
.
Clockwis
e
;
this
.
ucBlower4
.
TurnSpeed
=
100
;
//
// UCTestConduit
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论