Blame | Last modification | View Log | RSS feed
values = []resolution = NonesensorChildSlide = NoneexpChildrenSlides = expSlide.getExpandedChildrenSlides()if expChildrenSlides is not None:for expChildSlide in expChildrenSlides:if expChildSlide.getSlideDefinition() == 130152:sensorChildSlide = expChildSlidebreakif sensorChildSlide is not None:expFeatures = sensorChildSlide.getExpandedFeatures()if expFeatures is not None:for expFeature in expFeatures:print expFeature.getFeatureDefinition()if expFeature.getFeatureDefinition().getID() == 120387:print "Effective Resolution"expBullets = expFeature.getExpandedBullets()if expBullets is not None:for expBullet in expBullets:resolution = float(expBullet.getValue())if resolution is not None:print "Resulution is" + `resolution`if resolution < 10 :strRate = "Upto 10 Mpx"elif resolution < 15 :strRate = "10 - 15 Mpx"elif resolution < 20 :strRate = "15 - 20 Mpx"else :strRate = "Above 20 Mpx"values.append(strRate)