Changes ProcedureConfig class to implement IItemConfig interface

Added SelectedSlave property to ProcedureConfig class
Changed Print_Rev property to support multi units
Changed Print_RevDate property to support multi units
Added Print_ReviewDate property to ProcedureConfig class
Added interface IItemConfig
Added MasterSlave_Applicability property to IItemConfig
Added Applicability_Index property to RevisionConfig class
This commit is contained in:
Rich
2012-12-04 22:52:55 +00:00
parent 4f8e69d232
commit 201cac2c54
2 changed files with 96 additions and 5 deletions

View File

@@ -84,6 +84,29 @@ namespace VEPROMS.CSLA.Library
OnPropertyChanged("History_StartDate");
}
}
//jcb 20120618
[Category("Applicability")]
[Browsable(false)]
[DisplayName("Index")]
[RefreshProperties(RefreshProperties.All)]
[Description("Index for unit")]
public int Applicability_Index
{
get
{
string s = _Xp["Applicability", "Index"];
if (s == string.Empty) return 0;
return int.Parse(s);
}
set
{
string s = _Xp["Applicability", "Index"];
if (s == value.ToString()) return;
_Xp["Applicability", "Index"] = value.ToString();
OnPropertyChanged("Applicability_Index");
}
}
//end jcb 20120618
public void Save()
{
if (_Revision != null)