feat:fileLog提交
This commit is contained in:
		
							parent
							
								
									0140c2197c
								
							
						
					
					
						commit
						64264506aa
					
				| @ -81,6 +81,17 @@ export default class FileLog { | ||||
|     await fileUtil.editFile(`${folderPath}/judge_log_data.txt`,str); | ||||
|   } | ||||
| 
 | ||||
|   // 设置四合一画面数据
 | ||||
|   public setFourAndOneLogData = async (str:string) => { | ||||
|     const {fileUtil,folderPath} = this; | ||||
|     await fileUtil.editFile(`${folderPath}/four_one_log_data.txt`,str); | ||||
|   } | ||||
| 
 | ||||
|   public setFourAndOneLogDataBytes = async (str:string) => { | ||||
|     const {fileUtil,folderPath} = this; | ||||
|     await fileUtil.editFile(`${folderPath}/four_one_log_byte_data.txt`,str); | ||||
|   } | ||||
| 
 | ||||
|   // 无锡所轨迹数据
 | ||||
|   public setExamLineData = async (plcStr) => { | ||||
|     const {fileUtil,folderPath} = this; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user