Go to most recent revision |
Details |
Last modification |
View Log
| RSS feed
| Rev |
Author |
Line No. |
Line |
| 5873 |
amit.gupta |
1 |
values = []
|
|
|
2 |
expFeatures = expSlide.getExpandedFeatures()
|
|
|
3 |
if expFeatures is not None:
|
|
|
4 |
for expFeature in expFeatures:
|
|
|
5 |
print expFeature.getFeatureDefinition()
|
|
|
6 |
if expFeature.getFeatureDefinition().getID() == 120026:
|
|
|
7 |
expBullets = expFeature.getExpandedBullets()
|
|
|
8 |
if expBullets is not None:
|
|
|
9 |
for expBullet in expBullets:
|
|
|
10 |
resolution = float(expBullet.getValue())
|
|
|
11 |
|
|
|
12 |
print "Resulution is" + `resolution`
|
|
|
13 |
|
|
|
14 |
if resolution < 10 :
|
|
|
15 |
strRate = "Upto 10 Mpx"
|
|
|
16 |
elif resolution < 12 :
|
|
|
17 |
strRate = "10 - 12 Mpx"
|
|
|
18 |
elif resolution < 15 :
|
|
|
19 |
strRate = "12 - 15 Mpx"
|
|
|
20 |
elif resolution < 18 :
|
|
|
21 |
strRate = "15 - 18 Mpx"
|
|
|
22 |
else :
|
|
|
23 |
strRate = "Above 18 Mpx"
|
|
|
24 |
|
|
|
25 |
values.append(strRate)
|