From d696a2984124abd1dd8ef5ceb395a702bfb24b07 Mon Sep 17 00:00:00 2001 From: Mike Phares Date: Fri, 18 Feb 2022 10:35:31 -0700 Subject: [PATCH] _HyphenIsXToIQSSi --- Adaptation/.vscode/settings.json | 22 ++++++++++++++++++- .../FileHandlers/MET08RESIMAPCDE/FileRead.cs | 4 +++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/Adaptation/.vscode/settings.json b/Adaptation/.vscode/settings.json index bc4b5b1..285fa95 100644 --- a/Adaptation/.vscode/settings.json +++ b/Adaptation/.vscode/settings.json @@ -18,5 +18,25 @@ "Smpl", "Villach", "Vrng" - ] + ], + "workbench.colorCustomizations": { + "activityBar.activeBackground": "#9885b1", + "activityBar.activeBorder": "#dacec5", + "activityBar.background": "#9885b1", + "activityBar.foreground": "#15202b", + "activityBar.inactiveForeground": "#15202b99", + "activityBarBadge.background": "#dacec5", + "activityBarBadge.foreground": "#15202b", + "sash.hoverBorder": "#9885b1", + "statusBar.background": "#7e669d", + "statusBar.foreground": "#e7e7e7", + "statusBarItem.hoverBackground": "#9885b1", + "statusBarItem.remoteBackground": "#7e669d", + "statusBarItem.remoteForeground": "#e7e7e7", + "titleBar.activeBackground": "#7e669d", + "titleBar.activeForeground": "#e7e7e7", + "titleBar.inactiveBackground": "#7e669d99", + "titleBar.inactiveForeground": "#e7e7e799" + }, + "peacock.color": "#7e669d" } \ No newline at end of file diff --git a/Adaptation/FileHandlers/MET08RESIMAPCDE/FileRead.cs b/Adaptation/FileHandlers/MET08RESIMAPCDE/FileRead.cs index a28f921..fd5a5ec 100644 --- a/Adaptation/FileHandlers/MET08RESIMAPCDE/FileRead.cs +++ b/Adaptation/FileHandlers/MET08RESIMAPCDE/FileRead.cs @@ -199,7 +199,9 @@ public class FileRead : Shared.FileRead, IFileRead catch (Exception) { } } string[] segments = Path.GetFileNameWithoutExtension(reportFullPath).Split('_'); - if (_Hyphens != _HyphenIsXToOpenInsight) + if (_Hyphens == _HyphenIsXToIQSSi) + duplicateDirectory = string.Concat(_FileConnectorConfiguration.TargetFileLocation, @"\All"); + else if (_Hyphens != _HyphenIsXToOpenInsight) duplicateDirectory = string.Concat(_FileConnectorConfiguration.TargetFileLocation, @"\", segments[0]); else duplicateDirectory = string.Concat(Path.GetDirectoryName(Path.GetDirectoryName(_FileConnectorConfiguration.TargetFileLocation)), @"\Data");