This commit is contained in:
2013-09-06 06:07:17 +00:00
parent 808c3abc1c
commit 88a4f92065
3 changed files with 2 additions and 22 deletions

View File

@@ -39,15 +39,6 @@ struct CP_PRICEINFO
};
enum CP_STATE
{
CPS_WAIT=0,
CPS_LOOKING,
CPS_LOOKING_DEAL,
CPS_BUYING,
CPS_WAITING_SELL,
CPS_SELLING
};
// CCPRobotDlg 대화 상자
class CCPRobotDlg : public CDialog, public IEventHandlerSysDib, public IEventHandlerDib
@@ -87,9 +78,6 @@ protected:
HICON m_hIcon;
private:
CP_STATE m_enState;
CP_STATE m_enPrevState;
CListBox m_ResultList;
vector<string> m_OpCodeList;
@@ -112,13 +100,7 @@ private:
BOOL m_bBuyOnBid1;
BOOL m_bPutOption;
string m_CurCode;
float m_fBoughtPrice;
float m_fHighestBid1;
float m_fCurBid1;
int m_iBoughtCnt;
int m_iOrderNum;
CTime m_BoughtT;
BOOL m_bLookingDeal;
vector<CP_UNITINFO> m_OrderList;
@@ -143,8 +125,6 @@ private:
void WindUp(const string& Code);
void CancelOrder(const string& Code);
inline void SwitchState(const CP_STATE enState);
void CPLog(const string fmt, ...);
};