|
自动添加零件属性自动添加零件属性,如果英文名在判断里找不到相同的英文名,程序会默认为第一个。5 T1 s9 I: a z! y6 i
我的想法是如果找不到,让他报警提示。4 N: q+ G8 S, y4 n+ x( A& Q
; \* G' F. X$ T5 X! Q
4 O# C3 Q* S, Q& l7 ^
$$===============判断英文名==============================; M* \- o1 r4 c% E3 d* G- z% h8 y
Ifthen/Ja(2) == 'Top_Clamp_Plate'5 ^. w2 }5 K! i6 N; }
Jump/J001:' \" C+ O1 }& N* g7 N' `8 d
Endif
5 C& p) K# H* p8 }7 Q" V/ BIfthen/Ja(2) == 'Stripper_Runner_Plate'7 p, b0 z9 B8 d# R: V+ a. N/ @2 K
JumpJ002:2 ~; j8 P7 i* e6 `$ d& O
Endif 5 d2 q1 r5 c) t; ^4 m3 f
Ifthen/Ja(2) == 'Hot_Runner_Plate'
4 N1 u+ G0 U$ {- ^; }% }Jump/J003:7 p a$ f0 ~" M
Endif " I4 O5 m) g2 B# d) a
Ifthen/Ja(2) == 'A_Plate'/ ?* n) Q3 B; l" n" k
Jump/J004:6 J F! ?, P9 ?% r! |' G) K
Endif
# y( I, y$ K' V$ e }/ z4 PIfthen/Ja(2) == 'B_Plate'
4 ?) E* Y; B: ^6 PJump/J005:% T% U# x$ A9 n! w8 v0 c( W+ Y8 X
Endif ( F4 N+ E1 M7 ^9 q! J
Ifthen/Ja(2) == 'Support_Plate'9 R; r5 F4 C1 K* _, a" s( n' }
Jump/J006:, @8 j, H8 c! V: L% r$ o( N
Endif . W }7 D5 m8 G; x/ s# t
Ifthen/Ja(2) == 'Stripper_Plate'
# o+ {5 O* c C7 p+ |Jump/J007:2 V# b$ r/ ]$ e+ ?4 o! x3 j
Endif
- t ~& a0 }" l% }0 k1 {* \) _* OIfthen/Ja(2) == 'Spacer_Block'8 `) t; `' T( X8 f( a& W0 x
Jump/J008:" y1 X, y% _- y I5 A& I x
Endif T+ |6 i8 I) E, D
Ifthen/Ja(2) == 'Ejector_Retainer_Plate'3 k, P! E5 {0 T. ^1 @- F; |
Jump/J009:; _ P `, K& y8 x6 M
Endif C! X( X( [0 X. z+ G/ B
Ifthen/Ja(2) == 'Ejector_Plate'' M: e; a& ]: q
Jump/J010:
5 H) m. s" `( \$ XEndif
" c8 Q; X$ V% x v: R6 IIfthen/Ja(2) == 'Bottom_Clamp_Plate'' H2 \: K6 f) K9 u
Jump/J011:
$ t/ G1 t4 x" }& J# D+ S7 LEndif
- x! X. {- s4 z. c( H6 A; m( M: M9 X0 m+ S0 P( D
Ifthen/Ja(2) == 'Leader_Pin'
$ M5 _- Q f# p# B: E( C* |Jump/J012:( t, u$ |9 i8 v1 B5 b0 S
Endif 4 E" o5 F) ]8 O: v: h
Ifthen/Ja(2) == 'Leader_Bushes'
/ t' ]2 _' e6 @. sJump/J013:
/ c; V- I; h8 E5 I) k3 M) oEndif % X0 T- c" `3 ?5 C( I' H
Ifthen/Ja(2) == 'Return_Pin'6 \# B$ D5 Y1 ^7 `6 h
Jump/J014:' t0 D+ \! E0 l6 ]
Endif
$ C$ L' ~, ?4 f' b9 C ^
4 J5 Q) W4 f' `; `% AIfthen/Ja(2) == 'E.G.P'
7 V6 k5 R- K: x/ @8 O, vJump/J015:
( [: D* x% B, o8 }, H2 U; z; K( M9 MEndif / u B d: o% E4 U; a- w
Ifthen/Ja(2) == 'E.G.B'
R; C. M0 l6 \3 vJump/J016:9 S* w, e7 t* @3 d
Endif . b: s2 n) k7 g. B
Ifthen/Ja(2) == 'Leader_Block'
! U# g, }5 {3 A# n5 L5 t& @8 V; DJump/J017: g' t2 j+ C3 x X! d
Endif 5 v) \7 P" h) C8 Z3 @9 H- o7 Y# R, z/ k7 ~
Ifthen/Ja(2) == 'Block_Bushes'
& O% U1 d# l% X* Q) wJump/J018:7 w% y6 K6 A' Q# O
Endif
7 o, e, Y7 ~2 |0 w: `# vIfthen/Ja(2) == 'Side_Locks'+ c, P M( w/ d& R U3 n+ Q
Jump/J019:: r$ z# Y5 D! J4 i# V
Endif / g# c9 i+ @5 d5 K# ~; M
Ifthen/Ja(2) == 'Top_Locks'. F8 S$ V! K$ k' B) [: I
Jump/J020:
* E8 _$ B; |* ]; f0 ?+ iEndif * V: k, t* _7 L- t
Ifthen/Ja(2) == 'Tapered_Locks'
- Q/ N- Q9 n: J8 ?( zJump/J021:: @6 U% O; s8 o7 M7 B8 `
Endif
8 @) n5 y# X) q- g2 a$ P, w1 r/ t7 j! ]% ~$ D; J% {
$$===============读取模胚名称==============================
5 C: A, j! b1 j5 ~) E- CJ001:
6 }& @( p( @9 S* w, fJa(2) = '面板/Top_Clamp_Plate'
+ E/ Y. n1 ~1 x! P* i9 k! WJa(8) = '自制类'- H* J2 \7 {# q. Z+ A
Jump/K001:
8 c+ [& v x rJ002:
" n8 U/ a2 ?" aJa(2) = '水口板/Stripper_Runner_Plate'
: I1 b7 l( y" a* s) q) }1 jJa(8) = '自制类'3 ?! @( b- b, ?; K& [5 a8 {
Jump/K001:
) K$ {+ i6 R5 wJ003:
0 y" s7 E4 ?6 W( G# q/ DJa(2) = '热流道板/Hot_Runner_Plate'
4 m. `" K9 {5 p3 d, D2 `* y* YJa(8) = '自制类'
" I! k& l$ E9 x$ @Jump/K001:
0 @9 S# A4 A9 S$ [0 V' |5 rJ004:! M2 }3 T8 ~8 z M- \7 V
Ja(2) = 'A板/A_Plate'
% a& ]9 H, N6 g0 F: k* h. pJa(8) = '自制类'7 ]2 t# f# H% {' d" e9 A4 t/ z
Jump/K002:' J6 c1 L' O$ b' l' B% l5 s$ f1 Z* P9 J
J005:" ^9 X8 S8 \8 t6 d! W
Ja(2) = 'B板/B_Plate'
: [6 S) E. X# h- HJa(8) = '自制类') W$ `' j+ |6 ~* {
Jump/K002:
2 j+ E( y% A& o3 AJ006:
/ ]- I- N/ x! M/ Q2 h9 aJa(2) = '托板/Support_Plate'
7 J9 y8 f# n4 m& v% i; TJa(8) = '自制类'
- y* ?; S/ L$ P( g4 KJump/K001:' j+ }+ U {4 B5 q
J007:
9 ]" |4 G6 d( L6 {7 e" @, J! X# `# ^: SJa(2) = '托板/Support_Plate'
3 i7 d6 Y: f( k/ s* e/ E- q/ jJa(8) = '自制类'
|- ~( P9 f! U8 c" [4 DJump/K001:& Q! B/ O' t A- r, D' Q6 N
J008:
F+ u# {( {# M6 N& T$ aJa(2) = '方铁/Spacer_Block' K( ?, I2 E4 Z7 F
Ja(8) = '自制类'
5 [3 U1 C( _6 D" m7 K1 zJump/K001:
: W$ ?5 t; X0 _/ |1 oJ009:6 \4 i4 ?2 m0 [4 _3 W3 `- C4 E* a
Ja(2) = '面针板/Ejector_Retainer_Plate'. H- w* K' P6 y( t
Ja(8) = '自制类'' n+ x; \, \. d# P
Jump/K001:
/ B) h. [9 h ?7 l5 @J010:: B9 w# E" P8 o# @* z! X( |
Ja(2) = '底针板/Ejector_Plate'/ I( V2 x/ J! A8 R9 ~' P9 k* ^* `: j
Ja(8) = '自制类'& ~9 G1 k" p. X7 P4 b( p1 }
Jump/K001:
( v( B9 B E7 S# g/ _. tJ011:
9 s1 l" F8 x8 P' ]9 y4 G4 xJa(2) = '底板/Bottom_Clamp_Plate'
* K! z3 h4 R2 g5 P- XJa(8) = '自制类'+ G: K( V5 H7 h3 W! M8 j
Jump/K001:7 L; I& a9 F8 |( T8 M/ e% N
J012:
5 W+ a9 b/ g& h' b2 p3 FJa(2) = '导柱/Leader_Pin' J6 e+ b/ X. w/ v9 x+ ~
Ja(8) = '标准类'$ R- k* `7 _) F/ }8 s1 E3 B$ n
Jump/K005:% b& x; m: \$ U4 g1 H2 R
J013:
6 A$ I! Q @& l+ g9 a6 x! RJa(2) = '导套/Leader_Bushes'
6 x: `# A& u2 {6 {" b; |. kJa(8) = '标准类'
% J& X) c# a9 c2 lJump/K005:
" v- L s5 [0 } |# T1 b: Y5 c9 hJ014:
" Y0 Z3 S( k B7 v/ ?% |Ja(2) = '回针/Return_Pin'% }$ k) G( x4 i% ?9 E
Ja(8) = '标准类'
' }# V( Y# V. |2 J% VJump/K005:
# k G9 A+ l" W( d) \J015:' A6 T% U6 C3 K$ [& d# }% g1 h# A
Ja(2) = '中托边/E.G.P'% c( B* P9 Z: n% I1 s4 w
Ja(8) = '标准类'
- L& V$ T1 P$ N. lJump/K005:. \$ v& E5 ~/ Y$ c! V3 b- A( s
J016:9 B+ Z6 O [1 s. ~ U
Ja(2) = '中托司/E.G.B'* `1 X# N, r& ?( C a y! N
Ja(8) = '标准类'- \) V! |' h" D
Jump/K005:
- H, v$ f8 P5 r% `7 D1 }. b0 QJ017:. n. o0 q( u$ L: a% Z: }% g Z
Ja(2) = '方导柱/Leader_Block'
7 p0 U1 X9 Q" }" O% yJa(8) = '自制类'. x9 u4 G3 S' D4 F
Jump/K003:
9 c# m& Y% h% @* {( ?' OJ018:
) H' c( n0 l4 d" GJa(2) = '方向套/Block_Bushes'( v- c8 w, E6 D/ T! N
Ja(8) = '自制类'
" S, c2 I ]7 M' hJump/K003: N# x4 @9 e, R M! z
J019:
& x$ Z. O! S; [: RJa(2) = '边锁/Side_Locks'* A; C) `3 T2 x0 j3 {' ?
Ja(8) = '标准类'; M- E3 J. v1 V5 c' t' w
Jump/K005:
6 w( K. F0 Z Y! j1 SJ020:
, p3 ?, M% @' f; K3 h9 \0 P8 ?Ja(2) = '顶锁/Top_Locks'! V% P, N9 m* Z( u- G, K6 }2 c
Ja(8) = '标准类'
0 u4 ^, C/ W I @Jump/K005:
* ?$ P# b' E: O6 s1 w" iJ021:
# ?! g: ]5 j6 j1 UJa(2) = '斜度锁/Tapered_Locks'- a/ w$ {& ~. m, w w
Ja(8) = '标准类'3 [: k2 |% K, j
Jump/K005:4 d+ {/ v4 k) V
|
|