- Status bar 추가

- webview 삭제
- double click 시 브라우저로 이동
- Dart API 적용
- 종목명 검색 개선
This commit is contained in:
2017-01-09 08:01:43 +09:00
parent f9057cea61
commit 349de89a05
11 changed files with 1430 additions and 691 deletions

View File

@@ -155,9 +155,12 @@ namespace NewsCrawler
public int GetCurPrice(CodeList.CODE_VALUE Code)
{
while(GetLimitRemainCountRQ() < 1)
Thread.Sleep(100);
m_CPStockMst.SetInputValue(0, Code.m_strCode);
m_CPStockMst.BlockRequest2(0);
int iCurPrice = m_CPStockMst.GetHeaderValue(13);
int iCurPrice = m_CPStockMst.GetHeaderValue(11);
return iCurPrice;
}
@@ -184,8 +187,6 @@ namespace NewsCrawler
int iTimeStart;
int.TryParse(StartTime.ToString("HHmm"), out iTimeStart);
int iCheckCnt = 0;
int iCount = m_StockChart.GetHeaderValue(3);
for(int i=0; i<iCount; i++)
{
@@ -201,11 +202,9 @@ namespace NewsCrawler
iPriceLow = Math.Min(iPriceLow, (int)iPriceLowLocal);
iPriceHigh = Math.Max(iPriceLow, (int)iPriceHighLocal);
iCheckCnt++;
}
if(iCheckCnt >= 5)
if(iTime < iTimeStart)
break;
}
}