rts-sim-module/examples/test1/tmodel/axle_model.go

17 lines
328 B
Go
Raw Normal View History

2023-08-24 10:27:50 +08:00
package tmodel
import (
"joylink.club/rtsssimulation/umi"
)
// 计轴检测点模型
type AxlePointModel struct {
DeviceModel
//计轴检测点所在轨道
LinkOffset umi.ILinkOffsetRef
}
func NewAxlePointModel(id string) *AxlePointModel {
return &AxlePointModel{DeviceModel: DeviceModel{Id: id, Type: umi.AxlePoint}}
}