| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -3,6 +3,9 @@ using GodSharp.SerialPort.Extensions; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					using GodSharp.SerialPort; | 
					 | 
					 | 
					 | 
					using GodSharp.SerialPort; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					using System.IO.Ports; | 
					 | 
					 | 
					 | 
					using System.IO.Ports; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					using System.Text.RegularExpressions; | 
					 | 
					 | 
					 | 
					using System.Text.RegularExpressions; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					using System.Linq; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					using System.Text; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					using System.Threading.Tasks; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					namespace Soul2.SerialPort.utils { | 
					 | 
					 | 
					 | 
					namespace Soul2.SerialPort.utils { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    /// <summary> | 
					 | 
					 | 
					 | 
					    /// <summary> | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -113,6 +116,7 @@ namespace Soul2.SerialPort.utils { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        /// </summary> | 
					 | 
					 | 
					 | 
					        /// </summary> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        /// <returns>是否已关闭</returns> | 
					 | 
					 | 
					 | 
					        /// <returns>是否已关闭</returns> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        public static bool close() { | 
					 | 
					 | 
					 | 
					        public static bool close() { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            be_sending = false; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            if (gsp == null) { | 
					 | 
					 | 
					 | 
					            if (gsp == null) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                return true; | 
					 | 
					 | 
					 | 
					                return true; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            } | 
					 | 
					 | 
					 | 
					            } | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |