C# Класс AVM.DDP.MetaAvmProject

TODO: Update summary.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetDesignSpacesFolder string
GetDesignsFolder string
GetResultsFolder string
GetTestbenchFolder string

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

Метод Описание
Create ( MgaProject project ) : MetaAvmProject
Create ( string outputDirectory, MgaProject project = null, MgaModel rootDS = null, GME console = null ) : MetaAvmProject

Call this function within a transaction!

MakeRelativePath ( string fromPath, string toPath ) : string

Creates a relative path from one file or folder to another.

MetaAvmProject ( ) : System

Use the static create method.

SaveDesign ( ISIS.GME.Dsml.CyPhyML.Interfaces designEntity ) : bool
SaveDesign ( MgaFCO fco ) : bool

Saves associated design.

SaveSummaryReportJson ( string interpreterOutputDir, MgaFCO fco ) : void

Call this function if a GME transaction is open.

SaveTestBench ( ISIS.GME.Dsml.CyPhyML.Interfaces testBenchType ) : bool
SaveTestBenchManifest ( string designName, string configurationName, ISIS.GME.Dsml.CyPhyML.Interfaces expandedTestBenchType, string outputDir, ISIS.GME.Dsml.CyPhyML.Interfaces origialTestBenchType, System.DateTime analysisStartTime ) : bool
SaveTestBenchManifest ( string outputDirectory, ISIS.GME.Dsml.CyPhyML.Interfaces testBenchType ) : void
SaveTestBenchManifest ( string outputDirectory, ISIS.GME.Dsml.CyPhyML.Interfaces testBenchType, List dependencies ) : void

Function to be invoked from SOT TestBench.

Serialize ( bool saveToFile = true, string filename = null ) : string
UpdateResultsJson ( MgaFCO singleFco, string OutputSubDir ) : void

Call this within a transaction.

UpdateTestBenchJson ( MgaFCO testBench ) : string
UpdateTestBenchJson ( MgaFCO testBench ) : void

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

Метод Описание
GetDesignSpacesFolder ( ) : string
GetDesignsFolder ( ) : string
GetResultsFolder ( ) : string
GetTestbenchFolder ( ) : string

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

Create() публичный статический Метод

public static Create ( MgaProject project ) : MetaAvmProject
project MgaProject
Результат MetaAvmProject

Create() публичный статический Метод

Call this function within a transaction!
public static Create ( string outputDirectory, MgaProject project = null, MgaModel rootDS = null, GME console = null ) : MetaAvmProject
outputDirectory string
project MgaProject
rootDS MgaModel
console GME
Результат MetaAvmProject

MakeRelativePath() публичный статический Метод

Creates a relative path from one file or folder to another.
public static MakeRelativePath ( string fromPath, string toPath ) : string
fromPath string Contains the directory that defines the start of the relative path.
toPath string Contains the path that defines the endpoint of the relative path.
Результат string

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

Use the static create method.
public MetaAvmProject ( ) : System
Результат System

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

public SaveDesign ( ISIS.GME.Dsml.CyPhyML.Interfaces designEntity ) : bool
designEntity ISIS.GME.Dsml.CyPhyML.Interfaces
Результат bool

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

Saves associated design.
public SaveDesign ( MgaFCO fco ) : bool
fco MgaFCO TestBench, ParametricExploration, SoT
Результат bool

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

Call this function if a GME transaction is open.
public SaveSummaryReportJson ( string interpreterOutputDir, MgaFCO fco ) : void
interpreterOutputDir string
fco MgaFCO
Результат void

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

public SaveTestBench ( ISIS.GME.Dsml.CyPhyML.Interfaces testBenchType ) : bool
testBenchType ISIS.GME.Dsml.CyPhyML.Interfaces
Результат bool

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

public SaveTestBenchManifest ( string designName, string configurationName, ISIS.GME.Dsml.CyPhyML.Interfaces expandedTestBenchType, string outputDir, ISIS.GME.Dsml.CyPhyML.Interfaces origialTestBenchType, System.DateTime analysisStartTime ) : bool
designName string
configurationName string
expandedTestBenchType ISIS.GME.Dsml.CyPhyML.Interfaces
outputDir string
origialTestBenchType ISIS.GME.Dsml.CyPhyML.Interfaces
analysisStartTime System.DateTime
Результат bool

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

public SaveTestBenchManifest ( string outputDirectory, ISIS.GME.Dsml.CyPhyML.Interfaces testBenchType ) : void
outputDirectory string
testBenchType ISIS.GME.Dsml.CyPhyML.Interfaces
Результат void

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

Function to be invoked from SOT TestBench.
public SaveTestBenchManifest ( string outputDirectory, ISIS.GME.Dsml.CyPhyML.Interfaces testBenchType, List dependencies ) : void
outputDirectory string
testBenchType ISIS.GME.Dsml.CyPhyML.Interfaces
dependencies List
Результат void

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

public Serialize ( bool saveToFile = true, string filename = null ) : string
saveToFile bool
filename string
Результат string

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

Call this within a transaction.
public UpdateResultsJson ( MgaFCO singleFco, string OutputSubDir ) : void
singleFco MgaFCO
OutputSubDir string
Результат void

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

public UpdateTestBenchJson ( MgaFCO testBench ) : string
testBench MgaFCO
Результат string

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

public UpdateTestBenchJson ( MgaFCO testBench ) : void
testBench MgaFCO
Результат void