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

21 lines
387 B
Go
Raw Normal View History

2023-08-29 14:59:31 +08:00
package model
import "joylink.club/rtsssimulation/repository/model/proto"
// 物理区段
type PhysicalSection struct {
Model
len int32 //长度 mm
checkPoints []*CheckPoint //将此区段分隔出来的所有检测点
aRelation DevicePort
bRelation DevicePort
}
type PhysicalSectionPort struct {
DevicePort
section *PhysicalSection
port proto.Port
}