package model type Section interface { Model Code() string // 所在Link范围 LinkRanges() []*LinkRange } // 物理区段(实际检测区段) type PhysicalSection interface { Section LogicalSections() []LogicalSection } // 逻辑区段 type LogicalSection interface { Section // 物理区段 Parent() PhysicalSection }