Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
HZH_Controls
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 6761bffb
由
HZH
编写于
2019-09-06 13:37:21 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
增加倾斜管道
1 个父辈
6df48b22
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
307 行增加
和
138 行删除
HZH_Controls/HZH_Controls/Controls/FactoryControls/Conduit/UCConduit.cs
HZH_Controls/HZH_Controls/Controls/FactoryControls/Conveyor/UCConveyor.cs
HZH_Controls/HZH_Controls/Controls/FactoryControls/Valve/UCValve.cs
HZH_Controls/HZH_Controls/HZH_Controls.csproj
HZH_Controls/Test/Form4.Designer.cs
HZH_Controls/HZH_Controls/Controls/FactoryControls/Conduit/UCConduit.cs
查看文件 @
6761bff
...
@@ -363,46 +363,60 @@ namespace HZH_Controls.Controls.Conduit
...
@@ -363,46 +363,60 @@ namespace HZH_Controls.Controls.Conduit
break
;
break
;
case
Conduit
.
ConduitStyle
.
Horizontal_Tilt_Up
:
case
Conduit
.
ConduitStyle
.
Horizontal_Tilt_Up
:
Point
[]
psTilt_Up
=
new
Point
[]
{
double
angleUp
=
Math
.
Atan
((
this
.
ClientRectangle
.
Height
-
conduitWidth
)
/
(
double
)
this
.
ClientRectangle
.
Width
);
new
Point
(
this
.
ClientRectangle
.
Left
,
this
.
ClientRectangle
.
Bottom
-
conduitWidth
),
angleUp
=
angleUp
/
Math
.
PI
*
180f
;
new
Point
(
this
.
ClientRectangle
.
Right
,
this
.
ClientRectangle
.
Top
),
path
.
AddArc
(
new
Rectangle
(
this
.
ClientRectangle
.
Left
-
conduitWidth
,
this
.
ClientRectangle
.
Bottom
-
conduitWidth
*
2
,
conduitWidth
*
2
,
conduitWidth
*
2
),
90
,
-
1
*
(
float
)
angleUp
);
new
Point
(
this
.
ClientRectangle
.
Right
,
this
.
ClientRectangle
.
Top
+
conduitWidth
),
path
.
AddLine
(
new
Point
(
this
.
ClientRectangle
.
Right
,
this
.
ClientRectangle
.
Top
+
conduitWidth
),
new
Point
(
this
.
ClientRectangle
.
Right
,
this
.
ClientRectangle
.
Top
));
new
Point
(
this
.
ClientRectangle
.
Left
,
this
.
ClientRectangle
.
Bottom
)
path
.
AddArc
(
new
Rectangle
(
this
.
ClientRectangle
.
Right
-
conduitWidth
,
this
.
ClientRectangle
.
Top
,
conduitWidth
*
2
,
conduitWidth
*
2
),
270
,
-
1
*
(
float
)
angleUp
);
};
path
.
AddLine
(
new
Point
(
this
.
ClientRectangle
.
Left
,
this
.
ClientRectangle
.
Bottom
-
conduitWidth
),
new
Point
(
this
.
ClientRectangle
.
Left
,
this
.
ClientRectangle
.
Bottom
));
path
.
AddLines
(
psTilt_Up
);
path
.
CloseAllFigures
();
path
.
CloseAllFigures
();
float
angleUp
=
((
this
.
ClientRectangle
.
Height
-
conduitWidth
)
/
(
float
)
this
.
ClientRectangle
.
Width
);
int
_intUpLeft
=
0
;
if
(
angleUp
!=
0
)
_intUpLeft
=
(
int
)(((
float
)
conduitWidth
/
2
)
/
angleUp
);
linePath
.
AddLine
(
this
.
ClientRectangle
.
Left
-
_intUpLeft
,
this
.
ClientRectangle
.
Bottom
,
this
.
ClientRectangle
.
Right
+
_intUpLeft
,
this
.
ClientRectangle
.
Top
);
linePath
.
AddArc
(
new
Rectangle
(
this
.
ClientRectangle
.
Right
-
conduitWidth
/
2
,
this
.
ClientRectangle
.
Top
+
conduitWidth
/
2
,
conduitWidth
,
conduitWidth
),
270
,
-
1
*
(
float
)
angleUp
);
linePath
.
AddArc
(
new
Rectangle
(
this
.
ClientRectangle
.
Left
-
conduitWidth
/
2
,
this
.
ClientRectangle
.
Bottom
-
1
-
conduitWidth
-
conduitWidth
/
2
,
conduitWidth
,
conduitWidth
),
95
-
(
float
)
angleUp
,
(
float
)
angleUp
+
5
);
lstArcs
.
Add
(
new
ArcEntity
()
{
rect
=
new
Rectangle
(
this
.
ClientRectangle
.
Left
-
conduitWidth
,
this
.
ClientRectangle
.
Bottom
-
conduitWidth
*
2
,
conduitWidth
*
2
,
conduitWidth
*
2
),
startAngle
=
90
,
sweepAngle
=
-
1
*
(
float
)
angleUp
});
lstArcs
.
Add
(
new
ArcEntity
()
{
rect
=
new
Rectangle
(
this
.
ClientRectangle
.
Right
-
conduitWidth
,
this
.
ClientRectangle
.
Top
,
conduitWidth
*
2
,
conduitWidth
*
2
),
startAngle
=
270
,
sweepAngle
=
-
1
*
(
float
)
angleUp
});
tileLine
.
Add
(
new
Point
[]
{
new
Point
((
int
)(
this
.
ClientRectangle
.
Right
+
1
-
Math
.
Sin
(
Math
.
PI
*
(
angleUp
/
180.00F
))
*
conduitWidth
),(
int
)(
this
.
ClientRectangle
.
Top
+
conduitWidth
-
Math
.
Cos
(
Math
.
PI
*
(
angleUp
/
180.00F
))
*
conduitWidth
)),
new
Point
(
this
.
ClientRectangle
.
Left
,
this
.
ClientRectangle
.
Bottom
-
conduitWidth
-
1
)
});
tileLine
.
Add
(
new
Point
[]
{
new
Point
((
int
)(
this
.
ClientRectangle
.
Left
+
1
+
Math
.
Sin
(
Math
.
PI
*
(
angleUp
/
180.00F
))
*
conduitWidth
),(
int
)(
this
.
ClientRectangle
.
Bottom
-
conduitWidth
+
Math
.
Cos
(
Math
.
PI
*
(
angleUp
/
180.00F
))
*
conduitWidth
)),
new
Point
(
this
.
ClientRectangle
.
Right
,
this
.
ClientRectangle
.
Top
+
conduitWidth
)
});
tileLine
.
Add
(
new
Point
[]
{
new
Point
(
this
.
ClientRectangle
.
Left
,
this
.
ClientRectangle
.
Bottom
-
conduitWidth
),
new
Point
(
this
.
ClientRectangle
.
Right
,
this
.
ClientRectangle
.
Top
)
});
tileLine
.
Add
(
new
Point
[]
{
new
Point
(
this
.
ClientRectangle
.
Right
,
this
.
ClientRectangle
.
Top
+
conduitWidth
),
new
Point
(
this
.
ClientRectangle
.
Left
,
this
.
ClientRectangle
.
Bottom
)
});
break
;
break
;
case
Conduit
.
ConduitStyle
.
Horizontal_Tilt_Down
:
case
Conduit
.
ConduitStyle
.
Horizontal_Tilt_Down
:
Point
[]
psTilt_Down
=
new
Point
[]
double
angleDown
=
Math
.
Atan
((
this
.
ClientRectangle
.
Height
-
conduitWidth
)
/
(
double
)
this
.
ClientRectangle
.
Width
);
{
angleDown
=
angleDown
/
Math
.
PI
*
180f
;
new
Point
(
this
.
ClientRectangle
.
Left
,
this
.
ClientRectangle
.
Top
),
path
.
AddArc
(
new
Rectangle
(
this
.
ClientRectangle
.
Left
-
conduitWidth
,
this
.
ClientRectangle
.
Top
,
conduitWidth
*
2
,
conduitWidth
*
2
),
270
,
(
float
)
angleDown
);
new
Point
(
this
.
ClientRectangle
.
Right
,
this
.
ClientRectangle
.
Bottom
-
conduitWidth
),
path
.
AddLine
(
new
Point
(
this
.
ClientRectangle
.
Right
,
this
.
ClientRectangle
.
Bottom
-
conduitWidth
),
new
Point
(
this
.
ClientRectangle
.
Right
,
this
.
ClientRectangle
.
Bottom
));
new
Point
(
this
.
ClientRectangle
.
Right
,
this
.
ClientRectangle
.
Bottom
),
path
.
AddArc
(
new
Rectangle
(
this
.
ClientRectangle
.
Right
-
conduitWidth
,
this
.
ClientRectangle
.
Bottom
-
conduitWidth
*
2
,
conduitWidth
*
2
,
conduitWidth
*
2
),
90
,
(
float
)
angleDown
);
new
Point
(
this
.
ClientRectangle
.
Left
,
this
.
ClientRectangle
.
Top
+
conduitWidth
)
path
.
AddLine
(
new
Point
(
this
.
ClientRectangle
.
Left
,
this
.
ClientRectangle
.
Top
+
conduitWidth
),
new
Point
(
this
.
ClientRectangle
.
Left
,
this
.
ClientRectangle
.
Top
));
};
path
.
AddLines
(
psTilt_Down
);
path
.
CloseAllFigures
();
path
.
CloseAllFigures
();
float
angleDown
=
((
this
.
ClientRectangle
.
Height
-
conduitWidth
)
/
(
float
)
this
.
ClientRectangle
.
Width
);
int
_intDownLeft
=
0
;
if
(
angleDown
!=
0
)
_intDownLeft
=
(
int
)(((
float
)
conduitWidth
/
2
)
/
angleDown
);
linePath
.
AddLine
(
this
.
ClientRectangle
.
Left
-
_intDownLeft
,
this
.
ClientRectangle
.
Top
,
this
.
ClientRectangle
.
Right
+
_intDownLeft
,
this
.
ClientRectangle
.
Bottom
);
linePath
.
AddArc
(
new
Rectangle
(
this
.
ClientRectangle
.
Left
-
conduitWidth
/
2
,
this
.
ClientRectangle
.
Top
+
conduitWidth
/
2
,
conduitWidth
,
conduitWidth
),
265
,
(
float
)
angleDown
+
5
);
linePath
.
AddArc
(
new
Rectangle
(
this
.
ClientRectangle
.
Right
-
conduitWidth
/
2
,
this
.
ClientRectangle
.
Bottom
-
conduitWidth
-
conduitWidth
/
2
-
1
,
conduitWidth
,
conduitWidth
),
90
+
(
float
)
angleDown
,
-
1
*
(
float
)
angleDown
-
5
);
lstArcs
.
Add
(
new
ArcEntity
()
{
rect
=
new
Rectangle
(
this
.
ClientRectangle
.
Left
-
conduitWidth
,
this
.
ClientRectangle
.
Top
,
conduitWidth
*
2
,
conduitWidth
*
2
),
startAngle
=
270
,
sweepAngle
=
(
float
)
angleDown
});
lstArcs
.
Add
(
new
ArcEntity
()
{
rect
=
new
Rectangle
(
this
.
ClientRectangle
.
Right
-
conduitWidth
,
this
.
ClientRectangle
.
Bottom
-
conduitWidth
*
2
,
conduitWidth
*
2
,
conduitWidth
*
2
),
startAngle
=
90
,
sweepAngle
=
(
float
)
angleDown
});
tileLine
.
Add
(
new
Point
[]
{
new
Point
(
this
.
ClientRectangle
.
Left
,
this
.
ClientRectangle
.
Top
),
new
Point
(
this
.
ClientRectangle
.
Right
,
this
.
ClientRectangle
.
Bottom
-
conduitWidth
)
});
tileLine
.
Add
(
new
Point
[]
tileLine
.
Add
(
new
Point
[]
{
new
Point
(
this
.
ClientRectangle
.
Right
,
this
.
ClientRectangle
.
Bottom
),
new
Point
(
this
.
ClientRectangle
.
Left
,
this
.
ClientRectangle
.
Top
+
conduitWidth
)
});
{
new
Point
((
int
)(
this
.
ClientRectangle
.
Left
+
Math
.
Sin
(
Math
.
PI
*
(
angleDown
/
180.00F
))
*
conduitWidth
),(
int
)(
this
.
ClientRectangle
.
Top
+
conduitWidth
-
Math
.
Cos
(
Math
.
PI
*
(
angleDown
/
180.00F
))
*
conduitWidth
)),
new
Point
(
this
.
ClientRectangle
.
Right
-
1
,
this
.
ClientRectangle
.
Bottom
-
conduitWidth
-
1
)
});
tileLine
.
Add
(
new
Point
[]
{
new
Point
((
int
)(
this
.
ClientRectangle
.
Right
-
Math
.
Sin
(
Math
.
PI
*
(
angleDown
/
180.00F
))
*
conduitWidth
),(
int
)(
this
.
ClientRectangle
.
Bottom
-
conduitWidth
+
Math
.
Cos
(
Math
.
PI
*
(
angleDown
/
180.00F
))
*
conduitWidth
)),
new
Point
(
this
.
ClientRectangle
.
Left
,
this
.
ClientRectangle
.
Top
+
conduitWidth
)
});
break
;
break
;
#
endregion
#
endregion
...
@@ -539,46 +553,58 @@ namespace HZH_Controls.Controls.Conduit
...
@@ -539,46 +553,58 @@ namespace HZH_Controls.Controls.Conduit
lstArcs
.
Add
(
new
ArcEntity
()
{
rect
=
new
Rectangle
(-
1
,
this
.
Height
-
intPenWidth
*
2
,
intPenWidth
*
2
,
intPenWidth
*
2
),
startAngle
=
90
,
sweepAngle
=
90
});
lstArcs
.
Add
(
new
ArcEntity
()
{
rect
=
new
Rectangle
(-
1
,
this
.
Height
-
intPenWidth
*
2
,
intPenWidth
*
2
,
intPenWidth
*
2
),
startAngle
=
90
,
sweepAngle
=
90
});
break
;
break
;
case
Conduit
.
ConduitStyle
.
Vertical_Tilt_Left
:
case
Conduit
.
ConduitStyle
.
Vertical_Tilt_Left
:
Point
[]
psTilt_Left
=
new
Point
[]
double
angleLeft
=
Math
.
Atan
((
this
.
ClientRectangle
.
Width
-
conduitWidth
)
/
(
double
)
this
.
ClientRectangle
.
Height
);
{
angleLeft
=
angleLeft
/
Math
.
PI
*
180f
;
new
Point
(
this
.
ClientRectangle
.
Left
+
conduitWidth
,
this
.
ClientRectangle
.
Top
),
path
.
AddArc
(
new
Rectangle
(
this
.
ClientRectangle
.
Left
-
1
,
ClientRectangle
.
Top
-
conduitWidth
,
conduitWidth
*
2
,
conduitWidth
*
2
),
180
,
-
1
*
(
float
)
angleLeft
);
new
Point
(
this
.
ClientRectangle
.
Right
,
this
.
ClientRectangle
.
Bottom
),
path
.
AddLine
(
new
Point
(
this
.
ClientRectangle
.
Right
-
conduitWidth
,
this
.
ClientRectangle
.
Bottom
),
new
Point
(
this
.
ClientRectangle
.
Right
,
this
.
ClientRectangle
.
Bottom
));
new
Point
(
this
.
ClientRectangle
.
Right
-
conduitWidth
,
this
.
ClientRectangle
.
Bottom
),
path
.
AddArc
(
new
Rectangle
(
this
.
ClientRectangle
.
Right
-
conduitWidth
*
2
,
this
.
ClientRectangle
.
Bottom
-
conduitWidth
,
conduitWidth
*
2
,
conduitWidth
*
2
),
0
,
-
1
*
(
float
)
angleLeft
);
new
Point
(
this
.
ClientRectangle
.
Left
,
this
.
ClientRectangle
.
Top
)
path
.
AddLine
(
new
Point
(
this
.
ClientRectangle
.
Left
+
conduitWidth
,
this
.
ClientRectangle
.
Top
),
new
Point
(
this
.
ClientRectangle
.
Left
,
this
.
ClientRectangle
.
Top
));
};
path
.
AddLines
(
psTilt_Left
);
path
.
CloseAllFigures
();
path
.
CloseAllFigures
();
float
angleLeft
=
((
this
.
ClientRectangle
.
Width
-
conduitWidth
)
/
(
float
)
this
.
ClientRectangle
.
Height
);
int
_intLeftUp
=
0
;
if
(
angleLeft
!=
0
)
_intLeftUp
=
(
int
)(((
float
)
conduitWidth
/
2
)
/
angleLeft
);
linePath
.
AddLine
(
this
.
ClientRectangle
.
Left
,
this
.
ClientRectangle
.
Top
-
_intLeftUp
,
this
.
ClientRectangle
.
Right
,
this
.
ClientRectangle
.
Bottom
+
_intLeftUp
);
linePath
.
AddArc
(
new
Rectangle
(
this
.
ClientRectangle
.
Left
+
conduitWidth
/
2
,
this
.
ClientRectangle
.
Top
-
conduitWidth
/
2
,
conduitWidth
,
conduitWidth
),
185
,
-
1
*
(
float
)
angleLeft
-
5
);
linePath
.
AddArc
(
new
Rectangle
(
this
.
ClientRectangle
.
Right
-
conduitWidth
-
conduitWidth
/
2
,
this
.
ClientRectangle
.
Bottom
-
conduitWidth
/
2
,
conduitWidth
,
conduitWidth
),
-
1
*
(
float
)
angleLeft
,
(
float
)
angleLeft
);
lstArcs
.
Add
(
new
ArcEntity
()
{
rect
=
new
Rectangle
(
this
.
ClientRectangle
.
Left
-
1
,
ClientRectangle
.
Top
-
conduitWidth
,
conduitWidth
*
2
,
conduitWidth
*
2
),
startAngle
=
180
,
sweepAngle
=
-
1
*
(
float
)
angleLeft
});
lstArcs
.
Add
(
new
ArcEntity
()
{
rect
=
new
Rectangle
(
this
.
ClientRectangle
.
Right
-
conduitWidth
*
2
,
this
.
ClientRectangle
.
Bottom
-
conduitWidth
,
conduitWidth
*
2
,
conduitWidth
*
2
),
startAngle
=
0
,
sweepAngle
=
-
1
*
(
float
)
angleLeft
});
tileLine
.
Add
(
new
Point
[]
{
new
Point
(
this
.
ClientRectangle
.
Left
+
conduitWidth
,
this
.
ClientRectangle
.
Top
),
new
Point
(
this
.
ClientRectangle
.
Right
,
this
.
ClientRectangle
.
Bottom
)
});
tileLine
.
Add
(
new
Point
[]
tileLine
.
Add
(
new
Point
[]
{
new
Point
(
this
.
ClientRectangle
.
Right
-
conduitWidth
,
this
.
ClientRectangle
.
Bottom
),
new
Point
(
this
.
ClientRectangle
.
Left
,
this
.
ClientRectangle
.
Top
)
});
{
new
Point
((
int
)(
this
.
ClientRectangle
.
Left
+
conduitWidth
),
this
.
ClientRectangle
.
Top
),
new
Point
((
int
)(
this
.
ClientRectangle
.
Right
-
conduitWidth
+
Math
.
Cos
(
Math
.
PI
*
(
angleLeft
/
180.00F
))
*
conduitWidth
),(
int
)(
this
.
ClientRectangle
.
Bottom
-
Math
.
Sin
(
Math
.
PI
*
(
angleLeft
/
180.00F
))
*
conduitWidth
))
});
tileLine
.
Add
(
new
Point
[]
{
new
Point
((
int
)(
this
.
ClientRectangle
.
Left
-
1
+
conduitWidth
-
Math
.
Cos
(
Math
.
PI
*
(
angleLeft
/
180.00F
))
*
conduitWidth
),(
int
)(
this
.
ClientRectangle
.
Top
+
Math
.
Sin
(
Math
.
PI
*
(
angleLeft
/
180.00F
))
*
conduitWidth
)),
new
Point
(
this
.
ClientRectangle
.
Right
-
conduitWidth
,
this
.
ClientRectangle
.
Bottom
)
});
break
;
break
;
case
Conduit
.
ConduitStyle
.
Vertical_Tilt_Right
:
case
Conduit
.
ConduitStyle
.
Vertical_Tilt_Right
:
Point
[]
psTilt_Right
=
new
Point
[]
double
angleRight
=
Math
.
Atan
((
this
.
ClientRectangle
.
Width
-
conduitWidth
)
/
(
double
)
this
.
ClientRectangle
.
Height
);
{
angleRight
=
angleRight
/
Math
.
PI
*
180f
;
new
Point
(
this
.
ClientRectangle
.
Right
,
this
.
ClientRectangle
.
Top
),
path
.
AddArc
(
new
Rectangle
(
this
.
ClientRectangle
.
Right
-
conduitWidth
*
2
,
ClientRectangle
.
Top
-
conduitWidth
,
conduitWidth
*
2
,
conduitWidth
*
2
),
0
,
(
float
)
angleRight
);
new
Point
(
this
.
ClientRectangle
.
Left
+
conduitWidth
,
this
.
ClientRectangle
.
Bottom
),
path
.
AddLine
(
new
Point
(
this
.
ClientRectangle
.
Left
+
conduitWidth
,
this
.
ClientRectangle
.
Bottom
),
new
Point
(
this
.
ClientRectangle
.
Left
,
this
.
ClientRectangle
.
Bottom
));
new
Point
(
this
.
ClientRectangle
.
Left
,
this
.
ClientRectangle
.
Bottom
),
path
.
AddArc
(
new
Rectangle
(
this
.
ClientRectangle
.
Left
-
1
,
this
.
ClientRectangle
.
Bottom
-
conduitWidth
,
conduitWidth
*
2
,
conduitWidth
*
2
),
180
,
(
float
)
angleRight
);
new
Point
(
this
.
ClientRectangle
.
Right
-
conduitWidth
,
this
.
ClientRectangle
.
Top
)
path
.
AddLine
(
new
Point
(
this
.
ClientRectangle
.
Right
-
conduitWidth
,
this
.
ClientRectangle
.
Top
),
new
Point
(
this
.
ClientRectangle
.
Right
,
this
.
ClientRectangle
.
Top
));
};
path
.
AddLines
(
psTilt_Right
);
path
.
CloseAllFigures
();
path
.
CloseAllFigures
();
float
angleRight
=
((
this
.
ClientRectangle
.
Width
-
conduitWidth
)
/
(
float
)
this
.
ClientRectangle
.
Height
);
int
_intRightUp
=
0
;
if
(
angleRight
!=
0
)
_intRightUp
=
(
int
)(((
float
)
conduitWidth
/
2
)
/
angleRight
);
linePath
.
AddLine
(
this
.
ClientRectangle
.
Right
,
this
.
ClientRectangle
.
Top
-
_intRightUp
,
this
.
ClientRectangle
.
Left
,
this
.
ClientRectangle
.
Bottom
+
_intRightUp
);
linePath
.
AddArc
(
new
Rectangle
(
this
.
ClientRectangle
.
Right
-
conduitWidth
-
conduitWidth
/
2
,
this
.
ClientRectangle
.
Top
-
conduitWidth
/
2
,
conduitWidth
,
conduitWidth
),
-
5
,
(
float
)
angleRight
+
5
);
linePath
.
AddArc
(
new
Rectangle
(
this
.
ClientRectangle
.
Left
+
conduitWidth
/
2
,
this
.
ClientRectangle
.
Bottom
-
conduitWidth
/
2
,
conduitWidth
,
conduitWidth
),
180
+
(
float
)
angleRight
,
-
1
*
(
float
)
angleRight
);
lstArcs
.
Add
(
new
ArcEntity
()
{
rect
=
new
Rectangle
(
this
.
ClientRectangle
.
Right
-
conduitWidth
*
2
,
ClientRectangle
.
Top
-
conduitWidth
,
conduitWidth
*
2
,
conduitWidth
*
2
),
startAngle
=
0
,
sweepAngle
=
(
float
)
angleRight
});
lstArcs
.
Add
(
new
ArcEntity
()
{
rect
=
new
Rectangle
(
this
.
ClientRectangle
.
Left
-
1
,
this
.
ClientRectangle
.
Bottom
-
conduitWidth
,
conduitWidth
*
2
,
conduitWidth
*
2
),
startAngle
=
180
,
sweepAngle
=
(
float
)
angleRight
});
tileLine
.
Add
(
new
Point
[]
{
new
Point
(
this
.
ClientRectangle
.
Right
,
this
.
ClientRectangle
.
Top
),
new
Point
(
this
.
ClientRectangle
.
Left
+
conduitWidth
,
this
.
ClientRectangle
.
Bottom
)
});
tileLine
.
Add
(
new
Point
[]
tileLine
.
Add
(
new
Point
[]
{
new
Point
(
this
.
ClientRectangle
.
Left
,
this
.
ClientRectangle
.
Bottom
),
new
Point
(
this
.
ClientRectangle
.
Right
-
conduitWidth
,
this
.
ClientRectangle
.
Top
)
});
{
new
Point
((
int
)(
this
.
ClientRectangle
.
Right
-
conduitWidth
),
this
.
ClientRectangle
.
Top
),
new
Point
((
int
)(
this
.
ClientRectangle
.
Left
+
conduitWidth
-
Math
.
Cos
(
Math
.
PI
*
(
angleRight
/
180.00F
))
*
conduitWidth
),(
int
)(
this
.
ClientRectangle
.
Bottom
-
Math
.
Sin
(
Math
.
PI
*
(
angleRight
/
180.00F
))
*
conduitWidth
))
});
tileLine
.
Add
(
new
Point
[]
{
new
Point
((
int
)(
this
.
ClientRectangle
.
Right
-
conduitWidth
+
Math
.
Cos
(
Math
.
PI
*
(
angleRight
/
180.00F
))
*
conduitWidth
),(
int
)(
this
.
ClientRectangle
.
Top
+
Math
.
Sin
(
Math
.
PI
*
(
angleRight
/
180.00F
))
*
conduitWidth
)),
new
Point
(
this
.
ClientRectangle
.
Left
+
conduitWidth
,
this
.
ClientRectangle
.
Bottom
)
});
break
;
break
;
#
endregion
#
endregion
}
}
...
...
HZH_Controls/HZH_Controls/Controls/FactoryControls/Conveyor/UCConveyor.cs
查看文件 @
6761bff
...
@@ -225,7 +225,6 @@ namespace HZH_Controls.Controls
...
@@ -225,7 +225,6 @@ namespace HZH_Controls.Controls
intHeight
=
this
.
Height
;
intHeight
=
this
.
Height
;
m_workingRect
=
new
Rectangle
((
this
.
Width
-
intWidth
)
/
2
+
1
,
(
this
.
Height
-
intHeight
)
/
2
+
1
,
intWidth
-
2
,
intHeight
-
2
);
m_workingRect
=
new
Rectangle
((
this
.
Width
-
intWidth
)
/
2
+
1
,
(
this
.
Height
-
intHeight
)
/
2
+
1
,
intWidth
-
2
,
intHeight
-
2
);
}
}
}
}
/// <summary>
/// <summary>
...
@@ -248,8 +247,7 @@ namespace HZH_Controls.Controls
...
@@ -248,8 +247,7 @@ namespace HZH_Controls.Controls
var
rectRight
=
new
Rectangle
(
m_workingRect
.
Right
-
conveyorHeight
+
5
,
(
inclination
>=
0
?
(
m_workingRect
.
Top
)
:
(
m_workingRect
.
Bottom
-
conveyorHeight
))
+
5
,
conveyorHeight
-
10
,
conveyorHeight
-
10
);
var
rectRight
=
new
Rectangle
(
m_workingRect
.
Right
-
conveyorHeight
+
5
,
(
inclination
>=
0
?
(
m_workingRect
.
Top
)
:
(
m_workingRect
.
Bottom
-
conveyorHeight
))
+
5
,
conveyorHeight
-
10
,
conveyorHeight
-
10
);
g
.
FillEllipse
(
new
SolidBrush
(
conveyorColor
),
rectRight
);
g
.
FillEllipse
(
new
SolidBrush
(
conveyorColor
),
rectRight
);
g
.
FillEllipse
(
new
SolidBrush
(
Color
.
White
),
new
Rectangle
(
rectRight
.
Left
+
(
rectRight
.
Width
-
6
)
/
2
,
rectRight
.
Top
+
(
rectRight
.
Height
-
6
)
/
2
,
6
,
6
));
g
.
FillEllipse
(
new
SolidBrush
(
Color
.
White
),
new
Rectangle
(
rectRight
.
Left
+
(
rectRight
.
Width
-
6
)
/
2
,
rectRight
.
Top
+
(
rectRight
.
Height
-
6
)
/
2
,
6
,
6
));
//传送带
//传送带
//左端
//左端
GraphicsPath
path
=
new
GraphicsPath
();
GraphicsPath
path
=
new
GraphicsPath
();
...
...
HZH_Controls/HZH_Controls/Controls/FactoryControls/Valve/UCValve.cs
0 → 100644
查看文件 @
6761bff
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Windows.Forms
;
using
System.Drawing
;
using
System.Drawing.Drawing2D
;
namespace
HZH_Controls.Controls
{
public
class
UCValve
:
UserControl
{
private
ValveDirection
valveDirection
=
ValveDirection
.
Horizontal
;
public
ValveDirection
ValveDirection
{
get
{
return
valveDirection
;
}
set
{
valveDirection
=
value
;
}
}
public
UCValve
()
{
this
.
SetStyle
(
ControlStyles
.
AllPaintingInWmPaint
,
true
);
this
.
SetStyle
(
ControlStyles
.
DoubleBuffer
,
true
);
this
.
SetStyle
(
ControlStyles
.
ResizeRedraw
,
true
);
this
.
SetStyle
(
ControlStyles
.
Selectable
,
true
);
this
.
SetStyle
(
ControlStyles
.
SupportsTransparentBackColor
,
true
);
this
.
SetStyle
(
ControlStyles
.
UserPaint
,
true
);
this
.
Size
=
new
Size
(
120
,
100
);
}
protected
override
void
OnPaint
(
PaintEventArgs
e
)
{
base
.
OnPaint
(
e
);
var
g
=
e
.
Graphics
;
g
.
SetGDIHigh
();
Rectangle
rectGuan
=
new
Rectangle
(
0
,
this
.
Height
/
2
-
this
.
Height
/
8
,
this
.
Width
,
this
.
Height
/
2
+
this
.
Height
/
4
);
//管道
g
.
FillRectangle
(
new
SolidBrush
(
Color
.
Red
),
new
Rectangle
(
rectGuan
.
Left
,
rectGuan
.
Top
+
this
.
Height
/
8
,
rectGuan
.
Width
,
this
.
Height
/
2
-
this
.
Height
/
8
));
//接口
g
.
FillRectangle
(
new
SolidBrush
(
Color
.
Red
),
new
Rectangle
(
this
.
Height
/
8
,
rectGuan
.
Top
,
rectGuan
.
Height
/
3
,
rectGuan
.
Height
));
g
.
FillRectangle
(
new
SolidBrush
(
Color
.
Red
),
new
Rectangle
(
rectGuan
.
Right
-
this
.
Height
/
8
-
rectGuan
.
Height
/
3
,
rectGuan
.
Top
,
rectGuan
.
Height
/
3
,
rectGuan
.
Height
));
//高亮
int
intCount
=
rectGuan
.
Height
/
2
/
4
;
int
intSplit
=
(
255
-
100
)
/
intCount
;
for
(
int
i
=
0
;
i
<
intCount
;
i
++)
{
int
_penWidth
=
rectGuan
.
Height
/
2
-
4
*
i
;
if
(
_penWidth
<=
0
)
_penWidth
=
1
;
g
.
DrawLine
(
new
Pen
(
new
SolidBrush
(
Color
.
FromArgb
(
10
,
Color
.
White
)),
_penWidth
),
new
Point
(
rectGuan
.
Left
,
rectGuan
.
Height
/
2
+
rectGuan
.
Top
),
new
Point
(
rectGuan
.
Right
,
rectGuan
.
Height
/
2
+
rectGuan
.
Top
));
if
(
_penWidth
==
1
)
break
;
}
//阀门底座
}
}
public
enum
ValveDirection
{
Horizontal
,
Vertical
}
}
HZH_Controls/HZH_Controls/HZH_Controls.csproj
查看文件 @
6761bff
...
@@ -99,6 +99,9 @@
...
@@ -99,6 +99,9 @@
<Compile Include="Controls\FactoryControls\Conveyor\UCConveyor.cs">
<Compile Include="Controls\FactoryControls\Conveyor\UCConveyor.cs">
<SubType>UserControl</SubType>
<SubType>UserControl</SubType>
</Compile>
</Compile>
<Compile Include="Controls\FactoryControls\Valve\UCValve.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Controls\LED\UCLEDDataTime.cs">
<Compile Include="Controls\LED\UCLEDDataTime.cs">
<SubType>UserControl</SubType>
<SubType>UserControl</SubType>
</Compile>
</Compile>
...
...
HZH_Controls/Test/Form4.Designer.cs
查看文件 @
6761bff
...
@@ -28,8 +28,11 @@
...
@@ -28,8 +28,11 @@
/// </summary>
/// </summary>
private
void
InitializeComponent
()
private
void
InitializeComponent
()
{
{
this
.
ucValve1
=
new
HZH_Controls
.
Controls
.
UCValve
();
this
.
ucConveyor2
=
new
HZH_Controls
.
Controls
.
UCConveyor
();
this
.
ucConveyor2
=
new
HZH_Controls
.
Controls
.
UCConveyor
();
this
.
ucConveyor6
=
new
HZH_Controls
.
Controls
.
UCConveyor
();
this
.
ucConveyor4
=
new
HZH_Controls
.
Controls
.
UCConveyor
();
this
.
ucConveyor4
=
new
HZH_Controls
.
Controls
.
UCConveyor
();
this
.
ucConveyor5
=
new
HZH_Controls
.
Controls
.
UCConveyor
();
this
.
ucConveyor3
=
new
HZH_Controls
.
Controls
.
UCConveyor
();
this
.
ucConveyor3
=
new
HZH_Controls
.
Controls
.
UCConveyor
();
this
.
ucConveyor1
=
new
HZH_Controls
.
Controls
.
UCConveyor
();
this
.
ucConveyor1
=
new
HZH_Controls
.
Controls
.
UCConveyor
();
this
.
ucConduit9
=
new
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
();
this
.
ucConduit9
=
new
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
();
...
@@ -51,18 +54,27 @@
...
@@ -51,18 +54,27 @@
this
.
ucConduit16
=
new
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
();
this
.
ucConduit16
=
new
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
();
this
.
ucConduit15
=
new
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
();
this
.
ucConduit15
=
new
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
();
this
.
ucConduit14
=
new
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
();
this
.
ucConduit14
=
new
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
();
this
.
ucConduit
13
=
new
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
();
this
.
ucConduit
30
=
new
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
();
this
.
ucConduit12
=
new
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
();
this
.
ucConduit12
=
new
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
();
this
.
ucConduit27
=
new
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
();
this
.
ucConduit27
=
new
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
();
this
.
ucConduit11
=
new
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
();
this
.
ucConduit11
=
new
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
();
this
.
ucConduit29
=
new
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
();
this
.
ucConduit28
=
new
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
();
this
.
ucConduit26
=
new
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
();
this
.
ucConduit5
=
new
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
();
this
.
ucConduit10
=
new
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
();
this
.
ucConduit10
=
new
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
();
this
.
ucConduit1
=
new
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
();
this
.
ucConduit1
=
new
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
();
this
.
ucBottle2
=
new
HZH_Controls
.
Controls
.
UCBottle
();
this
.
ucBottle1
=
new
HZH_Controls
.
Controls
.
UCBottle
();
this
.
ucBottle1
=
new
HZH_Controls
.
Controls
.
UCBottle
();
this
.
ucConveyor5
=
new
HZH_Controls
.
Controls
.
UCConveyor
();
this
.
ucConveyor6
=
new
HZH_Controls
.
Controls
.
UCConveyor
();
this
.
SuspendLayout
();
this
.
SuspendLayout
();
//
//
// ucValve1
//
this
.
ucValve1
.
Location
=
new
System
.
Drawing
.
Point
(
563
,
553
);
this
.
ucValve1
.
Name
=
"ucValve1"
;
this
.
ucValve1
.
Size
=
new
System
.
Drawing
.
Size
(
145
,
100
);
this
.
ucValve1
.
TabIndex
=
22
;
this
.
ucValve1
.
ValveDirection
=
HZH_Controls
.
Controls
.
ValveDirection
.
Horizontal
;
//
// ucConveyor2
// ucConveyor2
//
//
this
.
ucConveyor2
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
this
.
ucConveyor2
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
...
@@ -76,6 +88,19 @@
...
@@ -76,6 +88,19 @@
this
.
ucConveyor2
.
Size
=
new
System
.
Drawing
.
Size
(
183
,
154
);
this
.
ucConveyor2
.
Size
=
new
System
.
Drawing
.
Size
(
183
,
154
);
this
.
ucConveyor2
.
TabIndex
=
21
;
this
.
ucConveyor2
.
TabIndex
=
21
;
//
//
// ucConveyor6
//
this
.
ucConveyor6
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
this
.
ucConveyor6
.
ConveyorColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConveyor6
.
ConveyorDirection
=
HZH_Controls
.
Controls
.
ConveyorDirection
.
Backward
;
this
.
ucConveyor6
.
ConveyorHeight
=
30
;
this
.
ucConveyor6
.
ConveyorSpeed
=
100
;
this
.
ucConveyor6
.
Inclination
=
90D
;
this
.
ucConveyor6
.
Location
=
new
System
.
Drawing
.
Point
(
1258
,
396
);
this
.
ucConveyor6
.
Name
=
"ucConveyor6"
;
this
.
ucConveyor6
.
Size
=
new
System
.
Drawing
.
Size
(
72
,
197
);
this
.
ucConveyor6
.
TabIndex
=
21
;
//
// ucConveyor4
// ucConveyor4
//
//
this
.
ucConveyor4
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
this
.
ucConveyor4
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
...
@@ -89,6 +114,19 @@
...
@@ -89,6 +114,19 @@
this
.
ucConveyor4
.
Size
=
new
System
.
Drawing
.
Size
(
72
,
197
);
this
.
ucConveyor4
.
Size
=
new
System
.
Drawing
.
Size
(
72
,
197
);
this
.
ucConveyor4
.
TabIndex
=
21
;
this
.
ucConveyor4
.
TabIndex
=
21
;
//
//
// ucConveyor5
//
this
.
ucConveyor5
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
this
.
ucConveyor5
.
ConveyorColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConveyor5
.
ConveyorDirection
=
HZH_Controls
.
Controls
.
ConveyorDirection
.
Backward
;
this
.
ucConveyor5
.
ConveyorHeight
=
30
;
this
.
ucConveyor5
.
ConveyorSpeed
=
100
;
this
.
ucConveyor5
.
Inclination
=
0D
;
this
.
ucConveyor5
.
Location
=
new
System
.
Drawing
.
Point
(
1039
,
380
);
this
.
ucConveyor5
.
Name
=
"ucConveyor5"
;
this
.
ucConveyor5
.
Size
=
new
System
.
Drawing
.
Size
(
213
,
53
);
this
.
ucConveyor5
.
TabIndex
=
21
;
//
// ucConveyor3
// ucConveyor3
//
//
this
.
ucConveyor3
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
this
.
ucConveyor3
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
...
@@ -119,6 +157,7 @@
...
@@ -119,6 +157,7 @@
//
//
this
.
ucConduit9
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit9
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit9
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_Down_Down
;
this
.
ucConduit9
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_Down_Down
;
this
.
ucConduit9
.
ConduitWidth
=
50
;
this
.
ucConduit9
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit9
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit9
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Forward
;
this
.
ucConduit9
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Forward
;
this
.
ucConduit9
.
LiquidSpeed
=
100
;
this
.
ucConduit9
.
LiquidSpeed
=
100
;
...
@@ -131,6 +170,7 @@
...
@@ -131,6 +170,7 @@
//
//
this
.
ucConduit22
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit22
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit22
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_None_None
;
this
.
ucConduit22
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_None_None
;
this
.
ucConduit22
.
ConduitWidth
=
50
;
this
.
ucConduit22
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit22
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit22
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit22
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit22
.
LiquidSpeed
=
100
;
this
.
ucConduit22
.
LiquidSpeed
=
100
;
...
@@ -143,6 +183,7 @@
...
@@ -143,6 +183,7 @@
//
//
this
.
ucConduit24
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit24
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit24
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_Up_None
;
this
.
ucConduit24
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_Up_None
;
this
.
ucConduit24
.
ConduitWidth
=
50
;
this
.
ucConduit24
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit24
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit24
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit24
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit24
.
LiquidSpeed
=
100
;
this
.
ucConduit24
.
LiquidSpeed
=
100
;
...
@@ -155,6 +196,7 @@
...
@@ -155,6 +196,7 @@
//
//
this
.
ucConduit23
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit23
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit23
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_Down_Down
;
this
.
ucConduit23
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_Down_Down
;
this
.
ucConduit23
.
ConduitWidth
=
50
;
this
.
ucConduit23
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit23
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit23
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit23
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit23
.
LiquidSpeed
=
100
;
this
.
ucConduit23
.
LiquidSpeed
=
100
;
...
@@ -167,6 +209,7 @@
...
@@ -167,6 +209,7 @@
//
//
this
.
ucConduit8
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit8
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit8
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_Up_Up
;
this
.
ucConduit8
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_Up_Up
;
this
.
ucConduit8
.
ConduitWidth
=
50
;
this
.
ucConduit8
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit8
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit8
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit8
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit8
.
LiquidSpeed
=
100
;
this
.
ucConduit8
.
LiquidSpeed
=
100
;
...
@@ -178,19 +221,21 @@
...
@@ -178,19 +221,21 @@
// ucConduit7
// ucConduit7
//
//
this
.
ucConduit7
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit7
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit7
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_Up_Down
;
this
.
ucConduit7
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_Down_Up
;
this
.
ucConduit7
.
ConduitWidth
=
50
;
this
.
ucConduit7
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit7
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit7
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Back
ward
;
this
.
ucConduit7
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
For
ward
;
this
.
ucConduit7
.
LiquidSpeed
=
50
;
this
.
ucConduit7
.
LiquidSpeed
=
50
;
this
.
ucConduit7
.
Location
=
new
System
.
Drawing
.
Point
(
324
,
201
);
this
.
ucConduit7
.
Location
=
new
System
.
Drawing
.
Point
(
52
,
49
);
this
.
ucConduit7
.
Name
=
"ucConduit7"
;
this
.
ucConduit7
.
Name
=
"ucConduit7"
;
this
.
ucConduit7
.
Size
=
new
System
.
Drawing
.
Size
(
145
,
37
);
this
.
ucConduit7
.
Size
=
new
System
.
Drawing
.
Size
(
310
,
37
);
this
.
ucConduit7
.
TabIndex
=
16
;
this
.
ucConduit7
.
TabIndex
=
16
;
//
//
// ucConduit6
// ucConduit6
//
//
this
.
ucConduit6
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit6
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit6
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_Down_Up
;
this
.
ucConduit6
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_Down_Up
;
this
.
ucConduit6
.
ConduitWidth
=
50
;
this
.
ucConduit6
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit6
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit6
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Forward
;
this
.
ucConduit6
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Forward
;
this
.
ucConduit6
.
LiquidSpeed
=
50
;
this
.
ucConduit6
.
LiquidSpeed
=
50
;
...
@@ -203,6 +248,7 @@
...
@@ -203,6 +248,7 @@
//
//
this
.
ucConduit4
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit4
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit4
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_None_Up
;
this
.
ucConduit4
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_None_Up
;
this
.
ucConduit4
.
ConduitWidth
=
50
;
this
.
ucConduit4
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit4
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit4
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit4
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit4
.
LiquidSpeed
=
100
;
this
.
ucConduit4
.
LiquidSpeed
=
100
;
...
@@ -215,6 +261,7 @@
...
@@ -215,6 +261,7 @@
//
//
this
.
ucConduit3
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit3
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit3
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_Down_None
;
this
.
ucConduit3
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_Down_None
;
this
.
ucConduit3
.
ConduitWidth
=
50
;
this
.
ucConduit3
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit3
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit3
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Forward
;
this
.
ucConduit3
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Forward
;
this
.
ucConduit3
.
LiquidSpeed
=
50
;
this
.
ucConduit3
.
LiquidSpeed
=
50
;
...
@@ -226,19 +273,21 @@
...
@@ -226,19 +273,21 @@
// ucConduit2
// ucConduit2
//
//
this
.
ucConduit2
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit2
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit2
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_Up_None
;
this
.
ucConduit2
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_Up_Up
;
this
.
ucConduit2
.
ConduitWidth
=
50
;
this
.
ucConduit2
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit2
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit2
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit2
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit2
.
LiquidSpeed
=
50
;
this
.
ucConduit2
.
LiquidSpeed
=
50
;
this
.
ucConduit2
.
Location
=
new
System
.
Drawing
.
Point
(
642
,
307
);
this
.
ucConduit2
.
Location
=
new
System
.
Drawing
.
Point
(
642
,
307
);
this
.
ucConduit2
.
Name
=
"ucConduit2"
;
this
.
ucConduit2
.
Name
=
"ucConduit2"
;
this
.
ucConduit2
.
Size
=
new
System
.
Drawing
.
Size
(
196
,
37
);
this
.
ucConduit2
.
Size
=
new
System
.
Drawing
.
Size
(
359
,
37
);
this
.
ucConduit2
.
TabIndex
=
11
;
this
.
ucConduit2
.
TabIndex
=
11
;
//
//
// ucConduit18
// ucConduit18
//
//
this
.
ucConduit18
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit18
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit18
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_Right_Right
;
this
.
ucConduit18
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_Right_Right
;
this
.
ucConduit18
.
ConduitWidth
=
50
;
this
.
ucConduit18
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit18
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit18
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Forward
;
this
.
ucConduit18
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Forward
;
this
.
ucConduit18
.
LiquidSpeed
=
50
;
this
.
ucConduit18
.
LiquidSpeed
=
50
;
...
@@ -251,6 +300,7 @@
...
@@ -251,6 +300,7 @@
//
//
this
.
ucConduit17
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit17
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit17
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_Left_Left
;
this
.
ucConduit17
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_Left_Left
;
this
.
ucConduit17
.
ConduitWidth
=
50
;
this
.
ucConduit17
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit17
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit17
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Forward
;
this
.
ucConduit17
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Forward
;
this
.
ucConduit17
.
LiquidSpeed
=
50
;
this
.
ucConduit17
.
LiquidSpeed
=
50
;
...
@@ -263,6 +313,7 @@
...
@@ -263,6 +313,7 @@
//
//
this
.
ucConduit19
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit19
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit19
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_Left_Left
;
this
.
ucConduit19
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_Left_Left
;
this
.
ucConduit19
.
ConduitWidth
=
50
;
this
.
ucConduit19
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit19
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit19
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit19
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit19
.
LiquidSpeed
=
50
;
this
.
ucConduit19
.
LiquidSpeed
=
50
;
...
@@ -275,6 +326,7 @@
...
@@ -275,6 +326,7 @@
//
//
this
.
ucConduit20
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit20
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit20
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_None_None
;
this
.
ucConduit20
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_None_None
;
this
.
ucConduit20
.
ConduitWidth
=
50
;
this
.
ucConduit20
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit20
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit20
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Forward
;
this
.
ucConduit20
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Forward
;
this
.
ucConduit20
.
LiquidSpeed
=
100
;
this
.
ucConduit20
.
LiquidSpeed
=
100
;
...
@@ -287,6 +339,7 @@
...
@@ -287,6 +339,7 @@
//
//
this
.
ucConduit21
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit21
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit21
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_None_Right
;
this
.
ucConduit21
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_None_Right
;
this
.
ucConduit21
.
ConduitWidth
=
50
;
this
.
ucConduit21
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit21
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit21
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Forward
;
this
.
ucConduit21
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Forward
;
this
.
ucConduit21
.
LiquidSpeed
=
100
;
this
.
ucConduit21
.
LiquidSpeed
=
100
;
...
@@ -299,6 +352,7 @@
...
@@ -299,6 +352,7 @@
//
//
this
.
ucConduit25
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit25
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit25
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_None_None
;
this
.
ucConduit25
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_None_None
;
this
.
ucConduit25
.
ConduitWidth
=
50
;
this
.
ucConduit25
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit25
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit25
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit25
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit25
.
LiquidSpeed
=
100
;
this
.
ucConduit25
.
LiquidSpeed
=
100
;
...
@@ -311,6 +365,7 @@
...
@@ -311,6 +365,7 @@
//
//
this
.
ucConduit16
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit16
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit16
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_Right_Left
;
this
.
ucConduit16
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_Right_Left
;
this
.
ucConduit16
.
ConduitWidth
=
50
;
this
.
ucConduit16
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit16
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit16
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Forward
;
this
.
ucConduit16
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Forward
;
this
.
ucConduit16
.
LiquidSpeed
=
100
;
this
.
ucConduit16
.
LiquidSpeed
=
100
;
...
@@ -323,6 +378,7 @@
...
@@ -323,6 +378,7 @@
//
//
this
.
ucConduit15
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit15
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit15
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_Left_Right
;
this
.
ucConduit15
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_Left_Right
;
this
.
ucConduit15
.
ConduitWidth
=
50
;
this
.
ucConduit15
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit15
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit15
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit15
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit15
.
LiquidSpeed
=
100
;
this
.
ucConduit15
.
LiquidSpeed
=
100
;
...
@@ -335,6 +391,7 @@
...
@@ -335,6 +391,7 @@
//
//
this
.
ucConduit14
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit14
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit14
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_None_Right
;
this
.
ucConduit14
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_None_Right
;
this
.
ucConduit14
.
ConduitWidth
=
50
;
this
.
ucConduit14
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit14
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit14
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit14
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit14
.
LiquidSpeed
=
50
;
this
.
ucConduit14
.
LiquidSpeed
=
50
;
...
@@ -343,22 +400,24 @@
...
@@ -343,22 +400,24 @@
this
.
ucConduit14
.
Size
=
new
System
.
Drawing
.
Size
(
37
,
79
);
this
.
ucConduit14
.
Size
=
new
System
.
Drawing
.
Size
(
37
,
79
);
this
.
ucConduit14
.
TabIndex
=
6
;
this
.
ucConduit14
.
TabIndex
=
6
;
//
//
// ucConduit
13
// ucConduit
30
//
//
this
.
ucConduit13
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit30
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit13
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_None_Left
;
this
.
ucConduit30
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_None_Right
;
this
.
ucConduit13
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit30
.
ConduitWidth
=
50
;
this
.
ucConduit13
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Forward
;
this
.
ucConduit30
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit13
.
LiquidSpeed
=
50
;
this
.
ucConduit30
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit13
.
Location
=
new
System
.
Drawing
.
Point
(
834
,
138
);
this
.
ucConduit30
.
LiquidSpeed
=
50
;
this
.
ucConduit13
.
Name
=
"ucConduit13"
;
this
.
ucConduit30
.
Location
=
new
System
.
Drawing
.
Point
(
53
,
82
);
this
.
ucConduit13
.
Size
=
new
System
.
Drawing
.
Size
(
37
,
206
);
this
.
ucConduit30
.
Name
=
"ucConduit30"
;
this
.
ucConduit13
.
TabIndex
=
5
;
this
.
ucConduit30
.
Size
=
new
System
.
Drawing
.
Size
(
37
,
156
);
this
.
ucConduit30
.
TabIndex
=
5
;
//
//
// ucConduit12
// ucConduit12
//
//
this
.
ucConduit12
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit12
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit12
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_Right_None
;
this
.
ucConduit12
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_Right_None
;
this
.
ucConduit12
.
ConduitWidth
=
50
;
this
.
ucConduit12
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit12
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit12
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Forward
;
this
.
ucConduit12
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Forward
;
this
.
ucConduit12
.
LiquidSpeed
=
50
;
this
.
ucConduit12
.
LiquidSpeed
=
50
;
...
@@ -371,6 +430,7 @@
...
@@ -371,6 +430,7 @@
//
//
this
.
ucConduit27
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit27
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit27
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_None_None
;
this
.
ucConduit27
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_None_None
;
this
.
ucConduit27
.
ConduitWidth
=
50
;
this
.
ucConduit27
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit27
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit27
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit27
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit27
.
LiquidSpeed
=
50
;
this
.
ucConduit27
.
LiquidSpeed
=
50
;
...
@@ -383,6 +443,7 @@
...
@@ -383,6 +443,7 @@
//
//
this
.
ucConduit11
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit11
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit11
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_Left_None
;
this
.
ucConduit11
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_Left_None
;
this
.
ucConduit11
.
ConduitWidth
=
50
;
this
.
ucConduit11
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit11
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit11
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit11
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit11
.
LiquidSpeed
=
50
;
this
.
ucConduit11
.
LiquidSpeed
=
50
;
...
@@ -391,22 +452,76 @@
...
@@ -391,22 +452,76 @@
this
.
ucConduit11
.
Size
=
new
System
.
Drawing
.
Size
(
37
,
83
);
this
.
ucConduit11
.
Size
=
new
System
.
Drawing
.
Size
(
37
,
83
);
this
.
ucConduit11
.
TabIndex
=
3
;
this
.
ucConduit11
.
TabIndex
=
3
;
//
//
// ucConduit29
//
this
.
ucConduit29
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit29
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_Tilt_Left
;
this
.
ucConduit29
.
ConduitWidth
=
37
;
this
.
ucConduit29
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit29
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Forward
;
this
.
ucConduit29
.
LiquidSpeed
=
37
;
this
.
ucConduit29
.
Location
=
new
System
.
Drawing
.
Point
(
834
,
152
);
this
.
ucConduit29
.
Name
=
"ucConduit29"
;
this
.
ucConduit29
.
Size
=
new
System
.
Drawing
.
Size
(
275
,
73
);
this
.
ucConduit29
.
TabIndex
=
18
;
//
// ucConduit28
//
this
.
ucConduit28
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit28
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_Tilt_Right
;
this
.
ucConduit28
.
ConduitWidth
=
37
;
this
.
ucConduit28
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit28
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Forward
;
this
.
ucConduit28
.
LiquidSpeed
=
37
;
this
.
ucConduit28
.
Location
=
new
System
.
Drawing
.
Point
(
964
,
225
);
this
.
ucConduit28
.
Name
=
"ucConduit28"
;
this
.
ucConduit28
.
Size
=
new
System
.
Drawing
.
Size
(
145
,
82
);
this
.
ucConduit28
.
TabIndex
=
18
;
//
// ucConduit26
//
this
.
ucConduit26
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit26
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_Tilt_Up
;
this
.
ucConduit26
.
ConduitWidth
=
37
;
this
.
ucConduit26
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit26
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Forward
;
this
.
ucConduit26
.
LiquidSpeed
=
37
;
this
.
ucConduit26
.
Location
=
new
System
.
Drawing
.
Point
(
90
,
118
);
this
.
ucConduit26
.
Name
=
"ucConduit26"
;
this
.
ucConduit26
.
Size
=
new
System
.
Drawing
.
Size
(
86
,
120
);
this
.
ucConduit26
.
TabIndex
=
18
;
//
// ucConduit5
//
this
.
ucConduit5
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit5
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_Tilt_Down
;
this
.
ucConduit5
.
ConduitWidth
=
37
;
this
.
ucConduit5
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit5
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit5
.
LiquidSpeed
=
37
;
this
.
ucConduit5
.
Location
=
new
System
.
Drawing
.
Point
(
175
,
118
);
this
.
ucConduit5
.
Name
=
"ucConduit5"
;
this
.
ucConduit5
.
Size
=
new
System
.
Drawing
.
Size
(
133
,
120
);
this
.
ucConduit5
.
TabIndex
=
18
;
//
// ucConduit10
// ucConduit10
//
//
this
.
ucConduit10
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit10
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit10
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Vertical_None_None
;
this
.
ucConduit10
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_None_Down
;
this
.
ucConduit10
.
ConduitWidth
=
50
;
this
.
ucConduit10
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit10
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit10
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit10
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit10
.
LiquidSpeed
=
50
;
this
.
ucConduit10
.
LiquidSpeed
=
50
;
this
.
ucConduit10
.
Location
=
new
System
.
Drawing
.
Point
(
3
25
,
43
);
this
.
ucConduit10
.
Location
=
new
System
.
Drawing
.
Point
(
3
08
,
201
);
this
.
ucConduit10
.
Name
=
"ucConduit10"
;
this
.
ucConduit10
.
Name
=
"ucConduit10"
;
this
.
ucConduit10
.
Size
=
new
System
.
Drawing
.
Size
(
37
,
161
);
this
.
ucConduit10
.
Size
=
new
System
.
Drawing
.
Size
(
161
,
37
);
this
.
ucConduit10
.
TabIndex
=
18
;
this
.
ucConduit10
.
TabIndex
=
18
;
//
//
// ucConduit1
// ucConduit1
//
//
this
.
ucConduit1
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit1
.
ConduitColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConduit1
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_None_None
;
this
.
ucConduit1
.
ConduitStyle
=
HZH_Controls
.
Controls
.
Conduit
.
ConduitStyle
.
Horizontal_None_None
;
this
.
ucConduit1
.
ConduitWidth
=
50
;
this
.
ucConduit1
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit1
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucConduit1
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit1
.
LiquidDirection
=
HZH_Controls
.
Controls
.
Conduit
.
LiquidDirection
.
Backward
;
this
.
ucConduit1
.
LiquidSpeed
=
50
;
this
.
ucConduit1
.
LiquidSpeed
=
50
;
...
@@ -415,28 +530,6 @@
...
@@ -415,28 +530,6 @@
this
.
ucConduit1
.
Size
=
new
System
.
Drawing
.
Size
(
136
,
37
);
this
.
ucConduit1
.
Size
=
new
System
.
Drawing
.
Size
(
136
,
37
);
this
.
ucConduit1
.
TabIndex
=
19
;
this
.
ucConduit1
.
TabIndex
=
19
;
//
//
// ucBottle2
//
this
.
ucBottle2
.
BottleColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucBottle2
.
BottleMouthColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
105
)))),
((
int
)(((
byte
)(
105
)))),
((
int
)(((
byte
)(
105
)))));
this
.
ucBottle2
.
LiquidColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
3
)))),
((
int
)(((
byte
)(
169
)))),
((
int
)(((
byte
)(
243
)))));
this
.
ucBottle2
.
Location
=
new
System
.
Drawing
.
Point
(
1032
,
12
);
this
.
ucBottle2
.
MaxValue
=
new
decimal
(
new
int
[]
{
100
,
0
,
0
,
0
});
this
.
ucBottle2
.
Name
=
"ucBottle2"
;
this
.
ucBottle2
.
NO
=
"1#"
;
this
.
ucBottle2
.
Size
=
new
System
.
Drawing
.
Size
(
73
,
168
);
this
.
ucBottle2
.
TabIndex
=
20
;
this
.
ucBottle2
.
Title
=
"瓶子1"
;
this
.
ucBottle2
.
Value
=
new
decimal
(
new
int
[]
{
50
,
0
,
0
,
0
});
//
// ucBottle1
// ucBottle1
//
//
this
.
ucBottle1
.
BottleColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucBottle1
.
BottleColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
...
@@ -459,37 +552,12 @@
...
@@ -459,37 +552,12 @@
0
,
0
,
0
});
0
});
//
//
// ucConveyor5
//
this
.
ucConveyor5
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
this
.
ucConveyor5
.
ConveyorColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConveyor5
.
ConveyorDirection
=
HZH_Controls
.
Controls
.
ConveyorDirection
.
Backward
;
this
.
ucConveyor5
.
ConveyorHeight
=
30
;
this
.
ucConveyor5
.
ConveyorSpeed
=
100
;
this
.
ucConveyor5
.
Inclination
=
0D
;
this
.
ucConveyor5
.
Location
=
new
System
.
Drawing
.
Point
(
1039
,
380
);
this
.
ucConveyor5
.
Name
=
"ucConveyor5"
;
this
.
ucConveyor5
.
Size
=
new
System
.
Drawing
.
Size
(
213
,
53
);
this
.
ucConveyor5
.
TabIndex
=
21
;
//
// ucConveyor6
//
this
.
ucConveyor6
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
this
.
ucConveyor6
.
ConveyorColor
=
System
.
Drawing
.
Color
.
FromArgb
(((
int
)(((
byte
)(
255
)))),
((
int
)(((
byte
)(
77
)))),
((
int
)(((
byte
)(
59
)))));
this
.
ucConveyor6
.
ConveyorDirection
=
HZH_Controls
.
Controls
.
ConveyorDirection
.
Backward
;
this
.
ucConveyor6
.
ConveyorHeight
=
30
;
this
.
ucConveyor6
.
ConveyorSpeed
=
100
;
this
.
ucConveyor6
.
Inclination
=
90D
;
this
.
ucConveyor6
.
Location
=
new
System
.
Drawing
.
Point
(
1258
,
396
);
this
.
ucConveyor6
.
Name
=
"ucConveyor6"
;
this
.
ucConveyor6
.
Size
=
new
System
.
Drawing
.
Size
(
72
,
197
);
this
.
ucConveyor6
.
TabIndex
=
21
;
//
// Form4
// Form4
//
//
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
None
;
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
None
;
this
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
1368
,
680
);
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
1368
,
680
);
this
.
Controls
.
Add
(
this
.
ucValve1
);
this
.
Controls
.
Add
(
this
.
ucConveyor2
);
this
.
Controls
.
Add
(
this
.
ucConveyor2
);
this
.
Controls
.
Add
(
this
.
ucConveyor6
);
this
.
Controls
.
Add
(
this
.
ucConveyor6
);
this
.
Controls
.
Add
(
this
.
ucConveyor4
);
this
.
Controls
.
Add
(
this
.
ucConveyor4
);
...
@@ -515,13 +583,16 @@
...
@@ -515,13 +583,16 @@
this
.
Controls
.
Add
(
this
.
ucConduit16
);
this
.
Controls
.
Add
(
this
.
ucConduit16
);
this
.
Controls
.
Add
(
this
.
ucConduit15
);
this
.
Controls
.
Add
(
this
.
ucConduit15
);
this
.
Controls
.
Add
(
this
.
ucConduit14
);
this
.
Controls
.
Add
(
this
.
ucConduit14
);
this
.
Controls
.
Add
(
this
.
ucConduit
13
);
this
.
Controls
.
Add
(
this
.
ucConduit
30
);
this
.
Controls
.
Add
(
this
.
ucConduit12
);
this
.
Controls
.
Add
(
this
.
ucConduit12
);
this
.
Controls
.
Add
(
this
.
ucConduit27
);
this
.
Controls
.
Add
(
this
.
ucConduit27
);
this
.
Controls
.
Add
(
this
.
ucConduit11
);
this
.
Controls
.
Add
(
this
.
ucConduit11
);
this
.
Controls
.
Add
(
this
.
ucConduit29
);
this
.
Controls
.
Add
(
this
.
ucConduit28
);
this
.
Controls
.
Add
(
this
.
ucConduit26
);
this
.
Controls
.
Add
(
this
.
ucConduit5
);
this
.
Controls
.
Add
(
this
.
ucConduit10
);
this
.
Controls
.
Add
(
this
.
ucConduit10
);
this
.
Controls
.
Add
(
this
.
ucConduit1
);
this
.
Controls
.
Add
(
this
.
ucConduit1
);
this
.
Controls
.
Add
(
this
.
ucBottle2
);
this
.
Controls
.
Add
(
this
.
ucBottle1
);
this
.
Controls
.
Add
(
this
.
ucBottle1
);
this
.
Name
=
"Form4"
;
this
.
Name
=
"Form4"
;
this
.
Text
=
"Form4"
;
this
.
Text
=
"Form4"
;
...
@@ -543,7 +614,6 @@
...
@@ -543,7 +614,6 @@
private
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
ucConduit16
;
private
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
ucConduit16
;
private
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
ucConduit15
;
private
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
ucConduit15
;
private
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
ucConduit14
;
private
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
ucConduit14
;
private
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
ucConduit13
;
private
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
ucConduit12
;
private
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
ucConduit12
;
private
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
ucConduit11
;
private
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
ucConduit11
;
private
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
ucConduit10
;
private
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
ucConduit10
;
...
@@ -557,12 +627,17 @@
...
@@ -557,12 +627,17 @@
private
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
ucConduit25
;
private
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
ucConduit25
;
private
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
ucConduit27
;
private
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
ucConduit27
;
private
HZH_Controls
.
Controls
.
UCBottle
ucBottle1
;
private
HZH_Controls
.
Controls
.
UCBottle
ucBottle1
;
private
HZH_Controls
.
Controls
.
UCBottle
ucBottle2
;
private
HZH_Controls
.
Controls
.
UCConveyor
ucConveyor1
;
private
HZH_Controls
.
Controls
.
UCConveyor
ucConveyor1
;
private
HZH_Controls
.
Controls
.
UCConveyor
ucConveyor2
;
private
HZH_Controls
.
Controls
.
UCConveyor
ucConveyor2
;
private
HZH_Controls
.
Controls
.
UCConveyor
ucConveyor3
;
private
HZH_Controls
.
Controls
.
UCConveyor
ucConveyor3
;
private
HZH_Controls
.
Controls
.
UCConveyor
ucConveyor4
;
private
HZH_Controls
.
Controls
.
UCConveyor
ucConveyor4
;
private
HZH_Controls
.
Controls
.
UCConveyor
ucConveyor5
;
private
HZH_Controls
.
Controls
.
UCConveyor
ucConveyor5
;
private
HZH_Controls
.
Controls
.
UCConveyor
ucConveyor6
;
private
HZH_Controls
.
Controls
.
UCConveyor
ucConveyor6
;
private
HZH_Controls
.
Controls
.
UCValve
ucValve1
;
private
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
ucConduit5
;
private
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
ucConduit26
;
private
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
ucConduit28
;
private
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
ucConduit29
;
private
HZH_Controls
.
Controls
.
Conduit
.
UCConduit
ucConduit30
;
}
}
}
}
\ No newline at end of file
\ No newline at end of file
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论