//--------------------------------------------------------------------------- #ifndef Unit1H #define Unit1H //--------------------------------------------------------------------------- #include #include #include #include //--------------------------------------------------------------------------- class TForm1 : public TForm { __published: // IDE-managed Components TGroupBox *GroupBox1; TLabel *Label1; TEdit *etComFormat; TLabel *Label2; TEdit *etAddr; TButton *btnOpenCom; TButton *btnCloseCom; TGroupBox *GroupBox2; TLabel *Label3; TLabel *Label4; TEdit *etTotalChs; TEdit *etDIValue; TButton *btnReadDI; void __fastcall btnOpenComClick(TObject *Sender); void __fastcall btnCloseComClick(TObject *Sender); void __fastcall btnReadDIClick(TObject *Sender); private: // User declarations public: // User declarations __fastcall TForm1(TComponent* Owner); }; //--------------------------------------------------------------------------- extern PACKAGE TForm1 *Form1; //--------------------------------------------------------------------------- #endif