[성현모] Trend 클릭 오류 수정, DB 커넥션 정보 오류 수정
This commit is contained in:
@ -27,6 +27,8 @@ namespace DataBaseConnection.Control
|
||||
public static string MainCatalogName = "CPXV2";
|
||||
public static string ShortTermCatalogName = "";
|
||||
public static List<string> LongTermCatalogName = new List<string> { "" } ;
|
||||
public static string SelectLongTermCatalogNameCon1 = string.Empty;
|
||||
public static string SelectLongTermCatalogNameCon2 = string.Empty;
|
||||
public static bool ScanLongTermLog = false;
|
||||
|
||||
public const string Address = "192.168.0.43";
|
||||
@ -251,14 +253,14 @@ namespace DataBaseConnection.Control
|
||||
if (list?.Count > 0)
|
||||
{
|
||||
//short term
|
||||
var shortTermCatalogName = list.Find(x => x.ToLower().Contains("short"));
|
||||
var shortTermCatalogName = list.Find(x => x.ToLower().Contains("short") && x.ToLower().Contains("json"));
|
||||
if (string.IsNullOrEmpty(shortTermCatalogName) == false)
|
||||
{
|
||||
ShortTermCatalogName = shortTermCatalogName;
|
||||
}
|
||||
|
||||
//long term
|
||||
var longTermCatalogName = list.FindAll(x => x.ToLower().Contains("long"));
|
||||
var longTermCatalogName = list.FindAll(x => x.ToLower().Contains("long") && x.ToLower().Contains("json"));
|
||||
if (longTermCatalogName?.Count() > 0)
|
||||
{
|
||||
LongTermCatalogName?.Clear();
|
||||
|
||||
Reference in New Issue
Block a user