Class CellChannelFactory
- java.lang.Object
-
- io.openems.edge.battery.soltaro.versionc.utils.CellChannelFactory
-
public class CellChannelFactory extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CellChannelFactory.Type
-
Constructor Summary
Constructors Constructor Description CellChannelFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ChannelId
create(Rack rack, CellChannelFactory.Type type, int index)
Create ChannelId for a Rack as part of a Cluster.static ChannelId
create(CellChannelFactory.Type type, int index)
Create ChannelId for a Single-Rack.
-
-
-
Method Detail
-
create
public static ChannelId create(CellChannelFactory.Type type, int index)
Create ChannelId for a Single-Rack.- Parameters:
type
- theCellChannelFactory.Type
index
- the index- Returns:
- the ChannelId
-
create
public static ChannelId create(Rack rack, CellChannelFactory.Type type, int index)
Create ChannelId for a Rack as part of a Cluster.- Parameters:
rack
- theRack
type
- theCellChannelFactory.Type
index
- the index- Returns:
- the ChannelId
-
-