基于组件与WPF技术的矿井建设工程进度管理软件的研究与设计
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
矿井建设工程因其工程量大、建设周期长、资金投入多、施工过程复杂等特点,使得传统的人工管理方法无法满足需求,运用工程项目进度管理软件可以有效解决数据传递速度慢、处理效率低、信息滞后所带来的一系列问题。避免了矿井建设工程项目超预算、进度失控、质量失控等问题,使得项目在规定的时间内、既定的质量要求和有限的资源条件下最优地实现项目的目标。
     本文结合潘一东矿区的建设实例研究并设计了矿井建设工程进度管理软件,实现矿井建设工程项目的规范化、标准化管理,实现工程子项目之间的统筹规划、计划管理、项目进度的跟踪、工期影响计算等一系列功能。
     本系统基于.net平台,运用.net framwork4.0组件技术,结合设计模式的思想,将单例模式与工厂模式运用到系统的实现中,在层面上将整个系统分为表示层、业务逻辑层、数据层三层结构,功能上又将整个系统分解至各个功能模块,使各个模块高内聚,模块之间低耦合,不仅使系统的逻辑结构清晰明了,也为日后系统的维护与功能扩展提供了极大的便利。系统同时运用微软最新的图形渲染技术——WPF (Windows Presentation Foundation), WPF技术的诞生彻底改变了传统windows窗体应用程序的开发模式,摆脱了User32与GDI/GDI+的限制,给设计人员提供了更大的发挥空间,同时它作为Windows下全新的图形界面设计引擎,其底层运用DirectX技术来进行图形渲染,渲染速度与效果都有大幅提升。WPF引入了XAML,对2D/3D、控件元素、媒体和文档提供统一的描述,使设计人员与开发人员可以分工协作。本系统充分运用WPF的众多新特性,如:无外观控件、)(AML标记语言、布局系统、依赖项属性、DirectX图形引擎、样式表、模板、触发器、值转换器,在介绍这些特性的同时,结合实例来完成系统的各个功能模块。重点介绍了基于摘要与约束关系的时标甘特图控件的研究与设计。
     本文在结合组件技术与WPF技术的基础上进行了以下工作:
     1、传统的甘特图,任务仅仅是被罗列出来,之间毫无层次关系,当任务数量较多时,就会给查阅带来一定的困难,而矿井建设工程,其任务数量更是多达成百上千,因此本文设计的甘特图是基于摘要任务的,在任务之间添加了层次关系,方便用户从整体上把握项目的进展情况,同时摘要任务的相关数据是根据其子任务计算出来的,当录入数据时,将整个工程设为最高级的摘要任务,就可以实时查看整个工程的起止日期、工期、成本等相关数据。
     2、传统的甘特图任务之间不存在约束关系,而矿井建设特别是井巷工程中,任务之问关系复杂而且存在严格的前后置关系,只有当前一阶段的项目完成之后才能开始下个阶段项目的建设。因此本文设计的甘特图是基于前后置约束关系的,设置了约束关系后,后置任务的开始时间不得早于前置任务的结束时间。并且基于这种约束关系还实现了工期影响的智能提示功能。
     3、在甘特图组件的基础上,设计并研制了矿井建设项目进度管理系统,结合矿井建设过程中的实际需要,实现了计划排队、设置比较基准、任务的实时跟踪、工期影响智能提示、任务筛选与分级预览、图表的打印导出等功能。
The traditional manual management can not meet the demand of Mine construction project because of its enormous quantities, long construction period, huge investment and complex construction process. With the project management software can effectively solve a series of problems brought by the low speed of data transmition, inefficient processing, information lag and avoid over budgeting, progress out of control and quality out of control of mine construction project. It can make the project achieve the goal within the stipulated time, the established quality requirements and limited resources excellently.
     There have been many project management software, but there almost no one for mine construction project, So this paper research and design a project management software for mine construction combined with the case of the construction of the Pan Yidong mine. It achieve the standardization management of mine construction, the over all sub-project planning, management of planning, the track of the progress of the project, calculation of impact of the duration and so on.
     This software is based on.net platform with the component technology of.net framework4.0. It combining of the design pattern idea such as the singleton pattern and the factory pattern. The software can be divided into three layers of presentation layer, business logic layer and data layer. It can also be divided into various functional modules with high cohesion and low coupling. This can not only make the logical structure of the system clear, but also provides a great convenience for system maintenance and expansion in the future. What's more is the using of the latest graphics rendering technology of Microsoft—WPF(Windows Presentation Foundation), the birth of WPF completely changed the pattern of development of the traditional Windows Forms application. It get rid of the limit of User32and GDI/GDI+and offers designers more space to play. As the brand new graphical interface design engine, WPF uses DirectX technology for graphics rendering, with which can greatly enhance the rendering speed and effectiveness. WPF uses XAML to provide a unified description on2D/3D, control elements, media and documents. In a word, WPF enables developers and designers to create rich-media applications with more dazzling visual effects, better user experience. This system uses many new features of WPF such as no appearance control, XAML, layout system, dependency property, DirectX graphics engine, style sheets, templates, triggers, value converter, during the introduction of these new features we complete various functional modules of this system with examples. This paper focuses on the research and design of the Gantt q chart control based on the summary and constraint relations.
     This paper carried out the following work based on component technology and WPF technology:
     1、The traditional Gantt chart, there's no hierarchical relationship between certain tasks, just list the tasks, so that when the number of tasks is much, it's difficult for users to view a certain task. Especially for the mine construction project, the number of tasks is thousands of hundred, so the Gantt Chart designed in this papers is based on the summary task, there a clear hierarchical relationship between tasks, it's convenient for users to grasp the progress of the project as a whole, and the data of summary task is calculated based on the children tasks, when the first level task is the whole project, users can view the start date、end date、duration、cost and so on.
     2、There is no constraint relationship between traditional Gantt chart, and in the mine construction project, the relationship between tasks is complex and strict, only when a phase of the project have finished the others can start. So the Gantt chart designed in this paper is based on a strict constraint relationship, when the constraint relationship has been set, the start date of the task after is not allow to set before the end date of the task in front. And it realized plan queue, time effect of intelligent prompt functions are based on this constraint relationship.
     3、The Gantt chart component is the core of the whole mine construction project schedule management system, based on the Gantt chart component the system has realized the set of baseline task, real-time tracking, task query and grading preview, and the graph print and export functions.
引文
[1]Christian Nagel,Bill Evjen等著,李铭译,C#高级编程(第7版)[M],清华大学出版社,2011
    [2]Jeffrey Richter著,周靖译,CLR via C#第3版[M],清华大学出版社,2010
    [3]秦小波.设计模式之禅[M],机械工业出版社,2010
    [4]Freeman,E.等著,O'Reilly Taiwan公司译,Head First设计模式[M],中国电力出版社,2007
    [5]布鲁克斯著,汪颖译.人月神话[M].清华大学出版社,2007
    [6]夏浩波,单例模式的设计与应用[J].电脑开发与应用,2011(58)
    [7]梁文娟,郑逢斌等.抽象工厂模式在.net多层分布式程序中的应用[J].计算机时代,2006(03)
    [8]欧建斌.工厂设计的模式研究[J].微型电脑应用,2010(12)
    [9]秦澎涛,王苏文.简单工厂模式在数据访问层中的应用[J].计算机工程与设计,2009(07)
    [10]吴东庆,胡小健等.反射机制下类工厂模式的实现与研究[J].计算机应用,2006(03)
    [11]Charles Petzold. Application=Code+Markup:A Guide to the Microsoft Windows Presentation Foundatio[M]. Microsoft Press,2006.
    [12]王德才,崔欣.Windows图形开发技术分析[C].全国第19届计算机技术与应用(CACIS)学术会议,2008.
    [13]Eric White.GDI+程序设计[M].清华大学出版社,2002.
    [14]陈宏敏,卢宇.XAML的分析与设计[J].计算机与网络,2007(Z1):87-88
    [15]Lori A,Mac Vittie. XAML in a Nutshell[M]. O'Reilly,2006.
    [16]胡铂,吴秀丽等.基于设计模式的报表生成组件的设计与实现[J].计算机工程与应用,2004(16)
    [17]许增旺,基于设计模式的企业应用的研究及应用[D],大连理工大学硕士学位论文,2005
    [18]Adam Nathan著,霍杰等译,WPF揭秘[M],人民邮电出版社,2008
    [19]Pavari Podila,WPF Control Development Unleashed:Building Advanced User Experiences[M],Sams Publishing,2009
    [20]李明,面向对象开发方法中可重用组件技术的研究[D],大连海事大学硕士学位论文,2003
    [21]Matthew MacDonald.Pro WPF in C# 2010[M].Apress.2010.
    [22]David Sceppa梁超等译.ADO.NET技术内幕[M].清华大学出版社,2003
    [23]张牧笛,罗驱波.ADO.NET数据访问模型研究[J].微计算机信息,2008(06)
    [24]孙仁鹏.ADO.NET在多层模式下应用的研究[J].计算机工程与设计,2010(16)
    [25]王晓,基于.net的企业应用系统可利用框架的研究与设计[D],同济大学硕士学位论文,2006
    [26]王宝祥.基于.ADO.NET的数据库访问技术研究[J],计算机应用与软件,2004(02)
    [27]吴春诚,大型工程项目进度评价和控件研究[D],华中科技大学博士学位论文,2007
    [28]Adam Nathan.Windows Presntation Foundation Unleashed[M].Sams,2006.
    [29]琚彬.基于WPF平台的自定义控件开发[D].西安电子科技大学硕士学位论文.2008.
    [30]于峻峰,基于WPF4.0的智能相册管理系统[D],南京大学工程硕士学位论文,2011
    [31]余美华,基于WPF的Silverlight技术的研究及其在Web目录管理系统中的应用[D],长春理工大学硕士学位论文,2009
    [32]蔡学摘.WPF精髓之依赖属性[J],程序员,2007(5):98-100
    [33]蔡学摘.WPF精髓之数据绑定[J],程序员,2007(7):91-93
    [34]蔡学摘.WPF精髓之模板[J],程序员,2007(8)
    [35]蔡学摘.WPF精髓之Layout[J],程序员,2007(6):98-100
    [36]孙博,基于微软新一代图形系统WPF和Silverlight的数据可视化研究与实现[D],东北师范大学硕士学位论文,2009

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700