package repository import "joylink.club/rtsssimulation/repository/model/proto" type Transponder struct { Identity km *proto.Kilometer //section *PhysicalSection //turnoutPort TurnoutPort } func NewTransponder(id string, km *proto.Kilometer) *Transponder { return &Transponder{ Identity: identity{id, proto.DeviceType_DeviceType_Responder}, km: km, } } //func (r *Transponder) bindSection(section *PhysicalSection) { // r.section = section //} // //func (r *Transponder) bindTurnoutPort(turnoutPort TurnoutPort) { // r.turnoutPort = turnoutPort //}