Commit 9624e36d 张东亮

折叠门光栅只对折叠门有效

1 个父辈 6629c9e5
......@@ -22,7 +22,7 @@ namespace DeviceLibrary
string down;
string saftylight;
string axisbreak;
AxisBean axisBean;
public AxisBean axisBean;
int upspeed;
int downspeed;
int StrokeLength = 270000;
......
......@@ -644,7 +644,7 @@ namespace DeviceLibrary
// StringDoor.Pause();
//}
ok = false;
DeviceSuddenStop();
StringDoorSuddenStop();
}
//else if (!lastStringSafetyStatus)
//{
......@@ -711,7 +711,20 @@ namespace DeviceLibrary
}
}
}
void StringDoorSuddenStop()
{
if (lastSafeCheckStatus)
{
AxisBean axis = StringDoor.axisBean;
AxisBean.StopMultiAxis(new List<AxisBean> { axis });
StringDoor.Pause();
if (runStatus == RunStatus.HomeReset)
{
ResetMoveInfo.NewMove(MoveStep.H01_HomeReset);
}
}
}
/// <summary>
/// 最后一次气压检测变为0的时间
/// </summary>
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!