rts-sim-testing-service/ats/verify/simulation/wayside/model/ref/device_port.go

10 lines
271 B
Go

package ref
import "joylink.club/bj-rtsts-server/ats/verify/simulation/wayside/face"
// DevicePort 两个作用,一是表示设备的端点;而是表示以此设备为基准的方向
type DevicePort[T face.DeviceModeller] struct {
Device T
Port face.PortEnum
}