引用本文:邓其军,周洪,鲁觉.面向图形对象的配电网单线图绘制与使用[J].电力自动化设备,2009,(7):
.Drawing and application of GOO single-line display of distribution network[J].Electric Power Automation Equipment,2009,(7):
【打印本页】   【HTML】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 3727次   下载 0  
面向图形对象的配电网单线图绘制与使用
邓其军,周洪,鲁觉
作者单位
摘要:
基于面向对象的设计思想,通过GDI+技术和Windows环境下类和接口的方法,实现了单线图的绘制与使用.采用分层模块化思想,设计了4个层次的类:图形基类管理图形的共有属性与方法;点、线、矩形、文字等基本图形类从图形基类派生;合并类与绑定类通过对点、线、矩形的组装,得到各种电气图标;画布类用于管理绘制在画布上的图标的集合.利用序列化/反序列化机制将图形文件保存到本地硬盘,并上传到数据库服务器.客户端通过检测并下栽服务器中的新版本来进行图形的更新.另外,定义了一个枚举结构和一个全局控制字集合,用以标识图标制作、单线图绘制、拓扑建模、倒闸模拟等不同使用场景下对图形的不同操作要求.
关键词:  面向对象  图形元件库  序列化/反序列化  数据库  拓扑
DOI:
分类号:TM769
基金项目:
Drawing and application of GOO single-line display of distribution network
DENG Qijun  ZHOU Hong  LU Jue
Abstract:
The drawing and application of GOO(Graphic-Object-Oriented) single-line display for power distribution network are realized using GDI+ technology and the class and interface method in Windows environment.Four levels of class are designed with the concept of layered modularization:the base class,management of public properties and methods;the basic graph class,point,line,rectangle and text derived from the base class;the merging / binding class,various electric icons created from the basic graph class;the ca...
Key words:  GDI

用微信扫一扫

用微信扫一扫