Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
1069_MIMO_PlUS
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 6301bd2c
由
张东亮
编写于
2024-02-26 16:41:20 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
料串门兼容
1 个父辈
1f9364dd
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
11 行增加
和
11 行删除
DeviceLibrary/DeviceLibrary/ServerCommunication.cs
DeviceLibrary/theMachine/BoxTransport.cs
DeviceLibrary/theMachine/MainMachine.cs
DeviceLibrary/DeviceLibrary/ServerCommunication.cs
查看文件 @
6301bd2
...
@@ -702,7 +702,7 @@ namespace DeviceLibrary
...
@@ -702,7 +702,7 @@ namespace DeviceLibrary
string
server
=
GetAddr
(
Addr_cancelPutInTask
,
paramMap
);
string
server
=
GetAddr
(
Addr_cancelPutInTask
,
paramMap
);
DateTime
startTime
=
DateTime
.
Now
;
DateTime
startTime
=
DateTime
.
Now
;
string
resultStr
=
HttpHelper
.
Post
(
server
,
""
);
string
resultStr
=
HttpHelper
.
Post
(
server
,
""
);
LogUtil
.
info
(
deviceName
+
"cancelPutInTask "
+
FormUtil
.
GetSpanStr
(
DateTime
.
Now
-
startTime
)
+
" 【"
+
server
+
"】【"
+
resultStr
+
"】"
);
LogUtil
.
info
(
deviceName
+
"
cancelPutInTask "
+
FormUtil
.
GetSpanStr
(
DateTime
.
Now
-
startTime
)
+
" 【"
+
server
+
"】【"
+
resultStr
+
"】"
);
CanelResultData
data
=
JsonHelper
.
DeserializeJsonToObject
<
CanelResultData
>(
resultStr
);
CanelResultData
data
=
JsonHelper
.
DeserializeJsonToObject
<
CanelResultData
>(
resultStr
);
...
...
DeviceLibrary/theMachine/BoxTransport.cs
查看文件 @
6301bd2
...
@@ -452,14 +452,14 @@ namespace DeviceLibrary
...
@@ -452,14 +452,14 @@ namespace DeviceLibrary
break
;
break
;
case
MoveStep
.
StoreTS14
:
case
MoveStep
.
StoreTS14
:
MoveInfo
.
NextMoveStep
(
MoveStep
.
StoreTS15
);
MoveInfo
.
NextMoveStep
(
MoveStep
.
StoreTS15
);
if
(
Common
.
IsInstore
(
storeMoveType
)
&&
!(
mainMachine
?.
StoreMoveInfo
?.
MoveParam
.
IsNg
??
false
))
//
if (Common.IsInstore(storeMoveType) && !(mainMachine?.StoreMoveInfo?.MoveParam.IsNg ?? false))
{
//
{
if
(!
mainMachine
.
ServerCM
.
SendStoreState
(
mainMachine
?.
StoreMoveInfo
?.
MoveParam
?.
PosID
,
StoreStatus
.
InStoreEnd
))
//
if (!mainMachine.ServerCM.SendStoreState(mainMachine?.StoreMoveInfo?.MoveParam?.PosID, StoreStatus.InStoreEnd))
{
//
{
Msg
.
add
(
crc
.
GetString
(
"Res0008"
,
"服务器连接异常"
),
MsgLevel
.
warning
);
//
Msg.add(crc.GetString("Res0008", "服务器连接异常"), MsgLevel.warning);
return
false
;
//
return false;
}
//
}
}
//
}
InOut_Axis
.
AbsMove
(
MoveInfo
,
Config
.
InOut_P1
,
Config
.
InOut_P1_speed
);
InOut_Axis
.
AbsMove
(
MoveInfo
,
Config
.
InOut_P1
,
Config
.
InOut_P1_speed
);
MoveInfo
.
log
(
$
"{storeMoveType}:进出轴去待机点P1[{Config.InOut_P1}]"
);
MoveInfo
.
log
(
$
"{storeMoveType}:进出轴去待机点P1[{Config.InOut_P1}]"
);
break
;
break
;
...
...
DeviceLibrary/theMachine/MainMachine.cs
查看文件 @
6301bd2
...
@@ -707,7 +707,7 @@ namespace DeviceLibrary
...
@@ -707,7 +707,7 @@ namespace DeviceLibrary
AxisBean
.
StopMultiAxis
(
AxisBean
.
List
);
AxisBean
.
StopMultiAxis
(
AxisBean
.
List
);
MoveInfo
.
List
.
ForEach
((
m
)
=>
{
m
.
CanWhileCount
=
5
;
});
MoveInfo
.
List
.
ForEach
((
m
)
=>
{
m
.
CanWhileCount
=
5
;
});
SafetyDevice
.
PauseAll
();
SafetyDevice
.
PauseAll
();
StringDoor
.
Pause
();
StringDoor
?
.
Pause
();
if
(
runStatus
==
RunStatus
.
HomeReset
)
if
(
runStatus
==
RunStatus
.
HomeReset
)
{
{
...
@@ -722,7 +722,7 @@ namespace DeviceLibrary
...
@@ -722,7 +722,7 @@ namespace DeviceLibrary
{
{
AxisBean
axis
=
StringDoor
.
axisBean
;
AxisBean
axis
=
StringDoor
.
axisBean
;
AxisBean
.
StopMultiAxis
(
new
List
<
AxisBean
>
{
axis
});
AxisBean
.
StopMultiAxis
(
new
List
<
AxisBean
>
{
axis
});
StringDoor
.
Pause
();
StringDoor
?
.
Pause
();
if
(
runStatus
==
RunStatus
.
HomeReset
)
if
(
runStatus
==
RunStatus
.
HomeReset
)
{
{
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论