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