Package io.openems.edge.wago
Class FieldbusModuleFactory
java.lang.Object
io.openems.edge.wago.FieldbusModuleFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionof
(Wago parent, String moduleArtikelnr, String moduleType, FieldbusModuleKanal[] kanals, int coilOffset0, int coilOffset512) Builds a WAGOFieldbusModule
instance, defined by the XML specification.
-
Constructor Details
-
FieldbusModuleFactory
public FieldbusModuleFactory()
-
-
Method Details
-
of
public FieldbusModule of(Wago parent, String moduleArtikelnr, String moduleType, FieldbusModuleKanal[] kanals, int coilOffset0, int coilOffset512) Builds a WAGOFieldbusModule
instance, defined by the XML specification.- Parameters:
parent
- theWago
parent componentmoduleArtikelnr
- the XML 'Artikelnr'moduleType
- the XML 'Type'kanals
- the XML 'Kanals'coilOffset0
- the current offset for coils starting from 0coilOffset512
- the current offset for coils starting from 512- Returns:
- the
FieldbusModule
-