공시에서 부정문구 체크
This commit is contained in:
@@ -226,9 +226,14 @@ namespace NewsCrawler
|
||||
m_PriceCheckList.Enqueue(CheckData);
|
||||
}
|
||||
|
||||
public TextCondition.RESULT CheckMatch(string strTitle)
|
||||
{
|
||||
return m_Condition.Match(strTitle);
|
||||
}
|
||||
|
||||
void ProcessSearchAndBuy(NEWS_ITEM NewsItem)
|
||||
{
|
||||
TextCondition.RESULT MatchResult = m_Condition.Match(NewsItem.m_strTitle);
|
||||
TextCondition.RESULT MatchResult = CheckMatch(NewsItem.m_strTitle);
|
||||
switch(MatchResult.m_enType)
|
||||
{
|
||||
case TextCondition.TYPE.NEGATIVE:
|
||||
|
||||
Reference in New Issue
Block a user