rts-sim-module/repository/ckm.go

19 lines
356 B
Go
Raw Permalink Normal View History

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