2024-06-07 18:38:38 +08:00
|
|
|
package repo
|
|
|
|
|
2024-06-19 19:29:46 +08:00
|
|
|
import "joylink.club/rtss-core/model"
|
|
|
|
|
2024-06-07 18:38:38 +08:00
|
|
|
type Repo interface {
|
|
|
|
// 模型仓库id
|
|
|
|
Id() string
|
2024-06-19 19:29:46 +08:00
|
|
|
GetStationByUid(uid string) model.Station
|
|
|
|
GetSectionByUid(uid string) model.Section
|
|
|
|
GetTurnoutByUid(uid string) model.Turnout
|
2024-06-26 19:00:01 +08:00
|
|
|
// 检查通道连接关系
|
|
|
|
CheckPipeLink() error
|
2024-06-07 18:38:38 +08:00
|
|
|
}
|