信号机测试
This commit is contained in:
parent
99ddf43372
commit
f703158b1c
18
examples/signal1/main.go
Normal file
18
examples/signal1/main.go
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
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{})
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user