From 1b03974f55d6bbfc33fbe64ccf85d29156123054 Mon Sep 17 00:00:00 2001 From: Kathy Date: Tue, 24 Mar 2015 13:39:51 +0000 Subject: [PATCH] =?UTF-8?q?Added=20AllowTransitionFromSection=20in=20Trans?= =?UTF-8?q?Data=20xml=20node=20Use=20=E2=80=98AllowTransitionFromSection?= =?UTF-8?q?=E2=80=99=20TransData=20format=20flag=20to=20determine=20whethe?= =?UTF-8?q?r=20Transition=20Panel=20is=20displayed=20when=20positioned=20o?= =?UTF-8?q?n=20a=20section=20title.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PROMS/Formats/fmtall/WCN1all.xml | Bin 88364 -> 88432 bytes PROMS/VEPROMS User Interface/frmVEPROMS.cs | 3 ++- .../Format/PlantFormat.cs | 8 ++++++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/PROMS/Formats/fmtall/WCN1all.xml b/PROMS/Formats/fmtall/WCN1all.xml index 3a4f91f258fd3819a91bc2a3d42cdb814af189f2..c266e9a599b359f1472868d33a9f11487425c1f0 100644 GIT binary patch delta 62 zcmZ3piS@%K)(s}}r++YJWK+yx$Y&^L2w^Bv#_7QxzsET-v9sr diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.cs index 9338f061..61004513 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.cs @@ -2220,7 +2220,8 @@ namespace VEPROMS { if (args.MyEditItem.MyItemInfo.IsSection || args.MyEditItem.MyItemInfo.IsProcedure) { - infotabRO.Visible = infotabTransition.Visible = false; + infotabRO.Visible = false; + infotabTransition.Visible = args.MyEditItem.MyItemInfo.ActiveFormat.PlantFormat.FormatData.TransData.AllowTransitionFromSection; infotabTags.Visible = false; displayTags.Visible = false; } diff --git a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs index d8da3425..3b34ae94 100644 --- a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs +++ b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs @@ -5536,6 +5536,14 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _DoSectionTransitions, "@DoSectionTransitions"); } } + private LazyLoad _AllowTransitionFromSection; + public bool AllowTransitionFromSection + { + get + { + return LazyLoad(ref _AllowTransitionFromSection, "@AllowTransitionFromSection"); + } + } private LazyLoad _HardSpTranProcNumb; public bool HardSpTranProcNumb {