중복 키워드 적용
This commit is contained in:
11
NewsForm.cs
11
NewsForm.cs
@@ -280,6 +280,12 @@ namespace NewsCrawler
|
||||
break;
|
||||
}
|
||||
|
||||
if (m_Condition.IsDuplicatedKeyword(NewsItem.m_strTitle) == true)
|
||||
{
|
||||
m_CodeList.AddDuplicatedList(NewsItem.m_Code.m_strCode, NewsItem.m_Code.m_strName);
|
||||
Util.Log(Util.LOG_TYPE.DEBUG, string.Format("[DUPLICATED_KEYWORD] [{0}] {1}({2})", NewsItem.m_strRef, NewsItem.m_strTitle, NewsItem.m_Code.ToString()));
|
||||
}
|
||||
|
||||
CheckPrice(NewsItem);
|
||||
}
|
||||
|
||||
@@ -840,6 +846,11 @@ namespace NewsCrawler
|
||||
m_CodeList.LoadSynonym();
|
||||
}
|
||||
|
||||
public void ApplyDuplicatedKeyword()
|
||||
{
|
||||
m_Condition.LoadDuplicatedKeyword();
|
||||
}
|
||||
|
||||
private void NewsForm_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
Util.Clear();
|
||||
|
||||
Reference in New Issue
Block a user