From e4a33c4471a4a78d9f0a457aa411a5ef69e57399 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 25 Jul 2017 16:07:07 +0000 Subject: [PATCH] B2017-146 added a definition for a Part FromType of zero so that a valid xml node name is created when generating an export file of a procedure. --- PROMS/VEPROMS.CSLA.Library/Extension/PartExt.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/PartExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/PartExt.cs index 2e795f9b..70591316 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/PartExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/PartExt.cs @@ -245,12 +245,13 @@ namespace VEPROMS.CSLA.Library #endregion } + // B2017-146 added the "Part" and "Parts" types of zero so that we have a valid node name when creating an export of a procedure with this FromType value public enum E_FromType : int { - Procedure = 1, Section = 2, Caution = 3, Note = 4, RNO = 5, Step = 6, Table = 7, SupInfo = 8 + Part = 0, Procedure = 1, Section = 2, Caution = 3, Note = 4, RNO = 5, Step = 6, Table = 7, SupInfo = 8 } public enum E_FromTypes : int { - Procedures = 1, Sections = 2, Cautions = 3, Notes = 4, RNOs = 5, Steps = 6, Tables = 7, SupInfos = 8 + Parts = 0, Procedures = 1, Sections = 2, Cautions = 3, Notes = 4, RNOs = 5, Steps = 6, Tables = 7, SupInfos = 8 } }