add StripEQCh, StripEQChCell, they extend the StripEQ class.

update the kind maps
This commit is contained in:
2025-06-17 09:48:09 +01:00
parent 15f0fcda69
commit feb6ee5821
3 changed files with 110 additions and 10 deletions

View File

@@ -95,13 +95,12 @@ class BusEQ(IRemote):
Returns a BusEQ class.
"""
kls = (cls,)
BusEQ_cls = type(
'BusEQ',
kls,
(cls,),
{
'channel': tuple(
BusEQCh.make(remote, i, j) for j in range(remote.kind.channels)
BusEQCh.make(remote, i, j) for j in range(remote.kind.bus_channels)
)
},
)
@@ -136,10 +135,9 @@ class BusEQCh(IRemote):
Returns a BusEQCh class.
"""
kls = (cls,)
BusEQCh_cls = type(
'BusEQCh',
kls,
(cls,),
{
'cell': tuple(
BusEQChCell(remote, i, j, k) for k in range(remote.kind.cells)