fix: 日志修改
This commit is contained in:
		
							parent
							
								
									baa6b80556
								
							
						
					
					
						commit
						1a64e356c4
					
				| @ -13,7 +13,9 @@ import dayTs from '../utils/Date'; | |||||||
| import fs from '@ohos.file.fs'; | import fs from '@ohos.file.fs'; | ||||||
| 
 | 
 | ||||||
| const workerPort: ThreadWorkerGlobalScope = worker.workerPort; | const workerPort: ThreadWorkerGlobalScope = worker.workerPort; | ||||||
|  | // 过程数据文件 | ||||||
| const fileNameArr: string[] = ["four_one_log_byte_data.txt", "four_one_log_data.txt", "judge_exam_data.txt", "judge_log_data.txt", "judge_progress_callback_data.txt", "plc_data.txt", "wuxi_exam_data.txt", "wuxi_progress_data.txt"] | const fileNameArr: string[] = ["four_one_log_byte_data.txt", "four_one_log_data.txt", "judge_exam_data.txt", "judge_log_data.txt", "judge_progress_callback_data.txt", "plc_data.txt", "wuxi_exam_data.txt", "wuxi_progress_data.txt"] | ||||||
|  | // 过程数据fd | ||||||
| let fileFdArr: number[] = [] | let fileFdArr: number[] = [] | ||||||
| let writeQueue: Array<FileQueueType> = []; | let writeQueue: Array<FileQueueType> = []; | ||||||
| let isProcessing = false; | let isProcessing = false; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user