是有.numMU这个属性的,我刚刚查帮助找到了 $ b! S2 a* o. x* ~- b9 C& O# X8 ]numMu 1 E; h! x0 {3 b7 i% @2 H2 B
Usage: <mu_path>.numMu; ( N( M; l2 r/ B - M% ^3 h$ p' I; m; g5 z" JThe method numMu returns the number of MUs located on the loading space of the MU designated by <mu_path>. 7 t* d3 I! Z5 `* V/ U
9 N) o1 W: l4 AThe return value is of type integer. ! D- b4 P1 P$ ]" F0 g3 |2 s2 i8 x+ w4 x! g7 A+ v. J1 k5 G% U# I
Example: .MUs.transporter:1.numMu;