📄 pmconfigform.h
字号:
//---------------------------------------------------------------------------
#ifndef PMConfigFormH
#define PMConfigFormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
//---------------------------------------------------------------------------
class TfrmPMConfig : public TForm
{
__published: // IDE-managed Components
TGroupBox *GroupBox1;
TLabel *Label1;
TLabel *Label2;
TLabel *Label3;
TLabel *Label4;
TLabel *Label5;
TLabel *Label6;
TLabel *Label7;
TLabel *Label8;
TLabel *Label9;
TLabel *Label10;
TLabel *Label11;
TCheckBox *chkEnablePA00;
TCheckBox *chkEnablePA01;
TCheckBox *chkEnablePA02;
TCheckBox *chkEnablePA03;
TCheckBox *chkEnablePA04;
TCheckBox *chkEnablePA05;
TCheckBox *chkEnablePA06;
TCheckBox *chkEnablePA07;
TPanel *Panel1;
TRadioButton *radHighPA00;
TRadioButton *radLowPA00;
TPanel *Panel2;
TRadioButton *radHighPA01;
TRadioButton *radLowPA01;
TPanel *Panel3;
TRadioButton *radHighPA02;
TRadioButton *radLowPA02;
TPanel *Panel4;
TRadioButton *radHighPA03;
TRadioButton *radLowPA03;
TPanel *Panel5;
TRadioButton *radHighPA04;
TRadioButton *radLowPA04;
TPanel *Panel6;
TRadioButton *radHighPA05;
TRadioButton *radLowPA05;
TPanel *Panel7;
TRadioButton *radHighPA06;
TRadioButton *radLowPA06;
TPanel *Panel8;
TRadioButton *radHighPA07;
TRadioButton *radLowPA07;
TGroupBox *GroupBox2;
TLabel *Label12;
TLabel *Label13;
TLabel *Label14;
TLabel *Label15;
TLabel *Label16;
TLabel *Label17;
TLabel *Label18;
TLabel *Label19;
TLabel *Label20;
TLabel *Label21;
TLabel *Label22;
TCheckBox *chkEnablePA40;
TCheckBox *chkEnablePA41;
TCheckBox *chkEnablePA42;
TCheckBox *chkEnablePA43;
TCheckBox *chkEnablePA44;
TCheckBox *chkEnablePA45;
TCheckBox *chkEnablePA46;
TCheckBox *chkEnablePA47;
TPanel *Panel9;
TRadioButton *radHighPA40;
TRadioButton *radLowPA40;
TPanel *Panel10;
TRadioButton *radHighPA41;
TRadioButton *radLowPA41;
TPanel *Panel11;
TRadioButton *radHighPA42;
TRadioButton *radLowPA42;
TPanel *Panel12;
TRadioButton *radHighPA43;
TRadioButton *radLowPA43;
TPanel *Panel13;
TRadioButton *radHighPA44;
TRadioButton *radLowPA44;
TPanel *Panel14;
TRadioButton *radHighPA45;
TRadioButton *radLowPA45;
TPanel *Panel15;
TRadioButton *radHighPA46;
TRadioButton *radLowPA46;
TPanel *Panel16;
TRadioButton *radHighPA47;
TRadioButton *radLowPA47;
TButton *cmdCancel;
TButton *cmdOk;
void __fastcall FormCreate(TObject *Sender);
void __fastcall FormActivate(TObject *Sender);
void __fastcall cmdOkClick(TObject *Sender);
void __fastcall chkEnablePA00Click(TObject *Sender);
void __fastcall chkEnablePA01Click(TObject *Sender);
void __fastcall chkEnablePA02Click(TObject *Sender);
void __fastcall chkEnablePA03Click(TObject *Sender);
void __fastcall chkEnablePA04Click(TObject *Sender);
void __fastcall chkEnablePA05Click(TObject *Sender);
void __fastcall chkEnablePA06Click(TObject *Sender);
void __fastcall chkEnablePA07Click(TObject *Sender);
void __fastcall cmdCancelClick(TObject *Sender);
void __fastcall chkEnablePA40Click(TObject *Sender);
void __fastcall chkEnablePA41Click(TObject *Sender);
void __fastcall chkEnablePA42Click(TObject *Sender);
void __fastcall chkEnablePA43Click(TObject *Sender);
void __fastcall chkEnablePA44Click(TObject *Sender);
void __fastcall chkEnablePA45Click(TObject *Sender);
void __fastcall chkEnablePA46Click(TObject *Sender);
void __fastcall chkEnablePA47Click(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TfrmPMConfig(TComponent* Owner);
USHORT usPA0Mask;
USHORT usPA0Value;
USHORT usPA4Mask;
USHORT usPA4Value;
TCheckBox *pchkEnablePA0[8];
TRadioButton *pradHighPA0[8];
TRadioButton *pradLowPA0[8];
TCheckBox *pchkEnablePA4[8];
TRadioButton *pradHighPA4[8];
TRadioButton *pradLowPA4[8];
void chkEnablePAClick(int port, int indx);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmPMConfig *frmPMConfig;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -