Commit 1142d287 authored by Scott Sun's avatar Scott Sun

scott

parent b3160cdd
...@@ -839,7 +839,7 @@ try { ...@@ -839,7 +839,7 @@ try {
// } // }
// mkPath(jobpath,["user","opcam","steps"]) // mkPath(jobpath,["user","opcam","steps"])
script_info({ msg: "Error-Signal layer analysis" }) script_info({ msg: "Error-Signal layer analysis" })
script_info({ progress: 85 }) script_info({ progress: 85 })
stepList.forEach(function(step){ stepList.forEach(function(step){
GEN.openStep({ job: job, name: step }) GEN.openStep({ job: job, name: step })
// 曝光 // 曝光
...@@ -942,6 +942,7 @@ try { ...@@ -942,6 +942,7 @@ try {
GEN.clearLayers() GEN.clearLayers()
GEN.affectedLayer({ affected: 'no', mode: 'all' }) GEN.affectedLayer({ affected: 'no', mode: 'all' })
console.log("==================================> Drill analysis") console.log("==================================> Drill analysis")
// 钻孔 // 钻孔
var drillToSignals = drillLayers.map(function(v){ // 获取到钻孔层对应的顶层和底层 var drillToSignals = drillLayers.map(function(v){ // 获取到钻孔层对应的顶层和底层
...@@ -1140,10 +1141,10 @@ catch (e) { ...@@ -1140,10 +1141,10 @@ catch (e) {
where:{job_id:JobId, attr_name:"cam_workflow_info"}, where:{job_id:JobId, attr_name:"cam_workflow_info"},
}) })
IKM.save_job_info({jobid:JobId, jobinfohash:{cam_workflow_info:"err"}}) IKM.save_job_info({jobid:JobId, jobinfohash:{cam_workflow_info:"err"}})
sendEmail({ // sendEmail({
subject:db_customer + ' / '+Job+ " analysis error", // subject:db_customer + ' / '+Job+ " analysis error",
content:_.toString(e) // content:_.toString(e)
}) // })
} }
IKM.msg(_.join(GEN.STATUS, "\n")) IKM.msg(_.join(GEN.STATUS, "\n"))
IKM.msg(e) IKM.msg(e)
...@@ -2224,9 +2225,9 @@ function analysisDrill(par, step){ ...@@ -2224,9 +2225,9 @@ function analysisDrill(par, step){
GEN.COM("chklist_close,chklist=valor_analysis_drill,mode=hide") GEN.COM("chklist_close,chklist=valor_analysis_drill,mode=hide")
GEN.COM("chklist_close,chklist=tmp_chk,mode=hide") GEN.COM("chklist_close,chklist=tmp_chk,mode=hide")
GEN.deleteLayer({job:job, layer:drl_layer}) GEN.deleteLayer({job:job, layer:drl_layer})
GEN.deleteLayer({job:job, layer:[layer, layer+"+++"]}) // GEN.deleteLayer({job:job, layer:[layer, layer+"+++"]})
var meas = GEN.getCheckMeas({job:job,step:step,chklist:'tmp_chk',nact:1}) var meas = GEN.getCheckMeas({job:job,step:step,chklist:'tmp_chk',nact:1})
meas = meas.filter(function(v){return /^touch/.test(v)}) meas = meas.filter(function(v){return /^touch/.test(v)})
if(meas.length){ if(meas.length){
meas.forEach(function(v){ meas.forEach(function(v){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment