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