This commit is contained in:
parent
0acf7cb14a
commit
438fed8c7d
@ -110,10 +110,14 @@ namespace VEPROMS.CSLA.Library
|
||||
//{
|
||||
// _Xp = new XMLProperties();
|
||||
//}
|
||||
internal string GetValue(string group, string item)
|
||||
public string GetValue(string group, string item)
|
||||
{
|
||||
return _Xp[group, item];
|
||||
}
|
||||
public void SetValue(string group, string item, string newvalue)
|
||||
{
|
||||
_Xp[group, item] = newvalue;
|
||||
}
|
||||
#endregion
|
||||
#region Local Properties
|
||||
[Category("General")]
|
||||
|
@ -681,6 +681,14 @@ namespace VEPROMS.CSLA.Library
|
||||
return _CheckOffData == null? _CheckOffData = new CheckOffData(SelectSingleNode("CheckOffData")):_CheckOffData;
|
||||
}
|
||||
}
|
||||
private PSI _PSI;
|
||||
public PSI PSI
|
||||
{
|
||||
get
|
||||
{
|
||||
return _PSI == null ? _PSI = new PSI(SelectSingleNode("PSI")) : _PSI;
|
||||
}
|
||||
}
|
||||
private LazyLoad<int?> _TitleLength;
|
||||
public int? TitleLength
|
||||
{
|
||||
@ -737,14 +745,6 @@ namespace VEPROMS.CSLA.Library
|
||||
return LazyLoad(ref _CountFoldoutPages, "@CountFoldoutPages");
|
||||
}
|
||||
}
|
||||
private LazyLoad<string> _PSInfFile;
|
||||
public string PSInfFile
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _PSInfFile, "@PSInfFile");
|
||||
}
|
||||
}
|
||||
private LazyLoad<string> _ForeColor;
|
||||
public string ForeColor
|
||||
{
|
||||
@ -796,6 +796,192 @@ namespace VEPROMS.CSLA.Library
|
||||
public ProcedureSuffixList(XmlNodeList xmlNodeList) : base(xmlNodeList) { }
|
||||
}
|
||||
#endregion
|
||||
#region PsiAll
|
||||
[TypeConverter(typeof(ExpandableObjectConverter))]
|
||||
public class PSI : vlnFormatItem
|
||||
{
|
||||
public PSI(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 PsiLabels _LabelList;
|
||||
public PsiLabels LabelList
|
||||
{
|
||||
get
|
||||
{
|
||||
return _LabelList == null ? _LabelList = new PsiLabels(SelectNodes("/PlantFormat/FormatData/ProcData/PSI/Label")) : _LabelList;
|
||||
}
|
||||
}
|
||||
private PsiFields _FieldList;
|
||||
public PsiFields FieldList
|
||||
{
|
||||
get
|
||||
{
|
||||
return _FieldList == null ? _FieldList = new PsiFields(SelectNodes("/PlantFormat/FormatData/ProcData/PSI/Field")) : _FieldList;
|
||||
}
|
||||
}
|
||||
}
|
||||
public class PsiLabels : vlnFormatList<PsiLabel>
|
||||
{
|
||||
public PsiLabels(XmlNodeList xmlNodeList) : base(xmlNodeList) { }
|
||||
}
|
||||
|
||||
public class PsiLabel : vlnFormatItem
|
||||
{
|
||||
public PsiLabel(XmlNode xmlNode) : base(xmlNode) { }
|
||||
public PsiLabel() : base() { }
|
||||
private LazyLoad<string> _text;
|
||||
public string text
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _text, "@text");
|
||||
}
|
||||
}
|
||||
private LazyLoad<string> _Justify;
|
||||
public string Justify
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _Justify, "@Justify");
|
||||
}
|
||||
}
|
||||
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<int?> _width;
|
||||
public int? width
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _width, "@width");
|
||||
}
|
||||
}
|
||||
private LazyLoad<int?> _height;
|
||||
public int? height
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _height, "@height");
|
||||
}
|
||||
}
|
||||
}
|
||||
public class PsiFields : vlnFormatList<PsiField>
|
||||
{
|
||||
public PsiFields(XmlNodeList xmlNodeList) : base(xmlNodeList) { }
|
||||
}
|
||||
public class PsiField : vlnFormatItem
|
||||
{
|
||||
public PsiField(XmlNode xmlNode) : base(xmlNode) { }
|
||||
public PsiField() : base() { }
|
||||
private LazyLoad<string> _name;
|
||||
public string name
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _name, "@name");
|
||||
}
|
||||
}
|
||||
private LazyLoad<string> _type;
|
||||
public string type
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _type, "@type");
|
||||
}
|
||||
}
|
||||
private LazyLoad<string> _text;
|
||||
public string text
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _text, "@text");
|
||||
}
|
||||
}
|
||||
private LazyLoad<int?> _Length;
|
||||
public int? Length
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _Length, "@Length");
|
||||
}
|
||||
}
|
||||
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<int?> _width;
|
||||
public int? width
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _width, "@width");
|
||||
}
|
||||
}
|
||||
private LazyLoad<int?> _height;
|
||||
public int? height
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _height, "@height");
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region CheckOffAll
|
||||
#region CheckOffData
|
||||
[TypeConverter(typeof(ExpandableObjectConverter))]
|
||||
|
Loading…
x
Reference in New Issue
Block a user