Rev 346 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#if vars().has_key('expFeature'):# print "expFeature=" + `expFeature`##if vars().has_key('feature'):# print "feature=" + `feature`expBullets = expFeature.getExpandedBullets()expBullet = expBullets[0]value = expBullet.getValue()unitID = float(expBullet.getUnitID())print "value=" + `value`print "unitID=" + `unitID`#to remove L from the endif(value.endswith('L')):value=value[0:len(value)-2]newvalue = int(value)if unitID == 50008 :newvalue = int(value) * 1024print "newvalue=" + `newvalue`newunitid = "50007"