rts-sim-module/model/axle_model.go
2023-08-23 09:54:41 +08:00

18 lines
379 B
Go

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