登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 理工学类 > 自动化 > 正文

数显表培训系统上位机软件设计毕业论文

 2021-04-29 09:04  

摘 要

随着我国经济的高速发展,电力行业也得到了发展,电力是我国的基础行业,为了确保电厂运动的安全,需对值班人员进行有效地培训。某电厂使用大量数显表,为了满足操作人员培训的需要,拟构建网络化的数显表培训系统,本课题是网络化的培训项目的子系统,主要工作是设计出可联网数显表的上位机软件,本课题选取了Visual C 6.0作为开发平台,基于MFC,采用了SQL Server 2008 R2做为后台数据库管理软件设计并完成上位机软件的开发。

第一章为绪论,主要介绍数显表培训系统的背景和研究意义,然后介绍了数显行业和上位机软件的发展现状,最后介绍了本课题的研究内容。

第二章是介绍了培训系统的结构,接着介绍了上位机软件的设计思想,包括对软件的界面、操作难易程度和代码通用性都做了相关的规定,接着介绍了上位机软件的设计思想,对软件的界面、操作难易程度和代码通用性都做了相关的规定,然后介绍了上位机软件界面的具体设计成果,基于MFC的软件界面设计、以及界面设计原则的内容。

第三章讲解了数显表系统数据通信的实现,介绍了TCP/IP协议模型、基于多线程的socket通信,传输层采用UDP协议,同时还介绍了上位机软件与现场网络代理的通讯协议。

第四章介绍了数据库接口程序的设计,介绍了关系型数据库的特点以及采用了SQL Server 2008 R2数据库实现数据存储,介绍了在Visual C 开发工具下的数据库访问技术,采用了ADO接口方式来访问数据库。

第五章介绍了本论文的小结和展望。

本文实现了上位机能扫描数显表的地址,设置数显表的数值、亮度、闪烁频率和小数点位置,并能看到每个被设置过参数的数显表的显示状态。

关键词:数显表;上位机;软件设计;数据库

Abstract

With China's rapid economic development, the power industry has also been developed, power is our basic industries, in order to ensure safe movement of the plant, need to effectively train on duty personnel. A power plant widely used digit display instrument, in order to meet the needs of a trained operator, intends to build a network training system of digit display instrument, this project is a subsystem of the network's training system, the main work is to design the PC software of the digit display instrument, the PC software using Visual C 6.0 as a development platform, based on MFC, using SQL Server 2008 R2 as a back-end database management software.

The first chapter is the introduction, mainly introduces the background and significance of the digit display instrument training system, and then introduces the present development situation of digit display industry and PC software development,and finally introduces the research content of this project.

The second chapter describes the structure of the training system, and then introduces the PC software design, including that the software interface, ease of operation and code versatility have made the relevant provisions, and then introduced the PC software design, software interface, ease of operation and code versatility have made the relevant provisions, and then introduced the concrete results of the PC software interface design, and content-based MFC software interface design, and interface design principles.

The third chapter explained to the realization of data communication about the digit display instrument training system, introduces the TCP / IP protocol model, socket communication based on multi thread, the transport layer using UDP protocol, at the same time, it introduces the communication protocol of PC software and field agent network.

The fourth chapter introduced the design of the database interface program, introduced the characteristics of relational database and using SQL Server 2008 R2 database to realize data storage,introduced the database operation technology in C Visual environment,using ADO to access the database.

The fifth chapter introduces the summary and outlook of this paper.

This paper realized that the PC software could scan the address of digital display table, setting the value,the brightness, the flicker frequency and the decimal point position of the digit display instrument, and can see the display status of instrument which has been set up.

Key words: digital display;host computer;software design;database

目 录

第1章 绪论 1

1.1 课题研究背景和意义 1

1.2 国内外发展现状 2

1.2.1 国外数显技术的发展历史与研究现状 2

1.2.2 数显表上位机系统现状 3

1.3 本文主要研究内容 4

第2章 数显表上位机软件方案设计 6

2.1 可联网数显表培训系统简介 6

2.2 上位机软件的设计思想 7

2.3 上位机软件的结构 8

2.4 Visual C 基础知识 9

2.4.1 面向对象程序设计 9

2.4.2 MFC编程 10

2.4.3 Visual C 6.0特点 11

2.4.4 Visual C 对话框程序向导 12

2.5上位机软件的设计与实现 12

2.5.1 扫描数显表按钮 13

2.5.2 列表框 14

2.5.3添加按钮 15

2.5.4 修改按钮 16

2.5.5 删除按钮 16

2.6 上机软件界面设计特点 17

第3章 可联网数显表监控系统数据通信的实现 18

3.1 系统数据传输总体方案 18

3.2 网络编程基础 18

3.3 Windows Sockets 的实现 20

3.4 通信协议 22

3.5 上位机软件的Socket通信 24

第4章 数据库的设计与实现 27

4.1 关系数据库系统介绍 27

4.2 利用SQL Server数据库 27

4.3 ADO数据库操作技术 27

4.3.1 ADO数据库操作技术 29

4.3.2 获取连接数据库字符串的简单方法 30

第5章 总结与展望 33

5.1 设计总结 33

5.2 工作展望 33

参考文献 35

附录 36

致谢 37

绪论

1.1 课题研究背景和意义

从油灯到电灯,从喊话到电话,第二次工业革命带领我们走入了电气时代。而现如今,电力已成为一个城市乃至是国家的命脉,人们的方方面面全都离不开电力的支持。众所周知,电力带给人们方便的同时,也是一个非常危险的事物,而安全总是人类永恒不变的主题。如何在享受电力带来的便捷的同时,保证人民的生命安全以及电力设施的安全,是全电力行业所需要重视的。
三峡水电站,溪洛渡水电站,一座座大机组、大容量的电站相继建成,标志着我国的电力系统设施的完善和伟大进步。发电量的巨大提升,同时也对供电的稳定性、安全性、经济性、和可持续发展性等,都提出了更加严苛的要求。电力系统的状态改变是瞬间完成的,电力的生产、输送、消耗都是在同时进行中。这也就意味着,只要这其中的某一个点出现了纰漏,很容易就造成大面积的停电发生,更甚者将会造成整个电力系统的瘫痪,给人们的生命财产安全造成巨大损失,给社会造成无法挽回的经济损失。

随着自动化的高度应用,人工撤离的电力设施最前线,保障了工作人员的安全的同时,也能更加准确、高效、快速地管理整个电力系统,做到快、准、稳。随之而来的问题则是对自动化系统操作人员的考验,由于电力系统关系重大,其操作必须慎之又慎,对运行人员的专业性,纪律性都有着极高要求。特别是面对紧急情况的应急处理,一个操作不慎,就会酿成恶果。而传统的应专业技能的提高,通常是通过严格训练,应急情况特别讲座,再就是实地长时间实习,观察理解老师傅的知识,以此来提升自身的技能知识。其与国内传统的学校教育类似,学习时间长,知识拓展面窄,遇到学习之外的问题容易慌神,最高成就也难以突破其导师的学识。又由于其系统的重要性和特殊性,保证其安全稳定运行为第一要务,必须减少不必要的各种操作,并不能让新人直接操作,使得运行人员的专业技能更加难以提升。

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图