Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
ACSingleStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 47649dac
由
几米阳光
编写于
2018-04-13 13:54:44 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
日志修改
1 个父辈
5a11e644
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
4 行增加
和
4 行删除
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean_Partial.cs
source/DeviceLibrary/store/model/StoreMoveInfo.cs
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean_Partial.cs
查看文件 @
47649da
...
@@ -97,7 +97,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -97,7 +97,7 @@ namespace OnlineStore.DeviceLibrary
TimeSpan
span
=
DateTime
.
Now
-
StoreMove
.
LastSetpTime
;
TimeSpan
span
=
DateTime
.
Now
-
StoreMove
.
LastSetpTime
;
if
(
span
.
TotalMinutes
>
5
)
if
(
span
.
TotalMinutes
>
5
)
{
{
WarnMsg
=
StoreName
+
"等待超时【"
+
StoreMove
.
MoveType
+
"】【"
+
StoreMove
.
MoveStep
+
"】已等待【"
+
span
.
TotalMinutes
+
"】分钟,"
;
WarnMsg
=
StoreName
+
"等待超时【"
+
StoreMove
.
MoveType
+
"】【"
+
StoreMove
.
MoveStep
+
"】已等待【"
+
Math
.
Round
(
span
.
TotalMinutes
)
+
"】分钟,"
;
foreach
(
WaitResultInfo
wait
in
list
)
foreach
(
WaitResultInfo
wait
in
list
)
{
{
WarnMsg
=
WarnMsg
+
"\r\n"
+
wait
.
ToStr
();
WarnMsg
=
WarnMsg
+
"\r\n"
+
wait
.
ToStr
();
...
...
source/DeviceLibrary/store/model/StoreMoveInfo.cs
查看文件 @
47649da
...
@@ -234,11 +234,11 @@ namespace OnlineStore.DeviceLibrary
...
@@ -234,11 +234,11 @@ namespace OnlineStore.DeviceLibrary
{
{
if
(
IsHomeMove
)
if
(
IsHomeMove
)
{
{
return
"轴【"
+
AxisInfo
.
ToString
()
+
"】原点返回"
;
return
"轴【"
+
AxisInfo
.
DisplayStr
+
"】原点返回"
;
}
}
else
else
{
{
return
"轴【"
+
AxisInfo
.
ToString
()
+
"】绝对运动,目标位置【"
+
TargetPosition
+
"】"
;
return
"轴【"
+
AxisInfo
.
DisplayStr
+
"】绝对运动,目标位置【"
+
TargetPosition
+
"】"
;
}
}
}
}
else
if
(
WaitType
==
2
)
else
if
(
WaitType
==
2
)
...
@@ -259,7 +259,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -259,7 +259,7 @@ namespace OnlineStore.DeviceLibrary
}
}
else
if
(
WaitType
==
6
)
else
if
(
WaitType
==
6
)
{
{
return
"轴【"
+
AxisInfo
.
ToString
()
+
"】ORG信号:【"
+
IoValue
+
"】 "
;
return
"轴【"
+
AxisInfo
.
DisplayStr
+
"】ORG信号:【"
+
IoValue
+
"】 "
;
}
}
{
{
return
"Wait位置类型:WaitType=【"
+
WaitType
+
"】"
;
return
"Wait位置类型:WaitType=【"
+
WaitType
+
"】"
;
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论