2021-04-28 17:38:36 +01:00
|
|
|
. $PSScriptRoot\base.ps1
|
|
|
|
|
|
|
|
class Remote {
|
|
|
|
[String]$type
|
|
|
|
[System.Collections.ArrayList]$button
|
|
|
|
[System.Collections.ArrayList]$strip
|
|
|
|
[System.Collections.ArrayList]$bus
|
|
|
|
|
|
|
|
# Constructor
|
|
|
|
Remote ([String]$type)
|
|
|
|
{
|
|
|
|
$this.type = $type
|
2021-04-29 20:23:02 +01:00
|
|
|
$this.Setup()
|
2021-04-28 17:38:36 +01:00
|
|
|
}
|
|
|
|
|
2021-04-29 20:23:02 +01:00
|
|
|
[void] Setup () {
|
2021-04-28 17:38:36 +01:00
|
|
|
Login -TYPE $this.type
|
|
|
|
|
|
|
|
$this.button = Buttons
|
|
|
|
$this.strip = Strips
|
|
|
|
$this.bus = Buses
|
|
|
|
}
|
|
|
|
|
|
|
|
[void] Logout () {
|
|
|
|
Logout
|
|
|
|
}
|
2021-04-30 16:47:15 +01:00
|
|
|
|
|
|
|
[void] Set_Multi([HashTable]$hash) {
|
|
|
|
Param_Set_Multi -HASH $hash
|
|
|
|
}
|
2021-04-28 17:38:36 +01:00
|
|
|
}
|