Class MachineData
java.lang.Object
test.de.iip_ecosphere.platform.connectors.MachineData
Test class representing machine data from the information model.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMachineData(int lotSize, double powerConsumption, String vendor) Creates a machine data object. -
Method Summary
Modifier and TypeMethodDescriptionbooleanintReturns the actual lot size.doubleReturns the power consumption.Returns the machine vendor name.inthashCode()
-
Field Details
-
lotSize
private int lotSize -
powerConsumption
private double powerConsumption -
vendor
-
-
Constructor Details
-
MachineData
Creates a machine data object.- Parameters:
lotSize- the lot sizepowerConsumption- the power consumptionvendor- the vendor name
-
-
Method Details
-
getLotSize
public int getLotSize()Returns the actual lot size.- Returns:
- the actual lot size
-
getPowerConsumption
public double getPowerConsumption()Returns the power consumption.- Returns:
- the actual power consumption
-
getVendor
Returns the machine vendor name.- Returns:
- the vendor name
-
equals
-
hashCode
public int hashCode()
-