Added ProcName attribute with value to History node of ConfigInfo xml
For multi unit data, added Applicability attribute with value to MasterSlave node of ConfigInfo xml
This commit is contained in:
parent
f7c9dde072
commit
55bb5f8c95
@ -28,6 +28,13 @@ namespace DataLoader
|
||||
frmMain.UpdateLabels(0, 0, 1);
|
||||
ConfigInfo ci = new ConfigInfo(null);
|
||||
ci.AddItem("History", "RecID", Recid);
|
||||
ci.AddItem("History", "ProcName", ProcFileName.ToUpper());
|
||||
if (MultiUnitCount > 0)
|
||||
{
|
||||
string apple = AddApplicability(Recid);
|
||||
if(apple != null)
|
||||
ci.AddItem("MasterSlave", "Applicability", apple);
|
||||
}
|
||||
string stptext = null;
|
||||
if (userid == null || userid == "") userid = "Migration";
|
||||
int tok = -1;
|
||||
@ -420,7 +427,7 @@ namespace DataLoader
|
||||
VE_Font vefont = fmt.PlantFormat.FormatData.StepDataList.Table.Font;
|
||||
Font GridFont = new Font(vefont.Family, (float)vefont.Size);
|
||||
grd.Font = GridFont; // this also changes the default Row Height "Rows.DefaultSize"
|
||||
grd.ParseTableFromText(stepText, border);
|
||||
grd.ParseTableFromText(stepText,border);
|
||||
grd.AutoSizeCols();
|
||||
grd.AutoSizeRows();
|
||||
grd.MakeRTFcells();
|
||||
|
Loading…
x
Reference in New Issue
Block a user