Greet 2014
Documentation for the GREET 2014 API
 All Classes Namespaces Functions Variables Enumerations Properties Events
Greet.DataStructureV3.Entities.nLoss Class Reference

The new loss class implements the specification 001-02 This is the unique model to be used for the losses instead of using all the different cases that were done in the excel version More...

Public Member Functions

 nLoss (GData data, XmlNode node, string optionalParamPrefix)
 Creates a new instance of a loss from an XML node in the database More...
 
 nLoss (Parameters parameters)
 Creates a new loss with Rate = 0 Distance = 1 Duration = 1 RecoveryRate = 0 More...
 
XmlNode ToXmlNode (XmlDocument xmlDoc)
 Converts the information of the loss into an XML node to be stored in the database More...
 

Properties

Greet.DataStructureV3.Interfaces.Enumerators.LossDependency Dependency [get, set]
 Access the dependency value for this loss, defines if the conversion should set the distance and time while converting to general in out More...
 
Parameter Rate [get, set]
 The rate at which the loss is leaked or boilled off, this is a parameter direclty set by the user from the GUI More...
 

Detailed Description

The new loss class implements the specification 001-02 This is the unique model to be used for the losses instead of using all the different cases that were done in the excel version

Constructor & Destructor Documentation

Greet.DataStructureV3.Entities.nLoss.nLoss ( GData  data,
XmlNode  node,
string  optionalParamPrefix 
)

Creates a new instance of a loss from an XML node in the database

Parameters
node
Greet.DataStructureV3.Entities.nLoss.nLoss ( Parameters  parameters)

Creates a new loss with Rate = 0 Distance = 1 Duration = 1 RecoveryRate = 0

Member Function Documentation

XmlNode Greet.DataStructureV3.Entities.nLoss.ToXmlNode ( XmlDocument  xmlDoc)

Converts the information of the loss into an XML node to be stored in the database

Parameters
xmlDocThe XmlDocument reference in which the node is going to be added (for culture info only)
Returns
The representation of that loss as an XmlNode

Property Documentation

Greet.DataStructureV3.Interfaces.Enumerators.LossDependency Greet.DataStructureV3.Entities.nLoss.Dependency
getset

Access the dependency value for this loss, defines if the conversion should set the distance and time while converting to general in out

Parameter Greet.DataStructureV3.Entities.nLoss.Rate
getset

The rate at which the loss is leaked or boilled off, this is a parameter direclty set by the user from the GUI


The documentation for this class was generated from the following file: