LIBS/DotNetUtils/Phoenix.ModelCenter.PlugIn/ModelCenterVariableUtils.cs (line 17)
Variable utilities.
Members
- Find
- GetGroups
- GetVariables
- ReadFromDHVariable
- ReadFromDHVariable
- ReadFromIVariable
- ReadFromIVariable
- ReadFromIVariable
- ReadFromIVariable
- ReadFromModelCenter
- WriteToDHVariable
- WriteToIVariable
Public static functions
Function ReadFromIVariable
- ivar: The ModelCenter variable COM object.
- dest: The variable data to write to.
- IVariable ivar
- PHXVariable dest
Function ReadFromDHVariable
- dhvar: The ModelCenter variable COM object.
- dest: The variable data to write to.
- IDHVariable dhvar
- PHXVariable dest
Function ReadFromIVariable
- ivar: The ModelCenter variable COM object.
- dest: The variable data to write to.
- compVar: Flag which determines how the variable will be used. If true it is read as a variable to a component, if false as a variable to a model.
- IVariable ivar
- PHXVariable dest
- bool compVar
Function ReadFromDHVariable
- dhvar: The ModelCenter variable COM object.
- dest: The variable data to write to.
- compVar: Flag which determines how the variable will be used. If true it is read as a variable to a component, if false as a variable to a model.
- IDHVariable dhvar
- PHXVariable dest
- bool compVar
Function WriteToDHVariable
- source: The PHXVariable.
- dhVar: The IDHVariable.
- PHXVariable source
- IDHVariable dhVar
Function ReadFromIVariable
- prefix: The path to the containing group.
- ivar: The ModelCenter variable COM object.
- dest: The variable data to write to.
- string prefix
- IVariable ivar
- PHXVariable dest
Function ReadFromIVariable
- prefix: The path to the containing group.
- ivar: The ModelCenter variable COM object.
- dest: The variable data to write to.
- compVar: Flag which determines how the variable will be used. If true it is read as a variable to a component, if false as a variable to a model.
- string prefix
- IVariable ivar
- PHXVariable dest
- bool compVar
Function ReadFromModelCenter
- name: The variable’s full name.
- modelCenter: The instance of ModelCenter from which to read the variable.
- dest: The variable data to write to.
- compVar: Flag which determines how the variable will be used. If true it is read as a variable to a component, if false as a variable to a model.
- string name
- IModelCenter modelCenter
- PHXVariable dest
- bool compVar
Function WriteToIVariable
- src: The variable to write from.
- ivar: The ModelCenter COM object.
- PHXVariable src
- IVariable ivar
Function GetGroups
- obj: The object.
- InvalidOperationException: If the given object is not a ModelCenter object containing groups.
- object obj
Function GetVariables
- obj: The object.
- InvalidOperationException: If the given object is not a ModelCenter object containing groups.
- object obj
Function Find
- mcObject: The component or group to search.
- name: The relative name to search for.
- object mcObject
- string name