rts-sim-testing-service/ats/verify/simulation/wayside/face/wayside_face.go

43 lines
750 B
Go
Raw Normal View History

2023-07-31 11:30:34 +08:00
package face
/////////////////////////////////////////////////////////////
//所有模型设备的接口定义,为了解决设备间相互依赖时循环依赖问题
type DeviceModeller interface {
//判断是否同一个模型
IsSame(other *DeviceModel) bool
//模型图形id
GetGraphicId() string
//模型索引
GetIndex() string
}
type AxlePointDeviceModeller interface {
DeviceModeller
}
type SignalDeviceModeller interface {
DeviceModeller
}
type SwitchDeviceModeller interface {
DeviceModeller
}
type AxleSectionModeller interface {
DeviceModeller
}
type LinkSectionModeller interface {
DeviceModeller
}
type LogicalSectionModeller interface {
DeviceModeller
}
type PhysicalSectionModeller interface {
DeviceModeller
}