Subversion Repositories SmartDukaan

Rev

Rev 7135 | 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())
7135 amit.gupta 13
                       if resolution < 2 :
14
                           strRate = "Upto 2 Mpx"
15
                       elif resolution < 5 :
16
                           strRate = "2 - 5 Mpx"
17
                       elif resolution < 10 :
18
                           strRate = "5 - 10 Mpx"
19
                       else :
20
                           strRate = "Above 10 Mpx"
21
                       values.append(strRate)
7132 amit.gupta 22
                       break
7136 amit.gupta 23
           break
7135 amit.gupta 24