/// <summary> /// 关闭端口连接 /// </summary> public void Close( ) { if (SP_ReadData.IsOpen) { SP_ReadData.Close( ); } }
/// <summary> /// 关闭端口连接 /// </summary> public void Close( ) { if (SP_ReadData.IsOpen) { ExtraOnClose( ); SP_ReadData.Close( ); } }