//(BW) 5 10 15 20 25 30 40 50 60 80 90 100//(fdd)25 52 79 106 133 160 216 270 N/A N/A N/A N/A//(tdd)11 24 38 51 65 78 106 133 162 217 245 273/// <summary>/// rb转带宽/// </summary>/// <param name="tdd_fdd">0:fdd;1:tdd</param>/// <param name="rb_num"></param>/// <returns></returns>
public staticintRb_To_Bandwidth(int tdd_fdd,int rb_num){int band =0;if(tdd_fdd ==0)//fdd{switch(rb_num){case25: band =5;break;case52: band =10;break;case79: band =15;break;case106: band =20;break;case133: band =25;break;case160: band =30;break;case216: band =40;break;case270: band =50;break;default:break;}}elseif(tdd_fdd ==1)//tdd{switch(rb_num){case11: band =5;break;case24: band =10;break;case38: band =15;break;case51: band =20;break;case65: band =25;break;case78: band =30;break;case106: band =40;break;case133: band =50;break;case162: band =60;break;case217: band =80;break;case245: band =90;break;case273: band =100;break;default:break;}}return band;}