From 41e409c2a3077084dac806928d072e0196f46dbd Mon Sep 17 00:00:00 2001 From: Misaka89535 <90268558+Misaka89535@users.noreply.github.com> Date: Fri, 20 Dec 2024 15:41:29 +0000 Subject: [PATCH] #1505 Resources: New templates of Macao LRT --- public/resources/templates/mlm/00config.json | 20 +++ ...\346\250\252\347\220\264\347\272\277.json" | 164 +++++++++++++++++ ...\346\216\222\346\271\276\347\272\277.json" | 168 ++++++++++++++++++ 3 files changed, 352 insertions(+) create mode 100644 "public/resources/templates/mlm/\346\250\252\347\220\264\347\272\277.json" create mode 100644 "public/resources/templates/mlm/\347\237\263\346\216\222\346\271\276\347\272\277.json" diff --git a/public/resources/templates/mlm/00config.json b/public/resources/templates/mlm/00config.json index d711da7b..196359a8 100644 --- a/public/resources/templates/mlm/00config.json +++ b/public/resources/templates/mlm/00config.json @@ -8,5 +8,25 @@ "pt": "Linha Taipa" }, "uploadBy": "wongchito" + }, + { + "filename": "石排湾线", + "name": { + "en": "Seac Pai Van Line", + "zh-Hans": "石排湾线", + "zh-Hant": "石排灣線", + "pt": "Linha Seac Pai Van" + }, + "uploadBy": "Misaka89535" + }, + { + "filename": "横琴线", + "name": { + "en": "Hengqin Line", + "zh-Hans": "横琴线", + "zh-Hant": "橫琴線", + "pt": "Linha de Hengqin" + }, + "uploadBy": "Misaka89535" } ] \ No newline at end of file diff --git "a/public/resources/templates/mlm/\346\250\252\347\220\264\347\272\277.json" "b/public/resources/templates/mlm/\346\250\252\347\220\264\347\272\277.json" new file mode 100644 index 00000000..bca56e4a --- /dev/null +++ "b/public/resources/templates/mlm/\346\250\252\347\220\264\347\272\277.json" @@ -0,0 +1,164 @@ +{ + "style": "mtr", + "svg_height": 300, + "padding": 7.05352436628492, + "y_pc": 40, + "theme": [ + "other", + "other", + "#b82a3c", + "#fff" + ], + "direction": "l", + "current_stn_idx": "hwTuQi", + "platform_num": "2", + "stn_list": { + "linestart": { + "parents": [], + "children": [ + "rul5" + ], + "num": "00", + "transfer": { + "tick_direc": "r", + "paid_area": true, + "groups": [ + {} + ] + }, + "services": [ + "local" + ], + "loop_pivot": false, + "one_line": false, + "int_padding": 355, + "localisedName": { + "zh": "路綫右端", + "en": "RIGHT END" + } + }, + "lineend": { + "parents": [ + "hwTuQi" + ], + "children": [], + "num": "00", + "transfer": { + "tick_direc": "r", + "paid_area": true, + "groups": [ + {} + ] + }, + "services": [ + "local" + ], + "loop_pivot": false, + "one_line": false, + "int_padding": 355, + "localisedName": { + "zh": "路綫左端", + "en": "LEFT END" + } + }, + "rul5": { + "parents": [ + "linestart" + ], + "children": [ + "hwTuQi" + ], + "num": "06", + "transfer": { + "tick_direc": "r", + "paid_area": true, + "groups": [ + { + "lines": [ + { + "theme": [ + "macao", + "taipa", + "#A4D65E", + "#fff" + ], + "name": [ + "氹仔線", + "Linha da Taipa" + ] + } + ] + } + ] + }, + "services": [ + "local" + ], + "loop_pivot": false, + "one_line": false, + "int_padding": 355, + "localisedName": { + "zh": "蓮花", + "en": "Lótus\\Lotus " + } + }, + "hwTuQi": { + "num": "12", + "services": [ + "local" + ], + "parents": [ + "rul5" + ], + "children": [ + "lineend" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355, + "localisedName": { + "zh": "橫琴", + "en": "Hengqin\\Hengqin" + } + } + }, + "line_name": [ + "橫琴綫", + "Linha de Hengqin" + ], + "psd_num": "3", + "line_num": "TP", + "info_panel_type": "gz28", + "direction_gz_x": 50, + "direction_gz_y": 70, + "customiseMTRDest": { + "isLegacy": false, + "terminal": false + }, + "svgWidth": { + "destination": 1600, + "runin": 1100, + "railmap": 1000, + "indoor": 900 + }, + "namePosMTR": { + "isStagger": true, + "isFlip": false + }, + "coline": {}, + "loop": false, + "loop_info": { + "bank": true, + "left_and_right_factor": 0, + "bottom_factor": 1 + }, + "branchSpacingPct": 30, + "version": "5.14.13" +} \ No newline at end of file diff --git "a/public/resources/templates/mlm/\347\237\263\346\216\222\346\271\276\347\272\277.json" "b/public/resources/templates/mlm/\347\237\263\346\216\222\346\271\276\347\272\277.json" new file mode 100644 index 00000000..75b1abae --- /dev/null +++ "b/public/resources/templates/mlm/\347\237\263\346\216\222\346\271\276\347\272\277.json" @@ -0,0 +1,168 @@ +{ + "style": "mtr", + "svg_height": 300, + "padding": 7.05352436628492, + "y_pc": 40, + "theme": [ + "other", + "other", + "#8966c3", + "#fff" + ], + "direction": "l", + "current_stn_idx": "hwTuQi", + "platform_num": "2", + "stn_list": { + "linestart": { + "parents": [], + "children": [ + "DcxUgx" + ], + "num": "00", + "transfer": { + "tick_direc": "r", + "paid_area": true, + "groups": [ + {} + ] + }, + "services": [ + "local" + ], + "loop_pivot": false, + "one_line": false, + "int_padding": 355, + "localisedName": { + "zh": "路綫右端", + "en": "RIGHT END" + } + }, + "lineend": { + "parents": [ + "hwTuQi" + ], + "children": [], + "num": "00", + "transfer": { + "tick_direc": "r", + "paid_area": true, + "groups": [ + {} + ] + }, + "services": [ + "local" + ], + "loop_pivot": false, + "one_line": false, + "int_padding": 355, + "localisedName": { + "zh": "路綫左端", + "en": "LEFT END" + } + }, + "hwTuQi": { + "num": "12", + "services": [ + "local" + ], + "parents": [ + "DcxUgx" + ], + "children": [ + "lineend" + ], + "transfer": { + "groups": [ + {} + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355, + "localisedName": { + "zh": "石排灣", + "en": "Seac Pai Van\\Seac Pai Van" + } + }, + "DcxUgx": { + "localisedName": { + "zh": "協和醫院", + "en": "Hospital Union\\Union Hospital" + }, + "localisedSecondaryName": {}, + "num": "00", + "services": [ + "local" + ], + "parents": [ + "linestart" + ], + "children": [ + "hwTuQi" + ], + "transfer": { + "groups": [ + { + "lines": [ + { + "theme": [ + "macao", + "taipa", + "#A4D65E", + "#fff" + ], + "name": [ + " 氹仔線", + "Linha Taipa" + ] + } + ] + }, + { + "lines": [] + } + ], + "tick_direc": "r", + "paid_area": true + }, + "loop_pivot": false, + "one_line": true, + "int_padding": 355 + } + }, + "line_name": [ + "石排灣綫", + "Linha Seac Pai Van" + ], + "psd_num": "3", + "line_num": "TP", + "info_panel_type": "gz28", + "direction_gz_x": 50, + "direction_gz_y": 70, + "customiseMTRDest": { + "isLegacy": false, + "terminal": false + }, + "svgWidth": { + "destination": 1600, + "runin": 1100, + "railmap": 1000, + "indoor": 900 + }, + "namePosMTR": { + "isStagger": true, + "isFlip": false + }, + "coline": {}, + "loop": false, + "loop_info": { + "bank": true, + "left_and_right_factor": 0, + "bottom_factor": 1 + }, + "branchSpacingPct": 30, + "version": "5.14.13" +} \ No newline at end of file