Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Example code for this is shown below.

Code Block
using System; 
using System.Collections ;
namespace MyOrganisation.OpenMI.MyModel 
{
     public class MyEngineWrapper : Oatc.OpenMI.Sdk.Wrapper.IEngine
    {   {
        private MyEngineDotNetAccess \_myEngine;
        public void Initialize(Hashtable properties)
        { 
          \  _myEngine = new MyEngineDotNetAccess();
            \_myEngine.Initialize((string)properties\['"FilePath'\"]);
        }
         public void Finish()        
        {
            \_simpleRiverEngine.Finish();
        } 
    } 
}

4.6 Step 6: Implementing the MyModelLinkablComponent

...