//---------------------------------------------------------------------------

#ifndef HPITest_FormH
#define HPITest_FormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>
#include "TntButtons.hpp"
#include "TntExtCtrls.hpp"
#include "TntGrids.hpp"
#include "TntStdCtrls.hpp"
#include "TntForms.hpp"
//---------------------------------------------------------------------------
class THPITestForm : public TTntForm
{
__published:	// IDE-managed Components
	TTntSpeedButton *StartSpeedButton;
	TTntSpeedButton *StopSpeedButton;
	TTntPanel *Panel1;
	TTntButton *ResultButton;
	TTntGroupBox *GroupBox1;
	TTntLabel *Label1;
	TTntLabel *Label2;
	TTntLabel *ImageSendCountLabel;
	TTntLabel *ThroughputLabel;
	TTntLabel *Label3;
	TTntLabel *MinTimeLabel;
	TTntLabel *Label5;
	TTntLabel *MaxTimeLabel;
	TTntLabel *Label7;
	TTntLabel *AverageTimeLabel;
    TTntSpeedButton *SPBSpeedButton1;
    TTntSpeedButton *SPBSpeedButton2;
    TTntSpeedButton *SPBSpeedButton3;
    TTntSpeedButton *SPBSpeedButton4;
	TTntLabel *Label4;
	TTntLabel *ErrorCountLabel;
	TTntEdit *CPBIndexEdit;
	TTntLabel *Label6;
	TTntButton *CPBProtocolTestStartButton;
	TTntButton *CPBProtocolTestEndButton;
	TTntGroupBox *GroupBox2;
	TTntButton *ReadTestResultButton;
	TTntStringGrid *ProtocolTestResultStringGrid;
	TTntButton *ClearTestResultButton;
	TTntSpeedButton *StartSpeedButton2;
  TTntSpeedButton *SPBSpeedButton5;
  TTntSpeedButton *SPBSpeedButton6;
	void __fastcall StartSpeedButtonClick(TObject *Sender);
	void __fastcall ResultButtonClick(TObject *Sender);
	void __fastcall StopSpeedButtonClick(TObject *Sender);
    void __fastcall SPBSpeedButtonClick(TObject *Sender);
	void __fastcall CPBProtocolTestStartButtonClick(TObject *Sender);
	void __fastcall CPBProtocolTestEndButtonClick(TObject *Sender);
	void __fastcall ReadTestResultButtonClick(TObject *Sender);
	void __fastcall ClearTestResultButtonClick(TObject *Sender);
	void __fastcall StartSpeedButton2Click(TObject *Sender);
private:	// User declarations
    int SPBIndex;
public:		// User declarations
	__fastcall THPITestForm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE THPITestForm *HPITestForm;
//---------------------------------------------------------------------------
#endif
