rts-sim-module/repository/model/check_point.go

14 lines
361 B
Go

package model
import "joylink.club/rtsssimulation/repository/model/proto"
// 检测点
type CheckPoint struct {
Model
km proto.Kilometer
t proto.CheckPointType //检测点类型
devicePorts []*DevicePort //检测点关联的设备及其端口
devicePositions []*LinkPosition //检测点所在的设备位置
}