Folder/DocVersion Specific Info & Sign-off flag
This commit is contained in:
parent
ab03dfd2ff
commit
af470cb08b
@ -179,6 +179,22 @@ namespace VEPROMS.CSLA.Library
|
||||
return LazyLoad(ref _Name, "@Name");
|
||||
}
|
||||
}
|
||||
private LazyLoad<bool> _SpecificInfo;
|
||||
public bool SpecificInfo
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _SpecificInfo, "@SpecificInfo");
|
||||
}
|
||||
}
|
||||
private SI _SI;
|
||||
public SI SI
|
||||
{
|
||||
get
|
||||
{
|
||||
return _SI == null ? _SI = new SI(SelectSingleNode("SI")) : _SI;
|
||||
}
|
||||
}
|
||||
// TPL represents Templates which are sizes of columns for 'table' type data. If the format
|
||||
// has the 'UseSmartTemplate' format flag, this table will have starting location & widths, and
|
||||
// other data for the listed step types. Data from this table overrides width data as specified
|
||||
@ -1064,32 +1080,32 @@ namespace VEPROMS.CSLA.Library
|
||||
return LazyLoad(ref _ButtonsOnBottom, "@ButtonsOnBottom");
|
||||
}
|
||||
}
|
||||
private PsiLabels _LabelList;
|
||||
public PsiLabels LabelList
|
||||
private SILabels _LabelList;
|
||||
public SILabels LabelList
|
||||
{
|
||||
get
|
||||
{
|
||||
return _LabelList == null ? _LabelList = new PsiLabels(SelectNodes("/PlantFormat/FormatData/ProcData/PSI/Label")) : _LabelList;
|
||||
return _LabelList == null ? _LabelList = new SILabels(SelectNodes("/PlantFormat/FormatData/ProcData/PSI/Label")) : _LabelList;
|
||||
}
|
||||
}
|
||||
private PsiFields _FieldList;
|
||||
public PsiFields FieldList
|
||||
private SIFields _FieldList;
|
||||
public SIFields FieldList
|
||||
{
|
||||
get
|
||||
{
|
||||
return _FieldList == null ? _FieldList = new PsiFields(SelectNodes("/PlantFormat/FormatData/ProcData/PSI/Field")) : _FieldList;
|
||||
return _FieldList == null ? _FieldList = new SIFields(SelectNodes("/PlantFormat/FormatData/ProcData/PSI/Field")) : _FieldList;
|
||||
}
|
||||
}
|
||||
}
|
||||
public class PsiLabels : vlnFormatList<PsiLabel>
|
||||
public class SILabels : vlnFormatList<SILabel>
|
||||
{
|
||||
public PsiLabels(XmlNodeList xmlNodeList) : base(xmlNodeList) { }
|
||||
public SILabels(XmlNodeList xmlNodeList) : base(xmlNodeList) { }
|
||||
}
|
||||
|
||||
public class PsiLabel : vlnFormatItem
|
||||
public class SILabel : vlnFormatItem
|
||||
{
|
||||
public PsiLabel(XmlNode xmlNode) : base(xmlNode) { }
|
||||
public PsiLabel() : base() { }
|
||||
public SILabel(XmlNode xmlNode) : base(xmlNode) { }
|
||||
public SILabel() : base() { }
|
||||
private LazyLoad<string> _text;
|
||||
public string text
|
||||
{
|
||||
@ -1139,14 +1155,14 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
}
|
||||
}
|
||||
public class PsiFields : vlnFormatList<PsiField>
|
||||
public class SIFields : vlnFormatList<SIField>
|
||||
{
|
||||
public PsiFields(XmlNodeList xmlNodeList) : base(xmlNodeList) { }
|
||||
public SIFields(XmlNodeList xmlNodeList) : base(xmlNodeList) { }
|
||||
}
|
||||
public class PsiField : vlnFormatItem
|
||||
public class SIField : vlnFormatItem
|
||||
{
|
||||
public PsiField(XmlNode xmlNode) : base(xmlNode) { }
|
||||
public PsiField() : base() { }
|
||||
public SIField(XmlNode xmlNode) : base(xmlNode) { }
|
||||
public SIField() : base() { }
|
||||
private LazyLoad<string> _name;
|
||||
public string name
|
||||
{
|
||||
@ -1213,6 +1229,61 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region SIAll
|
||||
[TypeConverter(typeof(ExpandableObjectConverter))]
|
||||
public class SI : vlnFormatItem
|
||||
{
|
||||
public SI(XmlNode xmlNode) : base(xmlNode) { }
|
||||
private LazyLoad<int?> _x;
|
||||
public int? x
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _x, "@x");
|
||||
}
|
||||
}
|
||||
private LazyLoad<int?> _y;
|
||||
public int? y
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _y, "@y");
|
||||
}
|
||||
}
|
||||
private LazyLoad<string> _Caption;
|
||||
public string Caption
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _Caption, "@Caption");
|
||||
}
|
||||
}
|
||||
private LazyLoad<string> _ButtonsOnBottom; // change to bool
|
||||
public string ButtonsOnBottom
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _ButtonsOnBottom, "@ButtonsOnBottom");
|
||||
}
|
||||
}
|
||||
private SILabels _LabelList;
|
||||
public SILabels LabelList
|
||||
{
|
||||
get
|
||||
{
|
||||
return _LabelList == null ? _LabelList = new SILabels(SelectNodes("/PlantFormat/FormatData/SI/Label")) : _LabelList;
|
||||
}
|
||||
}
|
||||
private SIFields _FieldList;
|
||||
public SIFields FieldList
|
||||
{
|
||||
get
|
||||
{
|
||||
return _FieldList == null ? _FieldList = new SIFields(SelectNodes("/PlantFormat/FormatData/SI/Field")) : _FieldList;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region CheckOffAll
|
||||
#region CheckOffData
|
||||
[TypeConverter(typeof(ExpandableObjectConverter))]
|
||||
@ -1448,6 +1519,14 @@ namespace VEPROMS.CSLA.Library
|
||||
return LazyLoad(ref _NotOnEmpty, "@NotOnEmpty");
|
||||
}
|
||||
}
|
||||
private LazyLoad<bool> _DropCheckOff;
|
||||
public bool DropCheckOff
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _DropCheckOff, "@DropCheckOff");
|
||||
}
|
||||
}
|
||||
public override string GetPDDisplayName()
|
||||
{ return string.Format("[{0}]",Index); }
|
||||
public override string GetPDDescription()
|
||||
|
Loading…
x
Reference in New Issue
Block a user