Subversion Repositories SmartDukaan

Rev

Rev 7133 | Go to most recent revision | Details | 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
15
           expFeature = childExpSlide.getExpandedFeature(120463)
16
           if expFeature:
17
               expBullets = expFeature.getExpandedBullets()
18
               if expBullets is not None:
19
                   for expBullet in expBullets:
20
                       resolution = float(expBullet.getValue())
21
                       break
22
                   break
23
 
24
    if resolution < 2 :
25
        strRate = "Upto 2 Mpx"    
26
    elif resolution < 5 :
27
        strRate = "2 - 5 Mpx"
28
    elif resolution < 10 :
29
        strRate = "5 - 10 Mpx"
30
    else :
31
        strRate = "Above 10 Mpx"
32
 
33
    values.append(strRate)