Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
张东亮
/
SO1057-XLRStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 3be7d8f6
由
张东亮
编写于
2025-03-10 11:12:46 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
入库ng上报
1 个父辈
910c844d
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
10 行增加
和
2 行删除
source/DeviceLibrary/storeBean/boxBean/BoxEquip_ConnectServerTimer.cs
source/DeviceLibrary/storeBean/inputBean/InputEquip.cs
source/DeviceLibrary/storeBean/inputBean/InputEquip_InStore.cs
source/DeviceLibrary/storeBean/boxBean/BoxEquip_ConnectServerTimer.cs
查看文件 @
3be7d8f
...
@@ -137,7 +137,12 @@ namespace OnlineStore.DeviceLibrary
...
@@ -137,7 +137,12 @@ namespace OnlineStore.DeviceLibrary
lineOperation
.
cid
=
CID
;
lineOperation
.
cid
=
CID
;
lineOperation
.
seq
=
ConfigAppSettings
.
nextSeq
();
lineOperation
.
seq
=
ConfigAppSettings
.
nextSeq
();
lineOperation
.
status
=
1
;
lineOperation
.
status
=
1
;
if
(
WarnMsg
!=
""
)
var
input
=
StoreManager
.
XLRStore
?.
inputEquip
;
if
(
input
!=
null
&&
!
string
.
IsNullOrEmpty
(
input
.
InstoreNgMsg
))
{
WarnMsg
=
input
.
InstoreNgMsg
;
}
else
if
(
WarnMsg
!=
""
)
{
{
lineOperation
.
status
=
(
int
)
DeviceStatus
.
Warning
;
lineOperation
.
status
=
(
int
)
DeviceStatus
.
Warning
;
lineOperation
.
msg
=
$
"W={WarnMsg}"
;
lineOperation
.
msg
=
$
"W={WarnMsg}"
;
...
...
source/DeviceLibrary/storeBean/inputBean/InputEquip.cs
查看文件 @
3be7d8f
...
@@ -111,7 +111,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -111,7 +111,7 @@ namespace OnlineStore.DeviceLibrary
}
}
SetAllTimer
(
false
);
SetAllTimer
(
false
);
MoveInfo
.
EndMove
();
MoveInfo
.
EndMove
();
InstoreNgMsg
=
""
;
LogInfo
(
"StartRun : 开始启动 "
);
LogInfo
(
"StartRun : 开始启动 "
);
runStatus
=
RunStatus
.
HomeMoving
;
runStatus
=
RunStatus
.
HomeMoving
;
MoveInfo
.
NewMove
(
MoveType
.
RHome
,
new
InOutParam
());
MoveInfo
.
NewMove
(
MoveType
.
RHome
,
new
InOutParam
());
...
...
source/DeviceLibrary/storeBean/inputBean/InputEquip_InStore.cs
查看文件 @
3be7d8f
...
@@ -18,6 +18,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -18,6 +18,7 @@ namespace OnlineStore.DeviceLibrary
{
{
public
bool
ClampEmptyMove
=
false
;
public
bool
ClampEmptyMove
=
false
;
public
Dictionary
<
int
,
int
>
reelHeightOffset
=
new
Dictionary
<
int
,
int
>();
public
Dictionary
<
int
,
int
>
reelHeightOffset
=
new
Dictionary
<
int
,
int
>();
public
string
InstoreNgMsg
=
""
;
protected
override
bool
CheckWaitResult
(
DeviceMoveInfo
moveInfo
,
WaitResultInfo
wait
)
protected
override
bool
CheckWaitResult
(
DeviceMoveInfo
moveInfo
,
WaitResultInfo
wait
)
{
{
TimeSpan
span
=
DateTime
.
Now
-
moveInfo
.
LastSetpTime
;
TimeSpan
span
=
DateTime
.
Now
-
moveInfo
.
LastSetpTime
;
...
@@ -490,6 +491,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -490,6 +491,7 @@ namespace OnlineStore.DeviceLibrary
else
if
(
MoveInfo
.
IsStep
(
StepEnum
.
II81_MiddleToNg
))
else
if
(
MoveInfo
.
IsStep
(
StepEnum
.
II81_MiddleToNg
))
{
{
MoveInfo
.
NextMoveStep
(
StepEnum
.
II82_InoutToP6
);
MoveInfo
.
NextMoveStep
(
StepEnum
.
II82_InoutToP6
);
InstoreNgMsg
=
$
"入库ng :{MoveInfo.MoveParam.PosInfo?.ToStr()}"
;
MoveLog
(
$
" 入料->NG箱 {MoveInfo.SLog}: 进出轴到P6(NG料区放料点){Config.Inout_P6}"
);
MoveLog
(
$
" 入料->NG箱 {MoveInfo.SLog}: 进出轴到P6(NG料区放料点){Config.Inout_P6}"
);
InOutAxis
.
AbsMove
(
MoveInfo
,
Config
.
Inout_P6
,
Config
.
Inout_P6_Speed
);
InOutAxis
.
AbsMove
(
MoveInfo
,
Config
.
Inout_P6
,
Config
.
Inout_P6_Speed
);
}
}
...
@@ -520,6 +522,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -520,6 +522,7 @@ namespace OnlineStore.DeviceLibrary
}
}
else
if
(
MoveInfo
.
IsStep
(
StepEnum
.
II86_1_InoutToP1
))
else
if
(
MoveInfo
.
IsStep
(
StepEnum
.
II86_1_InoutToP1
))
{
{
InstoreNgMsg
=
""
;
if
(
shelf
.
Equals
(
1
))
if
(
shelf
.
Equals
(
1
))
{
{
MoveLog
(
$
" 入料->NG箱放料结束"
);
MoveLog
(
$
" 入料->NG箱放料结束"
);
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论