秒数修改
This commit is contained in:
		
							parent
							
								
									6b6a2ba669
								
							
						
					
					
						commit
						5d2e6cc6df
					
				| @ -33,7 +33,7 @@ export async function getTCP(flag=false) { | |||||||
|             if(!globalThis.getCloseTcp){ |             if(!globalThis.getCloseTcp){ | ||||||
|               await globalThis.TcpClient.sendMsg(globalThis.carInfo.carNo) //1002
 |               await globalThis.TcpClient.sendMsg(globalThis.carInfo.carNo) //1002
 | ||||||
|               globalThis.tcpStep+=1 |               globalThis.tcpStep+=1 | ||||||
|               if(globalThis.tcpStep>10){ |               if(globalThis.tcpStep>30){ | ||||||
|                 getTCP() |                 getTCP() | ||||||
|               } |               } | ||||||
|             } |             } | ||||||
| @ -72,7 +72,7 @@ export async function getTCP(flag=false) { | |||||||
|         if(!globalThis.getCloseTcp){ |         if(!globalThis.getCloseTcp){ | ||||||
|           await globalThis.TcpClient.sendMsg(globalThis.carInfo.carNo) //1002
 |           await globalThis.TcpClient.sendMsg(globalThis.carInfo.carNo) //1002
 | ||||||
|           globalThis.tcpStep+=1 |           globalThis.tcpStep+=1 | ||||||
|           if(globalThis.tcpStep>10){ |           if(globalThis.tcpStep>30){ | ||||||
|             getTCP() |             getTCP() | ||||||
|           } |           } | ||||||
|         } |         } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user