rts-sim-module/model/axle_model.go
2023-08-21 15:12:57 +08:00

15 lines
332 B
Go

package model
import "joylink.club/rtsssimulation/state"
//计轴检测点模型
type AxlePointModel struct {
DeviceModel
//计轴检测点所在轨道
LinkOffset *LinkOffsetRef
}
func NewAxlePointModel(id string) *AxlePointModel {
return &AxlePointModel{DeviceModel: DeviceModel{Id: id, Type: state.DeviceType_AxlePoint}}
}