Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
SO827-OutletEquip
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 40750b29
由
LN
编写于
2021-04-15 09:58:03 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
发送当前库位号给环形线
1 个父辈
a43f065f
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
21 行增加
和
10 行删除
source/DeviceLibrary/bean/EquipBean.cs
source/DeviceLibrary/bean/EquipBean_Partial.cs
source/DeviceLibrary/lineConnect/LineConnect.cs
source/HCSingleStore/FrmEquip.cs
source/DeviceLibrary/bean/EquipBean.cs
查看文件 @
40750b2
...
...
@@ -1072,7 +1072,12 @@ namespace OnlineStore.DeviceLibrary
{
ss
=
(
int
)
StoreStatus
.
Debugging
;
}
StoreSendBean
store
=
lineConn
.
GetBean
((
int
)
ss
,
(
int
)
storeRunStatus
,
hasTray
,
(
int
)
alarmType
);
string
posId
=
""
;
if
(
MoveInfo
.
MoveType
.
Equals
(
StoreMoveType
.
OutStore
))
{
posId
=
MoveInfo
.
MoveParam
?.
PosInfo
.
BoxPosId
;
}
StoreSendBean
store
=
lineConn
.
GetBean
((
int
)
ss
,
(
int
)
storeRunStatus
,
hasTray
,
(
int
)
alarmType
,
posId
);
lineConn
.
SendHeart
(
store
);
}
...
...
source/DeviceLibrary/bean/EquipBean_Partial.cs
查看文件 @
40750b2
...
...
@@ -517,7 +517,7 @@ namespace OnlineStore.DeviceLibrary
else
if
(
MoveInfo
.
IsStep
(
MoveStep
.
SO_24_InoutBack
))
{
MoveInfo
.
NextMoveStep
(
MoveStep
.
SO_25_GoBack
);
MoveLog
(
" 返回待机点,轴2/轴1
/轴4动作至P1
,判断料架是否需要离开"
);
MoveLog
(
" 返回待机点,轴2/轴1
动作至P1,轴4到压紧前点
,判断料架是否需要离开"
);
foreach
(
WorkStation
obj
in
StationMap
.
Values
)
{
if
(
obj
.
CurrShelf
.
IsBusy
)
...
...
@@ -527,7 +527,7 @@ namespace OnlineStore.DeviceLibrary
break
;
}
}
ComMoveToPosition
(
moveP
.
ComPress_P
1
,
Config
.
CompAxis_P1
_Speed
);
ComMoveToPosition
(
moveP
.
ComPress_P
3
,
Config
.
CompAxis_P3
_Speed
);
ACAxisMove
(
Config
.
Middle_Axis
,
moveP
.
Middle_P1
,
Config
.
MiddleAxis_P1_Speed
);
ACAxisMove
(
Config
.
UpDown_Axis
,
moveP
.
UpDown_P1
,
Config
.
UpDownAxis_P1_Speed
);
}
...
...
@@ -575,8 +575,8 @@ namespace OnlineStore.DeviceLibrary
else
if
(
MoveInfo
.
IsStep
(
MoveStep
.
SO_34_InoutToP1
))
{
MoveInfo
.
NextMoveStep
(
MoveStep
.
SO_35_GoBack
);
MoveLog
(
" 返回待机点,轴2/轴1
/轴4动作至P1
)"
);
ComMoveToPosition
(
moveP
.
ComPress_P
1
,
Config
.
CompAxis_P1
_Speed
);
MoveLog
(
" 返回待机点,轴2/轴1
动作至P1,轴4回到压紧前点
)"
);
ComMoveToPosition
(
moveP
.
ComPress_P
3
,
Config
.
CompAxis_P3
_Speed
);
ACAxisMove
(
Config
.
Middle_Axis
,
moveP
.
Middle_P1
,
Config
.
MiddleAxis_P1_Speed
);
ACAxisMove
(
Config
.
UpDown_Axis
,
moveP
.
UpDown_P1
,
Config
.
UpDownAxis_P1_Speed
);
}
...
...
source/DeviceLibrary/lineConnect/LineConnect.cs
查看文件 @
40750b2
...
...
@@ -222,9 +222,9 @@ namespace OnlineStore.DeviceLibrary
}
public
StoreSendBean
GetBean
(
int
ss
,
int
runs
,
int
doorHasTray
,
int
alarmType
)
public
StoreSendBean
GetBean
(
int
ss
,
int
runs
,
int
doorHasTray
,
int
alarmType
,
string
currPosId
)
{
StoreSendBean
bean
=
new
StoreSendBean
(
ss
,
runs
,
doorHasTray
,
alarmType
);
StoreSendBean
bean
=
new
StoreSendBean
(
ss
,
runs
,
doorHasTray
,
alarmType
,
currPosId
);
bean
.
StoreId
=
StoreId
;
bean
.
Cid
=
CID
;
...
...
@@ -258,7 +258,7 @@ namespace OnlineStore.DeviceLibrary
}
public
class
StoreSendBean
{
public
StoreSendBean
(
int
ss
,
int
runs
,
int
doorHasTray
,
int
alarmType
)
public
StoreSendBean
(
int
ss
,
int
runs
,
int
doorHasTray
,
int
alarmType
,
string
currPosId
)
{
this
.
StoreId
=
7
;
this
.
Cid
=
""
;
...
...
@@ -282,7 +282,8 @@ namespace OnlineStore.DeviceLibrary
public
int
SRunStatus
=
0
;
public
int
DoorHasTray
=
0
;
public
int
AlarmType
=
0
;
public
string
CurrPosId
=
""
;
public
List
<
string
>
WaitInStoreList
=
new
List
<
string
>();
public
Dictionary
<
string
,
string
>
data
=
new
Dictionary
<
string
,
string
>();
...
...
source/HCSingleStore/FrmEquip.cs
查看文件 @
40750b2
...
...
@@ -617,7 +617,12 @@ namespace OnlineStore.ACSingleStore
{
ss
=
StoreStatus
.
Debugging
;
}
StoreSendBean
bean
=
equip
.
lineConn
.
GetBean
((
int
)
ss
,
(
int
)
StoreRunStatus
.
Runing
,
hasTray
,
(
int
)
StoreAlarmType
.
None
);
string
posid
=
""
;
if
(
equip
.
MoveInfo
.
MoveType
.
Equals
(
StoreMoveType
.
None
))
{
posid
=
equip
.
MoveInfo
.
MoveParam
?.
PosInfo
.
BoxPosId
;
}
StoreSendBean
bean
=
equip
.
lineConn
.
GetBean
((
int
)
ss
,
(
int
)
StoreRunStatus
.
Runing
,
hasTray
,
(
int
)
StoreAlarmType
.
None
,
posid
);
//bean.data.Add(ParamDefine.posId, cmbPosition.Text);
//bean.data.Add(ParamDefine.plateH, "8");
//bean.data.Add(ParamDefine.plateW, "7");
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论