fix DartAPI
This commit is contained in:
24
NewsForm.cs
24
NewsForm.cs
@@ -76,7 +76,7 @@ namespace NewsCrawler
|
||||
DateTime m_EndTime;
|
||||
|
||||
System.Timers.Timer m_CrawlTimer = new System.Timers.Timer();
|
||||
int m_iCrawlInterval = 500;
|
||||
int m_iCrawlInterval = 2000;
|
||||
bool m_bBuy = false;
|
||||
|
||||
ConcurrentQueue<ListViewItem> m_NewItems = new ConcurrentQueue<ListViewItem>();
|
||||
@@ -612,18 +612,17 @@ namespace NewsCrawler
|
||||
m_CrawlTimer.Stop();
|
||||
|
||||
if(chAutoReload.Checked == true)
|
||||
{
|
||||
m_Crawler.ReadKIND();
|
||||
m_Crawler.ReadDart();
|
||||
if(Config.CheckDartAPI())
|
||||
m_Crawler.ReadDartAPI();
|
||||
m_Crawler.ReadEtoday();
|
||||
//m_Crawler.ReadEtoday2();
|
||||
{
|
||||
m_Crawler.ReadKIND();
|
||||
//m_Crawler.ReadDart();
|
||||
m_Crawler.ReadDartAPI();
|
||||
m_Crawler.ReadEtoday();
|
||||
//m_Crawler.ReadEtoday2();
|
||||
m_Crawler.ReadAsiaE();
|
||||
m_Crawler.ReadEdaily();
|
||||
m_Crawler.ReadMoneyToday();
|
||||
m_Crawler.ReadFinancialNews();
|
||||
|
||||
|
||||
}
|
||||
|
||||
m_CrawlTimer.Interval = m_iCrawlInterval;
|
||||
@@ -983,13 +982,6 @@ namespace NewsCrawler
|
||||
|
||||
if (m_bBuy == true)
|
||||
{
|
||||
//FileTransfer ft = new FileTransfer();
|
||||
//string today = DateTime.Now.ToString("yyyy-MM-dd");
|
||||
//string macAddr = NetworkInterface.GetAllNetworkInterfaces()[0].GetPhysicalAddress().ToString();
|
||||
//ft.SendDir("/configure", macAddr + "/NewsCrawler/" + today);
|
||||
|
||||
SendConfiguration();
|
||||
|
||||
Util.Log(Util.LOG_TYPE.VERVOSE, "매수 시작");
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user