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

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

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

Public Member Functions

 MixProductionEntity (GData data, XmlNode node, string optionalParamPrefix)
 
 MixProductionEntity (GData data, int mixId, double share)
 
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

 MixProductionEntity (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

int MixReference [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 mix for a mix

Member Function Documentation

override bool Greet.DataStructureV3.Entities.MixProductionEntity.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.MixProductionEntity.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: