Example #1
0
 /**
  * Copyright (C), 2000-2006, Kingstar Co., Ltd.<br>
  * File name: .java<br>
  * Description: GetDictionary取得计时宝类的数据字典<br>
  * Return: List<br>
  * Modify History: <br>
  * 操作类型 操作人 操作时间 操作内容<br>
  * ======================================<br>
  * 创建 韩纪伟 2006-4-11 <br>
  *
  * @author 韩纪伟
  * @version
  * @since 1.0
  */
 public static List getDeviceList() {
   DictionaryDAO dao = DictionaryDAO.getInstance();
   List deviceList = new ArrayList();
   try {
     deviceList = dao.getDeviceList();
   } catch (HibernateException he) {
     he.printStackTrace();
   } finally {
     closeSession();
   }
   return deviceList;
 }