数据库设计教学管理系统实例.docx_第1页
数据库设计教学管理系统实例.docx_第2页
数据库设计教学管理系统实例.docx_第3页
数据库设计教学管理系统实例.docx_第4页
数据库设计教学管理系统实例.docx_第5页
免费预览已结束,剩余17页可下载查看

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

Delegates, staff: Hello! in the run-up to the Spring Festival, we held one session of four staff representatives Conference 2013-workshop, full back in 2012, careful analysis of the current situation, discuss 2013 development plans. Here, on behalf of my company 2013 work reports to the General Assembly, for consideration. Pillar I, 2012 back in 2012, XX power companies adhere to the partys 17 great spirit for guidance, comprehensively implement the scientific concept of development, promoting cost-leadership strategy, standards, focus on implementation, lean management, continuously improve, smooth present safety situation of enterprise management, business management and control scientific and standardized, and the dedication of staff, manage a harmonious and democratic atmosphere of the good situation. Main indicators are as follows:-the battery indicator: power generation totaled 7.815 billion kWh, beyond the annual budget implementation capacity of 315 million kWh, an increase of 757 million kWh. Sales totaled 7.425 billion kWh, exceeding sales of 330 million kWh the annual Executive budget, an increase of 729 million kWh. -Security measures: unplanned outages 2.5 times. No personal injury accident occurred, no major accident and above, no major fire accidents without environmental pollution accidents, safety for three consecutive years to maintain stability to good posture. Business financial indicators: total profits of 255 million Yuan, beyond the annual budget of 207 million Yuan, beyond the Datang company index 41.89 million Yuan, an increase of 1.76 million Yuan, FCM assessment at grade four. -Energy: power supply standard coal completing 312.25 g/kWh, down 0.1 g/kWh; integrated auxiliary power consumption ratio in 5.12%, down 0.26%; pollutant emissions performance greatly reduced compared to last year, carbon 0.09 g/kWh, sulfur dioxide 0.104 g/kWh NOx 0.512 g/kWh; dust removal efficiency of more than 99.8%. -Reliability index: equivalent availability factor in 93.47%, increased 7.95% from a year earlier. Equivalent forced outage rate 0.08%, 0.16% reduction over the same period a year earlier. Major achievements: first, we should adhere to the two management system basis, strengthening technological research, strengthen hidden hazards control and intrinsic safety Enterprise construction took new steps. -The two management system for improvement. Focus on promoting the power of the company management system and the application and implementation of the safety loop five-star management system, improve the safety management system, realize the system of safety control. Further regulate security routines, safety supervision and management network role to play to achieve closed-loop. Strengthening the supervision and management of habitual violation of, strengthening the safety supervision of outsourcing contractors. Carried out in spring and autumn of security inspections, flood control and inspection, safety production month, day supervision of production safety and the Olympic Games and other数据库设计一、需求分析设计和开发应用系统的第一步就是进行需求分析,了解用户对数据库系统的基本要求。例如,教学管理人员及教师通过该系统可以对全校教师信息、系部信息、课程信息和学生信息进行添加、删除、修改和查询等操作,教师通过该系统可以对所教课程进行成绩的登记管理;另外,通过该系统还可以对学生选课情况进行汇总分析、产生报表等。系统主界面如图:根据需求分析,划分以下功能模块教学管理系统基本信息管理系部信息的添加、删除、修改教师信息的添加、删除、修改学生信息的添加、删除、修改课程信息的添加、删除、修改选课信息的添加、删除、修改信息查询教师信息查看个人情况查看授课情况学生信息查看个人情况查看各班学生情况课程信息查看各学期的开课情况选课信息按学生查看按课程查看信息汇总和分析按教师对授课情况汇总分析(报表)按班级对成绩汇总分析(报表)按学生对成绩汇总分析(报表)按班级和课程对成绩汇总分析(数据透视表)二、概念结构设计成绩n选课11nm1系部包含n教师授课课程n管理学生三、逻辑结构设计ER图转换成数据库关系模型需要5个表(四个实体,一个关系)1、“系部”表:系号、系名、系主任2、“教师”表:教师编号、姓名、性别、出生日期、系号、职称、电话号码、E-mail、简历、照片3、“学生”表:学号、姓名、性别、出生日期、系号、班级、货款否、简历、照片4、“课程”表:课程号、课程名、学分、教师编号、开课学期5、“选课”表:学号、课程号、成绩表格 1 “系部”表字段名称数据类型字段大小常规属性系号文本2主键系名文本10系主任文本4表格 2 “教师”表字段名称数据类型字段大小常规属性教师编号文本6主键姓名文本4性别文本1设置有效性规则和有效性文本,默认值为“男”出生日期日期/时间in(“男”,”女”)系号文本2职称文本3电话号码文本11输入掩码E-mail超链接简历备注照片OLE对象表格 3 “学生”表字段名称数据类型字段大小常规属性学号文本10主键姓名文本4性别文本1设置有效性规则出生日期日期/时间系号文本2班级文本8货款否是/否简历备注照片OLE对象表格 4 “课程”表课程号文本3主键课程名文本10学分数字整型设置有效性规则教师编号文本6开课学期文本1表格 5 “选课”表学号文本10主键课程号文本3主键成绩数字单精度设置有效性规则四、代码设计01金融02会计03保险04经贸05数学06计算机07工商08人力资源09财传101大学计算机102高等数学103保险学104会计学105金融学106管理学20110109112、2120199年级系班级学号50109001999正式系部职工号五、信息输入模块设计该模块主要通过窗体完成对数据库中各个表的记录的输入和编辑(1)“教师”表信息输入:教师表中的信息较多,设计为单个窗体样式,其中,“系号”组合框使用向导生成,“职称”组合框的“行来源类型”使用值列表,在“教师编号”文本框中输入要查找的教师编号后,单击“查找”按钮,可以在当前窗体中显示相应的教师信息,以便于修改数据;单击“全选”按钮,可以取消筛选,恢复显示所有的教师记录。这两个命令按钮的功能用宏实现。(a)教师窗体界面(共有命令按钮10个) (b)“查找”按钮对应的宏:findTno查找 (C)“全选”按钮对应的宏:selAll全选(d)其他8个命令按钮均使用命令按钮向导完成第一条:记录导航转至第一项记录 上一条:记录导航转至前一项记录 下一条:记录导航转至下一项记录 最后一条:记录导航转至最后一项记录 增加:记录操作添加新记录 删除:记录操作删除记录 保存:记录操作保存记录 退出:窗体操作关闭窗体(2)“学生”表信息输入:该窗体的设计与“教师”窗体类似(3)“系部”表和“课程”表信息输入,这两个表的信息较少,可以设计为表格样式的窗体。例如,选择“系部”表,单击“创建”选项卡“窗体”组“其他窗体”下拉按钮,选择“数据表”保存“系部”窗体。(4)“选课”表信息输入:该表中的记录采用以班级和课程为单位的方式进行编辑,其界面六、信息查询模块设计该模块主要通过窗体完成查询参数的输入和查询结果的输入。(1)教师信息查询:该窗体界面选择某个教师编号后,单击“教师基本情况”按钮,可打开“教师基本情况”窗体,显示该教师的详细情况;单击“教师授课情况”按钮,可打开“教师授课情况”窗体,显示该教师讲授的所有课程。“教师基本情况”窗体与输入信息的窗体很相似,只是将“系号”换成了“系名”,并增加了一项年龄信息,该文本框为计算机文本框,其“控件来源”为“=(year(date()-year(出生日期)(a)首先建立“教师信息查询”窗体;(b)建立“教师基本情况查询”和“教师授课情况查询”;与此相对应的SQL语句为:SELECT DISTINCT 教师.教师编号, 教师.姓名, 系部.系名, 教师.职称, 课程.课程号, 课程.课程名 AS 授课课程, 学生.班级 AS 授课班级FROM 学生 INNER JOIN (系部 INNER JOIN (教师 INNER JOIN 课程 ON 教师.教师编号=课程.教师编号) INNER JOIN 选课 ON 课程.课程号=选课.课程号) ON 系部.系号=教师.系号) ON 学生.学号=选课.学号WHERE (教师.教师编号)=forms!教师信息查询!教师编号);(c)建立与以上两个查询对应的窗体:“教师基本情况”窗体和“教师授课情况”窗体;(d)建立与“教师信息查询”窗体上两个命令按钮“教师基本情况”和“教师授课情况”相对应的宏:“打开教师基本情况窗体”和“打开教师授课情况窗体”(e)建立命令按钮与事件(宏)的对应关系(2)学生信息查询:该窗体界面选择学号,单击“查询”按钮,可以显示该学生的详细情况。选择班级,单击“查询”按钮,可以打开“按班级浏览学生记录”窗体,显示该班级所有学生的情况,并统计总人数。创建“按班级浏览学生记录”窗体时,“创建”选项卡“窗体”组中“其他窗体”下拉箭头,选择“多个项目”后输入某学生的学生号即可创建。然后在创建的窗体基础上进行手工设计。到目前为止一共有4个查询、6个窗体和4个宏(3)课程信息查询:该窗体界面,可以按开课学期查询课程情况“开课学期”组合框的“更改”事件属性设置为一个宏,其中包含一个ApplyFilter操作,它的“Where条件”参数为课程.开课学期=Forms!按学期浏览开课情况开课学期涉及一个表,所以不需要创建查询创建“按学期浏览开课情况”窗体时,“创建”选项卡“窗体”组中“其他窗体”下拉箭头,选择“多个项目”然后在创建的窗体基础上进行手工设计。由此增加一个窗体和一个宏(4)选课信息查询(a)创建“选课情况查询”(b)创建“选课情况查询”窗体(c)创建“按学号查询选课情况”查询(d)创建“按学号查询选课情况”窗体(e)创建“打开按学号查询选课情况窗体”宏,并将“选课情况查询”窗体中的“查询”按钮(本例中使用默认名:Command15)的“单击”事件属性设置为该宏。(f)创建“按课程查询选课情况”查询(g)以“按课程查询选课情况”为数据源创建“按课程查询选课情况子窗体”然后输入“101”、“60”、“90”(本例)转“设计视图”修饰(h)建立主窗体,无记录源,在该窗体中插入“按课程查询选课情况子窗体”,其中“分数下限值”文本框的名称为txtLow,“分数上限值”文本框的名称为txtHigh,这两个控件名称在“按课程查询选课情况”查询条件中被引用。保存该对象,命名为“按课程查询选课情况主窗体”。(i)创建“按课程查询选课情况”宏,并将“选课情况查询”窗体中的“查询”按钮(本例中使用默认名:Command18)的“单击”事件属性设置为该宏。到目前为止:五个表,七个查询,11个窗体,七个宏七、信息汇总和分析模块设计该模块主要利用报表对数据库信息进行统计和汇总,并根据需要选择是否打印输出。(1)教师授课情况:将所有教师的授课情况汇总在一起。(a)建立“教师授课情况汇总”查询(b)选择“教师授课情况汇总”查询,单击“创建”选项卡“报表”组中的“报表向导”按钮,注:为了形象地说明报表的汇总功能,将原“课程”表中的102课程的讲授人由原来的改为(2)各班成绩统计(3)学生选课情况(4)数据透视表学生根据能力自行完成!八、主界面设计主界面的作用是将系统中的各项功能有效地组织在一起,便于用户使用。主界面有导航面板和自定义菜单两种形式,1、导航面板2、自定义菜单Access2010中设计菜单的方法比较复杂经过复杂的编程其目的是设计应用程序(前台)的菜单,以便用户能很好地使用系统。此系统的菜单至少应用包括系统功能。九、登录界面登录界面用于检测登录系统的用户,只有合法用户才允许进入本系统。窗体中有两个输入用户名和密码的文本框,名称分别为txtName和txtPw,两个“确定”和“取消”命令按钮,分别对应事件代码。 “密码”文本框的“输入掩码”属性设置为“密码”。Private Sub Command4_Click() 确定按钮Dim cond As String, ps As StringStatic t As IntegerIf IsNull(Me!txtName) Or IsNull(Me!txtPw) Then MsgBox 必须输入用户名和密码, vbOKOnly + vbExclamation, 提示Else If Me!txtName ch123 Or Me!txtPw 1a2s3d Then MsgBox 用户名/密码错误!, vbOKOnly + vbExclamation, 提示 t = t + 1 If t = 3 Then MsgBox 您不是合法用户,无权使用本系统!, vbCritical, 警告 Quit End If Else DoCmd.Close DoCmd.OpenForm 主界面 End IfEnd IfEnd Sub本段代码用于检测用户输入的用户名和密码是否正确。若都正确,则关闭登录窗口,进入主界面,若连续3次输入都不正确,则退出系统。Private Sub Command5_Click() 取消按钮将用户名和密码文本框清零txtName.Value = txtPw.Value = End Sub本段代码用于将用户名和密码文本框清零。十、主要介绍的是永磁直流电动机;首先简述了永磁电机、永磁直流电动机从产生到到逐步改善的发展过程,以及以此为基础的未来发展的趋势;activities, comprehensive and tamping Safety Foundation . Troubleshooting, management mechanism, give full play to role of technical supervision and realization of troubleshooting, management, improved process management. This year completed the boiler lower header leakage, boiler pressure, a major risk management, completed 29 of great risks and 3 General problems of governance. Complete chemistry lab construction, thermal control, and complete the boiler scale integrated management, host shafting vibration of 10 scientific and technological projects, such as. Complete supercritical 630MW on-line simulation system development and application of circulating water MCC standby power transformation, the transformation of desulfurization waste water, the unit water supply system of comprehensive treatment and discharge valve modification of coal mill 5 key technological transformation projects, group health is improved. -Science and technology innovation is further increased. Strengthen the characteristics of supercritical unit major issues, gradually clearing the particularity of supercritical unit and regularity. Developed motor oil time management, switch action times, statistics, coal-aided measurement software, improves the production level of lean management. Increased investment in science and technology, reporting science and technology projects and 14 technical project total cost percentage of the total annual production output of 0.25%. Large-scale coal-fired power plant flue gas desulfurization, denitrification complete development and application of key technologies project, won the national science and technology progress second prize. 630MW supercritical units optimized control strategies and the 630MW development and application of on-line simulation system for supercritical units, supercritical 600MW units of turbine driven boiler feed pump set of comprehensive treatment of defects Datang technology respectively one or two and third. Meanwhile

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论