Get(), Set($device), Clear()

methods added to IODevice

manual and pester tests pass for all kinds
This commit is contained in:
pblivingston
2026-03-04 04:23:10 -05:00
parent 4ea371af2f
commit 7d9615d760
4 changed files with 174 additions and 24 deletions

View File

@@ -106,6 +106,14 @@ class BusDevice : IODevice {
[string] identifier () {
return 'Bus[' + $this.index + '].Device'
}
[int] EnumCount () {
return $this.remote.GetOutputCount()
}
[PSObject] EnumDevice ([int]$eIndex) {
return $this.remote.GetOutputDevice($eIndex)
}
}
function Make_Buses ([Object]$remote) {