From b02f6891d9cac0337dc9905934c18af818f2c971 Mon Sep 17 00:00:00 2001 From: Onyx and Iris <75868496+onyx-and-iris@users.noreply.github.com> Date: Mon, 3 May 2021 23:16:59 +0100 Subject: [PATCH] Update set_multi.ps1 update test to reflect recent changes to wrapper --- examples/set_multi.ps1 | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/examples/set_multi.ps1 b/examples/set_multi.ps1 index 9c0f89b..0628cf0 100644 --- a/examples/set_multi.ps1 +++ b/examples/set_multi.ps1 @@ -4,23 +4,31 @@ try { $vmr = Get-RemotePotato $hash = @{ - "Strip[0].Mute" = $true - "Strip[1].Mute" = $true - "Strip[2].Mute" = $false - "Strip[0].Mono" = $true - "Strip[1].Mono" = $false - "Strip[2].Mono" = $true + strip_0 = @{mute = $true; mono = $true}; + strip_1 = @{mute = $true; mono = $true}; + strip_2 = @{mute = $true; mono = $true}; + bus_0 = @{mute = $true; mono = $true}; + bus_1 = @{mute = $true; mono = $true}; + bus_2 = @{mute = $true; mono = $true}; + + mb_0 = @{state = $true}; + mb_1 = @{stateonly = $true}; + mb_2 = @{trigger = $true} } $vmr.Set_Multi($hash) $hash = @{ - "Strip[0].Mute" = $false - "Strip[1].Mute" = $false - "Strip[2].Mute" = $false - "Strip[0].Mono" = $true - "Strip[1].Mono" = $true - "Strip[2].Mono" = $false + strip_0 = @{mute = $false; mono = $false}; + strip_1 = @{mute = $false; mono = $false}; + strip_2 = @{mute = $false; mono = $false}; + bus_0 = @{mute = $false; mono = $false}; + bus_1 = @{mute = $false; mono = $false}; + bus_2 = @{mute = $false; mono = $false}; + + mb_0 = @{state = $false}; + mb_1 = @{stateonly = $false}; + mb_2 = @{trigger = $false} } $vmr.Set_Multi($hash)