Subversion Repositories SmartDukaan

Rev

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

Rev 346 Rev 638
Line 19... Line 19...
19
v2G = twoGBullet.getValue()
19
v2G = twoGBullet.getValue()
20
print "v2G=" + `v2G`
20
print "v2G=" + `v2G`
21
v2Gparts = v2G.split()
21
v2Gparts = v2G.split()
22
 
22
 
23
# Take only hours
23
# Take only hours
24
v2Ghours = int(v2Gparts[0])
24
v2Ghours = float(v2Gparts[0])
25
print "v2Ghours=" + `v2Ghours`
25
print "v2Ghours=" + `v2Ghours`
26
 
26
 
27
if threeGFeature is not None:        
27
if threeGFeature is not None:        
28
    threeGBullets = threeGFeature.getExpandedBullets()
28
    threeGBullets = threeGFeature.getExpandedBullets()
29
 
29
 
Line 32... Line 32...
32
    v3G = threeGBullet.getValue()
32
    v3G = threeGBullet.getValue()
33
    print "v3G=" + `v3G`
33
    print "v3G=" + `v3G`
34
    v3Gparts = v3G.split()
34
    v3Gparts = v3G.split()
35
 
35
 
36
    # Take only hours
36
    # Take only hours
37
    v3Ghours = int(v3Gparts[0])
37
    v3Ghours = float(v3Gparts[0])
38
    print "v3Ghours=" + `v3Ghours`
38
    print "v3Ghours=" + `v3Ghours`
39
 
39
 
40
# Rough values
40
# Rough values
41
# 2G High > 10, Medium > 5 else Low
41
# 2G High > 10, Medium > 5 else Low
42
# 3G High > 5, Medium > 3 else Low
42
# 3G High > 5, Medium > 3 else Low