Class Co2Cost

    • Field Summary

      • Fields inherited from class de.dlr.gitlab.fame.communication.message.DataItem

        CLASS_NOT_KNOWN, ERR_MISSING_CONSTRUCTOR
    • Constructor Summary

      Constructors 
      Constructor Description
      Co2Cost​(de.dlr.gitlab.fame.protobuf.Agent.ProtoDataItem proto)
      Mandatory for deserialisation of DataItems
      Co2Cost​(de.dlr.gitlab.fame.time.TimeStamp timeStamp, double co2PriceInEURperT)
      Creates new Co2Cost instance
    • Constructor Detail

      • Co2Cost

        public Co2Cost​(de.dlr.gitlab.fame.time.TimeStamp timeStamp,
                       double co2PriceInEURperT)
        Creates new Co2Cost instance
        Parameters:
        timeStamp - at which the costs apply
        co2PriceInEURperT - specific CO2 price in EUR per ton of CO2 emissions
      • Co2Cost

        public Co2Cost​(de.dlr.gitlab.fame.protobuf.Agent.ProtoDataItem proto)
        Mandatory for deserialisation of DataItems
        Parameters:
        proto - protobuf representation