17 lines
328 B
Go
17 lines
328 B
Go
|
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}}
|
||
|
}
|