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

#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// IDE-managed Components
        TGroupBox *GroupBox1;
        TLabel *Label1;
        TEdit *etComFormat;
        TButton *btnOpenCom;
        TButton *btnCloseCom;
        TLabel *Label2;
        TLabel *Label3;
        TEdit *etDITotalChs;
        TEdit *etDOTotalChs;
        TGroupBox *GroupBox2;
        TLabel *Label4;
        TLabel *Label5;
        TEdit *etDIValue;
        TEdit *etDOValue;
        TButton *btnReadDI;
        TButton *btnWriteDO;
        TLabel *Label6;
        TEdit *etAddr;
        void __fastcall btnOpenComClick(TObject *Sender);
        void __fastcall btnCloseComClick(TObject *Sender);
        void __fastcall btnReadDIClick(TObject *Sender);
        void __fastcall btnWriteDOClick(TObject *Sender);
private:	// User declarations
public:		// User declarations
        __fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
