'çæçžå¯¹å¯äžçcidïŒéåšå±å¯äžïŒ'

def makeCID(self, componentType):

    if (not hasattr(self, 'cidRand')):
        self.cidRand = random.randint(1, 99999)
    if (not hasattr(self, 'ct2cid')):
        self.ct2cid = ([0] * Define.COMPONENT_END_TYPE)
    self.ct2cid[componentType] += 1
    t = (int(time.time()) % 99999)
    cid = ('%02i%05i%05i%04i' % (componentType, t, self.cidRand, self.ct2cid[componentType]))
    return int(cid)
