Package communications.message
Class FuelData
- java.lang.Object
-
- de.dlr.gitlab.fame.communication.message.DataItem
-
- communications.message.FuelData
-
public class FuelData extends de.dlr.gitlab.fame.communication.message.DataItem
Transmitting Data concerning a fuel type
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
fillDataFields(de.dlr.gitlab.fame.protobuf.Agent.ProtoDataItem.Builder builder)
-
-
-
Field Detail
-
fuelType
public final String fuelType
The type of fuel in question
-
-
Constructor Detail
-
FuelData
public FuelData(String fuelType)
Creates a newFuelData
instance- Parameters:
fuelType
- the type of fuel in question
-
FuelData
public FuelData(de.dlr.gitlab.fame.protobuf.Agent.ProtoDataItem proto)
Mandatory for deserialisation ofDataItem
s- Parameters:
proto
- protobuf representation
-
-