回滚修改,详见ReadMe

This commit is contained in:
ranchuan
2023-07-20 18:00:29 +08:00
parent 688e942b1a
commit 2a3b31c226
14 changed files with 4527 additions and 34 deletions

View File

@@ -29,7 +29,8 @@
-- 2023.7.14
-- 根据任务id找到下一个任务只要判定相关任务顺序不变脚本就不受影响
-- 添加根据子错误找到对应的主错误功能
-- 2023.7.20
-- 充能流程异常改为电容异常
@@ -370,8 +371,8 @@ end
function JQ_Test_ChgEnergy(task,err_code)
if(find_ack(task["TaskIndex"]+1,mid(check_data,1,8))==false)then
-- 充能错误只能是检测器异常,检测结束
print("task failed.task_index=",task["TaskIndex"])
only(err_code,1)
print("task capacitance Energy failed.task_index=",task["TaskIndex"])
only(err_code,2)
return nil
else
ret_value=find_return(task["TaskIndex"]+1)