Logic added to capture Calvert Placekeeper information on sub-steps

This commit is contained in:
John Jenko 2014-05-08 14:29:17 +00:00
parent c0c9c8e314
commit 387dcd5dac

View File

@ -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");
}
}