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() } }