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

#ifndef MCBSPTest_FormH
#define MCBSPTest_FormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include "TntStdCtrls.hpp"
#include "TntForms.hpp"
//---------------------------------------------------------------------------
class TMCBSPTestForm : public TTntForm
{
__published:	// IDE-managed Components
	TTntButton *EchoTestButton;
	TTntLabel *Label1;
	TTntEdit *DataSizeEdit;
	TTntLabel *Label2;
	TTntEdit *FrequencyEdit;
	TTntGroupBox *GroupBox1;
	TTntCheckBox *SPBCheckBox1;
	TTntCheckBox *SPBCheckBox2;
	TTntCheckBox *SPBCheckBox3;
	TTntCheckBox *SPBCheckBox4;
	TTntButton *TestStopButton;
	TTimer *Timer1;
	TTntGroupBox *GroupBox2;
	TTntLabel *Label3;
	TTntLabel *Label5;
	TTntLabel *Label4;
	TTntLabel *TransferCountLabel;
	TTntLabel *ErrorRateLabel;
	TTntLabel *OverflowCountLabel;
	TTntLabel *Label6;
	TTntLabel *Label7;
	TTntLabel *Label8;
	TTntLabel *Label9;
	TTntLabel *Label10;
	TTntLabel *PacketIDErrorCountLabel;
	TTntLabel *ChecksumErrorCountLabel;
	TTntLabel *DataErrorCountLabel;
	TTntLabel *SendTimeOutCountLabel;
	TTntLabel *ReceiveTimeoutCountLabel;
	TTntLabel *Label11;
	TTntLabel *MSBLostCountLabel;
	TTntLabel *Label13;
	TTntLabel *LSBLostCountLabel;
    TTntLabel *Label12;
    TTntLabel *SPBChecksumErrorCountLabel;
	TTntGroupBox *GroupBox3;
	TTntButton *ReadDebugInfoButton;
	TTntLabel *Label14;
	TTntLabel *SendPacketCountLabel1;
	TTntLabel *Label16;
	TTntLabel *ReceivedPacketCountLabel1;
	TTntLabel *Label18;
	TTntLabel *SendTOPacketCountLabel1;
	TTntLabel *Label20;
	TTntLabel *ReceiveTOPacketCountLabel1;
	TTntLabel *Label22;
	TTntLabel *SendPacketCountLabel2;
	TTntLabel *Label24;
	TTntLabel *ReceivedPacketCountLabel2;
	TTntLabel *Label26;
	TTntLabel *SendTOPacketCountLabel2;
	TTntLabel *Label28;
	TTntLabel *ReceiveTOPacketCountLabel2;
	TTntLabel *Label30;
	TTntLabel *SendPacketCountLabel3;
	TTntLabel *Label32;
	TTntLabel *ReceivedPacketCountLabel3;
	TTntLabel *Label34;
	TTntLabel *SendTOPacketCountLabel3;
	TTntLabel *Label36;
	TTntLabel *ReceiveTOPacketCountLabel3;
	TTntLabel *Label38;
	TTntLabel *SendPacketCountLabel4;
	TTntLabel *Label40;
	TTntLabel *ReceivedPacketCountLabel4;
	TTntLabel *Label42;
	TTntLabel *SendTOPacketCountLabel4;
	TTntLabel *Label44;
	TTntLabel *ReceiveTOPacketCountLabel4;
        TTntCheckBox *SPBCheckBox5;
        TTntLabel *Label52;
        TTntLabel *Label50;
        TTntLabel *Label48;
        TTntLabel *Label46;
        TTntLabel *ReceivedPacketCountLabel5;
        TTntLabel *SendTOPacketCountLabel5;
        TTntLabel *ReceiveTOPacketCountLabel5;
        TTntLabel *SendPacketCountLabel5;
  TTntCheckBox *SPBCheckBox6;
  TTntLabel *TntLabel1;
  TTntLabel *TntLabel2;
  TTntLabel *TntLabel3;
  TTntLabel *TntLabel4;
  TTntLabel *ReceivedPacketCountLabel6;
  TTntLabel *SendTOPacketCountLabel6;
  TTntLabel *ReceiveTOPacketCountLabel6;
  TTntLabel *SendPacketCountLabel6;
  TTntCheckBox *SPBCheckBox7;
  TTntCheckBox *SPBCheckBox8;
  TTntLabel *TntLabel5;
  TTntLabel *TntLabel6;
  TTntLabel *TntLabel7;
  TTntLabel *TntLabel8;
  TTntLabel *ReceivedPacketCountLabel7;
  TTntLabel *SendTOPacketCountLabel7;
  TTntLabel *ReceiveTOPacketCountLabel7;
  TTntLabel *SendPacketCountLabel7;
  TTntLabel *TntLabel13;
  TTntLabel *TntLabel14;
  TTntLabel *TntLabel15;
  TTntLabel *TntLabel16;
  TTntLabel *ReceivedPacketCountLabel8;
  TTntLabel *SendTOPacketCountLabel8;
  TTntLabel *ReceiveTOPacketCountLabel8;
  TTntLabel *SendPacketCountLabel8;
	void __fastcall EchoTestButtonClick(TObject *Sender);
	void __fastcall TestStopButtonClick(TObject *Sender);
	void __fastcall Timer1Timer(TObject *Sender);
	void __fastcall ReadDebugInfoButtonClick(TObject *Sender);
private:	// User declarations
public:		// User declarations
	__fastcall TMCBSPTestForm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TMCBSPTestForm *MCBSPTestForm;
//---------------------------------------------------------------------------
#endif
