package repository import "joylink.club/rtsssimulation/repository/model/proto" type Psd struct { Identity platformId string componentGroups []*ElectronicComponentGroup } func newPsd(id string) *Psd { return &Psd{ Identity: identity{id, proto.DeviceType_DeviceType_Psd}, } } func (p *Psd) PlatformId() string { return p.platformId } func (p *Psd) ComponentGroups() []*ElectronicComponentGroup { return p.componentGroups }