Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
1069_MIMO_PlUS
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 751367a6
由
刘韬
编写于
2024-10-10 14:41:04 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
支持最大72mm料盘
1 个父辈
5a37209d
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
5 行增加
和
5 行删除
DeviceLibrary/DeviceLibrary/ServerCommunication.cs
DeviceLibrary/theMachine/MainMachine.cs
DeviceLibrary/theMachine/MainMachine_String.cs
DeviceLibrary/DeviceLibrary/ServerCommunication.cs
查看文件 @
751367a
...
@@ -611,8 +611,8 @@ namespace DeviceLibrary
...
@@ -611,8 +611,8 @@ namespace DeviceLibrary
if
(
RobotManage
.
mainMachine
.
IsInStoreReady
)
if
(
RobotManage
.
mainMachine
.
IsInStoreReady
)
{
{
WarnMsg
=
""
;
WarnMsg
=
""
;
if
(
plateH
>
56
)
if
(
plateH
>
72
)
plateH
=
56
;
plateH
=
72
;
JobInfo
inStoreJob
=
new
JobInfo
(
message
,
posId
,
plateW
,
plateH
);
JobInfo
inStoreJob
=
new
JobInfo
(
message
,
posId
,
plateW
,
plateH
);
RobotManage
.
mainMachine
.
StartInStore
(
inStoreJob
);
RobotManage
.
mainMachine
.
StartInStore
(
inStoreJob
);
//如果当前正在出入库中,需要记录下来,等待空闲时执行
//如果当前正在出入库中,需要记录下来,等待空闲时执行
...
...
DeviceLibrary/theMachine/MainMachine.cs
查看文件 @
751367a
...
@@ -737,7 +737,7 @@ namespace DeviceLibrary
...
@@ -737,7 +737,7 @@ namespace DeviceLibrary
{
{
StoreMoveInfo
.
NewMove
(
MoveStep
.
StoreOut_NGPre
);
StoreMoveInfo
.
NewMove
(
MoveStep
.
StoreOut_NGPre
);
StoreMoveInfo
.
MoveParam
.
PosID
=
"NG"
;
StoreMoveInfo
.
MoveParam
.
PosID
=
"NG"
;
StoreMoveInfo
.
MoveParam
.
PlateH
=
56
;
StoreMoveInfo
.
MoveParam
.
PlateH
=
72
;
StoreMoveInfo
.
MoveParam
.
PlateW
=
7
;
StoreMoveInfo
.
MoveParam
.
PlateW
=
7
;
StoreMoveInfo
.
MoveParam
.
IsNg
=
true
;
StoreMoveInfo
.
MoveParam
.
IsNg
=
true
;
StoreMoveInfo
.
MoveParam
.
NgMsg
=
crc
.
GetString
(
L
.
tray_detect_reel_01
,
"料叉传感器感应到有料,请人工确认"
);
StoreMoveInfo
.
MoveParam
.
NgMsg
=
crc
.
GetString
(
L
.
tray_detect_reel_01
,
"料叉传感器感应到有料,请人工确认"
);
...
...
DeviceLibrary/theMachine/MainMachine_String.cs
查看文件 @
751367a
...
@@ -664,7 +664,7 @@ namespace DeviceLibrary
...
@@ -664,7 +664,7 @@ namespace DeviceLibrary
catch
(
Exception
e
)
catch
(
Exception
e
)
{
{
LogUtil
.
error
(
$
"{prefix}使用自定义高度列表异常"
,
e
);
LogUtil
.
error
(
$
"{prefix}使用自定义高度列表异常"
,
e
);
List
<
int
>
heightList
=
new
List
<
int
>
{
8
,
12
,
16
,
24
,
32
,
44
,
56
};
List
<
int
>
heightList
=
new
List
<
int
>
{
8
,
12
,
16
,
24
,
32
,
44
,
56
,
72
};
float
minCha
=
float
.
MaxValue
;
float
minCha
=
float
.
MaxValue
;
foreach
(
int
h
in
heightList
)
foreach
(
int
h
in
heightList
)
{
{
...
@@ -688,7 +688,7 @@ namespace DeviceLibrary
...
@@ -688,7 +688,7 @@ namespace DeviceLibrary
}
}
else
else
{
{
List
<
int
>
heightList
=
new
List
<
int
>
{
8
,
12
,
16
,
24
,
32
,
44
,
56
};
List
<
int
>
heightList
=
new
List
<
int
>
{
8
,
12
,
16
,
24
,
32
,
44
,
56
,
72
};
float
minCha
=
float
.
MaxValue
;
float
minCha
=
float
.
MaxValue
;
foreach
(
int
h
in
heightList
)
foreach
(
int
h
in
heightList
)
{
{
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论