
*** UI ***   	

UI Hγn
O}lX visual C++ M

DneiHѦ
MainFrmOnSend
MainFrmSocket
MainFrmReceive
MainFrmTimer

PathLinkiHѦ
DialogPathLink
DialogPathLink60



إ߳su
MainFrmSocket->void CMainFrame::OnConnect()
3T{password
MainFrmTimer->void CMainFrame::OnTimer(UINT nIDEvent) 
->if(nIDEvent==3){}                     // send password to server
T
MainFrmReceive->void CMainFrame::OnClientReceive(int nErrorCode)		
->if(shift_buf[0] == 0xE2){	// login successful
\|soe get_data
OnSetTimer();		// set timer2 get data


,CiTsocket,ƪ128*3=384byte
CƳchecksumˬd
if(rec_buf[1]==0)		// 128 byte
else if(rec_buf[1]==1){		// 128 byte 
else if(rec_buf[1]==2){		// 128 byte 
ƤeѦһѪstatus

statuseDn:
sX,wu@t,ĵiq,yXYTheta
ˬdEpFsuO__T(i)
wj(v),yuPu
PathLinke|`Iu@e
yXYThetaƮ榡iѦxytheta.txtr


PathLinkϥΥibPathEditϥμFPathLinkʧ@{
PathGroup -> AMRϥθ|
PathLinkFinish -> |u@Nn,ٳѳ̫@|,
                            AMR٦bʧ@, iAJs|s
PathStatusStandby -> AMRwB@,iAJs|s


niHUtשRO,SendWheelCommand()
æbUROeURUNROov,ϥήɤUSTOPRO
Nv^








