18 lines
379 B
Go
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}}
|
|
}
|