rework getters, setters in higher classes

This commit is contained in:
2023-08-12 03:09:23 +01:00
parent bee52b6541
commit 4e9ff66640
6 changed files with 34 additions and 28 deletions

View File

@@ -18,15 +18,15 @@ class IBus {
}
[single] Getter ($param) {
return Param_Get -PARAM "$($this.identifier()).$param" -IS_STRING $false
return $this.remote.Getter("$($this.identifier()).$param")
}
[string] Getter_String ($param) {
return Param_Get -PARAM "$($this.identifier()).$param" -IS_STRING $true
return $this.remote.Getter_String("$($this.identifier()).$param")
}
[void] Setter ($param, $set) {
Param_Set -PARAM "$($this.identifier()).$param" -Value $set
[void] Setter ($param, $val) {
$this.remote.Setter("$($this.identifier()).$param", $val)
}
}