public static string get_ma_tham_so(eSystemAdminSysParaEnum i_eMa) { switch (i_eMa) { default: Debug.Assert(false, "Khong ma tham so nay trong enum eSchoolSysParaEnum"); break; } return ""; }
//Public Shared Function getParamValue(ByVal i_tham_so As SystemParamKey, _ // ByVal i_phan_he As SubSystemKey) As String // ' ININITALIZATION // If Not m_initialized Then // Initialize() // m_initialized = True // End If // 'SEARCH DATA // Try // Dim v_ma_tham_so As String = get_ma_tham_so(i_tham_so) // Dim v_ma_phan_he As String = phan_he.getMa(i_phan_he) // Return get_gia_tri_tham_so(v_ma_phan_he, v_ma_tham_so) // Catch v_e As Exception // Debug.Assert(False, "Không đúng tên dữ liệu, kiểm tra lại xem - csung") // End Try //End Function public static string get_quan_tri_ht_para_value(eSystemAdminSysParaEnum i_eMa_tham_so) { // ININITALIZATION if (!m_initialized) { Initialize(); m_initialized = true; } //SEARCH DATA try { string v_ma_tham_so = CSystemAdminSystemParameter.get_ma_tham_so(i_eMa_tham_so); string v_ma_phan_he = PHAN_HE.getMa(SubSystemKey.QUAN_TRI_HE_THONG); return get_gia_tri_tham_so(v_ma_phan_he, v_ma_tham_so); } catch (Exception) { Debug.Assert(false, "Không đúng tên dữ liệu, kiểm tra lại xem - csung"); } return ""; }