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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user