Class MachineData

java.lang.Object
test.de.iip_ecosphere.platform.connectors.MachineData

public class MachineData extends Object
Test class representing machine data from the information model.
Author:
Holger Eichelberger, SSE
  • Field Details

    • lotSize

      private int lotSize
    • powerConsumption

      private double powerConsumption
    • vendor

      private String vendor
  • Constructor Details

    • MachineData

      public MachineData(int lotSize, double powerConsumption, String vendor)
      Creates a machine data object.
      Parameters:
      lotSize - the lot size
      powerConsumption - the power consumption
      vendor - 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

      public String getVendor()
      Returns the machine vendor name.
      Returns:
      the vendor name
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object