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