Subversion Repositories SmartDukaan

Rev

Rev 7132 | Rev 7135 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
7132 amit.gupta 1
values = []
2
 
3
childExpSlides = expSlide.getExpandedChildrenSlides()
4
if(childExpSlides):
5
    for childExpSlide in childExpSlides :
6
        if childExpSlide.getSlideDefinitionID() == 130179:
7
           expFeature = childExpSlide.getExpandedFeature(120462)
8
           if expFeature:
9
               expBullets = expFeature.getExpandedBullets()
10
               if expBullets is not None:
11
                   for expBullet in expBullets:
12
                       resolution = float(expBullet.getValue())
13
                       break
14
                   break
7133 amit.gupta 15
    if resolution:
16
        if resolution < 2 :
17
            strRate = "Upto 2 Mpx"    
18
        elif resolution < 5 :
19
            strRate = "2 - 5 Mpx"
20
        elif resolution < 10 :
21
            strRate = "5 - 10 Mpx"
22
        else :
23
            strRate = "Above 10 Mpx"
24
        values.append(strRate)