C# Класс CyPhyMasterInterpreter.CyPhyMasterInterpreterAPI

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
CreateOrUpdateProjectManifest AVM.DDP.MetaAvmProject
DirectoryCopy void
ExecuteInTransaction void
ExecuteInTransaction void
GenerateDashboardScriptFiles void
GetConfigurationGroups CyPhyMasterInterpreter.ConfigurationGroup[]
GetIndexFilename string
GetSelectedDesign AVM.DDP.MetaTBManifest.DesignType
ResolveConfiguration MgaFCOs
ResolveConfigurations MgaFCOs
RunAnalysisModelProcessors CyPhyMasterInterpreter.MasterInterpreterResult
RunInTransactionWithConfig CyPhyMasterInterpreter.MasterInterpreterResult[]
ShowConfigurationSelectionForm ConfigurationSelection
SplitCamelCase string
TurnOffAddons void
TurnOnAddons void

Открытые методы

Метод Описание
Cancel ( ) : void
CheckContext ( IMgaModel context ) : ContextCheckerResult[]
CreateLogger ( ) : void
CyPhyMasterInterpreterAPI ( ) : System
CyPhyMasterInterpreterAPI ( MgaProject project ) : System

Initializes a new instance of CyPhyMasterInterpreterAPI.

CyPhyMasterInterpreterAPI ( MgaProject project, CyPhyGUIs logger ) : System

Initializes a new instance of CyPhyMasterInterpreterAPI.

Dispose ( ) : void

Disposes the logger if it needs to be disposed.

GetConfigurations ( IMgaModel context ) : IMgaFCOs

GetConfigurations ( IMgaProject project, string gmeId ) : IMgaFCOs
Initialize ( MgaProject project, CyPhyGUIs logger = null ) : void
OpenDashboardWithChrome ( ) : void
RunInTransactionOnMultipleConfigs ( IMgaModel context, IMgaFCOs configurations, bool postToJobManager = false, bool keepTempModels = false ) : CyPhyMasterInterpreter.MasterInterpreterResult[]

All RunInTransaction public functions should end up calling this function. It checks all constraints and initializes the variables.

Execute outside of transactions.

RunInTransactionOnOneConfig ( IMgaModel context, IMgaFCO configuration, bool postToJobManager = false, bool keepTempModels = false ) : CyPhyMasterInterpreter.MasterInterpreterResult[]
RunInTransactionWithConfigLight ( ConfigurationSelectionLight configLight ) : CyPhyMasterInterpreter.MasterInterpreterResult[]
TryCheckContext ( IMgaModel context, ContextCheckerResult &results ) : bool
WriteSummary ( CyPhyMasterInterpreter.MasterInterpreterResult results ) : void

Защищенные методы

Метод Описание
OnMultipleConfigurationProgress ( CyPhyMasterInterpreter.ProgressCallbackEventArgs e ) : void
OnSingleConfigurationProgress ( CyPhyMasterInterpreter.ProgressCallbackEventArgs e ) : void

Приватные методы

Метод Описание
CreateOrUpdateProjectManifest ( MgaProject project ) : AVM.DDP.MetaAvmProject

Creates or updates the project manifest file.

Execute within transaction.

DirectoryCopy ( string sourceDirName, string destinationDirName, bool copySubDirs ) : void
ExecuteInTransaction ( IMgaObject context, System.Action doWork, bool abort = false, transactiontype_enum type = transactiontype_enum.TRANSACTION_NON_NESTED ) : void
ExecuteInTransaction ( MgaProject project, System.Action doWork, bool abort = false, transactiontype_enum type = transactiontype_enum.TRANSACTION_NON_NESTED ) : void
GenerateDashboardScriptFiles ( ) : void
GetConfigurationGroups ( IMgaModel context ) : CyPhyMasterInterpreter.ConfigurationGroup[]
GetIndexFilename ( ) : string
GetSelectedDesign ( ISIS.GME.Dsml.CyPhyML.Interfaces cwc, ISIS.GME.Dsml.CyPhyML.Interfaces designContainer ) : AVM.DDP.MetaTBManifest.DesignType
ResolveConfiguration ( MgaFCO configuration ) : MgaFCOs
ResolveConfigurations ( IMgaFCOs configurations ) : MgaFCOs

Resolves all possible variations of configuration specification.

RunAnalysisModelProcessors ( IMgaModel context, IMgaFCO configuration, bool postToJobManager = false, bool keepTempModels = false, bool passTraceability = true ) : CyPhyMasterInterpreter.MasterInterpreterResult
RunInTransactionWithConfig ( ConfigurationSelection config ) : CyPhyMasterInterpreter.MasterInterpreterResult[]
ShowConfigurationSelectionForm ( IMgaModel context, bool enableDebugging = false ) : ConfigurationSelection
SplitCamelCase ( string input ) : string
TurnOffAddons ( IMgaObject context ) : void
TurnOnAddons ( IMgaModel context ) : void

Описание методов

Cancel() публичный Метод

public Cancel ( ) : void
Результат void

CheckContext() публичный Метод

public CheckContext ( IMgaModel context ) : ContextCheckerResult[]
context IMgaModel
Результат ContextCheckerResult[]

CreateLogger() публичный Метод

public CreateLogger ( ) : void
Результат void

CyPhyMasterInterpreterAPI() публичный Метод

public CyPhyMasterInterpreterAPI ( ) : System
Результат System

CyPhyMasterInterpreterAPI() публичный Метод

Initializes a new instance of CyPhyMasterInterpreterAPI.
public CyPhyMasterInterpreterAPI ( MgaProject project ) : System
project MgaProject Master interpreter runs on part of this project.
Результат System

CyPhyMasterInterpreterAPI() публичный Метод

Initializes a new instance of CyPhyMasterInterpreterAPI.
public CyPhyMasterInterpreterAPI ( MgaProject project, CyPhyGUIs logger ) : System
project MgaProject Master interpreter runs on part of this project.
logger CyPhyGUIs If logger is give it will be used.
Результат System

Dispose() публичный Метод

Disposes the logger if it needs to be disposed.
public Dispose ( ) : void
Результат void

GetConfigurations() публичный Метод

public GetConfigurations ( IMgaModel context ) : IMgaFCOs
context IMgaModel TestBench, PET, PCC, or SoT
Результат IMgaFCOs

GetConfigurations() публичный Метод

public GetConfigurations ( IMgaProject project, string gmeId ) : IMgaFCOs
project IMgaProject
gmeId string
Результат IMgaFCOs

Initialize() публичный Метод

public Initialize ( MgaProject project, CyPhyGUIs logger = null ) : void
project MgaProject
logger CyPhyGUIs
Результат void

OnMultipleConfigurationProgress() защищенный Метод

protected OnMultipleConfigurationProgress ( CyPhyMasterInterpreter.ProgressCallbackEventArgs e ) : void
e CyPhyMasterInterpreter.ProgressCallbackEventArgs
Результат void

OnSingleConfigurationProgress() защищенный Метод

protected OnSingleConfigurationProgress ( CyPhyMasterInterpreter.ProgressCallbackEventArgs e ) : void
e CyPhyMasterInterpreter.ProgressCallbackEventArgs
Результат void

OpenDashboardWithChrome() публичный Метод

public OpenDashboardWithChrome ( ) : void
Результат void

RunInTransactionOnMultipleConfigs() публичный Метод

All RunInTransaction public functions should end up calling this function. It checks all constraints and initializes the variables.

Execute outside of transactions.

public RunInTransactionOnMultipleConfigs ( IMgaModel context, IMgaFCOs configurations, bool postToJobManager = false, bool keepTempModels = false ) : CyPhyMasterInterpreter.MasterInterpreterResult[]
context IMgaModel Master interpreter runs on this model.
configurations IMgaFCOs Configurations to run the context with.
postToJobManager bool True posts all jobs to the job manager.
keepTempModels bool The interpreter will keep all temporary models.
Результат CyPhyMasterInterpreter.MasterInterpreterResult[]

RunInTransactionOnOneConfig() публичный Метод

public RunInTransactionOnOneConfig ( IMgaModel context, IMgaFCO configuration, bool postToJobManager = false, bool keepTempModels = false ) : CyPhyMasterInterpreter.MasterInterpreterResult[]
context IMgaModel
configuration IMgaFCO
postToJobManager bool
keepTempModels bool
Результат CyPhyMasterInterpreter.MasterInterpreterResult[]

RunInTransactionWithConfigLight() публичный Метод

public RunInTransactionWithConfigLight ( ConfigurationSelectionLight configLight ) : CyPhyMasterInterpreter.MasterInterpreterResult[]
configLight ConfigurationSelectionLight
Результат CyPhyMasterInterpreter.MasterInterpreterResult[]

TryCheckContext() публичный Метод

public TryCheckContext ( IMgaModel context, ContextCheckerResult &results ) : bool
context IMgaModel
results ContextCheckerResult
Результат bool

WriteSummary() публичный Метод

public WriteSummary ( CyPhyMasterInterpreter.MasterInterpreterResult results ) : void
results CyPhyMasterInterpreter.MasterInterpreterResult
Результат void