Skip to main content
Definition: ModelCenter/src/InterfaceDLL_TradeStudyPlugIn/TradeStudyPlugIn.odl (line 240) Interface representing the results of running a job. May be backed internally by a PHXDataCollector, or not.

Members

Properties

Property numRuns

Definition: ModelCenter/src/InterfaceDLL_TradeStudyPlugIn/TradeStudyPlugIn.odl (line 249)
Get the number of runs. Return type:

Property numVariables

Definition: ModelCenter/src/InterfaceDLL_TradeStudyPlugIn/TradeStudyPlugIn.odl (line 254)
Get the number of inputs. Return type:

Property dataHistory

Definition: ModelCenter/src/InterfaceDLL_TradeStudyPlugIn/TradeStudyPlugIn.odl (line 285)
Get the data history associated with this job result, if any. Return type:

Property isRunning

Definition: ModelCenter/src/InterfaceDLL_TradeStudyPlugIn/TradeStudyPlugIn.odl (line 289)
Is the current job still running. Return type:

Property isCanceled

Definition: ModelCenter/src/InterfaceDLL_TradeStudyPlugIn/TradeStudyPlugIn.odl (line 293)
Was the current job canceled? Return type:

Public functions

Function getVariableEquation

Get the equation for the variable at the specified index. Parameters:
  • index: The index.
Returns: The equation. Parameters:
  • long index
Return type: BSTR

Function getVariableDisplayName

Get the unique display name of a variable. Parameters:
  • index: The index.
Returns: The display name. Parameters:
  • long index
Return type: BSTR

Function isDesignVariable

Get the type associated with the specified variable. Parameters:
  • which: The name or index of the variable.
Returns: The variable type. Parameters:
  • VARIANT which
Return type: boolean

Function isInput

Get the type associated with the specified variable. Parameters:
  • which: The name or index of the variable.
Returns: The variable type. Parameters:
  • VARIANT which
Return type: boolean

Function cancelAsync

Halt the current job asynchronously. Return type: void

Function waitForCompletion

Wait for the trade study to finish. Exceptions:
  • OperationCanceledException: If the operation was halted.
Return type: void