Package communications.message
Class Co2Cost
- java.lang.Object
-
- de.dlr.gitlab.fame.communication.message.DataItem
-
- communications.message.AmountAtTime
-
- communications.message.Co2Cost
-
public class Co2Cost extends AmountAtTime
AnAmountAtTime
specialising on co2 cost- Author:
- Christoph Schimeczek
-
-
Field Summary
-
Fields inherited from class communications.message.AmountAtTime
amount, validAt
-
-
Method Summary
-
Methods inherited from class communications.message.AmountAtTime
fillDataFields
-
-
-
-
Constructor Detail
-
Co2Cost
public Co2Cost(de.dlr.gitlab.fame.time.TimeStamp timeStamp, double co2PriceInEURperT)
Creates newCo2Cost
instance- Parameters:
timeStamp
- at which the costs applyco2PriceInEURperT
- specific CO2 price in EUR per ton of CO2 emissions
-
Co2Cost
public Co2Cost(de.dlr.gitlab.fame.protobuf.Agent.ProtoDataItem proto)
Mandatory for deserialisation ofDataItem
s- Parameters:
proto
- protobuf representation
-
-