diff --git a/GlobalUsings.FatV2.cs b/GlobalUsings.FatV2.cs new file mode 100644 index 000000000..7eda92d5e --- /dev/null +++ b/GlobalUsings.FatV2.cs @@ -0,0 +1 @@ +global using ArIED61850Tester.Models.IoTesting; diff --git a/MainWindow.FatV2.cs b/MainWindow.FatV2.cs index 22f346faa..bf9506750 100644 --- a/MainWindow.FatV2.cs +++ b/MainWindow.FatV2.cs @@ -14,12 +14,12 @@ namespace ArIED61850Tester; public partial class MainWindow { private FatVerificationWindow? _fatV2Window; + private FatSclWorkspaceLaunchResult? _fatV2Launch; private void ScheduleFatV2LauncherInstall() { - // P4 remains additive to the proven workbook FAT path. Install the SCL FAT command - // after the existing first-run card has been constructed instead of rewriting the - // legacy launcher or its session lifecycle. + // FAT v2 remains additive to the proven workbook FAT path. Install SCL/project + // commands after the existing first-run card has been constructed. Dispatcher.BeginInvoke( new Action(InstallFatV2Launcher), DispatcherPriority.Background); @@ -42,47 +42,49 @@ private void InstallFatV2Launcher() if (description != null) { description.Text = - "Create FAT v2 directly from every static IEC 61850 DataSet membership in one or more SCL files, or continue using the proven Excel IO List workflow."; + "Create FAT v2 directly from every static IEC 61850 DataSet membership, reopen or save a portable FAT v2 ARSAS project, or continue using the proven Excel IO List workflow."; } - var button = CreateLauncherButton( + var sclButton = CreateLauncherButton( "Open SCL for FAT v2", "LucideFileInput", "PrimaryButton", OpenFatV2Scl_Click, Brushes.White, new Thickness(0, 0, 0, 8)); - button.Tag = "FatV2SclLauncher"; + sclButton.Tag = "FatV2SclLauncher"; - var firstExistingButton = content.Children - .OfType