dev #63
@ -195,7 +195,7 @@ export default class TcpClient {
 | 
			
		||||
      }
 | 
			
		||||
      clearInterval(globalThis.intervaltcp)
 | 
			
		||||
      globalThis.intervaltcp=setInterval(()=>{
 | 
			
		||||
        setTimeout(async () => {
 | 
			
		||||
        // setTimeout(async () => {
 | 
			
		||||
          //程序断开
 | 
			
		||||
          if (globalThis.tcpUdpError) {
 | 
			
		||||
            console.log(TAG,'tcp信号丢失')
 | 
			
		||||
@ -206,7 +206,7 @@ export default class TcpClient {
 | 
			
		||||
            });
 | 
			
		||||
          }
 | 
			
		||||
          globalThis.tcpUdpError = true;
 | 
			
		||||
        }, 2000)
 | 
			
		||||
        // }, 2000)
 | 
			
		||||
      },3000)
 | 
			
		||||
      // callback(value.message)
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
@ -12,6 +12,7 @@ import { initJudgeUdp } from '../common/utils/UdpJudge';
 | 
			
		||||
import { judgeConfig } from './judgeSDK/utils/judgeConfig';
 | 
			
		||||
import { getTCP } from '../common/utils/GlobalTcp';
 | 
			
		||||
import { getliushuiNum, setliushuiNum, takePhotoFn, delHilog } from '../common/service/indexService';
 | 
			
		||||
import { getUserAlbumItemByDisplayName } from '../common/service/videoService';
 | 
			
		||||
import abilityAccessCtrl, { Permissions } from '@ohos.abilityAccessCtrl';
 | 
			
		||||
import worker, { MessageEvents } from '@ohos.worker';
 | 
			
		||||
import promptAction from '@ohos.promptAction'
 | 
			
		||||
@ -459,6 +460,7 @@ struct Index {
 | 
			
		||||
      }
 | 
			
		||||
    }, 1000)
 | 
			
		||||
    delHilog()
 | 
			
		||||
    // getUserAlbumItemByDisplayName()
 | 
			
		||||
    //下载模型
 | 
			
		||||
    // await this.getModel()
 | 
			
		||||
    // const arr = [0x55, 0xaa, 0x01, 0x00, 0x02, 0x01, 0x03, 0x00]
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user