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