|
@@ -294,11 +294,6 @@ namespace CyberX8_RT.Devices.EFEM
|
|
|
|
|
|
public override bool Halt()
|
|
public override bool Halt()
|
|
{
|
|
{
|
|
- if (_status == RState.Running && _currentMessage != null)
|
|
|
|
- {
|
|
|
|
- LOG.WriteLog(eEvent.ERR_EFEM_COMMON_FAILED, Module.ToString(), $"Current Msg {_currentMessage.Operation} is Running,cannot halt");
|
|
|
|
- return false;
|
|
|
|
- }
|
|
|
|
//判断socket是否链接
|
|
//判断socket是否链接
|
|
if (!_socket.IsConnected)
|
|
if (!_socket.IsConnected)
|
|
{
|
|
{
|