|
自动添加零件属性自动添加零件属性,如果英文名在判断里找不到相同的英文名,程序会默认为第一个。; t9 q5 \5 ?6 k; E; I4 o
我的想法是如果找不到,让他报警提示。1 E1 E: O* X+ @$ [' L
6 J( C; ^6 X) }9 m/ d
6 p8 f6 d6 Z$ R5 z" ]* S+ i$$===============判断英文名==============================
% t" s6 R- v8 P( xIfthen/Ja(2) == 'Top_Clamp_Plate'
6 N( a9 p; J/ V4 I; K; ~Jump/J001:. E: p/ A+ s- ]0 g- n: i% v* G
Endif
& ]# Z) T5 `5 ], W. OIfthen/Ja(2) == 'Stripper_Runner_Plate'
( {8 o% P, X, D6 w. j t3 E. gJumpJ002:; l: S: @0 k5 L9 `& L+ z# X
Endif
n" Y6 o8 M _6 tIfthen/Ja(2) == 'Hot_Runner_Plate'
- s. Z" ]5 X. |% L9 g0 m+ X, T. nJump/J003:
9 T# `- Q' M) |: `- |4 P8 _, ?Endif
3 p" e0 a+ j- |- ^, T% x% Z& tIfthen/Ja(2) == 'A_Plate'
a1 f% O8 A% ?Jump/J004:
( R; `3 ]4 h+ Q+ e) a' s, kEndif
6 J* Z% I: d) [. c" B& F3 HIfthen/Ja(2) == 'B_Plate'* s. C" U, j2 K. \! D# l% B; R5 q& a
Jump/J005:
0 l( ?+ u! Q5 p8 K kEndif
5 h. w; l# T! P! @1 OIfthen/Ja(2) == 'Support_Plate'
: k8 h! ]# p1 g: QJump/J006:6 c. u& t1 g+ R2 X/ r
Endif ( M' ], s4 I& K% U- {8 `
Ifthen/Ja(2) == 'Stripper_Plate'7 Z% C1 {% q; H" ~/ a
Jump/J007:
6 L0 R i$ h K" h7 aEndif ! n% M- W0 N4 a0 ~3 b, W, T5 L
Ifthen/Ja(2) == 'Spacer_Block'3 ^& x$ ^) r/ p
Jump/J008:
/ `2 T2 P" w `+ WEndif % @3 h: m" j" a9 n8 h5 D/ T
Ifthen/Ja(2) == 'Ejector_Retainer_Plate'
: `$ a) {+ b! [. y _1 mJump/J009:$ B7 t( ~6 ~1 {) @! Y
Endif
% E5 ^: _6 } H' w( dIfthen/Ja(2) == 'Ejector_Plate'; A0 R$ H4 n% v4 S. v x7 p
Jump/J010:
: X" O( O/ l: k- f4 F* T2 PEndif ) j8 h+ S. u0 I5 K3 I4 A: y j
Ifthen/Ja(2) == 'Bottom_Clamp_Plate'
# |$ S8 V6 [) k0 F# L$ e' W$ hJump/J011:
5 m! P \8 M4 t. }% p2 D% VEndif
" a# B1 M% G6 {% ?& b* V8 y0 J. Z- b A$ Y% t. U
Ifthen/Ja(2) == 'Leader_Pin'
5 G; P' M) M' L* r4 z; H0 W3 w' ^- uJump/J012:' l+ z N1 w( q
Endif
9 }' R8 c# K8 ]9 ?2 f5 R) SIfthen/Ja(2) == 'Leader_Bushes'" c$ }* A% L5 k1 e" t5 |, G4 d" K
Jump/J013:7 }5 t0 Q$ P0 s: F7 o
Endif . M, l( Q5 y# t) _% x- ^
Ifthen/Ja(2) == 'Return_Pin'; X8 x2 u4 m) @8 k, \$ ?
Jump/J014:
; d/ N8 r {: \6 J) q" IEndif $ S! O6 @; a. s. E, w, y/ P
2 ?- b# m9 e ~0 V- z
Ifthen/Ja(2) == 'E.G.P'
: h- T0 I& d0 V% g4 pJump/J015:
! \5 a1 D% I- x" Q, Y7 ^# N; pEndif
7 Y7 _( Z2 I0 _Ifthen/Ja(2) == 'E.G.B'
9 u4 z" Z) s: }( @Jump/J016:* w: i& G" i4 S7 s
Endif
; H7 ]" G. O2 e v9 I$ W& Y8 wIfthen/Ja(2) == 'Leader_Block'+ t( N7 ~4 S5 s# j% s+ P7 Q9 l
Jump/J017:1 i* _! v t2 l& {; T
Endif
2 Z( R: n1 d5 _4 y) TIfthen/Ja(2) == 'Block_Bushes'2 p! F2 H: r4 E3 a1 P
Jump/J018:
! W5 t- k) e: |/ P# lEndif
+ N' ?, T9 \ g& o7 bIfthen/Ja(2) == 'Side_Locks'
$ ~: g0 @1 p4 I" _7 L: aJump/J019:# o" \1 \9 D1 h. u) y
Endif 2 x/ z& |3 k/ b+ e: B' S' m
Ifthen/Ja(2) == 'Top_Locks'
7 j# w, E1 w0 j H& z5 }Jump/J020:
- Q6 T& f6 v. v( |Endif
; q- d5 H: j: Z: ?) D; |" CIfthen/Ja(2) == 'Tapered_Locks'
! y; E% u( r Q; u# {" a8 e6 IJump/J021:
7 z: \8 \; O3 T# i' ~# y; }Endif ) v D7 c. O4 s7 R# K3 ]
& j/ z; w5 w9 j* a' _8 x
$$===============读取模胚名称==============================- z* f1 n3 g( k
J001:
7 D F: u" V/ i* p+ G$ ]Ja(2) = '面板/Top_Clamp_Plate'
; `/ W' F7 \. f% l; m1 i' jJa(8) = '自制类' A7 G5 U# m' Q4 _3 ~4 w6 `
Jump/K001:
, _1 Z. w$ r; B# L# I$ H2 ?J002:2 Q* Q3 B8 V& ?) |* d
Ja(2) = '水口板/Stripper_Runner_Plate'& y4 ~, e. ]0 R- o, @7 H* P: X& Y9 y& D3 d
Ja(8) = '自制类'
; N( o: B+ Q6 M% K. y- T; P8 }4 FJump/K001:! {% o" s0 \2 L1 u% j- F2 v" k
J003:& K4 K/ a: @- v% X
Ja(2) = '热流道板/Hot_Runner_Plate'+ Z# | \, k8 P3 s3 t. l
Ja(8) = '自制类'
1 r+ S+ @: K* s' ]4 i6 ?Jump/K001:
: M" [4 A2 L, A( LJ004:
3 I5 B+ H) _. SJa(2) = 'A板/A_Plate'- g8 x: Y) l) m
Ja(8) = '自制类'
# L& e' G# d6 Y1 CJump/K002:* {7 w0 m1 p) n: i- _; E& x$ a
J005:/ ^8 w" y. d# o# Z
Ja(2) = 'B板/B_Plate'; k( i; n: H. {$ I" x
Ja(8) = '自制类'. Y3 R1 x/ }' ^: w
Jump/K002:
' @1 k8 t3 g* v0 e( [# mJ006:' ~: I1 `4 _. T( e0 M
Ja(2) = '托板/Support_Plate'
* ]* W* m* u/ G9 E1 q _1 p3 tJa(8) = '自制类'
. A' b' F# G; [' ]: |Jump/K001:
` O+ z0 B% q @1 K) QJ007:- s' z/ x" s/ L+ j$ K1 D& a
Ja(2) = '托板/Support_Plate'
2 x9 K9 W2 G# e: W# K5 d2 Z$ L0 j3 v7 u1 jJa(8) = '自制类'
2 N2 u; L @$ s% P! hJump/K001:
" f% E& _8 \: ]J008:
. p2 N) v' N. k3 \/ _: HJa(2) = '方铁/Spacer_Block'8 A8 X% C! S" C9 h
Ja(8) = '自制类'9 c u& C7 {7 T5 d3 p
Jump/K001:
: ~3 w& Q9 g3 LJ009:7 c' V: s7 J9 @& Y
Ja(2) = '面针板/Ejector_Retainer_Plate'
" n; j2 j( u; V( K, \Ja(8) = '自制类'# o+ F% v0 p( l8 @( J% Q1 _
Jump/K001:- V* a" I& O$ _6 L3 H
J010:
' f3 V. o% v) v- y3 sJa(2) = '底针板/Ejector_Plate'
q U7 |* f* w) f+ e$ gJa(8) = '自制类'0 b" m# A; H( t2 \/ C
Jump/K001: l6 A5 f2 O+ S. t! ]/ O1 }8 G
J011:
; r' B( z3 f$ F3 b- C* lJa(2) = '底板/Bottom_Clamp_Plate'* c8 O; N5 {$ ^
Ja(8) = '自制类'
* K R F' h9 A4 ^) }+ I' DJump/K001:
& @0 A5 ?8 Q8 S4 e! G4 Z lJ012:
7 H% Z( Z* i% y! E' MJa(2) = '导柱/Leader_Pin'
' R* w3 N& G- m3 \- j8 }Ja(8) = '标准类'7 Y {. ?9 z, p1 W9 b# d& b
Jump/K005:: i4 `* H1 N0 D$ C; S7 x# C
J013:
) t. e0 l: h3 ?( F7 v7 ~# L. ~; [/ lJa(2) = '导套/Leader_Bushes'2 r* k, K% _0 r D" m8 S4 y; S
Ja(8) = '标准类'" w6 ~+ f; h% t6 E: k5 B
Jump/K005:
+ ]/ g1 p6 x# B: T( Z, GJ014:
3 k% g4 {7 C' }Ja(2) = '回针/Return_Pin'
z7 n) x/ a" i8 ^% j0 {Ja(8) = '标准类'0 c) f4 j+ W3 n
Jump/K005:
- {! u0 X; z7 EJ015:3 [) A0 e2 _8 A7 I/ p1 \$ w
Ja(2) = '中托边/E.G.P'; u, p7 z- r; P1 x
Ja(8) = '标准类'
. g" ?+ \: [! NJump/K005:
- h- e, L9 G \* [$ vJ016:
2 O$ u5 F2 e6 @Ja(2) = '中托司/E.G.B'
- }) R& Y5 N: c5 W6 i; y1 B) sJa(8) = '标准类'0 K1 `6 g$ ]' Z- G6 S2 ^: S
Jump/K005:; j' |9 J* U! s8 l' N7 o2 {
J017:! a& n$ E+ {& c9 f0 A+ z
Ja(2) = '方导柱/Leader_Block'( [+ ?% S# f% v
Ja(8) = '自制类'3 ? B+ b+ i4 D
Jump/K003:
4 y* T& E; Z7 a& P! CJ018:
; y6 M$ }; \* xJa(2) = '方向套/Block_Bushes'
' X3 t4 j- W3 n) {8 ~' V! N' F: ZJa(8) = '自制类'
: H$ t# K; {- i7 TJump/K003:
$ j' L# L. e0 U5 t* l: HJ019:( h( f* g! o7 g
Ja(2) = '边锁/Side_Locks' m, l; ?- @% I. v) P9 x
Ja(8) = '标准类'
- F- v" W: g) f6 e# l' YJump/K005:
/ t& Y; G5 j; YJ020:
4 w) m w% ]' m( K+ BJa(2) = '顶锁/Top_Locks'( _# T. d2 n" S; L4 j% U
Ja(8) = '标准类'
4 H D2 d, p- OJump/K005:
) g3 v! N2 ]+ o( L7 [) `$ iJ021:
2 Z4 z; }, v) u) tJa(2) = '斜度锁/Tapered_Locks'# r* r5 z% _6 r
Ja(8) = '标准类'
" }) h8 f ~5 `7 K3 P: w% W9 pJump/K005:
$ M& H C) [* D4 ]( z1 s: c |
|