ecs 测试包引入调整
This commit is contained in:
parent
73b1bfcb96
commit
b623a7172c
@ -1,5 +0,0 @@
|
||||
module joylink.club/rtss
|
||||
|
||||
go 1.20
|
||||
|
||||
require github.com/yohamta/donburi v1.3.8
|
@ -1 +0,0 @@
|
||||
github.com/yohamta/donburi v1.3.8 h1:ca4NuhzJ8Jeb6GAEf6ecksa+l8JWaAnr0WLqG20TimU=
|
@ -5,11 +5,11 @@ import (
|
||||
|
||||
"github.com/yohamta/donburi/filter"
|
||||
"joylink.club/ecs"
|
||||
"joylink.club/rtss/iwayside"
|
||||
"joylink.club/rtss/mwayside"
|
||||
"joylink.club/rtss/simulation"
|
||||
"joylink.club/rtss/state"
|
||||
"joylink.club/rtss/system"
|
||||
"joylink.club/ecs/examples/rtss-cg/iwayside"
|
||||
"joylink.club/ecs/examples/rtss-cg/mwayside"
|
||||
"joylink.club/ecs/examples/rtss-cg/simulation"
|
||||
"joylink.club/ecs/examples/rtss-cg/state"
|
||||
"joylink.club/ecs/examples/rtss-cg/system"
|
||||
)
|
||||
|
||||
//
|
||||
|
@ -1,6 +1,6 @@
|
||||
package mwayside
|
||||
|
||||
import "joylink.club/rtss/iwayside"
|
||||
import "joylink.club/ecs/examples/rtss-cg/iwayside"
|
||||
|
||||
//计轴检测点模型
|
||||
type AxlePointModel struct {
|
||||
|
@ -1,6 +1,6 @@
|
||||
package mwayside
|
||||
|
||||
import "joylink.club/rtss/iwayside"
|
||||
import "joylink.club/ecs/examples/rtss-cg/iwayside"
|
||||
|
||||
//设备基类定义
|
||||
type DeviceModel struct {
|
||||
|
@ -1,6 +1,6 @@
|
||||
package mwayside
|
||||
|
||||
import "joylink.club/rtss/iwayside"
|
||||
import "joylink.club/ecs/examples/rtss-cg/iwayside"
|
||||
|
||||
//长link只与道岔相连
|
||||
type LinkModel struct {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package mwayside
|
||||
|
||||
import (
|
||||
"joylink.club/rtss/iwayside"
|
||||
"joylink.club/ecs/examples/rtss-cg/iwayside"
|
||||
)
|
||||
|
||||
// 物理区段
|
||||
|
@ -1,6 +1,6 @@
|
||||
package mwayside
|
||||
|
||||
import "joylink.club/rtss/iwayside"
|
||||
import "joylink.club/ecs/examples/rtss-cg/iwayside"
|
||||
|
||||
type SwitchModel struct {
|
||||
//道岔基本信息
|
||||
|
@ -2,7 +2,7 @@ package simulation
|
||||
|
||||
import (
|
||||
"joylink.club/ecs"
|
||||
"joylink.club/rtss/state"
|
||||
"joylink.club/ecs/examples/rtss-cg/state"
|
||||
)
|
||||
|
||||
// 道岔状态组件
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
"github.com/yohamta/donburi/component"
|
||||
"github.com/yohamta/donburi/filter"
|
||||
"joylink.club/ecs"
|
||||
"joylink.club/rtss/iwayside"
|
||||
"joylink.club/rtss/mwayside"
|
||||
"joylink.club/ecs/examples/rtss-cg/iwayside"
|
||||
"joylink.club/ecs/examples/rtss-cg/mwayside"
|
||||
)
|
||||
|
||||
type SimMemory struct {
|
||||
|
@ -6,7 +6,7 @@ import (
|
||||
|
||||
"github.com/yohamta/donburi/filter"
|
||||
"joylink.club/ecs"
|
||||
"joylink.club/rtss/simulation"
|
||||
"joylink.club/ecs/examples/rtss-cg/simulation"
|
||||
)
|
||||
|
||||
// 把长轨道当成物理区段,列车当成一个点,来计算物理区段的占用空闲状态
|
||||
|
@ -6,10 +6,10 @@ import (
|
||||
|
||||
"github.com/yohamta/donburi/filter"
|
||||
"joylink.club/ecs"
|
||||
"joylink.club/rtss/iwayside"
|
||||
"joylink.club/rtss/mwayside"
|
||||
"joylink.club/rtss/simulation"
|
||||
"joylink.club/rtss/state"
|
||||
"joylink.club/ecs/examples/rtss-cg/iwayside"
|
||||
"joylink.club/ecs/examples/rtss-cg/mwayside"
|
||||
"joylink.club/ecs/examples/rtss-cg/simulation"
|
||||
"joylink.club/ecs/examples/rtss-cg/state"
|
||||
)
|
||||
|
||||
// 物理区段状态检测
|
||||
|
@ -6,8 +6,8 @@ import (
|
||||
|
||||
"github.com/yohamta/donburi/filter"
|
||||
"joylink.club/ecs"
|
||||
"joylink.club/rtss/mwayside"
|
||||
"joylink.club/rtss/simulation"
|
||||
"joylink.club/ecs/examples/rtss-cg/mwayside"
|
||||
"joylink.club/ecs/examples/rtss-cg/simulation"
|
||||
)
|
||||
|
||||
type SwitchSystem struct {
|
||||
|
@ -5,10 +5,10 @@ import (
|
||||
|
||||
"github.com/yohamta/donburi/filter"
|
||||
"joylink.club/ecs"
|
||||
"joylink.club/rtss/iwayside"
|
||||
"joylink.club/rtss/mwayside"
|
||||
"joylink.club/rtss/simulation"
|
||||
"joylink.club/rtss/state"
|
||||
"joylink.club/ecs/examples/rtss-cg/iwayside"
|
||||
"joylink.club/ecs/examples/rtss-cg/mwayside"
|
||||
"joylink.club/ecs/examples/rtss-cg/simulation"
|
||||
"joylink.club/ecs/examples/rtss-cg/state"
|
||||
)
|
||||
|
||||
type TrainSystem struct {
|
||||
|
Loading…
Reference in New Issue
Block a user