Class FieldbusModuleFactory

java.lang.Object
io.openems.edge.wago.FieldbusModuleFactory

public class FieldbusModuleFactory extends Object
  • Constructor Details

    • FieldbusModuleFactory

      public FieldbusModuleFactory()
  • Method Details

    • of

      public FieldbusModule of(IoWagoImpl parent, String moduleArtikelnr, String moduleType, FieldbusModuleKanal[] kanals, int coilOffset0, int coilOffset512)
      Builds a WAGO FieldbusModule instance, defined by the XML specification.
      Parameters:
      parent - the IoWagoImpl parent component
      moduleArtikelnr - the XML 'Artikelnr'
      moduleType - the XML 'Type'
      kanals - the XML 'Kanals'
      coilOffset0 - the current offset for coils starting from 0
      coilOffset512 - the current offset for coils starting from 512
      Returns:
      the FieldbusModule