def get_cellid(self,filed):
     """
     CellID: 根据filed值获取cellid (读取从数据库中的字典表)
     """
     
     if filed == "" or filed == None:
         return ""
     tmp = filed.split(",")[2]
     cell_info = tmp.split("=")[1]
     if self.cell_dict.has_key(cell_info):
         return self.cell_dict[cell_info]
     else:
         self.cell_dict = DBInfo.loadCellInfo(CellName = cell_info)
         return self.cell_dict[cell_info]
# -*- coding: UTF-8 -*-
'''
Created on 2012-8-23

@author: tianwei

Function: 
'''
from util.loadInfo import DBInfo
ret = DBInfo.loadCellInfo("TSBS11","TSG089A")
ret2 = DBInfo.loadCellInfo("TSBS11","TSG089A")
print ret