Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-ACPackingStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 9717704f
由
LN
编写于
2019-11-08 09:03:11 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
d4450cba
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
47 行增加
和
25 行删除
source/DeviceLibrary/ACPackingStore/AC_BOX_Bean_Partial.cs
source/DeviceLibrary/ACPackingStore/AC_BOX_Bean_Shelf.cs
source/DeviceLibrary/DeviceLibrary.csproj
source/DeviceLibrary/StoreConfig/BoxConfig_1.csv
source/DeviceLibrary/store/StoreStep.cs
source/DeviceLibrary/ACPackingStore/AC_BOX_Bean_Partial.cs
查看文件 @
9717704
...
@@ -11,9 +11,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -11,9 +11,7 @@ namespace OnlineStore.DeviceLibrary
partial
class
AC_BOX_Bean
partial
class
AC_BOX_Bean
{
{
#
region
自动出入库参数
#
region
自动出入库参数
/// <summary>
/// <summary>
/// 入库完成后自动出库,出库完成后自动入库
/// 入库完成后自动出库,出库完成后自动入库
/// </summary>
/// </summary>
...
@@ -226,7 +224,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -226,7 +224,7 @@ namespace OnlineStore.DeviceLibrary
/// <summary>
/// <summary>
/// 开始入库移动移动
/// 开始入库移动移动
/// </summary>
/// </summary>
public
void
StartInStoreMove
(
InOutParam
param
,
bool
isNeedCheckIO
)
public
override
void
StartInStoreMove
(
InOutParam
param
)
{
{
startInStoreTime
=
DateTime
.
Now
;
startInStoreTime
=
DateTime
.
Now
;
string
posId
=
param
!=
null
?
param
.
PositionNum
:
""
;
string
posId
=
param
!=
null
?
param
.
PositionNum
:
""
;
...
@@ -246,33 +244,15 @@ namespace OnlineStore.DeviceLibrary
...
@@ -246,33 +244,15 @@ namespace OnlineStore.DeviceLibrary
storeRunStatus
=
StoreRunStatus
.
Busy
;
storeRunStatus
=
StoreRunStatus
.
Busy
;
storeStatus
=
StoreStatus
.
InStoreExecute
;
storeStatus
=
StoreStatus
.
InStoreExecute
;
MoveInfo
.
NewMove
(
StoreMoveType
.
InStore
,
param
);
MoveInfo
.
NewMove
(
StoreMoveType
.
InStore
,
param
);
if
(
isNeedCheckIO
)
{
//料盘检测
InStoreLog
(
" 入库:SI_00 检测料盘信号"
);
MoveInfo
.
NextMoveStep
(
StoreMoveStep
.
SI_00_TrayCheck
);
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
TrayCheck_Door
,
IO_VALUE
.
HIGH
));
}
else
{
SI_02_Move
(
param
.
MoveP
);
SI_02_Move
(
param
.
MoveP
);
}
}
}
else
else
{
{
LogUtil
.
error
(
Name
+
" 启动【"
+
posId
+
"】入库出错,当前状态,storeStatus="
+
storeRunStatus
);
LogUtil
.
error
(
Name
+
" 启动【"
+
posId
+
"】入库出错,当前状态,storeStatus="
+
storeRunStatus
);
}
}
}
}
/// <summary>
/// 开始入库移动移动
/// </summary>
public
override
void
StartInStoreMove
(
InOutParam
param
)
{
StartInStoreMove
(
param
,
false
);
}
private
void
SI_02_Move
(
LineMoveP
moveP
)
private
void
SI_02_Move
(
LineMoveP
moveP
)
{
{
InStoreLog
(
"入库:SI_02_ 进出轴(叉子)动作至P1,打开舱门"
);
InStoreLog
(
"入库:SI_02_ 进出轴(叉子)动作至P1,打开舱门"
);
...
@@ -668,6 +648,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -668,6 +648,8 @@ namespace OnlineStore.DeviceLibrary
}
}
#
endregion
#
endregion
public
List
<
FixtureCodeInfo
>
waitOutStoreList
=
new
List
<
FixtureCodeInfo
>();
public
List
<
FixtureCodeInfo
>
waitOutStoreList
=
new
List
<
FixtureCodeInfo
>();
public
object
waitOutListLock
=
""
;
public
object
waitOutListLock
=
""
;
...
...
source/DeviceLibrary/ACPackingStore/AC_BOX_Bean_Shelf.cs
0 → 100644
查看文件 @
9717704
using
OnlineStore.LoadCSVLibrary
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
OnlineStore.DeviceLibrary
{
/// <summary>
/// 料架新增的出入库逻辑
/// </summary>
partial
class
AC_BOX_Bean
{
/// <summary>
/// 开始入库移动移动
/// </summary>
public
void
StartShelfInStore
()
{
if
(
storeRunStatus
==
StoreRunStatus
.
Runing
)
{
if
(
IOValue
(
IO_Type
.
LineIn_Check
).
Equals
(
IO_VALUE
.
HIGH
))
{
LogInfo
(
" 空闲中,检测到入料口有信号,入料口移门打开,"
);
storeRunStatus
=
StoreRunStatus
.
Busy
;
storeStatus
=
StoreStatus
.
InStoreExecute
;
MoveInfo
.
NewMove
(
StoreMoveType
.
InStore
,
new
InOutParam
());
MoveInfo
.
NextMoveStep
(
StoreMoveStep
.
BOX_M_H_TOP1_OtherAxisToP1
)
}
}
}
}
}
source/DeviceLibrary/DeviceLibrary.csproj
查看文件 @
9717704
...
@@ -64,6 +64,7 @@
...
@@ -64,6 +64,7 @@
<ItemGroup>
<ItemGroup>
<Compile Include="ACPackingStore\AC_BOX_Bean.cs" />
<Compile Include="ACPackingStore\AC_BOX_Bean.cs" />
<Compile Include="ACPackingStore\AC_BOX_Bean_Partial.cs" />
<Compile Include="ACPackingStore\AC_BOX_Bean_Partial.cs" />
<Compile Include="ACPackingStore\AC_BOX_Bean_Shelf.cs" />
<Compile Include="ACPackingStore\PackingStoreBean.cs" />
<Compile Include="ACPackingStore\PackingStoreBean.cs" />
<Compile Include="ACPackingStore\PackingStoreBean_Partial.cs" />
<Compile Include="ACPackingStore\PackingStoreBean_Partial.cs" />
<Compile Include="ACPackingStore\StoreManager.cs" />
<Compile Include="ACPackingStore\StoreManager.cs" />
...
...
source/DeviceLibrary/StoreConfig/BoxConfig_1.csv
查看文件 @
9717704
...
@@ -119,6 +119,6 @@ PRO,需要吹气的湿度(湿度标准),Max_Humidity,10,,,,,,,
...
@@ -119,6 +119,6 @@ PRO,需要吹气的湿度(湿度标准),Max_Humidity,10,,,,,,,
PRO,每次吹气的时间(分钟),BlowAir_Time,10,,,,,,,
PRO,每次吹气的时间(分钟),BlowAir_Time,10,,,,,,,
PRO,两次吹气间隔(分钟),BlowAir_Interval,10,,,,,,,
PRO,两次吹气间隔(分钟),BlowAir_Interval,10,,,,,,,
PRO,温湿度端口号,Humiture_Port,COM2,,,,,,,
PRO,温湿度端口号,Humiture_Port,COM2,,,,,,,
PRO,扫码的相机名称(多个用#分隔),CameraNameList,Name1#Name1,,,,,
PRO,扫码的相机名称(多个用#分隔),CameraNameList,Name1#Name1,,,,,
,,
PRO,RFID读卡器IP,RFID_IP,192.168.200.11,,,,,,,
PRO,RFID读卡器IP,RFID_IP,192.168.200.11,,,,,,,
PRO,是否是调试状态,IsInDebug,1,,,,,,,
PRO,是否是调试状态,IsInDebug,1,,,,,,,
source/DeviceLibrary/store/StoreStep.cs
查看文件 @
9717704
此文件的差异被折叠,
点击展开。
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论