摘要
针对实时系统软件的代码生成技术,基于开源软件AndroMDA,分析并建立了实时系统平台的PSM元模型,研究了基于类图和状态图的PIM到PSM和PSM到代码的转换规则,最后给出了模型转换的实现算法。应用效果分析表明,该方法与LACATRE和手工编码相比,开发软件的效率和质量都有较大的提高。
In view of code generation of real-time system software,based on the open source software AndroMDA,the paper analyzes and builds the PSM metamodel of real-time system,researches on the transformation rules of PIM-to-PSM and PSM-to-Code for class diagram and state diagram,and finally gives the algorithm for implement.The analysis of application effect indicates that the method has improvement in efficiency and quality of software developing compare with LACATRE and coding by hand.
出处
《指挥控制与仿真》
2010年第6期107-112,共6页
Command Control & Simulation