package repository import "joylink.club/rtsssimulation/repository/model/proto" type Mkx struct { Identity psdId string pcbButtons []*Button pobButtons []*Button pabButtons []*Button componentGroups []*ElectronicComponentGroup } func NewMkx(id string, psdId string) *Mkx { return &Mkx{ Identity: identity{ id: id, deviceType: proto.DeviceType_DeviceType_Mkx, }, psdId: psdId, } } func (m *Mkx) PsdId() string { return m.psdId } func (m *Mkx) PcbButtons() []*Button { return m.pcbButtons } func (m *Mkx) PobButtons() []*Button { return m.pobButtons } func (m *Mkx) PabButtons() []*Button { return m.pabButtons } func (m *Mkx) ComponentGroups() []*ElectronicComponentGroup { return m.componentGroups }