19 lines
375 B
Go
19 lines
375 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
rtss_simulation "joylink.club/rtsssimulation"
|
||
|
"joylink.club/rtsssimulation/repository"
|
||
|
)
|
||
|
|
||
|
// 信号机测试
|
||
|
func main() {
|
||
|
r := &repository.Repository{}
|
||
|
addSignal2XH1(r)
|
||
|
sim := rtss_simulation.NewSimulation(r)
|
||
|
sim.StartUp()
|
||
|
}
|
||
|
func addSignal2XH1(r *repository.Repository) {
|
||
|
//signal := repository.NewSignal("signal1-2xh1", &proto.Kilometer{})
|
||
|
|
||
|
}
|