Calculate

Description: Calculates the entity currently open in the HSFWebService.

Prerequisites: CreateSession(), OpenServer(), OpenDatabase() and OpenEntity().

Syntax

  • Visual Basic

    Public Sub Calculate( _ 
       ByVal sessionID As String, _ 
       ByRef normalCalc As Boolean, _
       ByRef reverseCalc As Boolean _
    )
  • C#

    public void Calculate(
       string sessionID,
       bool normalCalc, 
       bool reverseCalc
    )
  • C++

    public:
     void Calculate(
       String sessionID,
       bool% normalCalc,
       bool% reverseCalc
    ) sealed 
  • JScript

    public  function Calculate(
       sessionID : String,
       normalCalc : bool,
       reverCalc : bool
    )

Calculate Parameters

Table 35. Parameters

ParameterData TypeDescription
sessionIDstringA session identifier
normalCalcbooleanIf true, performs a normal calculation.
reverseCalcbooleanIf true, performs a reverse calculation.Reverse calculations are performed first.

Returns

DataSet

Table 36. EnumMeasures DataSet

ParameterData TypeDescription
MessagestringThe message
IsErrorbool???
  • true

    Message is an error

  • false

    Message is not an error