|
自动添加零件属性自动添加零件属性,如果英文名在判断里找不到相同的英文名,程序会默认为第一个。
8 v2 a: n0 w* N. H& |/ j我的想法是如果找不到,让他报警提示。! x) j6 F5 n) u& j7 H5 O
( i. p5 h0 K- f5 C, {# h: M( Q, b4 w- _" ]% g/ m2 Q) ]
$$===============判断英文名==============================
) n- | x5 U* t, v- M/ D0 ]Ifthen/Ja(2) == 'Top_Clamp_Plate'- r6 D. T4 Z* u& j( v: O
Jump/J001:; m/ h' @+ n8 ]( j1 h/ H* u7 i
Endif
8 K- B5 w, A/ A8 W- F/ @! a+ TIfthen/Ja(2) == 'Stripper_Runner_Plate'# ?' U+ F: ^* L: B3 e
JumpJ002:
! c' U- G% C+ k% _: FEndif
& I% M; M) W; I1 }. o# NIfthen/Ja(2) == 'Hot_Runner_Plate'
+ e; }+ F+ |4 zJump/J003:5 x0 I" h& U7 }& \4 [6 R
Endif 0 h- T; @2 H! U N8 \ [& }
Ifthen/Ja(2) == 'A_Plate'
6 s* p3 s% d w3 q3 i# y& U" LJump/J004:
3 z1 i8 T3 X9 J" z4 z- T% uEndif
' p) O1 ?3 B6 }" xIfthen/Ja(2) == 'B_Plate'0 O- H7 U+ [8 P" |0 R
Jump/J005:4 N0 N9 g1 L8 p7 U5 H+ \
Endif 0 D9 X6 ~7 A, ?. j* H
Ifthen/Ja(2) == 'Support_Plate'4 ]: k2 T7 p7 o$ R8 n7 o; H
Jump/J006:
/ m) { }2 ?0 V2 TEndif
7 r% ~5 V3 N+ d; \/ zIfthen/Ja(2) == 'Stripper_Plate'5 m) p. a% Z( m i: g
Jump/J007:- }! ]9 V+ z+ H! f# N) b# l; I
Endif
) C H) p7 n. ?9 o/ T6 F! yIfthen/Ja(2) == 'Spacer_Block'* F' K. L5 y/ {2 T" W0 B
Jump/J008:2 e. c- p$ l& d O' k8 \# b. M8 n
Endif
1 M! p) G0 j2 r" d. \/ \/ z& SIfthen/Ja(2) == 'Ejector_Retainer_Plate'
) G+ z9 I# U: H2 j! L3 ]$ ?Jump/J009:3 L% [9 @3 Z' J
Endif
$ w, W9 P' t6 O( t$ E% gIfthen/Ja(2) == 'Ejector_Plate'3 o$ [9 a1 b/ `" O5 Z3 j5 `% ^
Jump/J010:9 W, `5 N9 m& a7 ^$ D
Endif
8 k9 l2 D2 G: hIfthen/Ja(2) == 'Bottom_Clamp_Plate'
: ?1 e3 {4 O2 Z* a) pJump/J011:2 i+ P3 x+ Y7 o( e2 D% `7 D
Endif
$ V$ ~! r8 o) O# L' r" i4 g5 Q/ }% S2 S, F0 E
Ifthen/Ja(2) == 'Leader_Pin') S% r9 i# ` k/ }! `
Jump/J012:
6 L8 c: j+ z4 x# U# fEndif
! N7 k) t5 B3 l) b7 P O. `Ifthen/Ja(2) == 'Leader_Bushes'
. ]+ \+ g! b& `& gJump/J013:
. B$ _9 V5 [: }" ?% S3 w& u% j. CEndif
! c% Q+ c" o/ OIfthen/Ja(2) == 'Return_Pin'
2 z$ M6 n# Y8 g% z% E) i4 N0 LJump/J014:5 d) U, p! e% {' r# g. m# [
Endif
. W1 Y2 N# u4 }. W8 l, [
- v% G' Y9 ^$ ?* W S6 W$ k3 JIfthen/Ja(2) == 'E.G.P'! q, [2 i+ v& s8 ~) `1 j! E f0 `
Jump/J015:
% r8 R/ Q* } z6 x1 ?Endif ! _: }8 H% u2 W3 H
Ifthen/Ja(2) == 'E.G.B'
! i9 ?% j1 b) O( [ {" |/ z, B! ^Jump/J016:9 l/ X) @7 f% \$ K
Endif
* u" [4 P7 p* [; n$ I6 CIfthen/Ja(2) == 'Leader_Block'
: C! O* ~5 ?0 `* @2 EJump/J017:$ d3 X$ d; y# g1 |
Endif ) a3 H$ s. V9 b( n
Ifthen/Ja(2) == 'Block_Bushes'' w: Y/ A) x. u5 J
Jump/J018:
/ @9 `* V/ u* ] L+ o$ V6 IEndif
5 B5 H# @& w0 g5 i7 gIfthen/Ja(2) == 'Side_Locks'# o9 G9 o* K2 \. N
Jump/J019:" I( u' E9 i- n Q
Endif
2 T5 U# {& {6 E+ g- z/ `( HIfthen/Ja(2) == 'Top_Locks'# R } O- n8 z8 D5 z! u! B" r
Jump/J020:
" F9 X: l: l+ A( x/ n! m) REndif
3 m* y1 o% Q) r; IIfthen/Ja(2) == 'Tapered_Locks'
$ b+ }+ j) [" I( ~Jump/J021:
8 s+ q# O3 c+ V0 p$ X6 g% oEndif
6 X1 F! Q7 H4 ?6 |
1 i7 p& T0 }* X9 {- z$$===============读取模胚名称==============================
' {7 t# l i2 r# D) a- FJ001:( x* J1 y) m+ T0 O; Z" s$ q* n
Ja(2) = '面板/Top_Clamp_Plate'
, f4 Z$ W. s4 Z% I- u- T' O1 ~Ja(8) = '自制类') F# g# `4 x" D- S
Jump/K001: N( ]4 u9 p3 o c8 X: ]/ j
J002:4 z$ ]# ^5 V7 O# l
Ja(2) = '水口板/Stripper_Runner_Plate'
; [9 t. g6 b4 t" m; bJa(8) = '自制类'
0 f# {8 r+ p3 UJump/K001:
3 M6 U6 C7 } a- SJ003:# ~- M+ o3 b/ l H1 m& U5 ^ B" x
Ja(2) = '热流道板/Hot_Runner_Plate'% Q* r1 Z' f! j* N# H
Ja(8) = '自制类'0 a5 a' X- ]1 j, c
Jump/K001:
$ s& j1 [4 E0 ?- {# s' bJ004:
; F; u) N$ T9 R, D. U" w/ ~Ja(2) = 'A板/A_Plate' x3 B* m" d& N
Ja(8) = '自制类'
: X0 U& Z' _2 {: T9 QJump/K002:. R, ^. ~7 @1 e" v$ F. e
J005:
) u8 c, ^9 @0 T- [Ja(2) = 'B板/B_Plate'
9 F) r/ C+ p' `, mJa(8) = '自制类'5 @5 w6 J# z1 z) }9 q! ]# N8 P
Jump/K002:8 E" q' m( [0 W# ~
J006:
: _" u* Z* ?- I+ IJa(2) = '托板/Support_Plate'
4 H5 g3 T& K' p* c0 tJa(8) = '自制类'
2 y6 n5 V- n D `0 V8 E! W9 d+ gJump/K001:
( P4 Q% v4 U* PJ007:
7 H. a. _! ~, B+ HJa(2) = '托板/Support_Plate'4 W/ H5 y7 w. s% A
Ja(8) = '自制类'
' v) B' v0 a: Z% S. \Jump/K001:- P+ z. M. q; e% m7 J5 V& |
J008:# w1 x6 T# m9 J' n+ P/ L4 c( ?
Ja(2) = '方铁/Spacer_Block'
3 C/ I* _! k+ u2 J+ LJa(8) = '自制类'* s3 z1 z( G) y' D: V
Jump/K001:, |& Q, u) J1 C. M5 I% \3 v
J009: A$ j/ @; M- H9 h' L2 K0 {
Ja(2) = '面针板/Ejector_Retainer_Plate'; U! m% k) K2 l+ u2 @8 i. ?0 ^* A
Ja(8) = '自制类', Z4 @) @6 B. d. M# B. K& Q7 H
Jump/K001: V, I0 u4 j9 J; p- J
J010:
: H+ W. l0 F3 R4 C* H2 |Ja(2) = '底针板/Ejector_Plate'
' r. K; z- }. W8 ?7 F3 y6 k xJa(8) = '自制类'1 B0 U9 y6 J/ \+ v. \
Jump/K001:, H: @9 s- ^+ ~" ]3 l
J011:
$ ~7 O9 O8 Z( W) R6 Z2 ^& LJa(2) = '底板/Bottom_Clamp_Plate'0 y' }6 w2 F% P w) E+ o
Ja(8) = '自制类'
9 W, W9 z& |* y# B3 [0 M zJump/K001:4 g" E2 o$ p9 V! R1 n5 E
J012:0 E7 h) l$ s5 D8 j. P" Y
Ja(2) = '导柱/Leader_Pin'3 K% a F/ P0 r
Ja(8) = '标准类'8 j: j( \; Q0 M" B; o
Jump/K005:
3 M9 e# r& {2 m+ ?$ t7 ^J013:
3 u2 x+ ^! V p( C9 ]" ~4 lJa(2) = '导套/Leader_Bushes'
3 v+ B! g8 W8 R, N- {8 yJa(8) = '标准类'
" v% r( ~* ^" D1 H' d! EJump/K005:% _4 h5 s- X8 h0 f
J014:
4 p S" Z3 [( e7 h# i9 \3 GJa(2) = '回针/Return_Pin'
, U3 A; F1 T+ K9 B; qJa(8) = '标准类'! A& c- f( h% A7 U4 }
Jump/K005:4 H$ M- r' I7 C! s9 L+ Y
J015:
' r7 I, E6 m, F/ h4 n" x+ A* I! iJa(2) = '中托边/E.G.P') W* @9 p5 D& c3 Z
Ja(8) = '标准类'
" Q! l+ ?5 Y) A2 LJump/K005:
8 A0 W5 t& m7 v, bJ016:, f* O) I0 Z! W7 s+ Y8 p. j* q
Ja(2) = '中托司/E.G.B'- t$ M! V/ S* P2 q3 c2 u& _6 l$ f& u
Ja(8) = '标准类'0 [/ B r. p0 b$ [2 i
Jump/K005:
0 q0 U; ?3 h2 z' w% cJ017:
% V9 g F, m3 W9 K1 F9 TJa(2) = '方导柱/Leader_Block'
6 q7 |( P% i; t5 P4 a, q: QJa(8) = '自制类'
% N5 ]& P" e' ^- |/ H( T7 uJump/K003:
0 T* |5 k N" nJ018:
. J; T W! |" x* tJa(2) = '方向套/Block_Bushes'# \+ E# Q [$ p
Ja(8) = '自制类'
# u5 e3 C, B& Y% `Jump/K003:" P- D( c. j p1 t
J019:. G8 N) a( u' R( P: ]
Ja(2) = '边锁/Side_Locks'
) E! j2 a( e1 ^8 G; k! @+ _Ja(8) = '标准类'5 Q+ l; p G4 o% C) g% q- }, ? C
Jump/K005:
! x; I8 S6 ^* n; [. f0 I8 d# eJ020:
) n3 h) H# N% [$ B0 N. N2 R* G% OJa(2) = '顶锁/Top_Locks'
8 o0 A& Z6 r) e3 n9 g$ zJa(8) = '标准类': z* U: {3 }; D. w6 ^6 }& S
Jump/K005:# o. J. f* G4 M# c- l- \; T5 Q
J021:. ^5 s: L# y1 j3 w: E
Ja(2) = '斜度锁/Tapered_Locks'& g1 s9 K+ V$ R0 w3 T# A5 B
Ja(8) = '标准类'9 q# P" h$ |1 I" n$ P
Jump/K005:
$ l5 h [6 U4 \* _: `: `( j9 Y/ S3 M" D K |
|