【正文】
. Fault management: detection, registration, prompt the user to network failures and, if possible, automatically repair network problems. Safety management: according to the staff of planning to control network access protection network will not be easily broken. Remote access management: including equipment management, user rights management, access management for remote users. Network security: network security from the physical layer, network layer, application layer, and many levels of consideration, and have the perfect virus protection. system resources of management system in intelligent of factory construction many application of based Shang, to makes all application can smooth, efficient of run, while makes whole factory distribution of puter resources get concentrated, and full and monitoring, must for whole puter systems established a perfect of system monitoring platform, makes user can through this platform achieved on whole system of full management, these management including: security management network management event/state/exception management database management detection work flow management Storage management performance and output management services/help desk change and configuration management, inventory and asset management application management the host system 1. host system performance, can meet the needs of various applications, high performance to price ratio. 2. the host system has a mechanism for storing backups, needs information stored in the system, as well as key home security needs. 3. critical hosts should take into account multiple aspects of cluster needs. factory NET 1. goals: broadband multimedia, Office, production and research to provide the best environment and platform, built State of the art network connecting all Department offices, workshops and laboratories. 2. network functions: support for broadband multimedia services。人事信息管理系統(tǒng)是一個(gè)典型的計(jì)算機(jī)信息處理的管理模式,它支持企業(yè)對(duì)本單位工作人員的管理。本系統(tǒng)除了完成常見人事管理系統(tǒng)中人員對(duì)象的管理外,還針對(duì)現(xiàn)代企業(yè)管理的具體要求,增加了對(duì)企業(yè)部門設(shè)置和崗位編制的管理,并使其與傳統(tǒng)的單一人員管理有機(jī)的結(jié)合,實(shí)現(xiàn)了數(shù)據(jù)的合理設(shè)置和有效應(yīng)用,使其更為適用于目前的企業(yè)人事管理過(guò)程。 課題的背景及意義企事業(yè)單位人事檔案管理工作是一種繁瑣的,務(wù)求準(zhǔn)確訊速的信息檢索工作。2 系統(tǒng)需求分析 系統(tǒng)開發(fā)策略本系統(tǒng)開發(fā)主要采用自頂向下的開發(fā)方式,自頂向下的方法模型如下圖所示:圖1. 開發(fā)模型圖 系統(tǒng)功能需求分析 人事檔案管理系統(tǒng)的系統(tǒng)分析概述現(xiàn)在的世界是信息的世界,隨著信息量越來(lái)越大以及計(jì)算機(jī)技術(shù)的發(fā)展,計(jì)算機(jī)已成為各企事業(yè)單位管理的重要工具。系統(tǒng)管理主要管理單個(gè)的基本表項(xiàng)、部門管理、數(shù)據(jù)備份與恢復(fù)等。 加密類函數(shù)的主要代碼生成密鑰函數(shù):void CCrypt::Key_creator(CString S) //生成常量C1,C2以及加密解密Key{int i,j。for(i=0,j=()1。i++,j){C1=int(S[i])^(C18)。En_Key=De_key。Result=S。 // 將密鑰移位后與字符異或(i, (i)^(En_Key8))。 i()。//str[1]=65+j%26。back += str。//()。j += S[2*i+1]65。 // 追加字符,還原字符串}S=Result。 // 將密鑰移位后與字符異或(i, (BYTE)(i)^(De_key8))??荚u(píng)項(xiàng)目管理說(shuō)明,公司增加的各種對(duì)員工的考核管理。用戶點(diǎn)擊增加按鈕后,系統(tǒng)自動(dòng)生成員工編號(hào)(此處員工編號(hào)是從數(shù)據(jù)庫(kù)中讀取第一個(gè)最大未用的編號(hào)),代碼如下: (select EmpID from EM_Employee order by EmpID asc)。 if(m_pRecordsetadoEOF) break。 } } if(m_pRecordsetadoEOF) vID=vBefID。當(dāng)員工插入完成后點(diǎn)擊保存退出。 if(vEmpID==m_EmpID) break。 vEmpID=(LPCTSTR)(_bstr_t)m_pRecordsetGetCollect(EmpID)。 if(!pos) return??记谟涗浭秦?fù)責(zé)對(duì)員工的上下班時(shí)間進(jìn)行記錄,包括添加、刪除、修改;計(jì)算工作時(shí)間假記錄記錄員工請(qǐng)假次數(shù),在核算員工工資時(shí)將根據(jù)請(qǐng)假次數(shù)進(jìn)行工資核算;加班記錄記錄員工加班的時(shí)間、日期及加班類型,核算工資時(shí)將根據(jù)加班類型及加班時(shí)間核算加班工資;出差記錄記錄員工的出差類型、出差地點(diǎn)、出差開始時(shí)間、出差結(jié)束時(shí)間、出差任務(wù)等,其中出差類型及時(shí)間將在工資核算時(shí)計(jì)算出差補(bǔ)貼;月度考勤記錄記錄了員工一個(gè)月中累積加班時(shí)間、累計(jì)請(qǐng)假時(shí)間、累計(jì)曠工次數(shù)、累計(jì)出差時(shí)間、遲到早退次數(shù),其中累計(jì)礦工次數(shù)及累計(jì)遲到早退次數(shù)也將在工資核算中扣除相應(yīng)金額。界面如下:圖20. 工資構(gòu)成圖稅率管理,是對(duì)員工應(yīng)納稅的稅率及納稅金額的上下限、速算扣除數(shù)等的管理,方便月度工資中核算稅后工資。 condition_SQL=。 condition_SQL=condition_SQL+ and =39。 RefreshData()。 vSQL=vSQL+,SALLeavePenalty,SALAtherBefTr,SALOughtSalary,SALAtherAftTr,SALFeastSubsidy。 vSQL=vSQL+(_bstr_t)condition_SQL。 // 提取數(shù)據(jù)庫(kù)中員工信息 //定義操作Excel必要的對(duì)象 COleVariant VOptional((long)DISP_E_PARAMNOTFOUND, VT_ERROR)。 Worksheets objSheets。 objBooks=()。\\39。 objSheets=()。 _bstr_t vSQL。 vSQL=vSQL+,SALTaxAfterSalary,SALFactSalary,TRTaxRate,SALTaxSum,SALDate,SALIdiograph,SALRemark 。 vSQL=vSQL+ order by SALMonth asc。 (_variant_t((long)(1)),_variant_t((long)(3)),_variant_t(員工編號(hào)))。 (_variant_t((long)(1)),_variant_t((long)(7)),_variant_t(基本工資))。 (%03d,iRowCount+1)。 str = (LPCTSTR)(_bstr_t)m_rsGetCollect(EmpID)。 str = (LPCTSTR)(_bstr_t)m_rsGetCollect(SALMonth)。 str = (LPCTSTR)(_bstr_t)m_rsGetCollect(SGSalarySum)。 iRowCount++。 ()。 ()。數(shù)據(jù)恢復(fù)時(shí)也將彈出似文件打開對(duì)話框,用戶可以選擇備份文件*.Bak文件,點(diǎn)擊打開后開始恢復(fù),數(shù)據(jù)庫(kù)恢復(fù)需要幾分鐘時(shí)間。 CTime tt=CTime::GetCurrentTime()。+ rq +39。 //執(zhí)行SELECT語(yǔ)句 if(m_pRecordsetadoEOF) { return (str_tt+00001)。i99999。 int number=atoi(sub)。 break。 str_tt=str_tt+str。 CString backname = 備份數(shù)據(jù)+ID。 CFileDialog dlg(false,bak,backname,OFN_HIDEREADONLY|OFN_OVERWRITEPROMPT,(*.bak))。 CString path=()。 m_pRecordset = (vSQL)。 sql=sql+values(39。,39。 thisEndWaitCursor()。 ()。 //CFileDialog dlg(true,bak,NULL,OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,(*.bak))。 CString path=()。 m_pRecordset = (vSQL)。 } ()。操作員及權(quán)限管理,對(duì)操作員的增加、刪除、修改及操作員的權(quán)限分配管理。//vado用來(lái)更新單個(gè)的表項(xiàng) CString strSql,vstrSql。 int Index。 // 得到項(xiàng)目索引 m_UMUesrName =(Index,1)。 ()。%s39。 m_UMPasswd1=(LPCTSTR)(_bstr_t)m_pRecordsetGetCollect(UMPasswd)。 GetDlgItem(IDC_UMPasswd2)EnableWindow(TRUE)。 //姓名 ()。 (0,vEmpName)。(!vm_pRecordsetadoBOF)) { tmp=(LPCTSTR)(_bstr_t)vm_pRecordsetGetCollect(EmpName)。 } ()。 vm_pRecordset=(SQL)。amp。amp。amp。amp。amp。amp。 } ()。}密碼管理,對(duì)于操作密碼的修改。只有管理人員才能對(duì)人事信息進(jìn)行管理,一般工作人員只有對(duì)人事信息查詢的權(quán)限。主要代碼:BOOL CMainFrame::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext) { ///首先將窗口客戶區(qū)分割為一行兩列 if (!(this, 1, 2)) return false。//m_pMainWndShowWindow(SW_SHOW)。wndSplitter, (0, 0), dwf)。 (amp。 (10)。 (人事管理, 1)。 (用戶管理, 5)。 ADOConn ado,vado。 //for (人事管理, 1)。,人事管理)。 ()。 (1,2,獎(jiǎng)懲管理,2,0)。 (1,6,考評(píng)管理,1,0)。 (1,10,信息統(tǒng)計(jì)管理,1,0)。%s39。 else vMSValue=0。 (2, 1, 請(qǐng)假記錄, 1, 0)。 } //for (工資管理, 3)。,工資管理)。 ()。 (3, 2, 稅率管理, 2, 0)。 ()。 m_pRecordset=(_bstr_t(strSql))。 if(vpropert_globalamp。 } ()。 m_pRecordset=(_bstr_t(strSql))。 if((vpropert_globalam