fix:忽略cpp目录
This commit is contained in:
		
							parent
							
								
									8dcdb29f61
								
							
						
					
					
						commit
						6b855d1835
					
				| @ -4,13 +4,13 @@ | ||||
|       { | ||||
|         "name": "default", | ||||
|         "material": { | ||||
|           "certpath": "/Users/surenjun/.ohos/config/openharmony/auto_ohos_default_subject-two_com.oh.dts.cer", | ||||
|           "storePassword": "0000001B0C5B52D8C8C6F415D4216EAD2848AA4A376B36FD72006E4072C15BA3D11E6E65C0D1FFA92A6D86", | ||||
|           "certpath": "/Users/wangzhongjie/.ohos/config/openharmony/auto_ohos_default_subject-two_com.oh.dts.cer", | ||||
|           "storePassword": "0000001BBB63DD61213CF0DB2F4C752AEA1CA0C399A96F876B4CEEBE867F18A6C6A959203972B59A421CD8", | ||||
|           "keyAlias": "debugKey", | ||||
|           "keyPassword": "0000001B8DCA3C8913C86858A0CDEAEB6BEE0DC29FCE9932930CA1FFE68FFF84341736AADF81F056CDD683", | ||||
|           "profile": "/Users/surenjun/.ohos/config/openharmony/auto_ohos_default_subject-two_com.oh.dts.p7b", | ||||
|           "keyPassword": "0000001BE0D5D3EB862C643A7206CFCE4664C22DA79C6D0D87FC8B187C2AD7F1DDFF70F49DE2BEA35B037B", | ||||
|           "profile": "/Users/wangzhongjie/.ohos/config/openharmony/auto_ohos_default_subject-two_com.oh.dts.p7b", | ||||
|           "signAlg": "SHA256withECDSA", | ||||
|           "storeFile": "/Users/surenjun/.ohos/config/openharmony/auto_ohos_default_subject-two_com.oh.dts.p12" | ||||
|           "storeFile": "/Users/wangzhongjie/.ohos/config/openharmony/auto_ohos_default_subject-two_com.oh.dts.p12" | ||||
|         } | ||||
|       } | ||||
|     ], | ||||
|  | ||||
| @ -3,16 +3,16 @@ import promptAction from '@ohos.promptAction' | ||||
| import router from '@ohos.router' | ||||
| import { dateFormat } from '../utils/tools' | ||||
| import FileUtil from '../../common/utils/File' | ||||
| import AccountTable from '../../common/database/tables/AccountTable'; | ||||
| import MA_SYSSET from '../../common/constants/MA_SYSSET'; | ||||
| import { takePhoto, deleteAllFileByPiC } from '../../common/service/videoService' | ||||
| import AccountTable from '../../common/database/tables/AccountTable' | ||||
| import MA_SYSSET from '../../common/constants/MA_SYSSET' | ||||
| import { takePhoto } from '../../common/service/videoService' | ||||
| 
 | ||||
| import { | ||||
|   getDataBaseTable, | ||||
|   upDateTable, | ||||
|   getMySystemSetTable, | ||||
|   delSyncTable, | ||||
|   upDataZhongxinginitialization | ||||
|   getDataBaseTable, | ||||
|   getMySystemSetTable, | ||||
|   upDataZhongxinginitialization, | ||||
|   upDateTable | ||||
| } from '../../common/service/initable' | ||||
| import { GlobalConfig } from '../../config/index' | ||||
| import testNapi from '@ohos.hiserialsdk' | ||||
| @ -39,6 +39,7 @@ export async function getliushuiNum(){ | ||||
|     // return str
 | ||||
|   } | ||||
| } | ||||
| 
 | ||||
| //配置流水号
 | ||||
| export async function setliushuiNum(context) { | ||||
|   const fileUtil = new FileUtil(context) | ||||
| @ -130,6 +131,7 @@ export async function getDoubleCeneterTable() { | ||||
|   }) | ||||
| 
 | ||||
| } | ||||
| 
 | ||||
| //单中心存表
 | ||||
| export async function getSingleCenterTable() { | ||||
|   return new Promise((reslove, reject) => { | ||||
| @ -257,8 +259,10 @@ export async function takePhotoFn(context) { | ||||
|     } | ||||
|   }, 3000) | ||||
| } | ||||
| 
 | ||||
| let fd | ||||
| const devPath="/dev/ttyUSB0" | ||||
| const devPath = "/dev/ttyS3" | ||||
| 
 | ||||
| async function openChuankouFn(): Promise<number> { | ||||
|   console.log('fdfd1111 start') | ||||
|   fd = await testNapi.SerialOpen(devPath); | ||||
| @ -271,8 +275,8 @@ async function openChuankouFn():Promise<number> { | ||||
|   return ret | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| } | ||||
| 
 | ||||
| async function getChuankouFnMsg() { | ||||
|   let timeout = 50000; // 2秒超时
 | ||||
|   let databuff = [0x61, 0xAA, 0x0A, 0X15, 0X00]; // send ABCDE
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user