Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
SO1196_X800
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit f436ade8
由
刘韬
编写于
2022-12-13 17:04:10 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
f5dc9139
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
10 行增加
和
3 行删除
DeviceLibrary/theMachine/MainMachine_Counting.cs
DeviceLibrary/theMachine/MainMachine_OutMove.cs
DeviceLibrary/userControl/AxisMoveControl.cs
DeviceLibrary/theMachine/MainMachine_Counting.cs
查看文件 @
f436ade
...
...
@@ -102,6 +102,12 @@ namespace DeviceLibrary
goto
retryopen
;
}
Thread
.
Sleep
(
1000
);
if
(!
RobotManage
.
XRay
.
SetVC
(
Setting_Init
.
XRay_Voltage
.
ToString
(),
Setting_Init
.
XRay_Current
.
ToString
()))
{
CountMoveInfo
.
log
(
string
.
Format
(
"X光电压电流设置失败:{0},{1}"
,
Setting_Init
.
XRay_Voltage
,
Setting_Init
.
XRay_Current
));
goto
retryopen
;
}
Thread
.
Sleep
(
1000
);
goto
retry
;
}
break
;
...
...
DeviceLibrary/theMachine/MainMachine_OutMove.cs
查看文件 @
f436ade
...
...
@@ -85,9 +85,9 @@ namespace DeviceLibrary
else
{
takeretry
++;
OutMoveInfo
.
MoveParam
.
PlateH
--
;
OutMoveInfo
.
MoveParam
.
PlateH
=
OutMoveInfo
.
MoveParam
.
PlateH
-
2
;
OutMoveInfo
.
log
(
$
"未取到料盘"
);
if
(
takeretry
<
3
)
if
(
takeretry
<
3
&&
OutMoveInfo
.
MoveParam
.
PlateH
>=
8
)
{
OutMoveInfo
.
NextMoveStep
(
MoveStep
.
Out_05
);
OutMoveInfo
.
log
(
$
"重试取盘:"
+
OutMoveInfo
.
MoveParam
.
PlateH
);
...
...
DeviceLibrary/userControl/AxisMoveControl.cs
查看文件 @
f436ade
...
...
@@ -425,7 +425,8 @@ namespace DeviceLibrary
lbl
.
BackColor
=
Color
.
Red
;
lblAlarmcode
.
Visible
=
true
;
lblAlarmcode
.
ForeColor
=
Color
.
Red
;
lblAlarmcode
.
Text
=
"错误码:"
+
HCBoardManager
.
GetAxErrCode
(
SlvAddr
);
var
err
=
HCBoardManager
.
GetAxisErrorDetail
(
SlvAddr
);
lblAlarmcode
.
Text
=
"错误码:"
+
err
[
0
]+
" "
+
err
[
1
];
}
else
{
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论