21 lines
324 B
Go
21 lines
324 B
Go
|
package repository
|
||
|
|
||
|
type Mkx struct {
|
||
|
Identity
|
||
|
componentGroups []*ElectronicComponentGroup
|
||
|
}
|
||
|
|
||
|
func NewMkx(id string) *Mkx {
|
||
|
return &Mkx{
|
||
|
Identity: identity{
|
||
|
id: id,
|
||
|
deviceType: 0,
|
||
|
},
|
||
|
componentGroups: nil,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (m *Mkx) ComponentGroups() []*ElectronicComponentGroup {
|
||
|
return m.componentGroups
|
||
|
}
|