Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
SO775-DUOStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 052b0a7e
由
LN
编写于
2020-10-26 14:04:05 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
bug修改
1 个父辈
1d1c5b98
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
9 行增加
和
5 行删除
source/DUOStore/FrmAxisMove.cs
source/DUOStore/FrmBox.cs
source/DeviceLibrary/duoStore/DUOStoreBean.cs
source/DUOStore/FrmAxisMove.cs
查看文件 @
052b0a7
...
@@ -47,6 +47,7 @@ namespace OnlineStore.DUOStore
...
@@ -47,6 +47,7 @@ namespace OnlineStore.DUOStore
txtMiddleP1
.
Text
=
StoreManager
.
Store
.
Config
.
MiddleAxis_P1
.
ToString
();
txtMiddleP1
.
Text
=
StoreManager
.
Store
.
Config
.
MiddleAxis_P1
.
ToString
();
txtMiddleP3
.
Text
=
StoreManager
.
Store
.
Config
.
MiddleAxis_P3
.
ToString
();
txtMiddleP3
.
Text
=
StoreManager
.
Store
.
Config
.
MiddleAxis_P3
.
ToString
();
txtMiddleP2
.
Text
=
StoreManager
.
Store
.
Config
.
MiddleAxis_P2
.
ToString
();
txtMiddleP2
.
Text
=
StoreManager
.
Store
.
Config
.
MiddleAxis_P2
.
ToString
();
txtT2P4
.
Text
=
StoreManager
.
Store
.
Config
.
MiddleAxis_P4
.
ToString
();
txtUpdownP1
.
Text
=
StoreManager
.
Store
.
Config
.
UpdownAxis_P1
.
ToString
();
txtUpdownP1
.
Text
=
StoreManager
.
Store
.
Config
.
UpdownAxis_P1
.
ToString
();
...
@@ -144,7 +145,7 @@ namespace OnlineStore.DUOStore
...
@@ -144,7 +145,7 @@ namespace OnlineStore.DUOStore
config
.
MiddleAxis_P1
=
FormUtil
.
GetIntValue
(
txtMiddleP1
);
config
.
MiddleAxis_P1
=
FormUtil
.
GetIntValue
(
txtMiddleP1
);
config
.
MiddleAxis_P2
=
FormUtil
.
GetIntValue
(
txtMiddleP2
);
config
.
MiddleAxis_P2
=
FormUtil
.
GetIntValue
(
txtMiddleP2
);
config
.
MiddleAxis_P3
=
FormUtil
.
GetIntValue
(
txtMiddleP3
);
config
.
MiddleAxis_P3
=
FormUtil
.
GetIntValue
(
txtMiddleP3
);
config
.
MiddleAxis_P4
=
FormUtil
.
GetIntValue
(
txtT2P4
);
config
.
UpdownAxis_P1
=
FormUtil
.
GetIntValue
(
txtUpdownP1
);
config
.
UpdownAxis_P1
=
FormUtil
.
GetIntValue
(
txtUpdownP1
);
config
.
UpdownAxis_P2
=
FormUtil
.
GetIntValue
(
txtUpdownP2
);
config
.
UpdownAxis_P2
=
FormUtil
.
GetIntValue
(
txtUpdownP2
);
config
.
UpdownAxis_P3
=
FormUtil
.
GetIntValue
(
txtUpdownP3
);
config
.
UpdownAxis_P3
=
FormUtil
.
GetIntValue
(
txtUpdownP3
);
...
...
source/DUOStore/FrmBox.cs
查看文件 @
052b0a7
...
@@ -78,7 +78,7 @@ namespace OnlineStore.DUOStore
...
@@ -78,7 +78,7 @@ namespace OnlineStore.DUOStore
chbDebug
.
Checked
=
BoxBean
.
IsDebug
;
chbDebug
.
Checked
=
BoxBean
.
IsDebug
;
this
.
ShowInTaskbar
=
true
;
this
.
ShowInTaskbar
=
true
;
//
txtTempPort.Text = BoxBean.Config.Humiture_Port;
txtTempPort
.
Text
=
BoxBean
.
Config
.
Humiture_Port
;
timer1
.
Start
();
timer1
.
Start
();
}
}
#
endregion
#
endregion
...
...
source/DeviceLibrary/duoStore/DUOStoreBean.cs
查看文件 @
052b0a7
...
@@ -64,7 +64,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -64,7 +64,7 @@ namespace OnlineStore.DeviceLibrary
BoxConfigMap
.
Add
(
config
.
Id
,
config
);
BoxConfigMap
.
Add
(
config
.
Id
,
config
);
}
}
Config
.
T3_Updown_Axis
.
BreakOnDO
=
IO_Type
.
MoveAxis_Break
;
Config
.
T3_Updown_Axis
.
BreakOnDO
=
IO_Type
.
MoveAxis_Break
;
Config
.
T1_Batch_Axis
.
BreakOnDO
=
IO_Type
.
Move
Axis_Break
;
Config
.
T1_Batch_Axis
.
BreakOnDO
=
IO_Type
.
Batch
Axis_Break
;
T1_BatchAxis
=
new
AxisBean
(
Config
.
T1_Batch_Axis
,
Name
);
T1_BatchAxis
=
new
AxisBean
(
Config
.
T1_Batch_Axis
,
Name
);
T2_MiddleAxis
=
new
AxisBean
(
Config
.
T2_Middle_Axis
,
Name
);
T2_MiddleAxis
=
new
AxisBean
(
Config
.
T2_Middle_Axis
,
Name
);
T3_UpdownAxis
=
new
AxisBean
(
Config
.
T3_Updown_Axis
,
Name
);
T3_UpdownAxis
=
new
AxisBean
(
Config
.
T3_Updown_Axis
,
Name
);
...
@@ -210,11 +210,12 @@ namespace OnlineStore.DeviceLibrary
...
@@ -210,11 +210,12 @@ namespace OnlineStore.DeviceLibrary
else
if
(
MoveInfo
.
IsStep
(
StoreMoveStep
.
LR_02_LineRun
))
else
if
(
MoveInfo
.
IsStep
(
StoreMoveStep
.
LR_02_LineRun
))
{
{
MoveInfo
.
NextMoveStep
(
StoreMoveStep
.
LR_03_BatchAxisHome
);
MoveInfo
.
NextMoveStep
(
StoreMoveStep
.
LR_03_BatchAxisHome
);
LogUtil
.
info
(
Name
+
"复位 "
+
MoveInfo
.
MoveStep
+
" :夹爪放松,提升轴回原点,上下轴回原点"
);
LogUtil
.
info
(
Name
+
"复位 "
+
MoveInfo
.
MoveStep
+
" :夹爪放松,提升轴回原点,上下轴回原点
,流水线停止
"
);
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
1000
));
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
1000
));
CylinderMove
(
MoveInfo
,
IO_Type
.
ClampCylinder_Clamp
,
IO_Type
.
ClampCylinder_Relax
);
CylinderMove
(
MoveInfo
,
IO_Type
.
ClampCylinder_Clamp
,
IO_Type
.
ClampCylinder_Relax
);
T1_BatchAxis
.
HomeMove
(
MoveInfo
);
T1_BatchAxis
.
HomeMove
(
MoveInfo
);
T3_UpdownAxis
.
HomeMove
(
MoveInfo
);
T3_UpdownAxis
.
HomeMove
(
MoveInfo
);
LineStop
(
MoveInfo
);
}
}
else
if
(
MoveInfo
.
IsStep
(
StoreMoveStep
.
LR_03_BatchAxisHome
))
else
if
(
MoveInfo
.
IsStep
(
StoreMoveStep
.
LR_03_BatchAxisHome
))
{
{
...
@@ -299,6 +300,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -299,6 +300,8 @@ namespace OnlineStore.DeviceLibrary
T1_BatchAxis
.
SuddenStop
(
true
);
T1_BatchAxis
.
SuddenStop
(
true
);
CloseAllAxis
();
CloseAllAxis
();
LineStop
();
}
}
...
@@ -315,7 +318,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -315,7 +318,7 @@ namespace OnlineStore.DeviceLibrary
runStatus
=
StoreRunStatus
.
Wait
;
runStatus
=
StoreRunStatus
.
Wait
;
// RFIDManager.Close();
// RFIDManager.Close();
TimeSpan
span
=
DateTime
.
Now
-
StartTime
;
TimeSpan
span
=
DateTime
.
Now
-
StartTime
;
LogUtil
.
info
(
Name
+
",停止运行,
关闭rfid,
总运行时间:"
+
span
.
ToString
());
LogUtil
.
info
(
Name
+
",停止运行,总运行时间:"
+
span
.
ToString
());
}
}
#
endregion
#
endregion
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论