Compare commits

...

288 Commits

Author SHA1 Message Date
tiger_zhou
a6293366a1 列车动力学添加车组,仿真内添加列车添加车组 2024-10-15 09:16:34 +08:00
5b0baec461 [新增]11号线联锁、12号线联锁、12号计轴第三方通信服务的状态采集 2024-10-09 17:38:52 +08:00
tiger_zhou
76a91b6495 列车折返rm模式调整 2024-09-11 21:19:41 +08:00
tiger_zhou
35c2c8e774 折返速度调整 2024-09-11 13:28:55 +08:00
tiger_zhou
15470e0e4a 列车折返12号线激活调整 2024-09-10 18:05:03 +08:00
tiger_zhou
0a0de33fd1 折返 2024-09-10 18:00:43 +08:00
tiger_zhou
259b99e610 折返 2024-09-10 16:12:38 +08:00
tiger_zhou
4e275a7b14 折返 2024-09-10 15:37:39 +08:00
tiger_zhou
51ff8423a4 折返 2024-09-06 17:44:29 +08:00
tiger_zhou
1d7b93bfcc 折返 2024-09-06 17:13:20 +08:00
tiger_zhou
3d7da35731 列车11号线btm调整 2024-09-05 09:21:48 +08:00
tiger_zhou
7629f290ea 列车模型添加 紧急制动属性 2024-08-30 16:41:37 +08:00
tiger_zhou
c2e5cee82a 列车模型调整 2024-08-29 17:18:13 +08:00
tiger_zhou
4e34593810 列车btm调整重构 2024-08-29 16:51:16 +08:00
tiger_zhou
67d7d79c5a 列车模型添加最大时速,vobc状态添加ato亮灯属性 2024-08-29 16:08:19 +08:00
tiger_zhou
30019273c5 列车操控 2024-08-27 11:58:07 +08:00
tiger_zhou
94413167c0 列车btm调整重构 2024-08-21 18:02:53 +08:00
tiger_zhou
b7336a5bbe 列车btm调整重构 2024-08-21 17:19:06 +08:00
tiger_zhou
7cb7af10d9 列车btm调整重构 2024-08-21 17:17:18 +08:00
tiger_zhou
939b7a2604 列车btm调整重构 2024-08-21 17:03:17 +08:00
tiger_zhou
30f6530a92 列车btm调整重构 2024-08-21 16:51:41 +08:00
joylink_fanyuhong
514b899f04 Merge branch 'master' of http://120.46.212.6:3000/joylink/rts-sim-testing-message 2024-08-21 16:35:36 +08:00
joylink_fanyuhong
f775ffc700 添加公里标实际和设计数据 2024-08-21 16:35:33 +08:00
tiger_zhou
bc7ca44ffd 列车应答器调整 2024-08-15 14:54:15 +08:00
tiger_zhou
ec6c571a37 列车btm调整重构 2024-08-13 17:32:48 +08:00
tiger_zhou
61b489dcf8 应答器修改 2024-08-13 09:09:25 +08:00
fan
74bea4e995 设备联锁映射数据调整 2024-08-12 16:04:46 +08:00
4a126b57ac [修改]设备状态proto消息中增加计轴区段状态,原“所有区段状态”改为物理区段状态“ 2024-08-12 15:18:52 +08:00
a5ebb6869d Merge remote-tracking branch 'origin/master' 2024-08-07 14:54:17 +08:00
47ecc9c79f [补充]11号线联锁通信 2024-08-07 14:53:56 +08:00
tiger_zhou
b7bddc6226 列车控制连接版本记录1 2024-08-06 11:24:43 +08:00
tiger_zhou
fd4d5ee638 列车控制连接版本记录1 2024-08-05 16:32:20 +08:00
0c2a761310 [修改]北京12号线连锁rsd、sse、ssr编解码算法及交互流程 2024-07-29 13:53:45 +08:00
tiger_zhou
3a6df9a689 列车车载应答器调试初始 2024-07-25 14:55:45 +08:00
tiger_zhou
2f5d8c3cfd 列车控制连接 2024-07-19 14:10:44 +08:00
tiger_zhou
c4b27d48d0 列车控制连接 2024-07-19 08:58:02 +08:00
tiger_zhou
4437185ee9 列车控制连接,重新连接调整 2024-07-15 15:00:33 +08:00
joylink_fanyuhong
ed84266851 应答器添加leu数据 2024-07-11 16:12:31 +08:00
tiger_zhou
1e7e693004 12号线列车控制基本调试 2024-07-11 14:58:33 +08:00
tiger_zhou
6cdf88a92d Merge remote-tracking branch 'origin/master' 2024-07-04 17:27:02 +08:00
tiger_zhou
47ccdf29a5 列车控制消息 2024-07-04 17:26:46 +08:00
joylink_zhaoerwei
978bd7342d 灯增加初始状态 2024-07-04 17:25:03 +08:00
joylink_zhaoerwei
94d315b21b 列车驾驶台加灯 2024-07-04 15:33:46 +08:00
tiger_zhou
2ac805b054 列车控制btn调整 2024-07-04 14:47:24 +08:00
tiger_zhou
c0aa3ab5b7 列车调整连接12号线车载,静态情况 2024-07-04 09:26:37 +08:00
joylink_zhaoerwei
547b0b1baf 注释 2024-06-27 14:42:12 +08:00
joylink_zhaoerwei
5e5cbb28f4 增加位置为空的枚举 2024-06-27 14:38:02 +08:00
joylink_zhaoerwei
72dae3d905 注释 2024-06-27 14:10:16 +08:00
joylink_zhaoerwei
d0411e3a57 继电器默认初始位置 2024-06-27 13:52:26 +08:00
joylink_zhaoerwei
e0a400f1dd 增加关联设备的类型 2024-06-24 18:32:27 +08:00
c05e0ae0fe [新增]ecs物理区段增加区段电路组件及逻辑;
[修改]12号线联锁通信服务如果启动失败,则启动参数无法更换bug
2024-06-21 15:53:15 +08:00
fan
0844608c86 连锁映射数据调整 2024-06-12 17:36:26 +08:00
tiger_zhou
c1499de7bb btm vobc 模块功能 2024-06-06 17:57:29 +08:00
fan
fed626ac4b 连锁编号数据添加esb、扣车、无人折返按钮 2024-05-28 13:19:14 +08:00
fan
16d15c8515 添加扣车按钮&无人折返按钮 2024-05-27 20:43:53 +08:00
joylink_fanyuhong
f232ff605d 联锁映射暂提 2024-05-24 20:45:09 +08:00
tiger_zhou
189cabea72 列车pc仿真调整 2024-05-23 19:08:46 +08:00
tiger_zhou
b84f16bc34 列车pc仿真调整 2024-05-23 16:17:11 +08:00
tiger_zhou
aac1484a6f 列车激活方向调整 2024-05-20 15:21:22 +08:00
6d3ff5644e [新增]区段、Link、运营方向/位置之间互相转换的函数 2024-05-16 21:19:52 +08:00
tiger_zhou
0ed6b1d451 列车消息调整 2024-05-10 16:17:15 +08:00
tiger_zhou
e4c55ea4b6 列车控制调整 2024-05-09 14:36:12 +08:00
tiger_zhou
121134778a 仿真测试调试 2024-04-28 11:01:11 +08:00
tiger_zhou
56e1948393 列车pc仿真调整 2024-04-19 16:55:51 +08:00
tiger_zhou
acbfbf8b92 列车pc仿真调整 2024-04-16 17:26:37 +08:00
tiger_zhou
df112c4298 列车pc仿真调整 2024-04-12 09:56:47 +08:00
tiger_zhou
8919d6e5d6 列车pc仿真调整 2024-04-11 16:44:48 +08:00
tiger_zhou
7d576a6c69 列车pc仿真调整 2024-04-09 10:40:18 +08:00
tiger_zhou
dd445689f1 列车pc仿真测试调整 2024-04-09 08:55:32 +08:00
e4728f0f73 【新增】mqtt发送车库门门旁路状态 2024-04-07 14:48:32 +08:00
208bcaedcc Merge remote-tracking branch 'origin/master' 2024-04-03 16:05:07 +08:00
9bfc176447 【bug】车库门状态未发送
【新增】车库门增加本地/远程状态
2024-04-03 16:04:39 +08:00
joylink_fanyuhong
ee7cf29111 洗车机增加宽度 2024-04-03 10:32:56 +08:00
tiger_zhou
5dd8f8963e 列车前端操作接口,列车连接三方映射接口及ws返回列车连接状态 2024-04-02 18:17:16 +08:00
tiger_zhou
aae4752230 Merge remote-tracking branch 'origin/master' 2024-04-02 17:32:35 +08:00
tiger_zhou
c23d536144 列车控制修改列车参数类型 2024-04-02 17:32:18 +08:00
78f0ddfd24 【bug】洗车机状态发送及洗车机操作 2024-04-02 15:59:54 +08:00
8117a06f1e 【新增】洗车机状态发送 2024-04-02 14:17:17 +08:00
eaa9de89c7 【新增】洗车机模型构建、ecs实体构建
【修改】洗车机ecs电路系统逻辑
2024-04-02 14:09:40 +08:00
joylink_fanyuhong
e64115ada3 洗车机添加属性 2024-04-02 11:28:08 +08:00
joylink_zhaoerwei
3c209fc66e 增加防淹门类型 2024-03-29 18:31:55 +08:00
f566f96c40 Merge remote-tracking branch 'origin/master' 2024-03-29 16:46:49 +08:00
d22b534a54 【修改】车库门继电器状态丢失的故障由应用层实现;不再影响继电器的实际状态;也不再导致门故障继电器接通; 2024-03-29 16:46:29 +08:00
joylink_zhaoerwei
4cac76b247 注掉old相关字段 2024-03-29 15:18:00 +08:00
4c3905b8eb 【新增】防淹门模型构建(暂时与车库门用相同模型)
【修改】因车库门PSL盘对象被删除,修改相应的构建逻辑
2024-03-29 14:59:19 +08:00
joylink_fanyuhong
a191e82832 添加防淹门 2024-03-28 10:26:17 +08:00
joylink_fanyuhong
ce9aa5fea3 车库门调整 2024-03-28 09:33:00 +08:00
joylink_fanyuhong
4c3937a7dc 合并防淹门车库门取消车库门按钮 2024-03-28 09:11:45 +08:00
f9034ba53d Merge remote-tracking branch 'origin/master' 2024-03-26 16:49:28 +08:00
8086bc2c8c 【新增】测试模块车库门状态proto定义及车库门状态发送逻辑
【删除】ecs的车库门状态及相关逻辑
2024-03-26 16:48:36 +08:00
9c420a826c 【新增】车库门PSL模型构建及相关ecs逻辑;
【改动】车库门ecs逻辑
2024-03-26 13:12:15 +08:00
joylink_fanyuhong
86b35d3ead 应答器添加原编号属性 2024-03-25 13:58:48 +08:00
joylink_fanyuhong
a1534096aa 修改车库门盒设备数据 2024-03-21 09:11:37 +08:00
b748c7ff3e 【新增】车库门及车库门控制盒操作接口 2024-03-20 14:35:34 +08:00
joylink_zhaoerwei
cd5946438c 去掉import "tccGraphics.proto"; 2024-03-19 14:19:44 +08:00
tiger_zhou
262639e34d 列车前端操作接口,列车连接三方映射接口及ws返回列车连接状态 2024-03-19 11:06:43 +08:00
tiger_zhou
0b48d0e08b 列车前端操作接口,列车连接三方映射接口及ws返回列车连接状态 2024-03-19 11:00:18 +08:00
tiger_zhou
0e19775ba6 列车前端操作接口,列车连接三方映射接口及ws返回列车连接状态 2024-03-19 09:54:31 +08:00
tiger_zhou
a8b2c32c95 列车前端操作接口,列车连接三方映射接口及ws返回列车连接状态 2024-03-19 08:35:03 +08:00
tiger_zhou
da14913835 列车前端操作接口,列车连接三方映射接口及ws返回列车连接状态 2024-03-19 08:28:49 +08:00
joylink_zhaoerwei
6dff8221d5 列车控制室相关 2024-03-15 16:40:26 +08:00
tiger_zhou
29c7ca5906 Merge remote-tracking branch 'origin/master' 2024-03-15 16:04:30 +08:00
tiger_zhou
c0f73e7b5d 列车前端操作接口,列车连接三方映射接口及ws返回列车连接状态 2024-03-15 16:03:46 +08:00
joylink_zhaoerwei
c92814fcf2 增加列车驾驶台图 2024-03-14 17:59:49 +08:00
joylink_fanyuhong
225f92b91c 添加防淹门 2024-03-12 15:21:15 +08:00
tiger_zhou
0a3e689486 速传,雷达输出数值功能 2024-03-12 13:58:57 +08:00
tiger_zhou
54033efdd9 速传,雷达输出数值功能 2024-03-11 16:15:02 +08:00
joylink_zhaoerwei
23162568a1 关联设备增加车库门和洗车机 2024-03-08 13:24:37 +08:00
fan
f3013d1079 Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message 2024-03-08 10:41:51 +08:00
fan
e84865e4d2 添加洗车机 车库门 2024-03-08 10:41:46 +08:00
e80785b813 删除列车后可再次添加相同编号列车 2024-02-23 10:43:05 +08:00
8820c9f2ab 修改列车BTM信息的报文为最后收到的报文;修改BTM探测逻辑执行不需要【车载应答器天线功率放大器】为开启状态;修改车尾位置计算bug 2024-02-21 14:54:16 +08:00
ced6f855df 列车状态增加车尾设备端口 2024-02-21 09:14:13 +08:00
55e58e0d18 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	protos/stationLayoutGraphics.proto
2024-02-20 09:21:39 +08:00
63774c3fa8 修改PSL和IBP构建模型的逻辑 2024-02-20 09:20:50 +08:00
joylink_zhaoerwei
cfcd889ef0 注掉车站关联IBP地图Code 2024-02-19 18:14:16 +08:00
6e8fecb59b 滑动门状态增加{强制}字段 2024-02-18 14:49:09 +08:00
4135d9e411 滑动门增加{有障碍物}状态;屏蔽门{有障碍物}字段名修改 2024-02-18 10:06:57 +08:00
bfb647b26f 画布格子背景 2024-02-07 13:45:58 +08:00
46bff14741 增加车尾设备及偏移量状态赋值逻辑 2024-02-06 18:00:37 +08:00
6d3e36dba4 修改BTM状态字段位置 2024-02-06 16:52:38 +08:00
66e31ca84e Merge remote-tracking branch 'origin/master' 2024-02-06 16:42:36 +08:00
71be4e2c14 列车状态增加BTM状态(逻辑中为BTM状态字段赋值) 2024-02-06 16:39:55 +08:00
2831ac4bed 增加ipb按钮和psl按钮 2024-02-06 16:29:31 +08:00
4e3b2300d1 Merge remote-tracking branch 'origin/master' 2024-02-06 15:37:48 +08:00
32a1603d5e 列车状态增加BTM状态 2024-02-06 15:36:56 +08:00
86dcfd8208 去掉关联紧急关闭按钮地图Code 2024-02-06 12:21:19 +08:00
tiger_zhou
f23ca441ef 摁钮旁路及旁路复位还原 2024-02-06 12:07:17 +08:00
tiger_zhou
23c86dac30 Merge remote-tracking branch 'origin/master' 2024-02-06 10:50:43 +08:00
tiger_zhou
910f6bdd9e 摁钮旁路及旁路复位还原 2024-02-06 10:49:45 +08:00
42a7e9cc62 增加应答器停止发送报文故障;增加应答器工作状态状态;增加列车车尾位置(仅数据结构,无赋值逻辑) 2024-02-06 09:30:56 +08:00
tiger_zhou
936ecfec01 摁钮旁路及旁路复位protobuf复位定义 2024-02-04 14:46:32 +08:00
joylink_zhaoerwei
43814b9d0e 紧急关闭按钮地图Code 2024-02-02 17:18:32 +08:00
15c8b523c2 Merge remote-tracking branch 'origin/master' 2024-01-29 14:42:30 +08:00
8edda8b749 增加继电器驱采表状态;修改Repo构建时基础检查逻辑 2024-01-29 14:42:10 +08:00
tiger_zhou
0d5ac2472f 动力学参数变更 2024-01-29 13:24:53 +08:00
tiger_zhou
099d395898 加速计 2024-01-26 17:57:35 +08:00
tiger_zhou
1a75420f04 Merge remote-tracking branch 'origin/master' 2024-01-24 17:17:58 +08:00
tiger_zhou
e800ded2c3 雷达发送功能 2024-01-24 17:12:33 +08:00
11e81fe6e7 应答器增加可变报文状态 2024-01-24 17:06:33 +08:00
7b637f0f51 屏蔽门增加设置障碍物的逻辑、补全状态显示 2024-01-24 09:59:19 +08:00
ed7e0605c5 修改屏蔽门操作请求 2024-01-23 18:02:28 +08:00
54a5be2850 修改屏蔽门操作请求proto 2024-01-23 16:45:04 +08:00
bc70ae80a0 仿真状态调整 2024-01-22 18:09:24 +08:00
f5d7363c7b 区段添加计轴复位/预复位状态 2024-01-22 17:02:12 +08:00
bdd66d8625 区段操作请求调整 2024-01-22 15:55:44 +08:00
3a30efc9fe 修改proto文件[应答器固定用户报文]字段名 2024-01-22 11:27:07 +08:00
126ba5a761 应答器增加[固定报文]和[固定用户报文]状态及修改功能 2024-01-22 11:06:09 +08:00
3180214b10 信号机显示枚举调整
添加第三方接口服务状态消息
2024-01-19 14:22:15 +08:00
tiger_zhou
d2d4e85e34 动力学列车数据配置 2024-01-18 17:17:47 +08:00
tiger_zhou
13b90a8273 动力学列车数据配置 2024-01-18 17:12:57 +08:00
tiger_zhou
f9f2cabf35 动力学列车数据配置 2024-01-18 17:09:20 +08:00
tiger_zhou
c7ee997a5e 动力学列车数据配置 2024-01-18 16:04:56 +08:00
2db94f19b5 信号机、道岔状态调整 2024-01-18 14:12:09 +08:00
4faeb5e2d5 道岔、信号机操作消息调整 2024-01-18 11:26:58 +08:00
e35c9e5686 道岔、信号机操作请求参数 2024-01-18 10:34:39 +08:00
tiger_zhou
3ec969bbd2 动力学列车数据配置 2024-01-18 10:11:08 +08:00
tiger_zhou
8469ef8778 动力学列车数据配置 2024-01-17 17:02:17 +08:00
tiger_zhou
923e04f548 动力学列车数据配置 2024-01-17 16:02:59 +08:00
tiger_zhou
ff0352b2f8 Merge remote-tracking branch 'origin/master' 2024-01-16 16:33:14 +08:00
tiger_zhou
ac47366a34 动力学列车数据配置 2024-01-16 16:33:00 +08:00
fan
ec9ba5c1ea Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message 2024-01-16 15:46:21 +08:00
fan
659a26757f 应答器数据修改 2024-01-16 15:46:16 +08:00
411729dc6a 与前端传递的应答器报文改为16进制字符串 2024-01-16 13:44:27 +08:00
joylink_zhaoerwei
69300cf11d 增加车站拼音简写 2024-01-16 13:07:49 +08:00
1a21f13cce 修改proto文件编译逻辑;修改proto文件编译位置并修改其它文件对生成的文件的引用 2024-01-11 10:24:53 +08:00
19d48ccabc Merge remote-tracking branch 'origin/master' 2024-01-10 14:08:20 +08:00
00828fb909 proto文件增加设备状态;实现应答器的相关接口 2024-01-10 14:05:58 +08:00
03061dec13 继电器添加取消强制操作 2024-01-09 14:15:35 +08:00
4c2644ae8d 添加继电器操作请求消息 2024-01-09 11:22:22 +08:00
weizhihong
999608fa88 修改增量消息列车状态类型 2023-12-15 15:07:09 +08:00
weizhihong
aa6a31283a 【修改列车状态字段名称】 2023-12-14 18:00:09 +08:00
weizhihong
5875ff33f3 【将列车状态合并成一个大对象】 2023-12-14 17:56:40 +08:00
weizhihong
a0db03b7d4 【删除多余字段】 2023-12-14 16:46:11 +08:00
weizhihong
62ef7c7f4d 【修改列车状态】 2023-12-14 16:31:36 +08:00
weizhihong
b68103fcf0 【操作参数类型修改】 2023-12-14 11:00:24 +08:00
dong
b7cba6d47d 区段码位表调整 2023-12-13 17:05:03 +08:00
fan
9c1d8889e2 Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message 2023-12-13 16:46:08 +08:00
fan
2f3f682ad8 DeviceCombinationtype调整 2023-12-13 16:46:04 +08:00
weizhihong
90e1fdadca 【修改设备状态ID类型】 2023-12-13 16:18:29 +08:00
fan
87c59e7929 注销计算link 2023-12-13 16:08:27 +08:00
fan
7562dd954d 计轴区段调整 2023-12-13 14:49:41 +08:00
joylink_zhaoerwei
dac1dc8116 去掉new 2023-12-13 14:35:39 +08:00
joylink_zhaoerwei
4c962bc7b0 继电器处理数据 2023-12-13 10:21:45 +08:00
fan
4542ae2c3e Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message 2023-12-13 09:57:24 +08:00
fan
2c7e96a9dc id数据类型int32转uint32 2023-12-13 09:57:19 +08:00
joylink_zhaoerwei
e37c751ac4 车站关联的设备转int 2023-12-12 18:02:08 +08:00
joylink_zhaoerwei
59a531ed15 增加int字段 2023-12-12 17:47:46 +08:00
joylink_zhangsai
13ed3c733c 修改屏蔽门ecs逻辑 2023-12-08 16:46:49 +08:00
joylink_zhaoerwei
73c2a6da9c 集中站分割线增加是否是其他线的边界 2023-12-07 18:14:31 +08:00
fan
4073cc1757 信号机新增上下行调整 2023-12-06 09:51:31 +08:00
Yuan
0a6fdf7688 区段增加上下行 2023-12-05 13:15:49 +08:00
Yuan
8994456224 区段方向 2023-12-04 17:27:57 +08:00
Yuan
117442931a 区段增加常规运行方向和是否折返轨 2023-12-04 16:19:34 +08:00
dong
8eba9c60ce 其他线路数据 2023-12-04 14:55:06 +08:00
joylink_zhaoerwei
a8f95ae60c 集中区分割线关联数据增加端点 2023-12-04 11:26:48 +08:00
joylink_zhaoerwei
2547e97875 站台增加上下行 2023-12-04 09:41:18 +08:00
joylink_zhaoerwei
7bed616b44 集中区分割线 2023-11-29 15:50:45 +08:00
joylink_zhaoerwei
38d06fc13c 集中区分割线变为通用的多边形绘制 2023-11-29 10:33:18 +08:00
joylink_zhaoerwei
3d486fe86e 填加集中区分割线 2023-11-28 16:13:42 +08:00
fan
c8271df88f 关联集中站调整 2023-11-28 14:19:52 +08:00
joylink_zhaoerwei
f325f2483f 站台添加关联紧急停车继电器属性 2023-11-24 16:01:00 +08:00
joylink_zhaoerwei
3578704df6 车站去掉车站名简写、信号机去掉所属车站 2023-11-23 17:17:17 +08:00
dong
422d22b8d8 应答器类型调整 2023-11-23 12:13:51 +08:00
dong
a09d457761 应答器类型调整 2023-11-23 12:09:12 +08:00
xzb
2359af7435 无源应答器固定报文 2023-11-23 10:49:21 +08:00
fan
eec2602adc Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message 2023-11-23 10:08:57 +08:00
fan
b76b9c2f13 发车计时器添加关联站台和运行方向 2023-11-23 10:08:51 +08:00
xzb
a86b1c92dd Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message into HEAD 2023-11-22 13:22:45 +08:00
xzb
2851f537eb 无源应答器固定报文 2023-11-22 13:21:39 +08:00
Yuan
e530b21a10 ibp车站文字 2023-11-21 15:15:29 +08:00
dong
2eb395a90c 代码调整 2023-11-21 14:49:42 +08:00
dong
6f4ba349bc 代码调整 2023-11-21 14:48:17 +08:00
dong
c9dbe041d1 添加运行数据类型 2023-11-21 14:46:49 +08:00
dong
9f81f7f60b 列车管理调整 2023-11-20 15:16:29 +08:00
joylink_zhaoerwei
f33749551c 增加集中站管理的车站 2023-11-17 16:53:35 +08:00
fan
f0090348af Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message 2023-11-17 10:40:11 +08:00
fan
af06865fd0 取消设备index 2023-11-17 10:40:08 +08:00
dong
19896dc3d6 自动折返按钮箱 2023-11-16 18:06:00 +08:00
fan
68bb38dfe5 缩写 2023-11-16 16:57:47 +08:00
fan
496c1108b8 Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message 2023-11-16 16:54:33 +08:00
fan
05b24269a8 添加信号机所属车站 2023-11-16 16:54:29 +08:00
joylink_zhaoerwei
7aa3851130 车站增加车辆段和站名简写 2023-11-16 16:22:35 +08:00
weizhihong
dba7ea4f29 Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message 2023-11-16 15:59:24 +08:00
weizhihong
2f39506cf6 【列车参数】 2023-11-16 15:59:17 +08:00
fan
9b1d2ca01f Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message 2023-11-16 15:52:03 +08:00
fan
7435e2b169 添加发车计时器 2023-11-16 15:51:58 +08:00
xzb
be53fb3438 信号机模型枚举 2023-11-16 11:15:55 +08:00
xzb
443710abd5 Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message into HEAD 2023-11-16 11:03:44 +08:00
xzb
f1baf048c5 信号机模型枚举 2023-11-16 11:02:18 +08:00
weizhihong
e388e774f4 Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message 2023-11-13 14:12:05 +08:00
weizhihong
a0dbaab3dc 【增加列车轮径信息】 2023-11-13 14:11:58 +08:00
joylink_zhaoerwei
2d58198cfc 生成计轴配置增加指定的道岔组不生成计轴 2023-11-10 17:13:56 +08:00
joylink_zhaoerwei
7ab9e3b83c 增加生成计轴配置 2023-11-10 15:07:30 +08:00
fan
c04ff2635f Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message 2023-11-10 09:23:32 +08:00
fan
ee2e7aa2d6 增加信标 2023-11-10 09:23:27 +08:00
weizhihong
3d3461d09b 【增加给前端发送的道岔占用状态】 2023-11-09 18:01:39 +08:00
5b6e90cf4e 增加间隙探测继电器及相关逻辑;修改屏蔽门控制逻辑实现 2023-11-09 10:53:22 +08:00
joylink_zhaoerwei
3dddb31503 增加屏蔽门配置--子门和编组 2023-11-08 16:13:36 +08:00
weizhihong
9444331238 Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message 2023-11-08 14:49:09 +08:00
weizhihong
11934a1708 去除列车中uid信息 2023-11-08 14:49:02 +08:00
joylink_zhaoerwei
40592a05d1 删除组合类型列表+增加关联设备类型断路器和电源屏 2023-11-08 13:09:06 +08:00
weizhihong
fba9d69795 【修改站台屏蔽门消息格式】 2023-11-08 11:25:44 +08:00
weizhihong
fe2d65a91d 【站台继电器状态修改】 2023-11-06 17:51:54 +08:00
weizhihong
ad46463cdf 【增加门控箱状态】 2023-11-06 17:42:42 +08:00
weizhihong
ffaa979222 【修改spks继电器状态属性】 2023-11-06 17:10:09 +08:00
weizhihong
05f0f5f5d5 【修改站台信息】 2023-11-06 16:48:34 +08:00
weizhihong
85196466da 【删除spks、emp状态,增加站台继电器状态】 2023-11-06 16:41:19 +08:00
weizhihong
d1f0f7ddf5 Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message 2023-11-06 14:15:41 +08:00
weizhihong
fe58c72ee0 【站场图emp按钮状态】 2023-11-06 14:15:34 +08:00
ce7d7d49dc 增加屏蔽门故障操作及逻辑 2023-11-06 10:52:53 +08:00
280219a91a 修改屏蔽门状态;修改滑动门ecs实体构建bug 2023-11-03 10:41:46 +08:00
weizhihong
29711ded19 Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message 2023-11-02 17:00:48 +08:00
weizhihong
442cdbead9 【增加站场图SPKS状态】 2023-11-02 17:00:41 +08:00
92c5696b7e 增加屏蔽门操作接口;实现屏蔽门操作 2023-11-02 15:49:58 +08:00
weizhihong
ebfb67be9c Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message 2023-11-01 16:00:39 +08:00
weizhihong
e8d31c56bc 【列车状态增加设备所在UID属性】 2023-11-01 16:00:29 +08:00
xzb
2a14cd39d1 计轴区段 2023-11-01 11:10:54 +08:00
xzb
df9ed054c0 Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message into HEAD 2023-10-31 16:22:33 +08:00
xzb
275dc5659c axle section request 2023-10-31 16:22:01 +08:00
b6e6290cb1 道岔添加状态 2023-10-31 15:13:05 +08:00
c81c2fb311 道岔添加强制操作 2023-10-31 11:21:01 +08:00
Yuan
596dd05920 区段操作 2023-10-30 17:32:11 +08:00
xzb
123622f28c Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message into HEAD 2023-10-30 17:22:21 +08:00
xzb
023d9e9635 计轴区段操作 2023-10-30 17:22:03 +08:00
weizhihong
8afde905e5 【增加仿真状态说明】 2023-10-27 14:18:30 +08:00
weizhihong
f9e8236bd9 【删除仿真状态列表结构】 2023-10-27 14:02:43 +08:00
weizhihong
3927f19f15 Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message 2023-10-27 09:24:29 +08:00
weizhihong
d4f48cccc2 【仿真状态增加运行环境ID】 2023-10-27 09:24:16 +08:00
6cf87ed06c 修改go生成的目录 2023-10-26 17:15:57 +08:00
joylink_zhaoerwei
b18218fdb1 驱动继电器列表初提交 2023-10-25 14:36:11 +08:00
dong
60ead5ac3d 物理区段码位列表 2023-10-25 10:47:38 +08:00
joylink_zhaoerwei
f0bfa36757 采集继电器列表初提交 2023-10-24 17:03:53 +08:00
xzb
6827f9671a Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message into HEAD 2023-10-24 09:35:39 +08:00
xzb
de134d38bb 计轴区段操作枚举定义 2023-10-24 09:35:22 +08:00
joylink_zhaoerwei
60ed5685cf 添加信号机故障报警仪设备,组合里设备类型添加信号机故障报警仪 2023-10-23 16:31:00 +08:00
weizhihong
9b1c6d7801 【增加钥匙状态】 2023-10-20 10:53:39 +08:00
joylink_zhaoerwei
0a7a459560 增加车站名 2023-10-20 10:00:51 +08:00
xzb
8e5d8faf7b Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message into HEAD 2023-10-19 17:39:55 +08:00
xzb
9841fd10c9 信号机模型类型 2023-10-19 17:39:26 +08:00
96ec7a2b07 增加屏蔽门状态返回 2023-10-19 17:31:26 +08:00
joylink_zhaoerwei
1ffe7fa6a5 增加地图的公里标主坐标系 2023-10-19 17:23:44 +08:00
xzb
76edc8de95 Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message into HEAD 2023-10-19 17:12:21 +08:00
xzb
754049d011 信号机模型类型 2023-10-19 17:11:28 +08:00
8f23c4062d 增加门控箱交互接口;修改门控箱构建逻辑bug;增加屏蔽门状态 2023-10-19 17:09:36 +08:00
weizhihong
cff3d23475 Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message 2023-10-19 16:08:16 +08:00
weizhihong
57e0118a53 【修改灯激活属性】 2023-10-19 16:08:09 +08:00
xzb
97319ed5b8 signal 故障 2023-10-19 15:06:41 +08:00
9 changed files with 1797 additions and 374 deletions

76
protos/common_data.proto Normal file
View File

@ -0,0 +1,76 @@
syntax = "proto3";
package common;
//option java_package = "club.joylink.bjrtss.ats.verify.protos";
//option java_outer_classname = "LayoutGraphicsProto";
option go_package = "joylink.club/bj-rtsts-server/dto/common_proto";
//
message TrainDynamicConfig{
//100=1ton
// int32 mass=1;
//A
float davisParamA=1;
// B
float davisParamB=2;
// C
float davisParamC=3;
//线R1
float curveResistanceParamR1=4;
// 线R2
float curveResistanceParamR2=5;
// 线R3
float curveResistanceParamR3=6;
// 线R4
float curveResistanceParamR4=7;
//
float revolvingMassParam=8;
//
bool jump=9;
//(m/s) 0
float slipA=10;
// (m/s) 0
float slipR=11;
// ms 0
int32 slipD=12;
// m/s20
float idlingA = 14;
// m/s30
float idlingR = 15;
// ms0
int32 idlingD = 16;
///mm
int32 stopSign=17;
///m/s0
float slide = 18;
}
//
message TrainEndsState{
//
bool speedSensorEnableA = 1;
bool speedSensorEnableB = 2;
//
bool radarEnable = 3;
///
float radarCheckSpeedDiff = 4;
//()
int32 radarCheckTime = 5;
//
bool accEnable = 6;
///
float accCheckSpeedDiff = 7;
//
int32 accCheckTime = 8;
// /
int32 accOutSpeed = 9;
// /
int32 radarOutSpeed = 10;
//
int64 radarCheckTimeOverAt = 11;
//
int64 accCheckTimeOverAt = 12;
}

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
syntax = "proto3";
import "stationLayoutGraphics.proto";
package ibpGraphicData;
option go_package = "./ats/verify/protos/graphicData";
option go_package = "joylink.club/bj-rtsts-server/dto/data_proto";
message IBPGraphicStorage {
graphicData.Canvas canvas = 1;
@ -13,6 +13,7 @@ message IBPGraphicStorage {
// UniqueIdType UniqueIdPrefix = 7;
repeated IbpRelatedDevice ibpRelatedDevices = 8;
repeated IbpLight ibpLights = 9;
repeated IbpStationText ibpStationTexts = 10;
}
message IBPButton {
@ -73,3 +74,21 @@ message IbpRelatedDevice {
repeated graphicData.DeviceCombinationtype combinationtypes = 2; //
// graphicData.RelatedRef.DeviceType deviceType = 3; //
}
message IbpStationText {
enum IbpStationTextType {
CURRENT = 0;
UP = 1;
DOWN = 2;
}
enum IbpStationTextAlign {
LEFT = 0;
RIGHT = 1;
CENTER = 2;
}
graphicData.CommonInfo common = 1;
IbpStationTextType type = 2;
string color = 4;
int32 fontSize = 5;
IbpStationTextAlign align = 6;
}

View File

@ -1,6 +1,6 @@
syntax = "proto3";
option go_package = "./ats/verify/protos/graphicData";
option go_package = "joylink.club/bj-rtsts-server/dto/data_proto";
enum PictureType {
/** 平面布置图 */
@ -11,4 +11,8 @@ enum PictureType {
RelayCabinetLayout = 2;
/** IBP盘 */
IBP = 3;
/** 列车数据 */
TrainData = 4;
/** 列车驾驶台 */
TrainControlCab = 5;
}

View File

@ -2,7 +2,7 @@ syntax = "proto3";
import "stationLayoutGraphics.proto";
package pslGraphicData;
option go_package = "./ats/verify/protos/graphicData";
option go_package = "joylink.club/bj-rtsts-server/dto/data_proto";
message PslGraphicStorage {
graphicData.Canvas canvas = 1;

View File

@ -2,7 +2,7 @@ syntax = "proto3";
import "stationLayoutGraphics.proto";
package relayCabinetGraphicData;
option go_package = "./ats/verify/protos/graphicData";
option go_package = "joylink.club/bj-rtsts-server/dto/data_proto";
message RelayCabinetGraphicStorage {
graphicData.Canvas canvas = 1;
@ -12,7 +12,10 @@ message RelayCabinetGraphicStorage {
//string belongsConcentrationStation = 5;//
UniqueIdType UniqueIdPrefix = 6;//--
repeated PhaseFailureProtector phaseFailureProtectors = 7;
repeated Combinationtype combinationtypeList = 8;
//repeated Combinationtype combinationtypeList = 8;
repeated SignalFaultAlarm signalFaultAlarms = 9;
CiCj ciCjList = 10;//
CiQd ciQdList = 11;//
}
message RelayCabinet {
@ -36,6 +39,8 @@ message Relay {
string code = 2;//
//string model = 3;//
ModelType newModel = 4;//
string showCode = 5;//
CjDataItem.PostionType defaultInitialPosition = 6;//
}
/* 断相保护器 */
@ -44,6 +49,12 @@ message PhaseFailureProtector {
string code = 2;//
}
/* 信号机故障报警仪 */
message SignalFaultAlarm {
graphicData.CommonInfo common = 1;
string code = 2;//
}
/* 设备管理的继电器列表 */
message DeviceRelateRelay {
//int32 id = 1;//id
@ -55,7 +66,8 @@ message DeviceRelateRelay {
}
message Combinationtype {
string code = 1;
repeated string refRelays = 2;//
//repeated string oldrefRelays = 2;//
repeated uint32 refRelays = 3;//
}
message UniqueIdType {
@ -63,3 +75,45 @@ message UniqueIdType {
string lineId = 2;//线
string belongsConcentrationStation = 3;//
}
/* 采集 */
message CiCj {
int32 dsCount = 1;//excel表行数
repeated CjDataSet cjList = 2;//excel表列数--
}
message CjDataSet {
string name = 1;//excel中的列名'D1'
repeated CjData bitList = 2;//excel中的一列的数据
}
message CjData {
repeated CjDataItem refRelays=1;//
}
message CjDataItem {
enum PostionType {
Q=0;
H=1;
NONE=2;
}
//string oldrelayId = 1;//Id
PostionType position = 2;//QH对应着吸合
uint32 relayId = 3;//Id
}
/* 驱动 */
message CiQd {
int32 dsCount = 1;//excel表行数
repeated QdDataSet qdList = 2;//excel表列数--
}
message QdDataSet {
string name = 1;//excel中的列名'D1'
repeated QdData bitList = 2;//excel中的一列的数据
}
message QdData {
//repeated string oldrefRelays=1;//Id
repeated uint32 refRelays=2;//Id
}

View File

@ -1,57 +1,290 @@
syntax = "proto3";
import "device_state.proto";
package request;
option go_package = "./dto/request_proto";
option go_package = "joylink.club/bj-rtsts-server/dto/request_proto";
/*
message BypassOperationReq{
enum Operation{
bypass = 0; //
bypass_reset = 1; //
}
enum BtnType{
esb_btn = 0;
ibp_btn = 1;
ibp_key = 2;
pls_btn = 3;
}
string simulationId = 1; // 仿id
int32 mapId = 2; // id
uint32 deviceId = 3; // id
string deviceCode = 5;//code
uint32 stationId = 6; //id
uint32 gateBoxId = 7;
BypassOperationReq.Operation operation = 8;
BypassOperationReq.BtnType btnType = 9;
}
*/
//
message Relay {
//
enum Operation {
Undefined = 0; //
ForceQw = 1; // ()
ForceHw = 2; // ()
CancelForce = 3; //
}
}
//
message RelayOperationReq {
string simulationId = 1; // 仿id
int32 mapId = 2; // id
uint32 deviceId = 3; // id
Relay.Operation operation = 4; //
}
//
message Turnout {
//
enum Operation {
Undefined = 0; //
DC = 1; //
CancelDC = 2; //
FC = 3; //
CancelFC = 4; //
SetSB = 5; //
CancelSB = 6; //
SetJC = 7; //
CancelJC = 8; //
}
message Points {
//
enum Operation {
Undefined = 0; //
SetParams = 1; //
}
//
enum Force {
FP_NONE = 0; //
FP_DW = 1; //
FP_FW = 2; //
FP_SB = 3; //
}
}
//
message TurnoutOperationReq {
string simulationId = 1; // 仿id
int32 mapId = 2; // id
string deviceId = 3; // id
Turnout.Operation operation = 4; //
message PointsOperationReq {
string simulationId = 1; // 仿id
int32 mapId = 2; // id
uint32 deviceId = 3; // id
Points.Operation operation = 4; //
PointsParam param = 5; // ,operation为SetParams时有效
}
//
message PointsParam {
Points.Force forcePosition = 1; //
}
//
message Signal{
//
enum Operation{
Undefined = 0; //
Display = 1; //,绿
LightHFaultDs = 2;//
LightUFaultDs = 3;//
LightLFaultDs = 4;//绿
LightAFaultDs = 5;//
LightBFaultDs = 6;//
LightHCancelDs = 7;//
LightUCancelDs = 8;//
LightLCancelDs = 9;//绿
LightACancelDs = 10;//
LightBCancelDs = 11;//
}
message Signal {
//
enum Operation {
Undefined = 0; //
SetParams = 1; //
// Display = 1; //,绿
// LightHFaultDs = 2; //
// LightUFaultDs = 3; //
// LightLFaultDs = 4; //绿
// LightAFaultDs = 5; //
// LightBFaultDs = 6; //
// LightHCancelDs = 7; //
// LightUCancelDs = 8; //
// LightLCancelDs = 9; //绿
// LightACancelDs = 10; //
// LightBCancelDs = 11; //
}
enum DS {
DS_H = 0; //
DS_U = 1; //
DS_L = 2; // 绿
DS_A = 3; //
DS_B = 4; //
}
//
enum Force {
SF_NONE = 0; //
SF_M = 1; //
SF_H = 2; //
SF_U = 3; //
SF_L = 4; // 绿
SF_HU = 5; //
SF_A = 6; //
SF_B = 7; //
}
}
//
message SignalOperationReq {
string simulationId = 1; // 仿id
int32 mapId = 2; // id
string deviceId = 3; // id
Signal.Operation operation = 4; //
state.Signal.Aspect aspect = 5;// Operation.Display时有效
}
string simulationId = 1; // 仿id
int32 mapId = 2; // id
uint32 deviceId = 3; // id
Signal.Operation operation = 4; //
SignalParam param = 5; // ,operation为SetParams时有效
}
message SignalParam {
Signal.Force force = 1; //
repeated Signal.DS dsList = 2; //
}
//
message Section {
//
enum Operation {
Undefined = 0; //
SetParams = 1; //
// SetDrst = 0;//
// CancelDrst = 1;//
// SetPdrst = 2;//
// CancelPdrst = 3;//
SetFaultOcc = 4; //
// CancelFaultOcc = 5; //
}
}
message SectionOperationReq {
string simulationId = 1; // 仿id
int32 mapId = 2; // id
uint32 deviceId = 3; // id
Section.Operation operation = 4; //
SectionParam param = 5; // ,operation为SetParams时有效
}
message SectionParam {
// bool faultOcc = 1; //
bool mockDrst = 2; // CI计轴复位()
bool mockPdrst = 3; // CI计轴预复位()
}
//
message Psd {
enum Operation {
Undefined = 0;
SetParams = 1; //
}
enum Force {
F_NONE = 0; //
F_ASD_KM = 1; //
F_ASD_GM = 2; //
}
enum Fault {
FA_NONE = 0; //
FA_Obstacle = 1; //
}
}
//
message PsdOperationReq {
string simulationId = 1; // 仿id
int32 mapId = 2; // id
uint32 deviceId = 3; // id
Psd.Operation operation = 4; //
PsdParam param = 5; // ,operation为SetParams时有效
}
message PsdParam {
repeated int32 asdCodes = 1; //
Psd.Force force = 2; //
Psd.Fault fault = 3; //
}
//
message TrainControl{
string simulationId = 1; // 仿id
string trainId = 2;
uint32 deviceId = 3;//id
TrainControlType controlType = 4;
ControlButton controlButton = 5; //
DriverKeySwitch driverKey = 6;
SwitchKeyChange switchKey = 7; ///
PushHandler handler = 8; //
message ControlButton{
bool active = 1;
}
enum TrainControlType{
EMERGENT_BUTTON = 0; //
DRIVER_KEY_SWITCH = 1; //
DIRECTION_KEY_SWITCH = 2;//
HANDLER = 3; //
TRAIN_DOOR_MODE_CHANGE =4;//
}
enum KeyLocation{
KL_END = 0; //退 :mm模式
KL_FONT = 1; // :AA模式
KL_CENTER = 2;// :AM模式
}
//
message EmergentButton{
bool active = 1;
}
//
message DriverKeySwitch{
bool val = 1; //0=1=
}
message SwitchKeyChange{
uint32 val = 1; //0=(:MM)1=(:AA),2=(:AM)
}
//
message PushHandler{
int32 val = 1; // 00 (*100)使100
}
}
message CkmOperationReq {
string simulationId = 1;
int32 mapId = 2;
uint32 deviceId = 3; //idid
Ckm.Operation operation = 4; //
CkmParam param = 5; //operation为SetParams时有效
}
message Ckm {
enum Operation {
Undefined= 0;
SetParams = 1;
}
enum Force {
F_NONE = 0; //
F_KM = 1; //
F_GM = 2; //
}
enum Fault {
FA_NONE = 0; //
FA_State_Loss = 1; //
}
}
message CkmParam {
Ckm.Force force = 1;
Ckm.Fault fault = 2;
}
message XcjOperationReq {
string simulationId = 1;
int32 mapId = 2;
uint32 deviceId = 3; //idid
Xcj.Operation operation = 4;
XcjParam param = 5; //operation为SetParams时有效
}
message Xcj {
enum Operation {
Undefined= 0;
SetParams = 1;
}
enum Fault {
FA_NONE = 0; //
FA_Fault = 1; //
}
}
message XcjParam {
Xcj.Fault fault = 1;
}

View File

@ -1,9 +1,11 @@
syntax = "proto3";
package graphicData;
import "common_data.proto";
option java_package = "club.joylink.bjrtss.ats.verify.protos";
option java_outer_classname = "LayoutGraphicsProto";
option go_package = "./ats/verify/protos/graphicData";
option go_package = "joylink.club/bj-rtsts-server/dto/data_proto";
message RtssGraphicStorage {
Canvas canvas = 1;
@ -12,11 +14,11 @@ message RtssGraphicStorage {
repeated Platform Platforms = 4;
repeated Station stations = 5;
// repeated Rect rects = 6;
// repeated Train train = 7;
repeated Train train = 7;
repeated Signal signals = 8;
repeated Turnout turnouts = 9;
repeated Section section = 10;
// repeated Polygon polygons = 11;
repeated Polygon polygons = 11;
repeated TrainWindow trainWindows = 12;
repeated AxleCounting axleCountings = 13;
repeated Separator separators = 14;
@ -25,21 +27,39 @@ message RtssGraphicStorage {
repeated LogicSection logicSections = 17;
repeated StopPosition stopPositions = 18;
repeated SpksSwitch spksSwitchs = 19;
repeated EsbButton esbButtons = 20; //
repeated EsbButton esbButtons = 20; // ESB系统的象征物
repeated GatedBox gateBoxs = 21; // //
repeated Transponder transponders = 22; //
repeated Slope slopes = 23; //
repeated CalculateLink CalculateLink = 24; // link信息
// repeated CalculateLink CalculateLink = 24; // link信息
repeated SlopeKiloMarker slopeKiloMarker = 25; //
repeated CurvatureKiloMarker curvatureKiloMarker = 26; //
repeated Curvature curvatures = 27; //
repeated TrackSection trackSections = 28; //
repeated TrackLogicSection trackLogicSections = 29; //
//UniqueIdType UniqueIdPrefix = 30;//--
UniqueIdOfStationLayout UniqueIdPrefix = 31;//--
UniqueIdOfStationLayout UniqueIdPrefix = 31;//
repeated KilometerConvert kilometerConvertList = 32;//
repeated ScreenDoor screenDoors = 33;
repeated StationRelateDevice stationRelateDeviceList = 34; //
repeated SectionCodePoint sectionCodePointList = 35; //
ScreenDoorConfig screenDoorConfig = 36;//--
repeated Beacon beacons = 37; //
GenerateAxleCountingConfig generateAxleCountingConfig = 38;//
repeated DepartureTimer departureTimers = 39; //
repeated AutoReturnBox autoReturnBoxs = 40; //
repeated ConcentrationDividingLine concentrationDividingLines = 41; // 线
repeated OtherLine otherLineList = 42; // 线
repeated IbpBox ibpBoxs = 43; // ibp地图打开按钮
repeated PslBox pslBoxs = 44; // psl地图打开按钮
repeated CarWashing carWashings = 45; //
repeated GarageDoor garageDoors = 46; //
repeated GarageDoor floodGates = 47; //
//repeated GarageDoorBox garageDoorBoxes = 48; //Psl开启按钮
LianSuoData lianSuoData = 49; //
repeated HoldButton holdButtons = 50; //
repeated UnattengedButton unattengedButtons = 51; //
repeated KilometerMarkCalibration kilometerMarkCalibrations = 52; //
}
message Canvas {
@ -51,6 +71,15 @@ message Canvas {
string backgroundColor = 3;
//
Transform viewportTransform = 4;
//
Grid gridBackground = 5;
}
//
message Grid {
bool hasGrid = 1;
string lineColor = 2; // 线
int32 space = 3; //
}
message Point {
@ -81,10 +110,11 @@ message ChildTransform {
}
//
message CommonInfo {
string id = 1;
// string oldid = 1;
string graphicType = 2;
Transform transform = 3;
repeated ChildTransform childTransforms = 4;
uint32 id = 5;
}
// message Link {
@ -108,33 +138,67 @@ message CommonInfo {
// Point point = 8; //
// }
// message Polygon {
// CommonInfo common = 1;
// string code = 2;
// int32 lineWidth = 3; // 线
// string lineColor = 4; // 线
// repeated Point points = 5; //
// }
message Polygon {
enum PolygonType {
ConcentrationDividingLine = 0;
}
CommonInfo common = 1;
string code = 2; //
PolygonType polygonType = 3; //
repeated Point points = 4; //
}
message ConcentrationDividingLine {
CommonInfo common = 1;
string code = 2; //
repeated Point points = 3; //
//string oldrefLeftStationId = 4;//id
//string oldrefRightStationId = 5;//id
repeated NodeConWithSec nodeConWithSecs = 6;// 线
bool isOtherLineConcentrationDividingLine = 7;//线线
uint32 refLeftStationId = 8;//id
uint32 refRightStationId = 9;//id
}
message NodeConWithSec {
RelatedRef leftSection = 1;
RelatedRef rightSection = 2;
}
message Platform {
enum TypeOfPlatform {
Unknown = 0;
up = 1;
down = 2;
}
CommonInfo common = 1;
string code = 2;
//bool hasdoor = 3; //
//string direction = 4; //
int32 index = 5; //
// int32 index = 5; //
//int32 refStationIndex = 6; //
// repeated string centralizedStations = 7; //
//repeated RelatedRef platformRef = 8; //
string refStationId = 9; //id
string refSectionId = 10; //id
//string oldrefStationId = 9; //id
//string oldrefSectionId = 10; //id
string refEsbRelayCode = 11;//
TypeOfPlatform type = 12; //
uint32 refStationId = 13; //id
uint32 refSectionId = 14; //id
}
message ScreenDoor {
CommonInfo common = 1;
string code = 2;
int32 sonDoorAmount = 3; //
string refPlatformId = 4; //
repeated ScreenDoorGroup screenDoorGroupList = 5;//
//int32 sonDoorAmount = 3; //
//string oldrefPlatformId = 4; //
//repeated ScreenDoorGroup screenDoorGroupList = 5;//
uint32 refPlatformId = 6; //
}
message ScreenDoorConfig {
int32 sonDoorAmount = 1; //
repeated ScreenDoorGroup screenDoorGroupList = 2;//
}
message ScreenDoorGroup {
@ -145,19 +209,24 @@ message ScreenDoorGroup {
message Station {
CommonInfo common = 1;
string code = 2;
string code = 2;//
// bool hasControl = 3; //
bool concentrationStations = 4; //
// string kilometerCode = 5; //
KilometerSystem kilometerSystem = 6; //
int32 index = 7;
string refIbpMapCode = 8; // IBP地图Code
// int32 index = 7;
//string refIbpMapCode = 8; // IBP地图Code
string stationName = 9; //
string stationNameAcronym = 10; //
bool depots = 11; //
//repeated string oldmanageStations = 12; // -id
repeated uint32 manageStations = 13; // -id
}
message TrainWindow {
CommonInfo common = 1;
string code = 2;
string sectionId = 3;
int32 sectionId = 3;
}
message AxleCounting {
@ -168,12 +237,19 @@ message AxleCounting {
CommonInfo common = 1;
string code = 2; //
KilometerSystem kilometerSystem = 3; //
repeated RelatedRef axleCountingRef =
4; // id和端口
int32 index = 5; //
repeated RelatedRef axleCountingRef = 4; // id和端口
// int32 index = 5; //
//bool invent = 6; //--
TypeDetectionPoint type = 7; //
repeated string centralizedStations = 8; //
//repeated string oldcentralizedStations = 8; // Id列表
repeated uint32 centralizedStations = 9; // Id列表
}
message GenerateAxleCountingConfig {
//repeated string oldbbConnect = 1; //bb连接处生成计轴的道岔id()
//repeated string oldnoGenerateGroup = 2;//
repeated uint32 bbConnect = 3; //bb连接处生成计轴的道岔id()
repeated uint32 noGenerateGroup = 4;//
}
// message Train {
@ -204,21 +280,25 @@ message Turnout { //(后端不关注)
RelatedRef pcRef = 11; // C端关联的设备
// KilometerSystem kilometerSystem = 12; //
repeated KilometerSystem kilometerSystem = 13; //
int32 index = 14; //
string paTrackSectionId = 15; // A端轨道区段id
string pbTrackSectionId = 16; // B端轨道区段id
string pcTrackSectionId = 17; // C端轨道区段id
// int32 index = 14; //
//string oldpaTrackSectionId = 15; // A端轨道区段id
//string oldpbTrackSectionId = 16; // B端轨道区段id
//string oldpcTrackSectionId = 17; // C端轨道区段id
SwitchMachineType switchMachineType = 18; //
repeated string centralizedStations = 19; //
//repeated string oldcentralizedStations = 19; // Id列表
repeated uint32 centralizedStations = 20; // Id列表
uint32 paTrackSectionId = 21; // A端轨道区段id
uint32 pbTrackSectionId = 22; // B端轨道区段id
uint32 pcTrackSectionId = 23; // C端轨道区段id
}
/** 左右行 **/
enum Direction {
LEFT = 0;
RIGHT = 1;
}
message KilometerSystem {
/** 左右行 **/
enum Direction {
LEFT = 0;
RIGHT = 1;
}
int64 kilometer = 1; //mm
string coordinateSystem = 2; //
Direction direction = 3; //
@ -231,9 +311,35 @@ message Signal {
// int64 kilometer = 4;
// string coordinateSystem = 5;
KilometerSystem kilometerSystem = 6;
int32 index = 7; //
// int32 index = 7; //
RelatedRef refDev = 8; ///
repeated string centralizedStations = 9; //
//repeated string oldcentralizedStations = 9; // Id列表
//
//
//
// F- D- Y- Y-
// H- L-绿 U- A- B-
enum Model{
HL = 0; //2XH-1 绿
HLU_FU = 1; //2XH-1 绿,
HLU_DU_YY = 2; //3XH-1 绿,
HLU_YY = 3; //3XH-2JDXH 绿,
HLU_FL_DU_YY = 4;//3XH-3 绿,绿
HLU_DU = 5; //3XH-4 绿,
AB = 6; //DXCH
HBU_DU = 7; //JCKXH ,
}
//
Model mt = 10;
//string belongStation = 11; // ()
Direction direction = 12; //
repeated uint32 centralizedStations = 13; // Id列表
}
/** 上下行(区段/信号机) */
enum Direction {
UP = 0;
DOWN = 1;
}
/** 物理区段(包含岔区和非岔区) */
@ -243,31 +349,52 @@ message Section {
TurnoutPhysical = 2;
}
enum RunningDirection {
AtoB = 0;
BtoA = 1;
BOTH = 2;
}
CommonInfo common = 1;
string code = 2; //
repeated Point points = 3; //
RelatedRef paRef = 4; // A端关联的设备()()
RelatedRef pbRef = 5; // B端关联的设备()()
SectionType sectionType = 6; //
repeated string axleCountings = 7; //
int32 index = 8; //
string trackSectionId = 9; // id
//repeated string oldaxleCountings = 7; //
// int32 index = 8; //
//string oldtrackSectionId = 9; // id
bool isCurve = 10; // 线
int32 segmentsCount = 12; // 线
repeated string centralizedStations = 13; //
//repeated string oldcentralizedStations = 13; // Id列表
RunningDirection normalRunningDirection = 14; //
bool isTurnBackZone = 15; //
Direction direction = 16; //
repeated uint32 axleCountings = 17; //
uint32 trackSectionId = 18; // id
repeated uint32 centralizedStations = 19; // Id列表
}
//
message RelatedRef {
enum DeviceType {
Section = 0;
Turnout = 1;
TrainWindow = 2;
AxleCounting = 3;
Section = 0; //
Turnout = 1; //
TrainWindow = 2; //
AxleCounting = 3; //
SectionLink = 4;
signal = 5;
station = 6;
ScreenDoor = 7;
SignalFaultAlarm = 8;
Breakers = 9;//
PowerScreen = 10;//
GarageDoor = 11; //
CarWashing = 12; //
FloodGate = 13; //
Platform = 14; //
LS = 15;//
}
enum DevicePort {
@ -277,14 +404,16 @@ message RelatedRef {
}
DeviceType deviceType = 1; //
string id = 2; //ID
//string oldid = 2; //ID
DevicePort devicePort = 3; //
uint32 id = 4;
}
//
message TurnoutPosRef {
string id = 1; //ID
//string oldid = 1; //ID
int32 position = 2; //01
uint32 id = 3;
}
message Separator { //
@ -294,13 +423,28 @@ message Separator { // 分隔符
}
message Transponder { //
enum TransponderTypeEnum {
FB = 0; //
WB = 1; //
DB = 2; //
VB = 3; //
IB = 4; //
}
CommonInfo common = 1;
string code = 2;
int32 transponderType = 3;
int32 index = 4; //
// int32 transponderType = 3; //
// int32 index = 4; //
KilometerSystem kilometerSystem = 5; //
RelatedRef TransponderRef = 6; //
repeated string centralizedStations = 7; //
//repeated string oldcentralizedStations = 7; // Id列表
// bytes fixedTelegram = 8;//
TransponderTypeEnum type = 9;//
repeated uint32 centralizedStations = 10; // Id列表
string fixedTelegram = 11; //
string fixedUserTelegram = 12; //
string originalCode = 13; //
uint32 leuIndex = 14; //LEU的索引
uint32 leuInsideIndex = 15; // LEU内部的索引
}
message SimpleRef {
@ -309,7 +453,8 @@ message SimpleRef {
AxleCounting = 1;
}
DeviceType deviceType = 1;
string id = 2;
//string oldid = 2;
uint32 id = 3;
}
message SectionLink {
@ -325,7 +470,7 @@ message SectionLink {
7; // SectionLink A端连接设备 SectionLink/Turnout
RelatedRef bRef = 8; // SectionLink B端连接设备
// SectionLink/Turnout
int32 index = 9; //
// int32 index = 9; //
}
message AxleCountingSection { //
@ -335,16 +480,18 @@ message AxleCountingSection { // 计轴区段
RelatedRef paRef = 4; // A端关联的计轴
RelatedRef pbRef = 5; // B端关联的计轴
repeated TurnoutPosRef turnoutPos = 6; //--01
int32 index = 7; //
// int32 index = 7; //
}
message LogicSection { //
CommonInfo common = 1;
string code = 2; //
repeated Point points = 3;
string axleSectionId = 4; // Id
int32 index = 5; //
string turnoutId = 6; // idC端关联的轨道link
//string oldaxleSectionId = 4; // Id
// int32 index = 5; //
//string oldturnoutId = 6; // idC端关联的轨道link
uint32 axleSectionId = 7; // Id
uint32 turnoutId = 8; // idC端关联的轨道link
}
message TrackSection { //
@ -355,13 +502,14 @@ message TrackSection { //轨道区段
CommonInfo common = 1;
repeated Point points = 2;
string code = 3; //
int32 index = 4; //
// int32 index = 4; //
TrackSectionType type = 5; //
string destinationCode = 6; //
repeated string trackLogicSection = 7; //id()
//repeated string oldtrackLogicSection = 7; //id()
// //id(/)(/)
bool isCurve = 8; // 线
int32 segmentsCount = 9; // 线
repeated uint32 trackLogicSection = 10; //id()
}
message TrackLogicSection { //
@ -381,7 +529,7 @@ message StopPosition {
string code = 2;
bool flip = 3; //
CoachNum coachNum = 4; //
int32 index = 5; //
// int32 index = 5; //
KilometerSystem kilometerSystem = 6;
RelatedRef refDev = 7; //
}
@ -390,28 +538,47 @@ message SpksSwitch {
CommonInfo common = 1;
string code = 2;
bool flip = 3; //
int32 index = 4; //
// int32 index = 4; //
// int32 refStand = 5; //
repeated string refSections = 6; // id
string refStand = 7; //
//repeated string oldrefSections = 6; // id
//string oldrefStand = 7; //
// repeated uint32 refSections = 8; // id
uint32 refStand = 9; //
}
message EsbButton {
CommonInfo common = 1;
string code = 2;
bool flip = 3; //
int32 index = 4; //
// int32 index = 4; //
// int32 refStand = 5; //
string refStand = 6; //
//string oldrefStand = 6; //
uint32 refStand = 7; //
//string refEsbButtonMapCode = 8; // Code--PSL地图
}
message GatedBox {
CommonInfo common = 1;
string code = 2;
bool flip = 3; //
int32 index = 4; //
string refScreenDoor = 5; //
// int32 index = 4; //
//string oldrefScreenDoor = 5; //
string refGatedBoxMapCode = 6; // Code
uint32 refScreenDoor = 7; //
}
message IbpBox {
CommonInfo common = 1;
string code = 2;
string refIbpMapCode = 3; // Ibp地图Code
uint32 refStationId = 4; // id
}
message PslBox {
CommonInfo common = 1;
string code = 2;
string refPslMapCode = 3; // Psl地图Code
uint32 refPlatformId = 4; // id
}
/** 坡度公里标 */
@ -427,40 +594,88 @@ message CurvatureKiloMarker {
string code = 2;
repeated KilometerSystem kilometerSystem = 4; //
}
/** 车库门 */
message GarageDoor {
CommonInfo common = 1;
string code = 2;
uint32 linkSection = 3; //
repeated uint32 centralizedStations = 4; // Id列表;
string refPslMapCode = 5; // Psl地图的code
}
/** 洗车机 */
message CarWashing {
CommonInfo common = 1;
string code = 2;
uint32 linkSection = 3; //
repeated uint32 centralizedStations = 4; // Id列表;
uint32 duanNum = 5; //
uint32 width = 6; //
}
/** 信标 */
message Beacon {
enum BeaconType {
Static = 0;
Dynamic = 1;
}
CommonInfo common = 1;
string code = 2;
BeaconType type = 3;
bool flip = 4;
}
message Slope {
CommonInfo common = 1;
repeated Point points = 2;
sint32 slopeNumber = 3; //--
repeated string refDeviceId = 4; // ()
//repeated string oldrefDeviceId = 4; // ()
repeated uint32 refDeviceId = 5; // ()
}
message Curvature {
CommonInfo common = 1;
repeated Point points = 2;
sint32 curvatureNumber = 3; //线--
repeated string refDeviceId = 4; // 线()
//repeated string oldrefDeviceId = 4; // 线()
repeated uint32 refDeviceId = 5; // 线()
}
// link结构
message CalculateLink {
// message CalculateLink {
// CommonInfo common = 1;
// repeated Point points = 2;
// int32 length = 3; //mm
// RelatedRef aRelatedRef = 4; // A端
// RelatedRef bRelatedRef = 5; // B端
// repeated DevicePosition devicePositions = 6; //link上的位置
// int32 index = 7; // link唯一标识
// message DevicePosition {
// int32 offset = 1;
// string deviceId = 2;
// string deviceType = 3;
// }
// }
/** 发车计时器 */
message DepartureTimer {
CommonInfo common = 1;
repeated Point points = 2;
int32 length = 3; //mm
RelatedRef aRelatedRef = 4; // A端
RelatedRef bRelatedRef = 5; // B端
repeated DevicePosition devicePositions = 6; //link上的位置
int32 index = 7; // link唯一标识
message DevicePosition {
int32 offset = 1;
string deviceId = 2;
string deviceType = 3;
}
string code = 2;
//string oldrefStand = 3; //
string runDirection = 4; //
uint32 refStand = 5; //
}
message AutoReturnBox {
CommonInfo common = 1;
string code = 2;
bool flip = 3; //
int32 index = 4; //
//string oldrefStand = 5; //
uint32 refStand = 6; //
}
message UniqueIdOfStationLayout {
string city = 1;//
string lineId = 2;//线
string mainCoordinateSystem = 3;//
}
//
@ -478,5 +693,85 @@ message StationRelateDevice {
}
message DeviceCombinationtype {
string code = 1;
repeated string refDevices = 2;//
//repeated string oldrefDevices = 2;//
repeated uint32 refDevices = 3;//
}
message SectionCodePoint {
//string oldCentralizedStation = 1; // id
//repeated string oldsectionIds = 2; //id列表
repeated uint32 sectionIds = 3; //id列表
uint32 centralizedStation = 4; // id
}
//
message Train {
enum TrainModel { //
A = 0;
B = 1;
C = 2;
D = 3;
}
TrainModel trainModel = 1; //
int32 carriageLength = 2; //
int32 totalLength = 3; //
// int32 minDiameter = 4; //
// int32 maxDiameter = 5; //
string trainSets = 6; //
common.TrainDynamicConfig dynamicConfig = 7; //
// string trainControlMapCode = 8;
int32 trainControlMapId = 9;
int32 trainLoad = 10; //()
float trainMaxSpeed = 11; //(km/h)
float trainMaxAcc = 12; //(m/s^2)
float trainMaxBrake = 13; //(m/s^2)
float TrainEmergencyBrake = 14; //(m/s^2)
}
// 线
message OtherLine {
string name = 1;
//repeated string oldids = 2; // id列表
repeated uint32 ids = 3; // id列表
}
//
message LianSuoIndexData {
uint32 id = 1; // id
uint32 index = 2; //
}
//
message LianSuoData {
repeated LianSuoIndexData stations = 1;
repeated LianSuoIndexData switchs = 2;
repeated LianSuoIndexData screenDoors = 3;
repeated LianSuoIndexData signals = 4;
// repeated LianSuoIndexData sections = 5;
repeated LianSuoIndexData floodGates = 6;
repeated LianSuoIndexData spksSwitchs = 7;
repeated LianSuoIndexData garageDoors = 8;
repeated LianSuoIndexData carWashing = 9;
repeated LianSuoIndexData esbButtons = 10;
repeated LianSuoIndexData holdButtons = 11;
repeated LianSuoIndexData unattengedButtons = 12;
repeated LianSuoIndexData acSections = 13; //
}
//
message UnattengedButton {
CommonInfo common = 1;
string code = 2;
bool flip = 3; //
uint32 refStand = 4; //
}
//
message HoldButton {
CommonInfo common = 1;
string code = 2;
bool flip = 3; //
uint32 refStand = 4; // A联站台
}
//
message KilometerMarkCalibration {
KilometerSystem actualKm = 1;
KilometerSystem designKm =2;
}

63
protos/tccGraphics.proto Normal file
View File

@ -0,0 +1,63 @@
syntax = "proto3";
import "stationLayoutGraphics.proto";
package tccGraphicData;
option go_package = "joylink.club/bj-rtsts-server/dto/data_proto";
message TccGraphicStorage {
graphicData.Canvas canvas = 1;
repeated TccButton tccButtons = 2;
repeated TccText tccTexts = 3;
repeated TccKey tccKeys = 4;
repeated TccHandle tccHandles = 5;
repeated TccLight tccLights = 6;
}
/** TCC按钮 */
message TccButton {
graphicData.CommonInfo common = 1;
string code = 2;
bool isSelfReset = 3;
}
/** TCC文字 */
message TccText {
graphicData.CommonInfo common = 1;
string code = 2;
string content = 3;
string color = 4;
int32 fontSize = 5;
}
/** TCC钥匙 */
message TccKey {
enum TccKeyType {
driverControllerActivationClint = 0; //
frontAndRearDirectionalControl = 1;//
trainDoorMode = 2;//
}
graphicData.CommonInfo common = 1;
string code = 2;
TccKeyType type = 3;
}
/** TCC手柄 */
message TccHandle {
graphicData.CommonInfo common = 1;
string code = 2;
}
/** TCC灯 */
message TccLight {
graphicData.CommonInfo common = 1;
string code = 2;
TccElementColor lightColor = 3;
bool activeLevel = 4;//
bool initialState = 5;//
}
enum TccElementColor {
green = 0;
red = 1;
blue = 2;
}