//---------------------------------------------------------------------------

#ifndef Unit2H
#define Unit2H
#define MAX 5000
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "SLScope.h"
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class TForm2 : public TForm
{
__published:	// IDE-managed Components
        TSLScope *SLScope1;
        TSLScope *SLScope2;
        TSLScope *SLScope3;
        TSLScope *SLScope4;
        TEdit *Edit1;
        TButton *Button1;
        TButton *Button2;
        TButton *Button3;
        TButton *Button4;
        TEdit *Edit2;
        TEdit *Edit3;
        TButton *Button5;
        TButton *Button6;
        TButton *Button7;
        TButton *Button8;
        TOpenDialog *OpenDialog1;
        void __fastcall Button1Click(TObject *Sender);
        void __fastcall Edit1Change(TObject *Sender);
        void __fastcall Button2Click(TObject *Sender);
        void __fastcall Button4Click(TObject *Sender);
        void __fastcall Button3Click(TObject *Sender);
        void __fastcall Button7Click(TObject *Sender);
        void __fastcall Button5Click(TObject *Sender);
        void __fastcall Button6Click(TObject *Sender);
        void __fastcall Button8Click(TObject *Sender);
private:	// User declarations
public:		// User declarations
        __fastcall TForm2(TComponent* Owner);
                float ABC[MAX][50];
        float XYZ[MAX][50];
        float xx[MAX][50];
        float xy[MAX][50];
        float xt[MAX][50];
        float peak_val[50];
        float pos_val[50];
        float nw_val[50];
        int gr;
        int RECLEN;
};
//---------------------------------------------------------------------------
extern PACKAGE TForm2 *Form2;
//---------------------------------------------------------------------------
#endif
