Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA Enterprise SCADA BLT API Reference

Create a class library

To create a class libary

  1. Create a C# .Net Framework class library using the name of the Business Logic Tier (BLT) component for the library name.
  2. Add references to following:
    • OASySDNA.Common.dll
    • OASySDNA.Common.BLTBase.dll
    • OASySDNA.Common.BLTServer.dll
  3. Set the project output path property to the silo bin folder using a relative path.
  4. Do the following:
    1. Ensure the platform target is set to x64.
    2. Delete the debug build configurations from the project and solution. 
  5. Create a public class (for example, TestBLT) that inherits from BLTComponent.
    This created class is the entry point of the BLT component.
  6. Create a public class (for example, TestBLTProcessor) that inherits from BLTProcessor.
    This created class contains the business logic of the BLT component.
  7. Implement the abstract class, specifically the Process() method.
  8. Link both classes: In the constructor of the class detailed in step 5, create an instance of the class detailed in step 6.  

Example code: TestBLT class

using OASySDNA.Common;
namespace OASySDNA.RealTime
{
    public class TestBLT : BLTComponent
    {
        public TestBLT()
        {
            Processor = new TestBLTProcessor();
        }
    }
}

Example code: TestBLTProcessor class

using System;
using OASySDNA.Common;
namespace OASySDNA.RealTime
{
    public class TestBLTProcessor: BLTProcessor
    {
        public override void Process()
        {
           
        }
    }
}
TitleResults for “How to create a CRG?”Also Available in