2023-12-27 15:51:28 +08:00
|
|
|
package model
|
|
|
|
|
2023-12-28 11:06:46 +08:00
|
|
|
type Section interface {
|
2023-12-27 15:51:28 +08:00
|
|
|
Model
|
|
|
|
Code() string
|
|
|
|
// 所在Link范围
|
|
|
|
LinkRanges() []*LinkRange
|
|
|
|
}
|
2023-12-28 11:06:46 +08:00
|
|
|
|
|
|
|
// 物理区段(实际检测区段)
|
|
|
|
type PhysicalSection interface {
|
|
|
|
Section
|
|
|
|
LogicalSections() []LogicalSection
|
|
|
|
}
|
|
|
|
|
|
|
|
// 逻辑区段
|
|
|
|
type LogicalSection interface {
|
|
|
|
Section
|
|
|
|
// 物理区段
|
|
|
|
Parent() PhysicalSection
|
|
|
|
}
|