/[H9]/trunk/FlisServer/FlisServerDlg.cpp
ViewVC logotype

Diff of /trunk/FlisServer/FlisServerDlg.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 149 by torben, Tue Dec 4 17:32:44 2007 UTC revision 158 by kevin, Wed Dec 5 11:54:09 2007 UTC
# Line 471  void CFlisServerDlg::OnBnClickedGsmpin() Line 471  void CFlisServerDlg::OnBnClickedGsmpin()
471                                  AppendText(tekst);                                  AppendText(tekst);
472                          }                          }
473                  }                  }
474                  Sleep(5); //Small delay to avoid busy wait                  Sleep(10); //Small delay to avoid busy wait
475          }          }
476          Sleep(100); //Give the modem a chance to send the last data          Sleep(100); //Give the modem a chance to send the last data
477          while(Serial.getComstat().cbInQue > 0)          while(Serial.getComstat().cbInQue > 0)
# Line 741  void CFlisServerDlg::SendConfig(CString Line 741  void CFlisServerDlg::SendConfig(CString
741                  CString SQL, Textwindow;                  CString SQL, Textwindow;
742                  SQL.Format("update command set executed=now() where id=%s",IDnr);                  SQL.Format("update command set executed=now() where id=%s",IDnr);
743                  db.ExecuteSQL(SQL);                  db.ExecuteSQL(SQL);
744                    Sleep(10);
745                  AppendText("Command executed");                  AppendText("Command executed");
746          }          }
747          Sleep(150);          Sleep(150);

Legend:
Removed from v.149  
changed lines
  Added in v.158

  ViewVC Help
Powered by ViewVC 1.1.20