ats轨旁仿真系统模型定义
This commit is contained in:
parent
5ded4f6fc6
commit
e73de5a086
5
ats/verify/ats_verify.go
Normal file
5
ats/verify/ats_verify.go
Normal file
@ -0,0 +1,5 @@
|
||||
package atsVerify
|
||||
|
||||
//ats 测试
|
||||
type Context struct {
|
||||
}
|
21
ats/verify/simulation/wayside/verify_memory.go
Normal file
21
ats/verify/simulation/wayside/verify_memory.go
Normal file
@ -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
|
||||
}
|
1
ats/verify/simulation/wayside/verify_model.go
Normal file
1
ats/verify/simulation/wayside/verify_model.go
Normal file
@ -0,0 +1 @@
|
||||
package wayside
|
Loading…
Reference in New Issue
Block a user