Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
Scott
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Scott Sun
Scott
Commits
b3160cdd
Commit
b3160cdd
authored
Jan 04, 2021
by
Scott Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scott
parent
48be72f8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
6 deletions
+26
-6
ATS_AIM_customer_data_analysis.js
ats/topcam/ATS_AIM_customer_data_analysis.js
+26
-6
No files found.
ats/topcam/ATS_AIM_customer_data_analysis.js
View file @
b3160cdd
...
@@ -858,9 +858,9 @@ try {
...
@@ -858,9 +858,9 @@ try {
GEN
.
copyLayer
({
source_job
:
job
,
source_step
:
step
,
source_layer
:
tmp_gold_info
[
layer_gold_type
],
dest_layer
:
tmp_area_layer
,
mode
:
'replace'
,
invert
:
'no'
});
GEN
.
copyLayer
({
source_job
:
job
,
source_step
:
step
,
source_layer
:
tmp_gold_info
[
layer_gold_type
],
dest_layer
:
tmp_area_layer
,
mode
:
'replace'
,
invert
:
'no'
});
GEN
.
COM
(
"clip_area_strt"
)
GEN
.
COM
(
"clip_area_strt"
)
GEN
.
COM
(
"clip_area_end,layers_mode=layer_name,layer="
+
tmp_area_layer
+
",area=profile,area_type=rectangle,inout=outside,contour_cut=yes,margin=0,feat_types=line
\
;pad
\
;surface
\
;arc
\
;text"
)
GEN
.
COM
(
"clip_area_end,layers_mode=layer_name,layer="
+
tmp_area_layer
+
",area=profile,area_type=rectangle,inout=outside,contour_cut=yes,margin=0,feat_types=line
\
;pad
\
;surface
\
;arc
\
;text"
)
var
tmp_info
=
GEN
.
copperArea
({
layer1
:
tmp_gold_info
[
layer_gold_type
],
resolution_value
:
1
})
//
var tmp_info = GEN.copperArea({layer1:tmp_gold_info[layer_gold_type],resolution_value:1})
// var tmp_info = GEN.exposedArea({layer1:item.signalL,mask1:tmp_gold_info[layer_gold_type],resolution_value:1})
// var tmp_info = GEN.exposedArea({layer1:item.signalL,mask1:tmp_gold_info[layer_gold_type],resolution_value:1})
//
var tmp_info = GEN.exposedArea({mask1:item.signalL,layer1:tmp_gold_info[layer_gold_type],resolution_value:1})
var
tmp_info
=
GEN
.
exposedArea
({
mask1
:
item
.
signalL
,
layer1
:
tmp_gold_info
[
layer_gold_type
],
resolution_value
:
1
})
var
tmp_data
=
{}
var
tmp_data
=
{}
if
(
layer_gold_type
==
"top"
)
{
if
(
layer_gold_type
==
"top"
)
{
tmp_data
.
sf_area_ref_layer_front
=
tmp_gold_info
[
layer_gold_type
]
tmp_data
.
sf_area_ref_layer_front
=
tmp_gold_info
[
layer_gold_type
]
...
@@ -1092,10 +1092,10 @@ try {
...
@@ -1092,10 +1092,10 @@ try {
// }
// }
// 邮件触发
// 邮件触发
//
sendEmail({
sendEmail
({
//
subject:db_customer + ' / '+job+' reading is ready!',
subject
:
db_customer
+
' / '
+
job
+
' reading is ready!'
,
//
content: db_customer + ' / '+job+' reading is ready!'
content
:
db_customer
+
' / '
+
job
+
' reading is ready!'
//
})
})
if
(
mode
===
"aimdfm"
)
{
if
(
mode
===
"aimdfm"
)
{
$
.
QDfm
.
updateRow
({
$
.
QDfm
.
updateRow
({
...
@@ -1996,6 +1996,26 @@ function symbolAnalysis(props){
...
@@ -1996,6 +1996,26 @@ function symbolAnalysis(props){
a
.
width
=
num1
a
.
width
=
num1
a
.
length
=
num2
a
.
length
=
num2
}
}
}
else
if
(
/^r
\d
/
.
test
(
b
)){
var
num1
=
b
.
slice
(
1
)
-
0
;
var
num2
=
num1
;
if
(
num1
>
num2
){
var
tmp
=
num2
num2
=
num1
num1
=
tmp
}
if
(
a
.
width
==
"N/A"
){
a
.
width
=
num1
a
.
length
=
num2
return
a
}
if
(
num2
<
a
.
length
){
a
.
width
=
num1
a
.
length
=
num2
}
else
if
(
num2
==
a
.
length
&&
a
.
width
>
num1
){
a
.
width
=
num1
a
.
length
=
num2
}
}
}
return
a
return
a
},{
width
:
"N/A"
,
length
:
"N/A"
})
},{
width
:
"N/A"
,
length
:
"N/A"
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment