Subversion Repositories SmartDukaan

Rev

Rev 2051 | Rev 2201 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2051 Rev 2150
Line 88... Line 88...
88
                        
88
                        
89
                if type == "Super AMOLED Plus" :
89
                if type == "Super AMOLED Plus" :
90
                    type_score = 10
90
                    type_score = 10
91
                elif type == "Super AMOLED" :
91
                elif type == "Super AMOLED" :
92
                    type_score = 9.5
92
                    type_score = 9.5
-
 
93
                elif type == "Super Clear LCD":
-
 
94
                    type_score = 9.5
-
 
95
                elif type == "Retina Display":
-
 
96
                    type_score = 9.5
-
 
97
                elif type == "Super LCD":
-
 
98
                    type_score = 9.5                   
93
                elif type == "AMOLED" :
99
                elif type == "AMOLED" :
94
                    type_score = 8
100
                    type_score = 8
95
                elif type == "OLED" :
101
                elif type == "OLED" :
96
                    type_score = 6
102
                    type_score = 6
97
                elif type == "TFT LCD" :
103
                elif type == "TFT LCD" :
Line 100... Line 106...
100
                    type_score = 4
106
                    type_score = 4
101
                elif type == "STN LCD" :
107
                elif type == "STN LCD" :
102
                    type_score = 2
108
                    type_score = 2
103
   
109
   
104
 
110
 
-
 
111
 
-
 
112
 
105
    print "type_score" + str(type_score)
113
    print "type_score" + str(type_score)
106
    print "screen_size_score: " + str(screen_size_score)
114
    print "screen_size_score: " + str(screen_size_score)
107
    print "screen_resolution_score"  + str(screen_resolution_score)
115
    print "screen_resolution_score"  + str(screen_resolution_score)
108
    print "number_of_colors_score" + str(number_of_colors_score)
116
    print "number_of_colors_score" + str(number_of_colors_score)
109
    
117