package com.qiyou.mb.android.utils.enums;

public enum WebQueryCate { 

//-1,0,1,2,3,...(turnLeft,start,turnRight,paused,finished,...)
 	//NORMAL(-2),TURNLEFT(-1),START(0),TURNRIGHT(1),TURNBACK(2),MAXR(3),END(4),CUST(5),TENT(6),REST(7),CHECK(8),HAND(9);
 LATEST(0),MYNEARBY(1),GEO(2) ,KEYWORD(3) ,MINE(4) ,USER(5),SVRNO(6),BIKE(7),GPX(8),HIKE(9),MOTOR(10),SCORE(11)
 ,ACTIVITY(12),GROUP(13),LEARNING(14),BIKECARE(15),QANDA(16),QXTD(17),PYJL(18),TBDS(19),
 
CITY(20) ; //city always be the last one

WebQueryCate(int FLAG){
	this.FLAG=FLAG;
}
private int FLAG=0;
/*@Override
public String toString() {
	return String.valueOf(this.FLAG);
}*/

public String toCHString() {

	switch(FLAG){
	case 0:{return "最新";}
 	case 1:{return "周边";}
 	case 2:return "按地区查找";
 	case 3:return "按关键字查找"; 
 	case 4:return "我的";
 	case 5:return "按驴友名称查找"; 
 	case 6:return "按编号查找";  
 	case 7:return "骑行类型的"; 
 	case 8:return "路书类型的"; 
 	case 9:return "徒步类型的"; 
 	case 10:return "机动类型的";
 	case 11:return "按积分排序"; 
 
 	case 12:{return "活动相关的说说";}
 	case 13:return "队伍相关的说说";
 	case 14:return "新手乐园，软件的基本使用都可以在这里讨论"; 
 	case 16:return "问题反馈，软件使用中的问题和建议"; 
 	case 15:return "运动装备，爱车养护，装备相关分享都可以在这里讨论";  
 	case 17:return "骑行天地，骑行话题都来这里说吧"; 
 	case 18:return "跑友交流，喜欢跑步的朋友到这里来吧"; 
 	case 19:return "徒步户外，喜欢徒步爬山的朋友来这里啦"; 
 	case 20:return "地方论坛，本地驴友到这里聚聚吧"; 
  
	default: return "最新";
	}
 
}
  
public int toInt() {

return FLAG;
 
}
/*
public static WebQueryCate valueOf(int type) {
// TODO Auto-generated method stub
switch(type){
	case 0:{return LATEST;}
	case 1:{return MYNEARBY;}
	case 2:{return GEO;}
	case 3:{return KEYWORD;}
	case 4:return MINE;
	case 5:return USER; 
	case 6:return SVRNO; 
	case 7:return BIKE; 
	case 8:return GPX; 
	case 9:return HIKE; 
	case 10:return MOTOR;
	case 11:return SCORE;
	case 12:return ACTIVITY; 
	case 13:return GROUP; 
	case 14:return LEARNING; 
	case 15:return QANDA;
	case 16:return BIKECARE;
 	case 17:return CITY; 
//	case 18:return GPX; 
//	case 19:return HIKE; 

	default: return LATEST;
	} 
}
*/
}