From 4a7586d94ac543d9c876d7db46c5fdd5ac73e377 Mon Sep 17 00:00:00 2001 From: Kathy Date: Thu, 16 Jun 2011 10:24:18 +0000 Subject: [PATCH] --- PROMS/DataLoader/Loader.cs | 2 ++ PROMS/DataLoader/Sections.cs | 8 ++++---- PROMS/DataLoader/frmLoader.cs | 1 + 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/PROMS/DataLoader/Loader.cs b/PROMS/DataLoader/Loader.cs index 96b47dd0..9d739147 100644 --- a/PROMS/DataLoader/Loader.cs +++ b/PROMS/DataLoader/Loader.cs @@ -85,12 +85,14 @@ namespace DataLoader //#if DEBUG if (VlnSettings.DebugMode) { + MessageBox.Show(@"Format files are taken from c:\development\fmtall"); _FmtAllPath = @"c:\development\fmtall"; _GenmacAllPath = @"c:\development\genmacall"; } //#else else { + MessageBox.Show(@"Format files are taken from " + vepromspath + @"\fmtall"); _FmtAllPath = vepromspath + @"\fmtall"; _GenmacAllPath = vepromspath + @"\genmacall"; } diff --git a/PROMS/DataLoader/Sections.cs b/PROMS/DataLoader/Sections.cs index 6ba4f8aa..990f56d2 100644 --- a/PROMS/DataLoader/Sections.cs +++ b/PROMS/DataLoader/Sections.cs @@ -397,13 +397,13 @@ namespace DataLoader { ci.AddItem("Section", "OriginalSteps", "Y"); } - if (sequence.Substring(4, 1) == "T") + if (sequence.Substring(4, 1) == "T") // continuous { - ci.AddItem("Section", "Pagination", "C"); + ci.AddItem("Section", "Pagination", "1"); } - else if (sequence.Substring(4, 1) == "S") + else if (sequence.Substring(4, 1) == "S") // separate { - ci.AddItem("Section", "Pagination", "S"); + ci.AddItem("Section", "Pagination", "2"); } // Step: linked to enhanced (!exist = N) diff --git a/PROMS/DataLoader/frmLoader.cs b/PROMS/DataLoader/frmLoader.cs index 1697c5e3..f0b9d0ec 100644 --- a/PROMS/DataLoader/frmLoader.cs +++ b/PROMS/DataLoader/frmLoader.cs @@ -321,6 +321,7 @@ namespace DataLoader if (cbFormatsOnly.Checked) { // ASSUMES No Formats/genmacs exist in database. + MessageBox.Show(@"Format files are taken from c:\development\fmtall"); ldr._FmtAllPath = @"c:\development\fmtall"; ldr._GenmacAllPath = @"c:\development\genmacall"; ldr.LoadAllFormats();