From 11516b8544cba27daeea0a759b1a19540f708ed8 Mon Sep 17 00:00:00 2001 From: joylink_zhaoerwei Date: Thu, 21 Nov 2024 16:52:44 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B5=E5=AD=90=E5=9C=B0=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rtsa-proto-msg | 2 +- .../draw-app/dialogs/LayerControlDialog.vue | 208 +++++++ .../draw-app/electronicMapDrawProperties.vue | 32 +- .../electronicMap/AxleCountingProperty.vue | 247 ++++++++ .../ConcentrationDividingLineProperty.vue | 118 ++++ .../electronicMap/ScreenDoorConfig.vue | 152 +++++ .../electronicMap/SectionProperty.vue | 11 +- .../electronicMap/SeparatorProperty.vue | 34 ++ .../electronicMap/TurnoutProperty.vue | 21 +- src/drawApp/electronicMapApp.ts | 120 ++++ .../electronicMap/AxleCountingInteraction.ts | 32 +- .../electronicMap/ScreenDoorInteraction.ts | 3 +- .../electronicMap/SeparatorInteraction.ts | 44 ++ .../electronicMap/TurnoutInteraction.ts | 447 ++++---------- .../axleCounting/AxleCountingDrawAssistant.ts | 8 +- .../ConcentrationDividingLineDrawAssistant.ts | 2 +- .../ConcentrationDividingLineUtils.ts | 5 + .../electronicMap/separator/Separator.ts | 96 +++ .../separator/SeparatorDrawAssistant.ts | 242 ++++++++ src/graphics/electronicMap/turnout/Turnout.ts | 48 +- src/layouts/electronicMapDrawLayout.vue | 379 +++++++++++- src/protos/electronicMap_graphic_data.ts | 550 +++++++++++++++--- src/stores/electronicMap-draw-store.ts | 8 + 23 files changed, 2299 insertions(+), 510 deletions(-) create mode 100644 src/components/draw-app/dialogs/LayerControlDialog.vue create mode 100644 src/components/draw-app/properties/electronicMap/AxleCountingProperty.vue create mode 100644 src/components/draw-app/properties/electronicMap/ConcentrationDividingLineProperty.vue create mode 100644 src/components/draw-app/properties/electronicMap/ScreenDoorConfig.vue create mode 100644 src/components/draw-app/properties/electronicMap/SeparatorProperty.vue create mode 100644 src/drawApp/graphics/electronicMap/SeparatorInteraction.ts create mode 100644 src/graphics/electronicMap/separator/Separator.ts create mode 100644 src/graphics/electronicMap/separator/SeparatorDrawAssistant.ts diff --git a/rtsa-proto-msg b/rtsa-proto-msg index f09c8fb..8d2f5c7 160000 --- a/rtsa-proto-msg +++ b/rtsa-proto-msg @@ -1 +1 @@ -Subproject commit f09c8fb24492d99245119dae9e723fb609b19606 +Subproject commit 8d2f5c7506e63202847cab4bd6a935a7310aa000 diff --git a/src/components/draw-app/dialogs/LayerControlDialog.vue b/src/components/draw-app/dialogs/LayerControlDialog.vue new file mode 100644 index 0000000..9eb1ef8 --- /dev/null +++ b/src/components/draw-app/dialogs/LayerControlDialog.vue @@ -0,0 +1,208 @@ + + + + diff --git a/src/components/draw-app/electronicMapDrawProperties.vue b/src/components/draw-app/electronicMapDrawProperties.vue index 82b0737..7a81d1f 100644 --- a/src/components/draw-app/electronicMapDrawProperties.vue +++ b/src/components/draw-app/electronicMapDrawProperties.vue @@ -24,16 +24,32 @@ + /> + /> + /> + /> + + + +