stripeq, buseq

- replace iremote with eq for stripeq and buseq
- move identifier to eq
- avoid passing entire parent objects
This commit is contained in:
pblivingston
2025-11-27 09:49:46 -05:00
parent 6154af7ad7
commit 60d97a89b4
5 changed files with 26 additions and 22 deletions

View File

@@ -83,13 +83,8 @@ class BusMode : IRemote {
}
}
class BusEq : IRemote {
BusEq ([int]$index, [Object]$remote) : base ($index, $remote) {
AddBoolMembers -PARAMS @('on', 'ab')
}
[string] identifier () {
return 'Bus[' + $this.index + '].EQ'
class BusEq : Eq {
BusEq ([int]$index, [Object]$remote) : base ($index, $remote, 'Bus', $remote.kind.bus_ch) {
}
}