[성현모] TRA 버그 수정, Json Convert Tool 추가
This commit is contained in:
@ -409,7 +409,7 @@ namespace SystemX.Product.CP.TRA
|
||||
{
|
||||
foreach (string catalog in DatabaseConnControl.LongTermCatalogName)
|
||||
{
|
||||
DatabaseConnControl.ConnectDataDB2(strConnIPAddressDT1, nConnPortDT1, catalog);
|
||||
DatabaseConnControl.ConnectDataDB2(strConnIPAddressDT2, nConnPortDT2, catalog);
|
||||
}
|
||||
|
||||
DBConnShortTerm2 = DatabaseConnControl.GetShortTermConn2();
|
||||
@ -425,10 +425,11 @@ namespace SystemX.Product.CP.TRA
|
||||
|
||||
LongTermSQLCmd1 = new Dictionary<string, SqlCommand>();
|
||||
|
||||
SqlCommand sqlCmd;
|
||||
foreach (var con in DatabaseConnControl.GetLongTermConn1())
|
||||
{
|
||||
LongTermSQLCmd1.Add($"{con.Key}", new SqlCommand());
|
||||
if (LongTermSQLCmd1.TryGetValue($"{con.Key}", out var sqlCmd) == true)
|
||||
if (LongTermSQLCmd1.TryGetValue($"{con.Key}", out sqlCmd) == true)
|
||||
{
|
||||
sqlCmd.Connection = con.Value;
|
||||
}
|
||||
@ -448,12 +449,14 @@ namespace SystemX.Product.CP.TRA
|
||||
ShortTermSQLCmd2.Connection = DatabaseConnControl.GetShortTermConn2();
|
||||
|
||||
LongTermSQLCmd2 = new Dictionary<string, SqlCommand>();
|
||||
SqlCommand sqlCmd2;
|
||||
|
||||
foreach (var con in DatabaseConnControl.GetLongTermConn2())
|
||||
{
|
||||
LongTermSQLCmd2.Add($"{con.Key}", new SqlCommand());
|
||||
if (LongTermSQLCmd2.TryGetValue($"{con.Key}", out var sqlCmd) == true)
|
||||
if (LongTermSQLCmd2.TryGetValue($"{con.Key}", out sqlCmd2) == true)
|
||||
{
|
||||
sqlCmd.Connection = con.Value;
|
||||
sqlCmd2.Connection = con.Value;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1465,7 +1468,7 @@ namespace SystemX.Product.CP.TRA
|
||||
{
|
||||
nFirstViewCount++;
|
||||
|
||||
strSetViewID = eContents.TestSumamry.ToString() + eDataView.C1.ToString() + $"({nFirstViewCount})";
|
||||
strSetViewID = eContents.TestSummary.ToString() + eDataView.C1.ToString() + $"({nFirstViewCount})";
|
||||
view.ViewID = strSetViewID;
|
||||
DicViewFirstMgr.Add(strSetViewID, view);
|
||||
}
|
||||
@ -1473,13 +1476,13 @@ namespace SystemX.Product.CP.TRA
|
||||
{
|
||||
nSecondViewCount++;
|
||||
|
||||
strSetViewID = eContents.TestSumamry.ToString() + eDataView.C2.ToString() + $"({nSecondViewCount})";
|
||||
strSetViewID = eContents.TestSummary.ToString() + eDataView.C2.ToString() + $"({nSecondViewCount})";
|
||||
view.ViewID = strSetViewID;
|
||||
DicViewSecondMgr.Add(strSetViewID, view);
|
||||
}
|
||||
|
||||
tabbedView.AddDocument(view, view.ViewID);
|
||||
//tabbedView.AddDocument(view, eContents.TestSumamry.ToString());
|
||||
//tabbedView.AddDocument(view, eContents.TestSummary.ToString());
|
||||
|
||||
CreateAccordianElement(view);
|
||||
SelectAccordianElement(view.ViewID);
|
||||
|
||||
Reference in New Issue
Block a user