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

#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "CSPIN.h"
#include <ExtCtrls.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// IDE-managed Components
        TButton *btnActive;
        TButton *btnExit;
        TGroupBox *GroupBox2;
        TLabel *Label1;
        TLabel *Label2;
        TLabel *Label5;
        TLabel *Label6;
        TComboBox *cbSingDiff;
        TEdit *tbxTotal;
        TCSpinEdit *nudActive;
        TGroupBox *GroupBox1;
        TImage *Image1;
        TLabel *lDataNo;
        TLabel *Label9;
        TEdit *YEnd;
        TEdit *YStart;
        TGroupBox *GroupBox3;
        TLabel *Label7;
        TLabel *Label8;
        TLabel *Label3;
        TComboBox *InRange;
        TComboBox *cbChNo;
        TEdit *tbxSamRate;
        TLabel *Label4;
        TComboBox *cbCardType;
        TComboBox *cbxBoardNo;
        TLabel *Label10;
        TLabel *Label11;
        TLabel *Label12;
        void __fastcall FormCreate(TObject *Sender);
        void __fastcall cbSingDiffChange(TObject *Sender);
        void __fastcall btnExitClick(TObject *Sender);
        void __fastcall btnActiveClick(TObject *Sender);
        void __fastcall InRangeChange(TObject *Sender);
        void __fastcall ClearCanvas(TCanvas* cv, TColor cc);
        int __fastcall  DrawWave(float YStart ,float YEnd, float* Buf, int DataNo, TImage* im);
        private:	// User declarations
public:		// User declarations
        __fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
