嗯,不知道你是要记录多长时间内的buffer产品数量平均值) D' o, t/ E# q* {! J, E4 w
不管怎么样,你都可以,自己在属性里面添加一个integer类型的属性: @6 D" \# r. s' q
每次buffer里面零件进入或加工完毕出去的时候,属性值+1,这样就好了。。。: }2 D0 z: h7 }1 e; k
4 E; a0 ^ z" c. {& q5 @/ B平均值的话,可以多添加一个时间的属性,把开始进入时间和最后一个零件出去的时间都记录下来,就可以了。。
是有.numMU这个属性的,我刚刚查帮助找到了& @ e* j$ ^* l# N) }; G
numMu / B( j( `. `) F4 X8 `- Z7 y0 OUsage: <mu_path>.numMu; 1 i$ _0 C, ]2 c* e9 t6 `' v+ s d; m2 K/ r. U) w! p2 T
The method numMu returns the number of MUs located on the loading space of the MU designated by <mu_path>. ' h, \3 I K( W0 p" \5 @& Q8 h0 K1 ?) S# ]0 C! ]
The return value is of type integer. $ U- x8 F; V" i9 ]. J- ~, G" {9 ^
}5 G& _" F. x! |! D
Example: .MUs.transporter:1.numMu;