15 lines
300 B
Go
15 lines
300 B
Go
package model
|
|
|
|
import "joylink.club/rtsssimulation/state"
|
|
|
|
// 应答器
|
|
type BaliseModel struct {
|
|
DeviceModel
|
|
//应答器所在轨道
|
|
LinkOffset *LinkOffsetRef
|
|
}
|
|
|
|
func NewBaliseModel(id string) *BaliseModel {
|
|
return &BaliseModel{DeviceModel: DeviceModel{Id: id, Type: state.DeviceType_Balise}}
|
|
}
|