|
自动添加零件属性自动添加零件属性,如果英文名在判断里找不到相同的英文名,程序会默认为第一个。" P! L, Y; [6 X) l# V( d
我的想法是如果找不到,让他报警提示。
Z; Q# k, e. E/ b! | @5 H9 l2 W1 p9 R% Y) r$ Q0 I; H+ t+ E9 j
6 U5 F% F4 v. v" @& l% m$$===============判断英文名==============================
* @9 p( r/ K5 w% F2 i+ MIfthen/Ja(2) == 'Top_Clamp_Plate'
9 R1 F3 E. g; C% N6 JJump/J001:
, F1 H: c( h+ TEndif ) o* A( | r7 ^. O7 l9 A7 F! _, |
Ifthen/Ja(2) == 'Stripper_Runner_Plate'( `1 }: P. ?4 K0 Q% ]7 x! S. Z
JumpJ002:' i* w: Z2 Z% k2 Z7 F. {
Endif 7 ?( B$ v. O8 ]- P/ Y. f2 C
Ifthen/Ja(2) == 'Hot_Runner_Plate'$ x6 |" C7 ~ P: p: _8 @: |; Z
Jump/J003:, ^* G, h# o* b/ G8 d8 r
Endif
$ |/ p3 |* o' d5 [- GIfthen/Ja(2) == 'A_Plate'
# d$ A" W- @# c- P# CJump/J004:
, U' }* P$ f9 @6 ]! Q) zEndif 3 l& M% _( W4 B3 G, G
Ifthen/Ja(2) == 'B_Plate'
# b7 m. L8 q$ q% IJump/J005:
; H; r# ~. i& n6 l! eEndif " @& v5 ^" }/ k( {8 T- a% |
Ifthen/Ja(2) == 'Support_Plate'
6 |6 [- l/ I! L. X1 JJump/J006:5 @, v. [7 j+ g# m; ^3 g5 |
Endif
, _2 y X( \; c2 F2 ]1 ^Ifthen/Ja(2) == 'Stripper_Plate' t7 e( C& _/ ~: f
Jump/J007:
9 v0 I% ~9 O* v' x3 GEndif 5 D2 d( s! L) b
Ifthen/Ja(2) == 'Spacer_Block'' D" ?) b6 G" e9 N+ a l7 O& Q
Jump/J008:
! R% M' b- q. }3 @Endif
5 D5 @& u2 C- [ PIfthen/Ja(2) == 'Ejector_Retainer_Plate': [1 \$ P( j- I. K+ o
Jump/J009:
" B3 X: m/ e0 H. pEndif
, C: P# T+ {% sIfthen/Ja(2) == 'Ejector_Plate'8 d% [& s6 v3 ~" W. d
Jump/J010:9 h g! W# ]; |5 }
Endif ( a# C6 ~$ z, J! [
Ifthen/Ja(2) == 'Bottom_Clamp_Plate'
: y! H7 `/ M% K! IJump/J011:* Z7 @: l" L) n3 r3 F
Endif
& w. k! @" T# L$ }% q
# Y. c5 f# I- iIfthen/Ja(2) == 'Leader_Pin'0 ^( B5 \7 X# f& p- U
Jump/J012:7 u+ u# H q1 N1 i( o: @
Endif
; I$ U7 Y; o8 \) Q4 W O" bIfthen/Ja(2) == 'Leader_Bushes'" w2 M9 f" D `2 c. r0 i
Jump/J013:
! @7 s' b6 s4 VEndif
- W) C) S" T: y% j& yIfthen/Ja(2) == 'Return_Pin'
; E3 E; b; k( E# g7 ]Jump/J014:4 {; T/ R& {+ |$ b9 x
Endif ' ^3 O& G: ]- B/ G) d, C$ G5 V
; |+ ~9 o0 h; K4 BIfthen/Ja(2) == 'E.G.P'
9 o, I0 w& W2 i cJump/J015:
. m! l& {3 v* f4 s* CEndif $ r3 I8 V A" D1 a1 Q8 D
Ifthen/Ja(2) == 'E.G.B'
3 @& t% z2 v1 f' I( fJump/J016:
! w8 J3 L6 t; E7 m+ ?Endif
% U# o3 P* I4 T& a# r! Q. QIfthen/Ja(2) == 'Leader_Block'
, c) t3 \( z9 @0 E1 \6 jJump/J017:9 U2 D' ^ `! [- S) k; m
Endif . f; c; ]# K J4 x
Ifthen/Ja(2) == 'Block_Bushes'( s1 i8 j8 b1 o6 Y8 n3 |/ y
Jump/J018:
* f$ x" `! n0 ?1 \/ ^5 KEndif + {" n7 {) R6 X. `2 o
Ifthen/Ja(2) == 'Side_Locks'# k1 a: @9 P! i
Jump/J019:
3 n1 M/ N" }- L+ ?% {Endif
8 h8 k' I, j$ G6 v: m% z4 cIfthen/Ja(2) == 'Top_Locks'7 Q/ y1 h) \: ^. _3 F
Jump/J020:
( N* ~& t% i0 pEndif
# Q7 w5 F7 p% v9 H0 kIfthen/Ja(2) == 'Tapered_Locks'
$ q Q% x8 o8 {- H: P. V4 pJump/J021:6 y* V7 T4 p2 ^9 d s7 h
Endif
: ?& m3 y% l d7 K3 K: t" l
5 p8 L8 }6 E6 O; Q. ^% J9 P$$===============读取模胚名称==============================
' W) L! c1 J/ LJ001:1 w4 L v0 Q$ w8 ]/ `$ d
Ja(2) = '面板/Top_Clamp_Plate'
9 _/ m0 a4 l& VJa(8) = '自制类'8 X7 o4 L$ ?* k5 ?% o2 }
Jump/K001:9 f/ x2 J t/ b- @0 O2 c) p
J002:
* F0 _& L! \. {% j8 q! W; QJa(2) = '水口板/Stripper_Runner_Plate'% x( N& G5 o; B0 G6 F3 K
Ja(8) = '自制类'8 b3 X' d1 ~3 [7 U! I1 N) ]
Jump/K001:! O* a: s+ |6 i- ?
J003:
5 d; o9 [ n& \) n1 D/ ?! { p" eJa(2) = '热流道板/Hot_Runner_Plate'
, k2 L2 [& X; w" p1 l% ZJa(8) = '自制类'1 f2 B5 m/ z Y D% T6 k$ R
Jump/K001:
. G, L; A7 f: |% U0 TJ004:! G$ Y- d4 i6 z. M& F
Ja(2) = 'A板/A_Plate'4 P7 v3 y/ Q* b5 j
Ja(8) = '自制类'
2 I) H& y" G, {" z1 {Jump/K002:
4 L' x( W+ }8 W& l2 ~9 y- c+ Y+ d% O jJ005:
: N; o3 ?3 t" w- B1 kJa(2) = 'B板/B_Plate'
7 a9 D. F q& B) f7 Q5 O+ TJa(8) = '自制类': R; S7 x" I, Q1 I& Q& c
Jump/K002:
0 P- y! J+ _& a! g$ b: ^1 }J006:
. o9 |* y( J/ @" H; MJa(2) = '托板/Support_Plate'
. e0 G% O$ V- K1 |Ja(8) = '自制类'1 l- {9 W* r6 C
Jump/K001:" N" X. O+ D9 L1 l: r
J007:1 }0 k0 F# y$ ~$ V1 `
Ja(2) = '托板/Support_Plate'
% A. H9 G* @; DJa(8) = '自制类'
6 ~4 [* B' B: }" |6 @5 _Jump/K001:
) F, h- ~ ~% D i* a! D/ pJ008:
$ q3 m* E* _5 {0 X/ x) `, X& @Ja(2) = '方铁/Spacer_Block'
7 x" [' E2 g2 @( v; P$ X7 ?Ja(8) = '自制类'9 G* [) W9 P0 c: Y( |
Jump/K001:
( C- G$ i8 S% _ ]6 mJ009:" a' x4 B6 X& H# h8 p* [# |3 I3 W) ]
Ja(2) = '面针板/Ejector_Retainer_Plate'& m2 p8 B; }# W+ \6 Q' A1 U$ B8 E6 W
Ja(8) = '自制类'+ g' m1 Q9 |& p: }$ n9 c0 D/ z
Jump/K001:0 J6 T# Z0 e6 R# V( a' z
J010:: b+ {$ J& ~; W
Ja(2) = '底针板/Ejector_Plate'$ `2 e, n- D+ j- ^$ j9 J L4 k; Y7 s
Ja(8) = '自制类'
& S& f! Z8 z5 ^4 ~7 h' c- YJump/K001:. A4 Y0 w& C u c/ _
J011:. s1 n/ k9 L4 \5 R4 J$ ^5 H
Ja(2) = '底板/Bottom_Clamp_Plate'+ m, w: f/ ]0 U, l8 {$ p
Ja(8) = '自制类'0 \, ^7 e: ]6 b3 [7 g
Jump/K001:- @* _* r, `9 D3 E0 ~
J012:9 s; }$ ]1 D7 u) S
Ja(2) = '导柱/Leader_Pin'
) X$ ^8 L* r' W! \- SJa(8) = '标准类'5 b& e/ I# E9 \* ^9 W0 d
Jump/K005:
7 e) U4 c9 M1 r1 \: g. m! {J013:7 `% x+ S& @& K# g( F) h9 o. r
Ja(2) = '导套/Leader_Bushes': }5 c5 P5 T0 o
Ja(8) = '标准类'
' n; r# w2 C2 l' ~5 PJump/K005:
* ^- R+ v# v7 l8 e/ D! c7 h$ iJ014:% a2 _! s2 f4 a8 v }6 P6 }
Ja(2) = '回针/Return_Pin'
" {% v Y8 l* M" n- D& m/ @. IJa(8) = '标准类'
/ E: L8 {! ]5 }6 P8 t3 P% y9 T+ sJump/K005:" c6 \* p+ |7 I8 v) D
J015:% B" A$ d1 ?3 \' A
Ja(2) = '中托边/E.G.P'% P1 g$ A' C+ k1 g. r. D
Ja(8) = '标准类'
: A+ P, `* o3 \! nJump/K005:
* t4 Q7 R2 X" Z0 E* CJ016:
" S( @0 k* K0 C& wJa(2) = '中托司/E.G.B'
* I" h0 ^+ Z) t# A- TJa(8) = '标准类'' ~, p7 V# y- L' v
Jump/K005:
6 A3 \7 D. r6 k) c( \7 b; nJ017:" p0 \8 n6 c( G4 B) B: P g; y
Ja(2) = '方导柱/Leader_Block'9 \6 T$ @/ f9 V- O
Ja(8) = '自制类'- k. y7 s- C0 E0 c+ P3 M+ r. S
Jump/K003:
" R4 Y5 N4 Z# z1 Y5 v7 e# R+ hJ018:
# K4 I5 P! Q! h: ]$ ^/ ]8 F# zJa(2) = '方向套/Block_Bushes'9 d+ N) d* g5 h
Ja(8) = '自制类'
9 u* q+ W) B7 H. KJump/K003:4 p! a, M8 w7 E1 \0 s3 F$ @# h
J019:
0 j" \+ g7 S8 w8 OJa(2) = '边锁/Side_Locks'
& I' }/ f4 Z3 S, m+ d; f8 sJa(8) = '标准类'
; w9 ?7 S& s( h' O# M. DJump/K005:( q2 o9 ^" l- u. w6 ^
J020:
* ^5 k0 R3 |1 t) s/ S+ p0 vJa(2) = '顶锁/Top_Locks'
' v! [# _8 t* o, \9 P0 W/ EJa(8) = '标准类'
' N" z, P% X: {) q2 k. f. w$ BJump/K005:
, A9 I% h6 Q" k( |J021:" g# {$ z2 b- M* ^6 b+ v2 M
Ja(2) = '斜度锁/Tapered_Locks': N; p$ n+ d4 Q& b6 {7 A% D( d
Ja(8) = '标准类'
' \& V3 O) v# \ O3 PJump/K005:) D( [: {% P0 `" ]
|
|