1、大连交通大学信息工程学院2012届本科生毕业设计(论文)外文翻译大连交通大学信息工程学院毕业设计(论文)任务书题 目 魔界旅游管理系统任务及要求:1.设计(研究)内容和要求任务:1、 调查信息管理系统当前技术的发展情况,完成实习报告,字数不少于3000,第三周交给指导老师。2、 结合自己实习情况安排进度,填写进度计划表,第二周完成后交给指导老师签字,并严格执行。3、 按照软件工程思想,独立完成系统的设计和程序开发,完成代码估计2000行左右。4、 用.net 等技术实现旅游相关信息的管理、查询功能。5、 程序简洁,算法可行,运行情况良好。要求:1、 每周和指导老师至少见面沟通一次,回报课题进展
2、情况,接受老师询问。2、 接到任务书后,查阅与题目及专业相关的外文资料进行翻译,要求不少于10000个外文字符,译出汉字不得少于3000,于第四周交给指导老师审阅。3、 毕业设计第13周完成毕业论文的装订,并由指导老师评阅。论文要求12000字以上,包括综述、系统总体设计、系统实现、性能分析、结论等。4、 教学第13周通过中软及教研室组织进行软件验收,验收时要提供软件使用说明书。5、 于第13周提出毕业答辩申请并签字。6、 第14 周答辩,要求制作PPT2.原始依据通过大学几年的学习,已经学习了诸如C#、C+、JAVA、J2EE、软件工程、数据库原理及应用、数据结构、操作系统、编译原理等多门程
3、序设计语言和网络等基础知识和专业知识,学生有能力而且可以独立完成小中型项目的设计与开发。学校现有设备和环境可以提供给学生实习和上机,而且具有专业老师可以指导学生。3.参考文献1 张海藩.软件工程导论.北京清华大学出版社.2001.52 萨师煊.数据库系统概论.北京高等教育出版设.2002.23 谭浩强.薛淑斌.袁玫.Visual C#.net 程序设计.北京清华大学出版社.2000.74 伍俊.Visual C#.NET 课程设计与系统开发案例.北京清华大学出版社.2002.85 金雪云等.ASP.NET 高级开发技术与范例(含光盘).电子工业出版社.2002.76 前沿电脑图像工作室.巧学巧
4、用Dreamweaver Fireworks Flash制作网页.人民邮电出版社.1999.117 鲁夫创意工作.刘宏峰.ASP3.0网络开发技术大全.人民邮电出版.2001.48 马丁(Martin.J)等.万松明.张滨义译.ASP.NET项目开发实践.人民邮电出版社.2002.19 石志国.ASP.NET实用案例教程.北京清华大学山版社.2003.710 张敏.蒋毅等.用ASP.NET开发动态网站.北京清华大学出版社.2002.311 (美)微软公司著.NET框架1.1类库参考手册.北京清华大学出版社.2004.112 Steve Walther ASP.NET.Tips.Tutorial
5、s and Code.2003.713 (美)Jeffrey Richt著.Microsoft.NET Frameworks.北京清华大学出版社.2003.4指导教师签字:教研室主任签字: 2012年3月26日大连交通大学信息工程学院毕业设计(论文)进度计划与考核表学生姓名姜浩建专业班级软件工程08-3班指导教师阎树昕 王立娟本课题其他人员无题目魔界旅游管理系统日期计划完成内容完成情况指导老师检查签字第1周实习调研,查阅课题相关外文资料第2周了解行业状况、查阅文献资料,阅读资料,撰写调研报告第3周完成10000字符或3000汉字以上的外文翻译资料,准备资料,学习JSP技术第4周进行需求分析第5
6、周进行概要设计第6周进行概要设计, 基本框架完成,提交毕业论文提纲第7周完成后台数据库的设计并编码,完成部分论文第8周完成前台界面的设计并编码,完成部分论文第9周继续编码并进行测试,继续编写毕业设计论文第10周继续进行程序测试,继续编写毕业设计论文第11周整理资料、文档、图表等,修改毕业设计论文第12周完成毕业设计论文,打印,按要求装订第13周软件验收和准备毕业设计答辩第14周毕业设计答辩及成绩评定指导教师签字: 年月日注:“计划完成内容”由学生本人认真填写,其它由指导教师考核时填写。大连交通大学信息工程学院毕业设计(论文)外文翻译学生姓名 姜浩建 专业班级 软件工程08-3班 指导教师 阎树
7、昕王立娟 职 称高工讲师 所在单位 信息科学系软件工程教研室 教研室主任 刘瑞杰 完成日期2012年4月13日. NET Generics. NET genericsWhen 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
8、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 par
9、ameter 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 specif
10、y 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 c
11、ode 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. Advantag
12、e 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 unn
13、ecessary 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 woul
14、d 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
15、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
16、 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,
17、 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 t
18、wo 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 whi
19、ch 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
20、do the actual implementation.All of this sounds complicated, but it shows the type of problem, you can use to run. NETs 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 s
21、preadsheet 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 whethe
22、r 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 av
23、erage 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 banks average storage.Calculation depends on counting the number of items. Each calculation is assigned to a Lambda expression Lambda
24、 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.M
25、odel 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 tha
26、t 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, whi
27、ch 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, i
28、f 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)
29、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 a
30、re 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
31、 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
32、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.
33、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 impl
34、ement 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
35、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 sam
36、e 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,
37、 you as a developer, complete control, when your application is built, all the parts up as a nice, neat package. However, the projects development does not necessarily work for others. Lets go back to Chapter 8. We have created a kernel, responsible for turning on and off. In the realization of the
38、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,
39、 but it will also be a system administrators 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 c
40、onfiguration 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
41、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
42、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 th
43、e 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 configuratio
44、n, 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.Lets start with a simple situation. Do you have a problem, you all know who will know the answer. You know, you kn
45、ow 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
46、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
47、, 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
©2010-2024 宁波自信网络信息技术有限公司 版权所有
客服电话:4008-655-100 投诉/维权电话:4009-655-100