jl-ecs/examples/rtss-cg/mwayside/axle_point_model.go
2023-08-11 10:19:34 +08:00

21 lines
482 B
Go

package mwayside
import "joylink.club/ecs/examples/rtss-cg/iwayside"
//计轴检测点模型
type AxlePointModel struct {
DeviceModel
//计轴点公里标,单位mm
KilometerSign int64
//所在轨道
Link iwayside.ILinkModel
}
func NewAxlePointModel(id string, link iwayside.ILinkModel, kilometerSign int64) *AxlePointModel {
return &AxlePointModel{
DeviceModel: DeviceModel{Id: id, Type: iwayside.AxlePoint},
KilometerSign: kilometerSign,
Link: link,
}
}