diff --git a/examples/rtss-cg/go.mod b/examples/rtss-cg/go.mod deleted file mode 100644 index 461a18a..0000000 --- a/examples/rtss-cg/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module joylink.club/rtss - -go 1.20 - -require github.com/yohamta/donburi v1.3.8 diff --git a/examples/rtss-cg/go.sum b/examples/rtss-cg/go.sum deleted file mode 100644 index 8cc54a0..0000000 --- a/examples/rtss-cg/go.sum +++ /dev/null @@ -1 +0,0 @@ -github.com/yohamta/donburi v1.3.8 h1:ca4NuhzJ8Jeb6GAEf6ecksa+l8JWaAnr0WLqG20TimU= diff --git a/examples/rtss-cg/main.go b/examples/rtss-cg/main.go index 8b7d589..fdc68d9 100644 --- a/examples/rtss-cg/main.go +++ b/examples/rtss-cg/main.go @@ -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" ) // diff --git a/examples/rtss-cg/mwayside/axle_point_model.go b/examples/rtss-cg/mwayside/axle_point_model.go index e756510..8054d76 100644 --- a/examples/rtss-cg/mwayside/axle_point_model.go +++ b/examples/rtss-cg/mwayside/axle_point_model.go @@ -1,6 +1,6 @@ package mwayside -import "joylink.club/rtss/iwayside" +import "joylink.club/ecs/examples/rtss-cg/iwayside" //计轴检测点模型 type AxlePointModel struct { diff --git a/examples/rtss-cg/mwayside/common.go b/examples/rtss-cg/mwayside/common.go index bcab498..af9edbf 100644 --- a/examples/rtss-cg/mwayside/common.go +++ b/examples/rtss-cg/mwayside/common.go @@ -1,6 +1,6 @@ package mwayside -import "joylink.club/rtss/iwayside" +import "joylink.club/ecs/examples/rtss-cg/iwayside" //设备基类定义 type DeviceModel struct { diff --git a/examples/rtss-cg/mwayside/link_model.go b/examples/rtss-cg/mwayside/link_model.go index 8836c7f..5514ab6 100644 --- a/examples/rtss-cg/mwayside/link_model.go +++ b/examples/rtss-cg/mwayside/link_model.go @@ -1,6 +1,6 @@ package mwayside -import "joylink.club/rtss/iwayside" +import "joylink.club/ecs/examples/rtss-cg/iwayside" //长link只与道岔相连 type LinkModel struct { diff --git a/examples/rtss-cg/mwayside/physical_section_model.go b/examples/rtss-cg/mwayside/physical_section_model.go index 51b7d84..f06a3d0 100644 --- a/examples/rtss-cg/mwayside/physical_section_model.go +++ b/examples/rtss-cg/mwayside/physical_section_model.go @@ -1,7 +1,7 @@ package mwayside import ( - "joylink.club/rtss/iwayside" + "joylink.club/ecs/examples/rtss-cg/iwayside" ) // 物理区段 diff --git a/examples/rtss-cg/mwayside/switch_model.go b/examples/rtss-cg/mwayside/switch_model.go index c2d08f8..87e9b1e 100644 --- a/examples/rtss-cg/mwayside/switch_model.go +++ b/examples/rtss-cg/mwayside/switch_model.go @@ -1,6 +1,6 @@ package mwayside -import "joylink.club/rtss/iwayside" +import "joylink.club/ecs/examples/rtss-cg/iwayside" type SwitchModel struct { //道岔基本信息 diff --git a/examples/rtss-cg/simulation/ecs_components.go b/examples/rtss-cg/simulation/ecs_components.go index 044c829..82522b9 100644 --- a/examples/rtss-cg/simulation/ecs_components.go +++ b/examples/rtss-cg/simulation/ecs_components.go @@ -2,7 +2,7 @@ package simulation import ( "joylink.club/ecs" - "joylink.club/rtss/state" + "joylink.club/ecs/examples/rtss-cg/state" ) // 道岔状态组件 diff --git a/examples/rtss-cg/simulation/sim_memory.go b/examples/rtss-cg/simulation/sim_memory.go index 1709914..a1219a7 100644 --- a/examples/rtss-cg/simulation/sim_memory.go +++ b/examples/rtss-cg/simulation/sim_memory.go @@ -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 { diff --git a/examples/rtss-cg/system/ci_system.go b/examples/rtss-cg/system/ci_system.go index 9de7cdc..7e11e4f 100644 --- a/examples/rtss-cg/system/ci_system.go +++ b/examples/rtss-cg/system/ci_system.go @@ -6,7 +6,7 @@ import ( "github.com/yohamta/donburi/filter" "joylink.club/ecs" - "joylink.club/rtss/simulation" + "joylink.club/ecs/examples/rtss-cg/simulation" ) // 把长轨道当成物理区段,列车当成一个点,来计算物理区段的占用空闲状态 diff --git a/examples/rtss-cg/system/section_system.go b/examples/rtss-cg/system/section_system.go index fb60097..90b722a 100644 --- a/examples/rtss-cg/system/section_system.go +++ b/examples/rtss-cg/system/section_system.go @@ -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" ) // 物理区段状态检测 diff --git a/examples/rtss-cg/system/switch_system.go b/examples/rtss-cg/system/switch_system.go index 5dbfde0..17c10f1 100644 --- a/examples/rtss-cg/system/switch_system.go +++ b/examples/rtss-cg/system/switch_system.go @@ -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 { diff --git a/examples/rtss-cg/system/train_system.go b/examples/rtss-cg/system/train_system.go index d0a642a..e714b0f 100644 --- a/examples/rtss-cg/system/train_system.go +++ b/examples/rtss-cg/system/train_system.go @@ -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 {