Rev 347 | 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 = valueif unitID == 50008 :newvalue = value * 1024print "newvalue=" + `newvalue`newunitid = "50007"