An interface that defines what methods and events can be used in order to interact with the GREET software
More...
|
EventHandler | CalculationFinished |
| When the calculations are done, this event fires up to warn any plugin that we are going to have some results available now. More...
|
|
An interface that defines what methods and events can be used in order to interact with the GREET software
Definition at line 17 of file IGREETController.cs.
void PlugInsInterfaces.IGREETController.Compress |
( |
Stream |
inp, |
|
|
Stream |
outp |
|
) |
| |
Uses an input stream and compresses it using deflate
- Parameters
-
inp | Not compressed stream |
outp | Compressed stream |
void PlugInsInterfaces.IGREETController.Decompress |
( |
Stream |
inp, |
|
|
Stream |
outp |
|
) |
| |
Uses an input stream and decompresses it
- Parameters
-
inp | Compressed input stream to be compressed |
outp | Decompressed stream using deflate |
string PlugInsInterfaces.IGREETController.DownloadDatabaseFromServer |
( |
int |
revNumber = 0 | ) |
|
Orders the software to download a specific version of the database from the webservice
- Parameters
-
- Returns
string PlugInsInterfaces.IGREETController.GetDefaultFolder |
( |
| ) |
|
Get the default folder used by GREET to store data, by default the MyDocument/Greet folder
- Returns
int PlugInsInterfaces.IGREETController.getModelYear |
( |
| ) |
|
Returns the current modeling year chosen by the user
- Returns
IProject PlugInsInterfaces.IGREETController.LoadProjectFile |
( |
string |
filename | ) |
|
Orders the main GUI to load a specific file as the current project
- Parameters
-
- Returns
void PlugInsInterfaces.IGREETController.RunSimalation |
( |
bool |
textMinMaxMonitors | ) |
|
Asks GREET to run the simulation and computes the model
void PlugInsInterfaces.IGREETController.RunSimalationAsync |
( |
| ) |
|
Asks GREET to run the simulation and computes the model
string PlugInsInterfaces.IGREETController.SaveProject |
( |
IProject |
project, |
|
|
string |
fileName |
|
) |
| |
Saves the given project to a file
- Parameters
-
project | The project to save, can be the current project |
fileName | Filename to be used to create the data file |
- Returns
IProject PlugInsInterfaces.IGREETController.CurrentProject |
|
get |
Dictionary<string, IUnitGroup> PlugInsInterfaces.IGREETController.UnitGroupsAvailable |
|
get |
Dictionary<string, IUnit> PlugInsInterfaces.IGREETController.UnitsAvailable |
|
get |
EventHandler PlugInsInterfaces.IGREETController.CalculationFinished |
When the calculations are done, this event fires up to warn any plugin that we are going to have some results available now.
Definition at line 43 of file IGREETController.cs.
The documentation for this interface was generated from the following file:
- C:/Users/ddieffenthaler/Desktop/SVN/source/greet-dev/main/PlugInsInterfaces/IGREETController.cs