power.~h
来自「脑电信号分析软件」· ~H 代码 · 共 47 行
~H
47 行
//---------------------------------------------------------------------------
#ifndef PowerH
#define PowerH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
typedef struct myCTG
{
short int td[16];
}EEGFileTwo;
class TForm_Power : public TForm
{
__published: // IDE-managed Components
TImage *Image1;
TButton *Button1;
TOpenDialog *OpenDialog1;
TScrollBox *ScrollBox1;
TImage *Image2;
TButton *Button2;
// void __fastcall FormCreate(TObject *Sender);
void __fastcall Button1Click(TObject *Sender);
void __fastcall DrawBackGroundGrid_PowerOut(int step,int q);
int __fastcall Min_Max(double YComplex[]);
void __fastcall Draw_PowerOut(int step,int q,double YComplex[] );
void __fastcall Button2Click(TObject *Sender);
//void __fastcall FormCreate(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TForm_Power(TComponent* Owner);
int file[512];
int fs;
EEGFileTwo Fileleng[512];
double Max_Power;
};
//---------------------------------------------------------------------------
extern PACKAGE TForm_Power *Form_Power;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?