counterform.h

来自「16 relay output channels and 16 isolated」· C头文件 代码 · 共 111 行

H
111
字号
//---------------------------------------------------------------------------

#ifndef CounterFormH
#define CounterFormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
//---------------------------------------------------------------------------
class TfrmCounter : public TForm
{
__published:	// IDE-managed Components
        TPanel *Panel1;
        TLabel *Label10;
        TLabel *Label11;
        TLabel *Label12;
        TLabel *Label1;
        TLabel *Label2;
        TLabel *Label3;
        TLabel *Label4;
        TLabel *Label5;
        TLabel *Label6;
        TLabel *Label7;
        TLabel *Label8;
        TLabel *Label9;
        TLabel *Label13;
        TLabel *Label14;
        TLabel *Label15;
        TLabel *Label16;
        TCheckBox *chkOverflow0;
        TCheckBox *chkOverflow1;
        TCheckBox *chkOverflow3;
        TCheckBox *chkOverflow2;
        TCheckBox *chkOverflow5;
        TCheckBox *chkOverflow4;
        TCheckBox *chkOverflow7;
        TCheckBox *chkOverflow6;
        TPanel *PanelBit0;
        TRadioButton *optRising0;
        TRadioButton *optFalling0;
        TPanel *PanelBit1;
        TRadioButton *optRising1;
        TRadioButton *optFalling1;
        TPanel *PanelBit2;
        TRadioButton *optRising2;
        TRadioButton *optFalling2;
        TPanel *PanelBit3;
        TRadioButton *optRising3;
        TRadioButton *optFalling3;
        TPanel *PanelBit4;
        TRadioButton *optRising4;
        TRadioButton *optFalling4;
        TPanel *PanelBit7;
        TRadioButton *optRising7;
        TRadioButton *optFalling7;
        TPanel *PanelBit5;
        TRadioButton *optRising5;
        TRadioButton *optFalling5;
        TPanel *PanelBit6;
        TRadioButton *optFalling6;
        TRadioButton *optRising6;
        TCheckBox *chkMatchEnable0;
        TCheckBox *chkMatchEnable1;
        TCheckBox *chkMatchEnable3;
        TCheckBox *chkMatchEnable2;
        TCheckBox *chkMatchEnable5;
        TCheckBox *chkMatchEnable4;
        TCheckBox *chkMatchEnable7;
        TCheckBox *chkMatchEnable6;
        TCheckBox *chkBitEnable0;
        TCheckBox *chkBitEnable1;
        TCheckBox *chkBitEnable3;
        TCheckBox *chkBitEnable2;
        TCheckBox *chkBitEnable5;
        TCheckBox *chkBitEnable4;
        TCheckBox *chkBitEnable7;
        TCheckBox *chkBitEnable6;
        TEdit *txtMatchValue0;
        TEdit *txtMatchValue1;
        TEdit *txtMatchValue3;
        TEdit *txtMatchValue2;
        TEdit *txtMatchValue7;
        TEdit *txtMatchValue6;
        TEdit *txtMatchValue5;
        TEdit *txtMatchValue4;
        TEdit *txtPresetValue0;
        TEdit *txtPresetValue1;
        TEdit *txtPresetValue3;
        TEdit *txtPresetValue2;
        TEdit *txtPresetValue7;
        TEdit *txtPresetValue6;
        TEdit *txtPresetValue5;
        TEdit *txtPresetValue4;
        TButton *cmdOk;
        TButton *cmdCancel;
        void __fastcall chkBitEnable7Click(TObject *Sender);
        void __fastcall chkMatchEnable7Click(TObject *Sender);
        void __fastcall cmdOkClick(TObject *Sender);
        void __fastcall cmdCancelClick(TObject *Sender);
        void __fastcall FormShow(TObject *Sender);
private:	// User declarations
public:		// User declarations
        __fastcall TfrmCounter(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmCounter *frmCounter;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?