...
首页> 外文期刊>Environmental Modelling & Software >Integration of legacy sub-system components into an object- oriented simulation model of a complete pastoral dairy farm
【24h】

Integration of legacy sub-system components into an object- oriented simulation model of a complete pastoral dairy farm

机译:将遗留子系统组件集成到完整的牧场奶牛场的面向对象的仿真模型中

获取原文
获取原文并翻译 | 示例
           

摘要

An object-oriented (OO) approach to developing a computer simulation of a complete pastoral dairy farm system is outlined. Since component models already existed which encapsulated the functionality of the high level objects in the overall system it was a primary design goal to be able to incorporate them into the OO framework. These components had been developed in procedural programming languages and techniques were investigated to incorporate them with little or no re-coding, and which al1ow them to be used in an 'object-like' way. The techniques involved recompilation of legacy source-code as dynamic link libraries (DLL's), and accessing stand-alone executable programs through inter-process communicatiol1 (IPC) protocols. A cow metabolism model developed in the proprietary ACSL environment, and a pasture growth model for which FORTRAN source code was available were incorporated into the Smalltalk OO framework using the Microsoft Component Object Model (COM) techniques. Multiple instances of each component (each representing a distinct real farm entity) were required by the OO framework and the COM methodology was able to support this. The integration of these components into the host OO framework involved using proxy objects to provide translation to/from the COM messaging, thus providing the OO framework with consistent inter-object communication.
机译:概述了一种面向对象(OO)的方法,用于开发完整的牧场奶牛场系统的计算机模拟。由于组件模型已经存在,这些组件模型将高级对象的功能封装在整个系统中,因此将其纳入OO框架是一个主要的设计目标。这些组件是用过程编程语言开发的,并且已经对其技术进行了研究,以使其几乎不需要重新编码就可以合并,并且允许它们以“类似对象”的方式使用。这些技术涉及将旧的源代码重新编译为动态链接库(DLL),以及通过进程间通信(IPC)协议访问独立的可执行程序。使用Microsoft组件对象模型(COM)技术将在专用ACSL环境中开发的奶牛新陈代谢模型以及可使用FORTRAN源代码的牧场生长模型合并到Smalltalk OO框架中。 OO框架需要每个组件的多个实例(每个实例代表一个不同的真实农场实体),并且COM方法能够支持这一点。将这些组件集成到主机OO框架中涉及使用代理对象提供到COM消息之间的转换,从而为OO框架提供一致的对象间通信。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号