rts-sim-module/repository/mkx.go

21 lines
324 B
Go
Raw Normal View History

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
}