diff --git a/examples/signal1/main.go b/examples/signal1/main.go new file mode 100644 index 0000000..e2e9600 --- /dev/null +++ b/examples/signal1/main.go @@ -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{}) + +}