From 387dcd5dac8fdbed5f3162d63e838aa5e5d8b5a4 Mon Sep 17 00:00:00 2001 From: John Date: Thu, 8 May 2014 14:29:17 +0000 Subject: [PATCH] Logic added to capture Calvert Placekeeper information on sub-steps --- PROMS/VEPROMS.CSLA.Library/Config/StepConfig.cs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/PROMS/VEPROMS.CSLA.Library/Config/StepConfig.cs b/PROMS/VEPROMS.CSLA.Library/Config/StepConfig.cs index d0ab93e1..6aec251f 100644 --- a/PROMS/VEPROMS.CSLA.Library/Config/StepConfig.cs +++ b/PROMS/VEPROMS.CSLA.Library/Config/StepConfig.cs @@ -139,22 +139,21 @@ namespace VEPROMS.CSLA.Library //[DisplayName("Step Placekeeper")] //[RefreshProperties(RefreshProperties.All)] //[Description("Step Placekeeper")] - public bool Step_Placekeeper + public string Step_Placekeeper { get { string s = _Xp["Step", "Placekeeper"]; //If there is no value to get, then get the parent value (a.k.a. default value). - if (s == string.Empty) return false; - if (s == "True") return true; - return false; + if (s == string.Empty) return "N"; + return s; } set { string s = _Xp["Step", "Placekeeper"]; - if (value.ToString() == s) return; - _Xp["Step", "Placekeeper"] = value.ToString(); + if (value == s) return; + _Xp["Step", "Placekeeper"] = value; OnPropertyChanged("Step_Placekeeper"); } }