Logic added to capture Calvert Placekeeper information on sub-steps
This commit is contained in:
parent
c0c9c8e314
commit
387dcd5dac
@ -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");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user