Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC30-AutoInOutStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 5d47e39a
由
几米阳光
编写于
2019-05-22 10:57:38 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
215f7061
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
7 行增加
和
7 行删除
source/DeviceLibrary/DeviceLibrary/IO/AIOBOX/BLL.cs
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean_Partial.cs
source/DeviceLibrary/acSingleStore/AutomaticBaiting_Partial.cs
source/DeviceLibrary/DeviceLibrary/IO/AIOBOX/BLL.cs
查看文件 @
5d47e39
...
...
@@ -47,9 +47,9 @@ namespace Asa.IOModule
private
Thread
tLogOut
;
//日志输出
private
Thread
tReconn
;
//断开重连
private
const
int
SEND_SLEEP
=
30
;
//发送命令间隔
private
const
int
NET_SLEEP
=
30
;
//接收网络间隔
private
const
int
TRIG_SLEEP
=
3
0
;
//触发事件间隔
private
const
int
SEND_SLEEP
=
15
;
//发送命令间隔
private
const
int
NET_SLEEP
=
15
;
//接收网络间隔
private
const
int
TRIG_SLEEP
=
2
0
;
//触发事件间隔
/// <summary>
/// 自动读取DI委托
...
...
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean_Partial.cs
查看文件 @
5d47e39
...
...
@@ -202,7 +202,7 @@ namespace OnlineStore.DeviceLibrary
{
if
(!
wait
.
IsEnd
)
{
wait
.
IsEnd
=
AutomaticBaiting
.
BatchAxisIsEnd
(
wait
);
wait
.
IsEnd
=
AutomaticBaiting
.
BatchAxisIsEnd
(
wait
,
span
);
}
if
(!
wait
.
IsEnd
)
{
...
...
source/DeviceLibrary/acSingleStore/AutomaticBaiting_Partial.cs
查看文件 @
5d47e39
...
...
@@ -153,7 +153,7 @@ namespace OnlineStore.DeviceLibrary
else
if
(
wait
.
WaitType
==
(
int
)
Wait_Type
.
BatchAxisMove_10
)
{
wait
.
IsEnd
=
BatchAxisIsEnd
(
wait
);
wait
.
IsEnd
=
BatchAxisIsEnd
(
wait
,
span
);
if
(
wait
.
IsEnd
)
{
BatchAxisController
.
StopCheck
();
...
...
@@ -259,7 +259,7 @@ namespace OnlineStore.DeviceLibrary
/// </summary>
/// <param name="wait"></param>
/// <returns></returns>
public
static
bool
BatchAxisIsEnd
(
WaitResultInfo
wait
)
public
static
bool
BatchAxisIsEnd
(
WaitResultInfo
wait
,
TimeSpan
startSpan
)
{
bool
result
=
false
;
if
(
IOManager
.
IOValue
(
wait
.
IoType
).
Equals
(
IO_VALUE
.
HIGH
))
...
...
@@ -277,7 +277,7 @@ namespace OnlineStore.DeviceLibrary
LogUtil
.
debug
(
wait
.
ToStr
()
+
" 停止运动"
);
ACServerManager
.
SuddenStop
(
wait
.
AxisInfo
);
}
else
else
if
(
startSpan
.
TotalSeconds
>
2
)
{
TimeSpan
span
=
DateTime
.
Now
-
AxisResetMoveTime
;
if
((
AutoBaitingStatus
.
Equals
(
StoreRunStatus
.
Busy
)||
AutoBaitingStatus
.
Equals
(
StoreRunStatus
.
Reset
))
&&
span
.
TotalSeconds
>
10
)
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论