Design and Implement of Drawing of GOO One-Line Diagram of Smart Distribution Network
Deng Qijun, Hong Liang Zhou, Yong Chen · 2010
The design and implement of drawing of GOO (Graphic - Object -Oriented) one-line diagram of smart 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 attributes and methods; the basic graphic class, point, line, rectangle, ellipse and text derived from the base class; the merging/binding class, various electric icons created from the basic graphic class; the canvas class, management of icon aggregation on a one-line diagram. The diagrams/icons are saved in disk through serialization/deserialization and uploaded to database server. The client detects the new version and updates the diagram/icon by downloading from server. An enumeration structure and a global control word collection are defined to meet different requirements of different applications for icon generation, one-line diagram drawing, topology modeling, switch operation simulation, etc.