针对目前变电站自动化产品CDT规约的多样化的特点,采用面向对象设计方法抽象出CDT规约对象模型,使CDT规约程序具有良好的可复用性。利用参数化设计方法,使程序具有更大的灵活性,在不修改程序代码的情况下,就能应用到多种不同场合,同时在架构上实现了软件的分层设计。用面向对象DELPHI语言实现了CDT规约,同时采用INI文件作为CDT规约的参数化文件模板,根据文件模板的格式和现场的实际需要可生成实例化模板文件,使得不同厂家的CDT规约能够相互适应。
Based on the varieties of automation products on electric power substation,uses the object- oriented design method to abstract object models of the CDT stipulations of an agreement object models,and enable the program of CDT stipulations of an agreement to goal reuse. With the parameter design method, which causes the system to be able to adapt the different situation without changing the code, the program is more flexible. Simultaneously, has implemented a lamination design on the software construction. At last, the Cliff stipuiatiorns of an agreement is realized by DELPHI of object - oriented programming language, INI file is applied to parameter file model. Instance model file is created by file model and actual need on scene. It can make CDT adapt different products.