mirror of
https://github.com/onyx-and-iris/xair-cli.git
synced 2026-04-09 02:13:35 +00:00
setup the skeletal structure for Eq, Comp and Gate.
implement strip/bus eq on commands.
This commit is contained in:
@@ -4,13 +4,19 @@ import "fmt"
|
||||
|
||||
type Strip struct {
|
||||
baseAddress string
|
||||
client Client
|
||||
client *Client
|
||||
Gate *Gate
|
||||
Eq *Eq
|
||||
Comp *Comp
|
||||
}
|
||||
|
||||
func NewStrip(c Client) *Strip {
|
||||
func NewStrip(c *Client) *Strip {
|
||||
return &Strip{
|
||||
baseAddress: c.addressMap["strip"],
|
||||
client: c,
|
||||
Gate: newGate(c),
|
||||
Eq: newEqForStrip(c),
|
||||
Comp: newCompForStrip(c),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user