Appendix B Calculation using C# Calculation File
//Your Initializations comes here. Example below is for
current history.
}
5.
•
•
6.
7.
8.
Column
Name
Assembly
References
9.
2PAA107563-600 B
{
public override void
{
DefaultCvhHistory = hCurrentHistory;
}
public override void
{
//Your Calculation Equations Comes here
}
}
The variables are accessed using following:
If Variable Section is used then the variables are accessed with following
syntax:sSectionName.vVariableName
When Variable Section is not used: vVariableName
Use standard C# syntax to define calculation equations.
Build your calculation solution.
Define Calculation Module as shown in
Table 18. Calculation Module
The unique name of the calculation module.
A full path to the assembly (or assemblies) or C#
source file(s) that contain the calculation modules.
When defining more than one assembly or source
file they are separated with pipes "|". Mixing
assemblies and source files is not supported.
External assembly references needed in the
compilation.
Define Calculation Task as shown in
Variable Sections for Calculations
Initialize()
Calculate()
Table
18.
Description
Table
19.
151