Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
SO664-AssemblyLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 433a2a8f
由
LN
编写于
2021-04-08 09:13:21 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
needEnter级别修改。finishEnter和finishLeave持续时间修改。
1 个父辈
e2cbaf4b
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
22 行增加
和
7 行删除
source/AssemblyLineClient/useControl/AxisMoveControl.Designer.cs
source/DeviceLibrary/assemblyLine/FeedingEquip.cs
source/DeviceLibrary/eyemLib.dll
source/AssemblyLineClient/useControl/AxisMoveControl.Designer.cs
查看文件 @
433a2a8
...
...
@@ -129,9 +129,9 @@
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnAxisVMove
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnReadPosition
);
this
.
groupAxis
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupAxis
.
Location
=
new
System
.
Drawing
.
Point
(
9
,
4
);
this
.
groupAxis
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
3
);
this
.
groupAxis
.
Name
=
"groupAxis"
;
this
.
groupAxis
.
Size
=
new
System
.
Drawing
.
Size
(
71
6
,
420
);
this
.
groupAxis
.
Size
=
new
System
.
Drawing
.
Size
(
71
7
,
420
);
this
.
groupAxis
.
TabIndex
=
218
;
this
.
groupAxis
.
TabStop
=
false
;
this
.
groupAxis
.
Text
=
"伺服运动"
;
...
...
@@ -1051,7 +1051,7 @@
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
None
;
this
.
Controls
.
Add
(
this
.
groupAxis
);
this
.
Name
=
"AxisMoveControl"
;
this
.
Size
=
new
System
.
Drawing
.
Size
(
7
31
,
428
);
this
.
Size
=
new
System
.
Drawing
.
Size
(
7
26
,
428
);
this
.
Load
+=
new
System
.
EventHandler
(
this
.
AxisMoveControl_Load
);
this
.
groupAxis
.
ResumeLayout
(
false
);
this
.
groupAxis
.
PerformLayout
();
...
...
source/DeviceLibrary/assemblyLine/FeedingEquip.cs
查看文件 @
433a2a8
...
...
@@ -903,10 +903,25 @@ namespace OnlineStore.DeviceLibrary
if
(
Config
.
IsCanOut
.
Equals
(
1
))
{
//如果是出料模块且当前无料架
if
(
IOValue
(
IO_Type
.
SL_Location_Check
).
Equals
(
IO_VALUE
.
LOW
)
&&
MoveInfo
.
MoveType
.
Equals
(
LineMoveType
.
None
))
if
(
IOValue
(
IO_Type
.
SL_
Stop_Check
).
Equals
(
IO_VALUE
.
LOW
)
&&
IOValue
(
IO_Type
.
SL_
Location_Check
).
Equals
(
IO_VALUE
.
LOW
)
&&
MoveInfo
.
MoveType
.
Equals
(
LineMoveType
.
None
))
{
level
=
ClientLevel
.
High
;
}
else
if
(
IOValue
(
IO_Type
.
SL_Stop_Check
).
Equals
(
IO_VALUE
.
LOW
)
&&
IOValue
(
IO_Type
.
SL_Location_Check
).
Equals
(
IO_VALUE
.
HIGH
))
{
level
=
ClientLevel
.
Middle
;
}
}
else
{
if
(
IOValue
(
IO_Type
.
SL_Stop_Check
).
Equals
(
IO_VALUE
.
LOW
)
&&
IOValue
(
IO_Type
.
SL_Location_Check
).
Equals
(
IO_VALUE
.
LOW
)
&&
MoveInfo
.
MoveType
.
Equals
(
LineMoveType
.
None
))
{
level
=
ClientLevel
.
High
;
}
else
if
(
IOValue
(
IO_Type
.
SL_Stop_Check
).
Equals
(
IO_VALUE
.
LOW
)
&&
IOValue
(
IO_Type
.
SL_Location_Check
).
Equals
(
IO_VALUE
.
HIGH
))
{
level
=
ClientLevel
.
Middle
;
}
}
AgvClient
.
NeedEnter
(
Config
.
AgvInName
,
""
,
level
);
}
...
...
@@ -1016,7 +1031,7 @@ namespace OnlineStore.DeviceLibrary
IOMove
(
stopDo
,
IO_VALUE
.
LOW
);
AgvClient
.
SetStatus
(
Config
.
AgvOutName
,
LastOutShelfId
,
ClientAction
.
FinishLeave
,
ClientLevel
.
High
,
true
);
Thread
.
Sleep
(
1
000
);
Thread
.
Sleep
(
5
000
);
AgvClient
.
SetStatus
(
Config
.
AgvOutName
,
""
,
ClientAction
.
None
,
ClientLevel
.
High
,
true
);
ProcessShelfOut
=
false
;
...
...
@@ -1088,9 +1103,9 @@ namespace OnlineStore.DeviceLibrary
IOMove
(
IO_Type
.
SL_Line_Run
,
IO_VALUE
.
LOW
);
}
//料架可离开
//
AgvClient.SetStatus(Config.AgvInName, "", ClientAction.FinishEnter, ClientLevel.High, true);
AgvClient
.
SetStatus
(
Config
.
AgvInName
,
""
,
ClientAction
.
FinishEnter
,
ClientLevel
.
High
,
true
);
Thread
.
Sleep
(
1
000
);
Thread
.
Sleep
(
5
000
);
AgvClient
.
SetStatus
(
Config
.
AgvInName
,
""
,
ClientAction
.
None
,
ClientLevel
.
High
,
true
);
ProcessShelfEnter
=
false
;
LogUtil
.
info
(
logName
+
" 结束"
);
...
...
source/DeviceLibrary/eyemLib.dll
查看文件 @
433a2a8
此文件类型无法预览
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论