Class PlantSimulatorSerializer
Deals with loading a PlantSimulator from file
Inherited Members
Namespace: TimeSeriesAnalysis.Dynamic
Assembly: TimeSeriesAnalysis.dll
Syntax
public class PlantSimulatorSerializer
Methods
| Edit this page View SourceLoadFromJsonFile(string)
Re-construct a PlantSimulator object from the json-code created by this class' .Serialize()
Declaration
public static PlantSimulator LoadFromJsonFile(string fileName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fileName | the read object, or null if unable to read file |
Returns
| Type | Description |
|---|---|
| PlantSimulator |
LoadFromJsonTxt(string)
Re-construct a PlantSimulator object from the json-code created by this class' .Serialize()
Declaration
public static PlantSimulator LoadFromJsonTxt(string serializedPlantSimulatorJson)
Parameters
| Type | Name | Description |
|---|---|---|
| string | serializedPlantSimulatorJson |
Returns
| Type | Description |
|---|---|
| PlantSimulator |