15 lines
332 B
Go
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}}
|
|
}
|