private int getProductLevel(int prod_elevation){
        int level = 0;

        if(prod_elevation== 5)
            level =  0;
        else if(prod_elevation== 9)
            level =  1;
        else if(prod_elevation==13 || prod_elevation==15)
            level =  2;
        else if(prod_elevation==18)
            level =  3;
        else if(prod_elevation==24)
            level =  4;
        else if(prod_elevation==31)
            level =  6;

        return level;
    }
private int getProductLevel(int prod_elevation){
        int level = 0;

        if(prod_elevation== 5)
            level =  0;
        else if(prod_elevation== 9)
            level =  1;
        else if(prod_elevation==13 || prod_elevation==15)
            level =  2;
        else if(prod_elevation==18)
            level =  3;
        else if(prod_elevation==24)
            level =  4;
        else if(prod_elevation==31)
            level =  6;

        return level;
    }
private int getProductLevel ( int prod_elevation ) { int level = 0 ; if ( prod_elevation == 5 ) level = 0 ; else if ( prod_elevation == 9 ) level = 1 ; else if ( prod_elevation == 13 || prod_elevation == 15 ) level = 2 ; else if ( prod_elevation == 18 ) level = 3 ; else if ( prod_elevation == 24 ) level = 4 ; else if ( prod_elevation == 31 ) level = 6 ; return level ; }
Misc
@param prod_elevation
@return
Misc