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

#ifndef MainH
#define MainH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <OleCtrls.hpp>
#include "NMHLib_OCX.h"
#include <ComCtrls.hpp>
#include <VCFI.hpp>
#include <ExtCtrls.hpp>
//---------------------------------------------------------------------------
class TfrmOCXMain : public TForm
{
__published:	// IDE-managed Components
    TPageControl *PageControl1;
    TTabSheet *ITEM1;
    TTabSheet *TabSheet2;
    TEdit *Alarm_2;
    TEdit *Alarm_3;
    TEdit *Alarm_4;
    TEdit *Alarm_5;
    TEdit *Alarm_1;
    TLabel *Label1;
    TEdit *Display_2;
    TEdit *Display_3;
    TEdit *Display_4;
    TEdit *Display_5;
    TEdit *Display_1;
    TLabel *Label2;
    TEdit *Display_6;
    TEdit *Dtmgr_2;
    TEdit *Dtmgr_3;
    TEdit *Dtmgr_4;
    TEdit *Dtmgr_1;
    TLabel *Label3;
    TEdit *Dtmgr_5;
    TEdit *Fstop;
    TLabel *Label4;
    TEdit *Lotend2;
    TEdit *Lotend3;
    TEdit *Lotend1;
    TLabel *Label5;
    TEdit *Sttdt2;
    TEdit *Sttdt3;
    TEdit *Sttdt4;
    TEdit *Sttdt1;
    TLabel *Label6;
    TNmh *Nmh;
    TLabel *Label7;
    TEdit *Pgset;
    TLabel *Label8;
    TEdit *Stop;
    TLabel *Label9;
    TEdit *Tmpalm;
    TTabSheet *TabSheet1;
    TButton *Button2;
    TEdit *edtTemp;
    TButton *Button4;
    TButton *Button5;
    TButton *Button7;
    TButton *Button3;
    TEdit *edt_1;
    TEdit *edt_2;
    TEdit *edt_3;
    TEdit *edt_4;
    TEdit *edt_5;
    TLabel *Label10;
    TLabel *Label11;
    TEdit *Start;
    TTabSheet *TabSheet3;
    TTimer *Timer1;
    TEdit *Edit1;
    void __fastcall Button2Click(TObject *Sender);
    void __fastcall NmhDtmgr(TObject *Sender, long typ, long kind,
          long num, long dt, long add);
    void __fastcall NmhDisplay(TObject *Sender, short typ, short pg,
          short fld, short sw, long dt, long add);
    void __fastcall NmhTmpalm(TObject *Sender, short dt);
    void __fastcall NmhSttdt(TObject *Sender, short kind, short num,
          long lotd, long acmd);
    void __fastcall NmhAlarm(TObject *Sender, short kind, short unit,
          short num, long dt, long add);
    void __fastcall Button4Click(TObject *Sender);
    void __fastcall Button5Click(TObject *Sender);
    void __fastcall Button7Click(TObject *Sender);
    void __fastcall NmhStart(TObject *Sender, short dt);
    void __fastcall NmhStop(TObject *Sender, short dt);
        void __fastcall Button3Click(TObject *Sender);
    void __fastcall NmhFstop(TObject *Sender, short dt);
    void __fastcall NmhLotend(TObject *Sender, short dt, short cnt,
          short max);
    void __fastcall NmhPgset(TObject *Sender, short dt);
private:	// User declarations
public:		// User declarations
    __fastcall TfrmOCXMain(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmOCXMain *frmOCXMain;
//---------------------------------------------------------------------------
#endif
