freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內容

軟件設計說明書(例)(編輯修改稿)

2025-09-01 16:37 本頁面
 

【文章內容簡介】 給出本系統(tǒng)內所使用的每個數據結構的名稱、標識符以及它們之中每個數據項、記錄、文卷和系的標識、定義、長度及它們之間的層次的或表格的相互關系??蛻舳祟悎D:windowForm:FormPrivate: userLogDialog userNametextBox userPasswordtextBox userlogOKbotton userlogCanselbutton tabPage MenuBar stockRealtimeGraphitem stock Quote Dialog dataGridView userBuyStockID userBuyStockcount userBuyStockprice userBuyStockButton ...sell userStocklistView userStockLookButton send Mesto Server(string Info) //該函數用來向主機發(fā)送請求 協(xié)議U:發(fā)送用戶名,密碼 B:buy股票id,count,price,user S: sell.... Q:查詢信息 Receive MesFromServer() (接上)MD5encrypt(string)//以下都要通過sendMestoServer//向主機發(fā)送信息logOK_press(event,handle)。stockQuoteitem_press(e,h)。buyStockButton_press(e,h)。sellStockButton_press(e,h)。stocklookButton_press(e,h)。//////該函數調用drawPicture畫圖stockRealtimeGraphitem_press(e,h)Class RealTime GraphPrivate stockID//動態(tài)數組存儲股票價格 ArrayList stockPrice[]Public://在windowform類中recievemess后更新當前價格,即在數組后添加一項最新價格updatePrice(price,sotckPrice) drawPicture(stockID,stockPrice) Class stockData 訂單號 public int ListID。 public int UsrID。 public string StockIndex。 public flout Price。 public int Count。 public bool Isbuy。該類即為向服務端傳送數據時的包服務器端StockQueuePrivate stockData data stockData nextPublic DeleteQueueHead()。 AddStockData()。 Class TradeService該類還要補充若干個StockQueue類型的成員變量private void StartListening() { byte[] ipadre = new byte[] { 10, 82, 14, 47}。 IPAddress ip=new IPAddress(ipadre)。 m_Tcplisten = new TcpListener(ip,m_Port)。 ()。 while (true) { try { Socket s = ()。 clientSocket = s。 m_serverThread = new Thread(new ThreadStart(serviceClient))。//多線程deal各個連接用戶的socket ()。 } catch (Exception E) { (())。 } } }如以上startlistening代碼所示,監(jiān)聽創(chuàng)造一個連接客戶端的套接字,再用多線程處理該連接,而服務器端則繼續(xù)監(jiān)聽新的套接字。這樣主要的交易代碼就可以放入ServiceClient這個函數中,當有新客戶信息連入時,即可進行查詢數據庫,對比插入股票隊列等工作Class ClientInfo//這個類記錄了客戶端的socket 數據訪問層類圖Class ADOSQLserverPrivate dataSet //ds下可有4個dataTable userTable stockTable User_stockTable tempTablePublic:////驗證用戶信息 Bool CheckUserlogin(string usridstring password)。 Bool CheckUserMoney(string userID)。 Bool CheckUserStockCount(string userID)。////交易成功修改用戶和股票信息 Void updateUserTable(Cla
點擊復制文檔內容
法律信息相關推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1