Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
ACSingleStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit a5400f31
由
LN
编写于
2020-04-29 08:45:29 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
增加出库完成状态
1 个父辈
d14242b5
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
34 行增加
和
16 行删除
source/ACSingleStore/resource/language.resource
source/DeviceLibrary/ResourceControl.cs
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean.cs
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean_Partial.cs
source/DeviceLibrary/store/KTK_DeviceBase.cs
source/DeviceLibrary/store/StoreStep.cs
source/ACSingleStore/resource/language.resource
查看文件 @
a5400f3
...
...
@@ -312,3 +312,4 @@ WaitSingle,等待信号,Wait signal
TimeOut,超时,Time out
Run,运行中,Runing
Runing,运行中,Runing
OutStorEnd,出库完成,OutStorEnd
\ No newline at end of file
source/DeviceLibrary/ResourceControl.cs
查看文件 @
a5400f3
...
...
@@ -389,5 +389,9 @@ namespace OnlineStore.DeviceLibrary
/// 批量轴已满,请取出料盘
/// </summary>
public
static
string
OutFull
=
"OutFull"
;
/// <summary>
/// 出库完成
/// </summary>
public
static
string
OutStorEnd
=
"OutStorEnd"
;
}
}
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean.cs
查看文件 @
a5400f3
...
...
@@ -1352,7 +1352,10 @@ namespace OnlineStore.DeviceLibrary
if
(
isInSuddenDown
||
isNoAirCheck
||
(!
storeRunStatus
.
Equals
(
StoreRunStatus
.
Runing
))
||
storeStatus
.
Equals
(
StoreStatus
.
InStoreExecute
)
||
storeStatus
.
Equals
(
StoreStatus
.
OutStoreExecute
)
||
storeStatus
.
Equals
(
StoreStatus
.
InStoreEnd
)
||
storeStatus
.
Equals
(
StoreStatus
.
OutStoreBoxEnd
))
||
storeStatus
.
Equals
(
StoreStatus
.
InStoreEnd
)
||
storeStatus
.
Equals
(
StoreStatus
.
OutStoreBoxEnd
)
||
storeStatus
.
Equals
(
StoreStatus
.
OutStorEnd
)
)
{
return
false
;
}
...
...
@@ -1906,7 +1909,8 @@ namespace OnlineStore.DeviceLibrary
{
boxStatus
.
status
=
(
int
)
StoreStatus
.
Debugging
;
}
else
if
(
storeStatus
.
Equals
(
StoreStatus
.
OutStoreBoxEnd
)
||
storeStatus
.
Equals
(
StoreStatus
.
InStoreEnd
))
else
if
(
storeStatus
.
Equals
(
StoreStatus
.
OutStoreBoxEnd
)
||
storeStatus
.
Equals
(
StoreStatus
.
InStoreEnd
)
||
storeStatus
.
Equals
(
StoreStatus
.
OutStorEnd
))
{
boxStatus
.
data
.
Add
(
ParamDefine
.
posId
,
lastPosId
);
}
...
...
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean_Partial.cs
查看文件 @
a5400f3
...
...
@@ -710,10 +710,8 @@ namespace OnlineStore.DeviceLibrary
{
if
(
IOManager
.
IOValue
(
IO_Type
.
TrayCheck_Fixture
).
Equals
(
IO_VALUE
.
LOW
))
{
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
SO_14_GoBack
);
OutStoreLog
(
"出库:SO_13 升降轴返回,轴2至P1(待机点) ,关闭舱门"
);
ACAxisMove
(
Config
.
UpDown_Axis
,
moveP
.
UpDown_P1
,
Config
.
UpDownAxis_P1_Speed
);
CloseDoorAndWait
();
SO_14_GoBack
();
}
else
{
...
...
@@ -724,10 +722,7 @@ namespace OnlineStore.DeviceLibrary
}
else
if
(
StoreMove
.
MoveStep
==
StoreMoveStep
.
SO_13_CheckTray
)
{
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
SO_14_GoBack
);
OutStoreLog
(
"出库:SO_13 升降轴返回,轴2至P1(待机点) ,关闭舱门"
);
ACAxisMove
(
Config
.
UpDown_Axis
,
moveP
.
UpDown_P1
,
Config
.
UpDownAxis_P1_Speed
);
CloseDoorAndWait
();
SO_14_GoBack
();
}
else
if
(
StoreMove
.
MoveStep
==
StoreMoveStep
.
SO_14_GoBack
)
{
...
...
@@ -761,6 +756,20 @@ namespace OnlineStore.DeviceLibrary
}
}
private
void
SO_14_GoBack
()
{
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
SO_14_GoBack
);
OutStoreLog
(
"出库:SO_13 升降轴返回,轴2至P1(待机点) ,关闭舱门,更改状态为出库完成"
);
ACAxisMove
(
Config
.
UpDown_Axis
,
StoreMove
.
MoveParam
.
MoveP
.
UpDown_P1
,
Config
.
UpDownAxis_P1_Speed
);
CloseDoorAndWait
();
//改为出库完成
string
posId
=
StoreMove
.
MoveParam
!=
null
?
StoreMove
.
MoveParam
.
PositionNum
:
""
;
lastPosId
=
posId
;
lastPosIdStatus
=
StoreStatus
.
OutStorEnd
;
storeStatus
=
StoreStatus
.
OutStorEnd
;
}
private
void
SO_10_DeviceToDoorPro
()
{
LineMoveP
moveP
=
StoreMove
.
MoveParam
.
MoveP
;
...
...
source/DeviceLibrary/store/KTK_DeviceBase.cs
查看文件 @
a5400f3
...
...
@@ -161,8 +161,8 @@ namespace OnlineStore.DeviceLibrary
case
StoreStatus
.
InStoreFaild
:
aa
=
ResourceControl
.
GetString
(
ResourceControl
.
InStoreFailed
,
"入库失败"
)
+
"("
+
WarnObj
.
WarnMsg
+
")"
;
break
;
case
StoreStatus
.
OutStoreFail
d
:
aa
=
ResourceControl
.
GetString
(
ResourceControl
.
OutStor
eFailed
,
"出库失败
"
)
+
"("
+
WarnObj
.
WarnMsg
+
")"
;
case
StoreStatus
.
OutStorEn
d
:
aa
=
ResourceControl
.
GetString
(
ResourceControl
.
OutStor
End
,
"出库完成
"
)
+
"("
+
WarnObj
.
WarnMsg
+
")"
;
break
;
}
if
(!
String
.
IsNullOrEmpty
(
aa
))
...
...
source/DeviceLibrary/store/StoreStep.cs
查看文件 @
a5400f3
...
...
@@ -93,13 +93,13 @@ namespace OnlineStore.DeviceLibrary
/// </summary>
OutStoreBoxEnd
=
10
,
/// <summary>
///
12=移栽出库移栽过程中(移栽完成后变成OnLine)
///
11=出库完成
/// </summary>
Out
MoveExecute
=
12
,
Out
StorEnd
=
11
,
/// <summary>
///
11=出库失败
///
12=移栽出库移栽过程中(移栽完成后变成OnLine)
/// </summary>
Out
StoreFaild
=
11
,
Out
MoveExecute
=
12
,
/// <summary>
/// 重置中(原点返回和重置都发此状态)
/// </summary>
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论