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

21 lines
387 B
Go

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
}