From 5d2e6cc6dfc041fed2ca24dd68b81a4386d34286 Mon Sep 17 00:00:00 2001 From: lv <1344032923@qq.com> Date: Mon, 28 Apr 2025 16:54:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=92=E6=95=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/ets/common/utils/GlobalTcp.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entry/src/main/ets/common/utils/GlobalTcp.ts b/entry/src/main/ets/common/utils/GlobalTcp.ts index 93212af6..ea765d24 100644 --- a/entry/src/main/ets/common/utils/GlobalTcp.ts +++ b/entry/src/main/ets/common/utils/GlobalTcp.ts @@ -33,7 +33,7 @@ export async function getTCP(flag=false) { if(!globalThis.getCloseTcp){ await globalThis.TcpClient.sendMsg(globalThis.carInfo.carNo) //1002 globalThis.tcpStep+=1 - if(globalThis.tcpStep>10){ + if(globalThis.tcpStep>30){ getTCP() } } @@ -72,7 +72,7 @@ export async function getTCP(flag=false) { if(!globalThis.getCloseTcp){ await globalThis.TcpClient.sendMsg(globalThis.carInfo.carNo) //1002 globalThis.tcpStep+=1 - if(globalThis.tcpStep>10){ + if(globalThis.tcpStep>30){ getTCP() } }