C# Class AVM.DDP.MetaAvmProject

TODO: Update summary.
Afficher le fichier Open project: metamorph-inc/meta-core Class Usage Examples

Private Properties

Свойство Type Description
GetDesignSpacesFolder string
GetDesignsFolder string
GetResultsFolder string
GetTestbenchFolder string

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
GetDesignSpacesFolder ( ) : string
GetDesignsFolder ( ) : string
GetResultsFolder ( ) : string
GetTestbenchFolder ( ) : string

Method Details

Create() public static méthode

public static Create ( MgaProject project ) : MetaAvmProject
project MgaProject
Résultat MetaAvmProject

Create() public static méthode

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
Résultat MetaAvmProject

MakeRelativePath() public static méthode

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.
Résultat string

MetaAvmProject() public méthode

Use the static create method.
public MetaAvmProject ( ) : System
Résultat System

SaveDesign() public méthode

public SaveDesign ( ISIS.GME.Dsml.CyPhyML.Interfaces designEntity ) : bool
designEntity ISIS.GME.Dsml.CyPhyML.Interfaces
Résultat bool

SaveDesign() public méthode

Saves associated design.
public SaveDesign ( MgaFCO fco ) : bool
fco MgaFCO TestBench, ParametricExploration, SoT
Résultat bool

SaveSummaryReportJson() public méthode

Call this function if a GME transaction is open.
public SaveSummaryReportJson ( string interpreterOutputDir, MgaFCO fco ) : void
interpreterOutputDir string
fco MgaFCO
Résultat void

SaveTestBench() public méthode

public SaveTestBench ( ISIS.GME.Dsml.CyPhyML.Interfaces testBenchType ) : bool
testBenchType ISIS.GME.Dsml.CyPhyML.Interfaces
Résultat bool

SaveTestBenchManifest() public méthode

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
Résultat bool

SaveTestBenchManifest() public méthode

public SaveTestBenchManifest ( string outputDirectory, ISIS.GME.Dsml.CyPhyML.Interfaces testBenchType ) : void
outputDirectory string
testBenchType ISIS.GME.Dsml.CyPhyML.Interfaces
Résultat void

SaveTestBenchManifest() public méthode

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
Résultat void

Serialize() public méthode

public Serialize ( bool saveToFile = true, string filename = null ) : string
saveToFile bool
filename string
Résultat string

UpdateResultsJson() public méthode

Call this within a transaction.
public UpdateResultsJson ( MgaFCO singleFco, string OutputSubDir ) : void
singleFco MgaFCO
OutputSubDir string
Résultat void

UpdateTestBenchJson() public méthode

public UpdateTestBenchJson ( MgaFCO testBench ) : string
testBench MgaFCO
Résultat string

UpdateTestBenchJson() public méthode

public UpdateTestBenchJson ( MgaFCO testBench ) : void
testBench MgaFCO
Résultat void