资源描述
大连交通大学信息工程学院2012届本科生毕业设计(论文)外文翻译
大连交通大学信息工程学院
毕业设计(论文)任务书
题 目 魔界旅游管理系统
任务及要求:
1.设计(研究)内容和要求
任务:
1、 调查信息管理系统当前技术的发展情况,完成实习报告,字数不少于3000,第三周交给指导老师。
2、 结合自己实习情况安排进度,填写进度计划表,第二周完成后交给指导老师签字,并严格执行。
3、 按照软件工程思想,独立完成系统的设计和程序开发,完成代码估计2000行左右。
4、 用.net 等技术实现旅游相关信息的管理、查询功能。
5、 程序简洁,算法可行,运行情况良好。
要求:
1、 每周和指导老师至少见面沟通一次,回报课题进展情况,接受老师询问。
2、 接到任务书后,查阅与题目及专业相关的外文资料进行翻译,要求不少于10000个外文字符,译出汉字不得少于3000,于第四周交给指导老师审阅。
3、 毕业设计第13周完成毕业论文的装订,并由指导老师评阅。论文要求12000字以上,包括综述、系统总体设计、系统实现、性能分析、结论等。
4、 教学第13周通过中软及教研室组织进行软件验收,验收时要提供软件使用说明书。
5、 于第13周提出毕业答辩申请并签字。
6、 第14 周答辩,要求制作PPT
2.原始依据
通过大学几年的学习,已经学习了诸如C#、C++、JAVA、J2EE、软件工程、数据库原理及应用、数据结构、操作系统、编译原理等多门程序设计语言和网络等基础知识和专业知识,学生有能力而且可以独立完成小中型项目的设计与开发。学校现有设备和环境可以提供给学生实习和上机,而且具有专业老师可以指导学生。
3.参考文献
[1] 张海藩.软件工程导论.北京清华大学出版社.2001.5
[2] 萨师煊.数据库系统概论.北京高等教育出版设.2002.2
[3] 谭浩强.薛淑斌.袁玫.Visual C#.net 程序设计.北京清华大学出版社.2000.7
[4] 伍俊.Visual C#.NET 课程设计与系统开发案例.北京清华大学出版社.2002.8
[5] 金雪云等.ASP.NET 高级开发技术与范例(含光盘).电子工业出版社.2002.7
[6] 前沿电脑图像工作室.巧学巧用Dreamweaver Fireworks Flash制作网页.人民邮电出版社.1999.11
[7] 鲁夫创意工作.刘宏峰.ASP3.0网络开发技术大全.人民邮电出版.2001.4
[8] 马丁(Martin.J)等.万松明.张滨义译.ASP.NET项目开发实践.人民邮电出版社.2002.1
[9] 石志国.ASP.NET实用案例教程.北京清华大学山版社.2003.7
[10] 张敏.蒋毅等.用ASP.NET开发动态网站.北京清华大学出版社.2002.3
[11] (美)微软公司著.NET框架1.1类库参考手册.北京清华大学出版社.2004.1
[12] Steve Walther ASP.NET.Tips.Tutorials and Code.2003.7
[13] (美)Jeffrey Richt著.Microsoft.NET Frameworks.北京清华大学出版社.2003.4
指导教师签字:
教研室主任签字:
2012年3月26日
大连交通大学信息工程学院
毕业设计(论文)进度计划与考核表
学生姓名
姜浩建
专业班级
软件工程
08-3班
指导教师
阎树昕 王立娟
本课题其他人员
无
题 目
魔界旅游管理系统
日 期
计划完成内容
完成情况
指导老师检查签字
第1周
实习调研,查阅课题相关外文资料
第2周
了解行业状况、查阅文献资料,阅读资料,撰写调研报告
第3周
完成10000字符或3000汉字以上的外文翻译资料,准备资料,学习JSP技术
第4周
进行需求分析
第5周
进行概要设计
第6周
进行概要设计, 基本框架完成,提交毕业论文提纲
第7周
完成后台数据库的设计并编码,完成部分论文
第8周
完成前台界面的设计并编码,完成部分论文
第9周
继续编码并进行测试,继续编写毕业设计论文
第10周
继续进行程序测试,继续编写毕业设计论文
第11周
整理资料、文档、图表等,修改毕业设计论文
第12周
完成毕业设计论文,打印,按要求装订
第13周
软件验收和准备毕业设计答辩
第14周
毕业设计答辩及成绩评定
指导教师签字: 年 月 日
注:“计划完成内容”由学生本人认真填写,其它由指导教师考核时填写。
大连交通大学信息工程学院
毕业设计(论文)外文翻译
学生姓名 姜浩建 专业班级 软件工程08-3班
指导教师 阎树昕 王立娟 职 称 高工 讲师
所在单位 信息科学系软件工程教研室
教研室主任 刘瑞杰
完成日期2012年4月13日
. NET Generics
. NET generics
When using the. NET generic types, the most common problem occurs when you need to work with the appropriate type. In the implementation of IWorksheet interface, it is necessary to implement AssignCellState () method defined in the interface IWorksheetSerialize. The question now is, as a parameter in the function of a type of access is assigned to CellState, this is another uncertainty. NET generic type of the distribution, the code looks so simple, but actually cover a lot of potential the problem. Here the parameter value is of type object. Then, the transformation parameters is the basic type, because this is CellState defined type if the value is correct, this code will work properly.
The work is called a variable of type double. When the method AssignCellState () is called Model 1, Model 1 is to specify the input string. Call AssignCellState () is not a problem, but in the implementation of the conversion will fail. Of course, this avoided the question: "Why is there a function type object?" Sometimes you can not get anything on these issues, you need to write a general object of the method. Bold code that buffer Double.Parse () method to convert a double value to a string buffer. Of course, the conversion will fail, because the string buffer represents some, this is another issue.
Another way to solve the problem completely is to avoid the objects and methods as a. NET common method. Advantage of. NET generics is that you can perform in, type-safe way to force users to perform analysis without a clear program.
This code is very clever because it uses so-called reflection, to determine if the type can be assigned to another type. You can try to do so, if there is no statement, but you unnecessary risk. If allowed to convert, then the conversion will be done by doing two steps:
Here, we first convert type object, and then convert a primitive type, which is exactly the type of spreadsheet reporting. This is absolutely necessary to add, otherwise, C # compiler will complain that it would be impossible. However, assuming that the type can not be directly allocated. Let us say, the reference to a string that contains a number. Then, by using reflection, you can identify which value types and basic types.
The first part, if the value is a string type. The second part asks the two can be assigned to the appropriate type. If both are valid, which means that input is a string, and measure the type, then converted, you only need to call Double.Parse (). Automatic conversion feature does not save the code, generally do not need to worry about the most common conversions, such as they will happen automatically. Of course, this assumes that you have performed the most common conversion. For those who convert, not to be unusual, as the original based on AssignCellState () object will throw an exception. Overall, AssignCellState <> () with the. NET provides a generic parameter values, imagine ways to perform with the maintenance of a conversion. This goes back to the original request, can be safely mixed type.
In order to implement the IEnumerable <> interface, you need to perform the IEnumerable interface. These two interfaces have a single method, only the difference between the two is the return type, this is the beginning.
Programming languages such as C # does not allow you to overload the method only in the return type is different.
This class has two implementations of the Count (), which only return types. This code is illegal because the compiler can not distinguish which method will be required. The following code illustrates the problem of the decision.
When performing IEnumerable <> interface, it is necessary to distinguish which interface methods are implemented, these two methods to do the same thing. So, you must perform a GetEnumerator (), then there are other do the actual implementation.
All of this sounds complicated, but it shows the type of problem, you can use to run. NET's common code base, need to integrate the code, do not use NET-imitation.
With the interface and comprehensive, it is possible to use a spreadsheet. That the sample application is a spreadsheet to calculate the average of a set of numbers, each number and then how to calculate the average.
The next step is to specify the Lambda expression will be used to calculate the average then the average level of individual differences. When you specify a calculation, you need to know whether the Lambda expression. Keep in mind that there are some state Lambda expressions. This is just asking if you want to share a state or individual state Lambda Expressions Lambda Expressions. Lambda expressions for the average, a shared state is acceptable.
In order to calculate the average of the average use of technology to the last element of the array in a series of calculations. Therefore, when the average demand, which I do not know how many, because in the bank's average storage.
Calculation depends on counting the number of items. Each calculation is assigned to a Lambda expression Lambda expression which means that all models will be the same state. The only shared variable is items.Length. Lambda expressions expect all the same length, so it is acceptable to share this variable. The calculated average difference to calculate the mean, and then subtract it from the worksheet cell.
Model calculations, because spreadsheets have the ability to track what has been calculated not calculated. In a typical spreadsheet, you can change the model of all miraculously re-calculated. There is no such function, this spreadsheet. However, this simple version of the dependency can be sure that they not be counted multiple times.
Look back at the source code to calculate the difference between the average. The only reason, the calculation of the work is used with the model known as the average Calculate () method. If GetCellState () method is called, the average may not be calculated, which calculated the difference will be damaged. However, the average per unit, a small change is a waste of resources, because the changes may not affect the model recalculated. To avoid this, the built-in electronic form is a version control mechanism, the model calculates the latest version. Then, if the calculation is the same as the version number. The following is a Worksheet <> version number management.
Call the Calculate () method takes no parameters that want to recalculate the entire spreadsheet. Then each model iteration, if it exists, Calculate () in the form of (Calculate () parameter) is called the individual model. In the individual model Calculate () in the form, check to see if the model is the latest version number of the calculation spreadsheet; If not, the model is called Lambda expressions.
It does not matter the scope of this book. In fact, computing and its side effects are important. With Lambda expressions, you have a form of asynchronous processing. That calculation does not know when they will require, they can not assume the state. Therefore, when a Lambda expression is established when the state, Lambda expressions may be different when, Lambda expressions are executed. If you are not keenly aware of the potential pitfalls, you can have some major flaws in your code.
In this chapter, you learned how to use. NET generics, but also to expand your knowledge of lambda expressions. Main items to remember are as follows:
. NET generic code can use. NET generics provide. NET-based generic type. Examples of this chapter that the use of the code, there. NET generics code processing.
Write. NET generics code requires some forethought, because you intention is to create an abstract implementation.
You can use. NET generic type level or at the method level. With. NET generic type of class means in the specific type, the type of instance. With. NET on a generic way to mean a specific type.
lambda expressions, as they are implemented, the joint state of the state or individual, depending on how they apply and manipulate.
For complex types, you should always implement ToString () as a clear state of a type. Here are some exercises, allowing you to use your lessons so far:
1, Worksheet <> class always requires you to level before the fixed model arrays. The code changes so that the rows and columns can be changed dynamically. Remember, focus on performance, the fastest way is a fixed three-dimensional array.
2, the average know how many items have sequential numbers. Rewrite the average code, so the average user does not need to code the complexity of the transaction to add more content and more.
3, Calculate () and GetCellState () method seems to do the same thing. Therefore, there is need for a separate method? Answer this question, then make any necessary changes to the source code.
All the examples in the previous chapters have shown how to use a specific part of the application. Do you know what type of instance, the interface to use. In this case, you as a developer, complete control, when your application is built, all the parts up as a nice, neat package. However, the project's development does not necessarily work for others. Let's go back to Chapter 8. We have created a kernel, responsible for turning on and off. In the realization of the individual in a predetermined specific name. This architecture will not be with the third-party libraries, as expected some of the core components of the name. You may be thinking: "section, it is very easy to solve, I just delete the old and re-named to match the new name." This technology will work, but it will also be a system administrator's nightmare. That solution is to tell the program, and plans to this information, you determine the number of text files. File to tell a program to do some work is called the running configuration file. This chapter focuses on two areas: Using application configuration file and dynamically execute code. A related issue is how much the dynamic execution of code should be configured and how many conventions.
How to reference instance. Consider the structure shown in Figure 12-1, which is a modular interface and implement it as an alternative system, for example, in Chapter 8. In this figure, each square represents an assembly: assembly, which contains the interface definition, assembly, including the implementation, and the assembly that contains the kernel of the idea, all of these components is to make it possible to update one without having to update all of. However, the fact that the picture shows what is not, your application must be able to refer to all three components. If one of these components is missing, you have a problem because you can not run.
In light of the individual is not a problem. The question is how each assembly. In the previous chapter, I said, you should use a factory because the factory is the implementation of the decision taken to use. Let us look at the code in this perspective. Suppose the following interface definition is one that contains all the interface definitions.
In the case of run-time configuration, the structure shown in Figure 12-1 is not changed, it is still some definition, implementation, kernel and user components. What changes is how to create a reference to each fragment.
Let's start with a simple situation. Do you have a problem, you all know who will know the answer. You know, you know she had a telephone. You do not know her phone number. Translation of programming point of view, telephone as an interface to implement. The challenge is to connect to the execution. For the telephone, you can find phone numbers you can find the phone book.
In the phone book contains the names of individuals in the specific address and their telephone number. It is easy to remember name and address; phone number is a complex. Therefore, the purpose of cross-referencing a phone book data, more complex information. In the planning of cross-referencing is a configuration file,. NET applications, once you have a cross-reference information, the location of your assembly, and then cross-reference type instance. In planning, the configuration file location and name you type.
Configuration file is useful, but they can become too complicated. Some projects have such complex configuration file, an error occurs due to improper configuration application. Convention framework attempts to simplify complex book, a familiar pattern of the reference type. Imagine a phone number 1-800-BIG-CARS-1 and 800 is easy to remember, this is a major project. Because the Convention has
展开阅读全文