摘要
图元是组成图形的基本元素,图形化信息的显示、用户的操作大多通过图元完成。为实现电力通信网运行方式图的信息化、标准化绘制,图形化、智能化管理,文章基于面向对象的思想,采用ActionScript语言建立通用图元库。阐述了图元基类和各级子类的层次结构,给出了图元类中属性的设计方法及操作的具体实现,并将图元信息存入关系数据库,实现了标准化、开放式的运行方式图元库,为图形管理平台提供了易用、便于扩展的数据接口。
Entity is the basic element of graphics. Graphic information display and user operation are mostly completed by entities. In order to realize informatization standard drawing and graphic intelligent management, this paper, based on the object-oriented idea, establishes a general entity library using ActionScript language. This paper elaborates the hierar- chy levels of the entity base class and subclasses. It also gives the detail design process of the properties of entity class and concrete implementation of the operations. It has the entity information stored in the relational database, and finally realizes an open and standard operation mode entity library. The realization of the entity library provides an easy-to-use and expanded data interface for the platform of graphics management.
出处
《电力系统通信》
2012年第3期44-47,共4页
Telecommunications for Electric Power System
关键词
电力通信网
运行方式
图元
基类
electric power communication network
operation mode
entity
base class