朱秀群 王娜 姚晉偉
摘要:隨著風(fēng)電事業(yè)在中國的蓬勃發(fā)展,可以說已經(jīng)積累了很豐富的風(fēng)電場建設(shè)和維護(hù)運(yùn)營的經(jīng)驗(yàn)技術(shù),那么如何讓這些非常珍貴的技術(shù)經(jīng)驗(yàn)在以后的風(fēng)電發(fā)展中起到積極有效的作用就擺在了的面前,此時(shí)知識(shí)庫系統(tǒng)的創(chuàng)建則成為了必然。
關(guān)鍵詞:知識(shí)庫;風(fēng)機(jī);設(shè)計(jì)
中圖分類號(hào):TP311文獻(xiàn)標(biāo)識(shí)碼:A文章編號(hào):1009-3044(2012)26-6281-03
Knowledge Based System of Wind Farm
ZHU Xiu-qun,WANG Na,YAO Jin-wei
(Xinjiang Wind Energy Institute,Urumqi 830000,China)
Abstract:Along with the development of wind power industry in China, can be said to have accumulated very rich wind farm construction and maintenance operating experience, so how to let these very valuable technical experience in future wind power development plays a positive and effective role is placed in front, at the creation of knowledge base system be necessary.
Key words:knowledge base; wind power; design
知識(shí)庫系統(tǒng)的首要功能就是把現(xiàn)有的經(jīng)驗(yàn)技術(shù)分門別類地收集起來,其次則是要讓所有需要的用戶能夠友好、及時(shí)、簡單地獲得知識(shí)信息。所以本系統(tǒng)設(shè)計(jì)開發(fā)包括知識(shí)收集系統(tǒng)和知識(shí)查詢系統(tǒng)兩大塊。
1知識(shí)收集系統(tǒng)
首先,在知識(shí)收集系統(tǒng)中分別由類別管理、知識(shí)管理兩大功能模塊。
類別管理,主要是類別信息以直觀明了的樹狀方式進(jìn)行管理(包括新增、刪除、修改和查詢),其核心代碼實(shí)現(xiàn)如下:
//選中節(jié)點(diǎn)改變
protected void TV_LoreType_SelectedNodeChanged(object sender, EventArgs e)
{//檢索數(shù)據(jù)
SearchData();
Session["ParentId"] = TV_LoreType.SelectedValue; TV_LoreType.SelectedNode.Selected = false;
}
//
//對(duì)TreeView進(jìn)行數(shù)據(jù)綁定
//
//TreeView控件
//根節(jié)點(diǎn)顯示字符串
//根據(jù)父節(jié)點(diǎn)獲得子節(jié)點(diǎn)sql語句(需要添加過濾條件)
private void ShowTreeViewNode(TreeView tv, string rootStr, string sqlStr)
{
tv.Nodes.Clear();//清除原有節(jié)點(diǎn)數(shù)據(jù)
TreeNode tn = new TreeNode();
tn.Text = rootStr;//根節(jié)點(diǎn)顯示字符串
tn.Value = "0";//根節(jié)點(diǎn)為0
行等。
分類搜索,實(shí)現(xiàn)通過分類對(duì)知識(shí)信息進(jìn)行搜索、顯示。
熱門排行,根據(jù)關(guān)注度(即閱覽次數(shù)),顯示了當(dāng)前最為大家關(guān)注的、排在前12位的知識(shí)信息的標(biāo)題和閱覽次數(shù),以便大家及時(shí)了解現(xiàn)今的關(guān)注焦點(diǎn)是什么.
本月知識(shí)排行,顯示了一個(gè)月內(nèi)大家最為關(guān)注的知識(shí)標(biāo)題。
用戶貢獻(xiàn)排行,知識(shí)的積累是需要靠大家的努力,用戶貢獻(xiàn)排行就是為了體現(xiàn)出對(duì)本系統(tǒng)知識(shí)內(nèi)容作出比較大的貢獻(xiàn)的用戶以及他們搜集知識(shí)的篇數(shù)。
在以上各類查詢方式,都是通過點(diǎn)擊標(biāo)題這一超鏈接進(jìn)入知識(shí)信息的詳情頁面進(jìn)行閱讀和相關(guān)資料的下載。