diff --git a/ats/verify/ats_verify.go b/ats/verify/ats_verify.go new file mode 100644 index 0000000..32897b4 --- /dev/null +++ b/ats/verify/ats_verify.go @@ -0,0 +1,5 @@ +package atsVerify + +//ats 测试 +type Context struct { +} diff --git a/ats/verify/simulation/wayside/verify_memory.go b/ats/verify/simulation/wayside/verify_memory.go new file mode 100644 index 0000000..815ab48 --- /dev/null +++ b/ats/verify/simulation/wayside/verify_memory.go @@ -0,0 +1,21 @@ +package wayside + +import "joylink.club/bj-rtsts-server/ats/verify/protos/state" + +//轨旁仿真模型结构 +type VerifyStructure struct { +} + +//轨旁仿真模型状态 +type VerifyStatus struct { + //道岔状态,key为道岔id即索引 + SwitchStateMap map[string]*state.SwitchState +} + +//轨旁仿真内存模型 +type VerifyMemory struct { + //固定关系数据:轨旁仿真模型结构 + Structure *VerifyStructure + //可变状态数据:轨旁仿真模型状态 + Status *VerifyStatus +} diff --git a/ats/verify/simulation/wayside/verify_model.go b/ats/verify/simulation/wayside/verify_model.go new file mode 100644 index 0000000..504409e --- /dev/null +++ b/ats/verify/simulation/wayside/verify_model.go @@ -0,0 +1 @@ +package wayside