Subversion Repositories SmartDukaan

Rev

Rev 347 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 347 Rev 1312
Line 1... Line 1...
1
values = []
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:
2
expBullets = expFeature.getExpandedBullets()
7
            expBullets = expFeature.getExpandedBullets()
3
 
-
 
4
if expBullets is not None:
8
            if expBullets is not None:
5
    for expBullet in expBullets:
9
                for expBullet in expBullets:
6
        resolution = float(expBullet.getValue())
10
                    resolution = float(expBullet.getValue())
7
 
11
 
8
print "Resulution is" + `resolution`
12
print "Resulution is" + `resolution`
9
 
13
 
10
if resolution < 2 :
14
if resolution < 2 :
11
    strRate = "Upto 2 Mpx"    
15
    strRate = "Upto 2 Mpx"    
Line 14... Line 18...
14
elif resolution < 10 :
18
elif resolution < 10 :
15
    strRate = "5 - 10 Mpx"
19
    strRate = "5 - 10 Mpx"
16
else :
20
else :
17
    strRate = "Above 10 Mpx"
21
    strRate = "Above 10 Mpx"
18
    
22
    
19
values = []
-
 
20
values.append(strRate)
23
values.append(strRate)
21
24