引用本文:桂勋,姚兰,钱清泉.录波分析软件中的图形状态记忆算法[J].电力自动化设备,2007,27(9):35-39
.Memory algorithm of wave chart state in fault record analysis software[J].Electric Power Automation Equipment,2007,27(9):35-39
【打印本页】   【HTML】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 3367次   下载 1279 本文二维码信息
码上扫一扫!
录波分析软件中的图形状态记忆算法
桂勋,姚兰,钱清泉
作者单位
摘要:
针对当前电力故障录波分析软件中由于缺少undo(撤销)功能而导致的人机交互性能差和分析效率低的问题,通过把通道图形对象和通道录波数据间的关系由包含改造为相识,使得算法在设计上避免了内存使用量和效率上的瓶颈。阐述了算法中基于属性包的数据结构及其简化容器定义的技术,引入行为型设计模式COMMAND以降低程序设计中的耦合度和复杂度,其中专门论述了COMMAND模式中Client(客户端触发器)和Receiver(接收器)之间复杂的调用关系,并且给出了使用2个栈(RedoStack和UndoStack)实现undo算法的详细步骤及其类接口。使用该算法实现了各种波形控制操作的undo机制,用户可同时在多个显示状态间进行直接切换。
关键词:  故障分析,故障录波,设计模式
DOI:
分类号:TM938
基金项目:
Memory algorithm of wave chart state in fault record analysis software
GUI Xun  YAO Lan  QIAN Qing-quan
Abstract:
Aiming at the low analysis efficiency and bad MMI in current fault record analysis software without undo function,the relationship between channel graphic object and channel record data is changed from CONTAINMENT to ACQUAINTANCE to avoid the efficiency bottleneck of memory usage in software design.The data structure based on property package and the technique of simplified container definition are expatiated.By introducing the behavioral design pattern COMMMAND,the complexity and coupling depth in program design are lowered.The complicated CALL relationship between Client and Receiver in COMMAND mode is especially discussed,and the detailed implementation steps of undo algorithm with two stacks(RedoStack and UndoStack) and its CLASS interfaces are given.By using the proposed algorithm,the undo mechanism for all wave controls are realized,and different display states can thus be directly switched over.
Key words:  fault analysis,fault record,design patterns

用微信扫一扫

用微信扫一扫