ecs 测试包引入调整

This commit is contained in:
xzb 2023-08-11 10:19:34 +08:00
parent 73b1bfcb96
commit b623a7172c
14 changed files with 24 additions and 30 deletions

View File

@ -1,5 +0,0 @@
module joylink.club/rtss
go 1.20
require github.com/yohamta/donburi v1.3.8

View File

@ -1 +0,0 @@
github.com/yohamta/donburi v1.3.8 h1:ca4NuhzJ8Jeb6GAEf6ecksa+l8JWaAnr0WLqG20TimU=

View File

@ -5,11 +5,11 @@ import (
"github.com/yohamta/donburi/filter" "github.com/yohamta/donburi/filter"
"joylink.club/ecs" "joylink.club/ecs"
"joylink.club/rtss/iwayside" "joylink.club/ecs/examples/rtss-cg/iwayside"
"joylink.club/rtss/mwayside" "joylink.club/ecs/examples/rtss-cg/mwayside"
"joylink.club/rtss/simulation" "joylink.club/ecs/examples/rtss-cg/simulation"
"joylink.club/rtss/state" "joylink.club/ecs/examples/rtss-cg/state"
"joylink.club/rtss/system" "joylink.club/ecs/examples/rtss-cg/system"
) )
// //

View File

@ -1,6 +1,6 @@
package mwayside package mwayside
import "joylink.club/rtss/iwayside" import "joylink.club/ecs/examples/rtss-cg/iwayside"
//计轴检测点模型 //计轴检测点模型
type AxlePointModel struct { type AxlePointModel struct {

View File

@ -1,6 +1,6 @@
package mwayside package mwayside
import "joylink.club/rtss/iwayside" import "joylink.club/ecs/examples/rtss-cg/iwayside"
//设备基类定义 //设备基类定义
type DeviceModel struct { type DeviceModel struct {

View File

@ -1,6 +1,6 @@
package mwayside package mwayside
import "joylink.club/rtss/iwayside" import "joylink.club/ecs/examples/rtss-cg/iwayside"
//长link只与道岔相连 //长link只与道岔相连
type LinkModel struct { type LinkModel struct {

View File

@ -1,7 +1,7 @@
package mwayside package mwayside
import ( import (
"joylink.club/rtss/iwayside" "joylink.club/ecs/examples/rtss-cg/iwayside"
) )
// 物理区段 // 物理区段

View File

@ -1,6 +1,6 @@
package mwayside package mwayside
import "joylink.club/rtss/iwayside" import "joylink.club/ecs/examples/rtss-cg/iwayside"
type SwitchModel struct { type SwitchModel struct {
//道岔基本信息 //道岔基本信息

View File

@ -2,7 +2,7 @@ package simulation
import ( import (
"joylink.club/ecs" "joylink.club/ecs"
"joylink.club/rtss/state" "joylink.club/ecs/examples/rtss-cg/state"
) )
// 道岔状态组件 // 道岔状态组件

View File

@ -4,8 +4,8 @@ import (
"github.com/yohamta/donburi/component" "github.com/yohamta/donburi/component"
"github.com/yohamta/donburi/filter" "github.com/yohamta/donburi/filter"
"joylink.club/ecs" "joylink.club/ecs"
"joylink.club/rtss/iwayside" "joylink.club/ecs/examples/rtss-cg/iwayside"
"joylink.club/rtss/mwayside" "joylink.club/ecs/examples/rtss-cg/mwayside"
) )
type SimMemory struct { type SimMemory struct {

View File

@ -6,7 +6,7 @@ import (
"github.com/yohamta/donburi/filter" "github.com/yohamta/donburi/filter"
"joylink.club/ecs" "joylink.club/ecs"
"joylink.club/rtss/simulation" "joylink.club/ecs/examples/rtss-cg/simulation"
) )
// 把长轨道当成物理区段,列车当成一个点,来计算物理区段的占用空闲状态 // 把长轨道当成物理区段,列车当成一个点,来计算物理区段的占用空闲状态

View File

@ -6,10 +6,10 @@ import (
"github.com/yohamta/donburi/filter" "github.com/yohamta/donburi/filter"
"joylink.club/ecs" "joylink.club/ecs"
"joylink.club/rtss/iwayside" "joylink.club/ecs/examples/rtss-cg/iwayside"
"joylink.club/rtss/mwayside" "joylink.club/ecs/examples/rtss-cg/mwayside"
"joylink.club/rtss/simulation" "joylink.club/ecs/examples/rtss-cg/simulation"
"joylink.club/rtss/state" "joylink.club/ecs/examples/rtss-cg/state"
) )
// 物理区段状态检测 // 物理区段状态检测

View File

@ -6,8 +6,8 @@ import (
"github.com/yohamta/donburi/filter" "github.com/yohamta/donburi/filter"
"joylink.club/ecs" "joylink.club/ecs"
"joylink.club/rtss/mwayside" "joylink.club/ecs/examples/rtss-cg/mwayside"
"joylink.club/rtss/simulation" "joylink.club/ecs/examples/rtss-cg/simulation"
) )
type SwitchSystem struct { type SwitchSystem struct {

View File

@ -5,10 +5,10 @@ import (
"github.com/yohamta/donburi/filter" "github.com/yohamta/donburi/filter"
"joylink.club/ecs" "joylink.club/ecs"
"joylink.club/rtss/iwayside" "joylink.club/ecs/examples/rtss-cg/iwayside"
"joylink.club/rtss/mwayside" "joylink.club/ecs/examples/rtss-cg/mwayside"
"joylink.club/rtss/simulation" "joylink.club/ecs/examples/rtss-cg/simulation"
"joylink.club/rtss/state" "joylink.club/ecs/examples/rtss-cg/state"
) )
type TrainSystem struct { type TrainSystem struct {