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

Stores a reference to a pathway for a mix More...

Inheritance diagram for Greet.DataStructureV3.Entities.PathwayProductionEntity:
Greet.DataStructureV3.Entities.FuelProductionEntity Greet.DataStructureV3.Interfaces.IProductionItem

Public Member Functions

 PathwayProductionEntity (GData data, int pathwayId, Guid outputId, double share)
 Creates a new Pathway production entity instance for use in a Mix Assing pathway ID and share for this pathway in the mix More...
 
 PathwayProductionEntity (GData data, XmlNode node, string optionalParamPrefix)
 
override bool Exists (GData data)
 Checks if the reference exists in the database, if we refer a pathway does this pathway exists in the database and is valid More...
 
new void GetObjectData (SerializationInfo info, StreamingContext context)
 
override XmlNode ToXmlNode (XmlDocument xmlDoc)
 Converts that object to his representation as an XML node More...
 
- Public Member Functions inherited from Greet.DataStructureV3.Entities.FuelProductionEntity
void GetObjectData (SerializationInfo info, StreamingContext context)
 

Protected Member Functions

 PathwayProductionEntity (SerializationInfo information, StreamingContext context)
 
- Protected Member Functions inherited from Greet.DataStructureV3.Entities.FuelProductionEntity
 FuelProductionEntity (GData data, XmlNode node, string optionalParamPrefix)
 Populates the shares and nodes attributes of the fuel production enitiy from an XML node More...
 
 FuelProductionEntity (GData data, double share)
 Creates a new Fuel Production Entity from the share only What's the use of that, can it be deleted ? More...
 
 FuelProductionEntity (SerializationInfo information, StreamingContext context)
 

Properties

Guid OutputReference [get, set]
 
int PathwayReference [get, set]
 
- Properties inherited from Greet.DataStructureV3.Entities.FuelProductionEntity
int MixOrPathwayId [get]
 
ParameterTS Share [get]
 returns the share for that fuel production entity More...
 
Greet.DataStructureV3.Interfaces.Enumerators.SourceType SourceType [get]
 
- Properties inherited from Greet.DataStructureV3.Interfaces.IProductionItem
int MixOrPathwayId [get]
 The ID of the pathway or the mix More...
 
double Share [get]
 In the case of that production item is used in parallel of other, there can be a share associated with this item More...
 
Enumerators.SourceType SourceType [get]
 Can be Pathway or Mix More...
 

Detailed Description

Stores a reference to a pathway for a mix

Constructor & Destructor Documentation

Greet.DataStructureV3.Entities.PathwayProductionEntity.PathwayProductionEntity ( GData  data,
int  pathwayId,
Guid  outputId,
double  share 
)

Creates a new Pathway production entity instance for use in a Mix Assing pathway ID and share for this pathway in the mix

Parameters
dataThe database to which the refered parameter will be added for the Share
pathwayIdThe ID of the pathway to be used
shareThe share in default unit => 1 for 100%

Member Function Documentation

override bool Greet.DataStructureV3.Entities.PathwayProductionEntity.Exists ( GData  data)
virtual

Checks if the reference exists in the database, if we refer a pathway does this pathway exists in the database and is valid

Implements Greet.DataStructureV3.Entities.FuelProductionEntity.

override XmlNode Greet.DataStructureV3.Entities.PathwayProductionEntity.ToXmlNode ( XmlDocument  xmlDoc)
virtual

Converts that object to his representation as an XML node

Parameters
xmlDoc
Returns

Implements Greet.DataStructureV3.Entities.FuelProductionEntity.


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