Добавил:
nyan
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз:
Предмет:
Файл:4 курс - Трояновский / ПИУС / ПЦР / ПЦР-2005 / Drawer_1 / MainForm
.h//---------------------------------------------------------------------------
#ifndef MainFormH
#define MainFormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include "DSeries2.h"
#include "MyObject.h"
#include "adc.h"
#include "dac.h"
#include "adder.h"
#include <Graphics.hpp>
#include <Buttons.hpp>
#include "CSPIN.h"
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TScrollBox *ScrollBox1;
TPaintBox *PaintBox4;
TPaintBox *PaintBox3;
TPaintBox *PaintBox2;
TPaintBox *PaintBox1;
TPaintBox *PaintBox5;
TPanel *Panel1;
TImage *Image2;
TSpeedButton *FuncH;
TSpeedButton *FuncQ;
TLabel *Label1;
TComboBox *ComboBox1;
TPaintBox *PaintBox0;
TEdit *Edit1;
TLabel *Label2;
TLabel *Label3;
TCSpinEdit *CSpinEdit1;
TSpeedButton *Optimize;
void __fastcall FuncHClick(TObject *Sender);
void __fastcall FuncQClick(TObject *Sender);
void __fastcall ComboBox1Change(TObject *Sender);
void __fastcall CSpinEdit1Change(TObject *Sender);
void __fastcall Edit1Change(TObject *Sender);
void __fastcall FormCreate(TObject *Sender);
void __fastcall OptimizeClick(TObject *Sender);
private: // User declarations
TDSeries2 fromAdder;
TDSeries2 fromObject;
TDSeries2 fromAdc;
TDSeries2 fromControlObject;
TDSeries2 fromDac;
TDSeries2 toSystem;
MyObject mainObject;
MyObject controlObject;
adc controlAdc;
dac controlDac;
adder mainAdder;
vector<double> input;
vector<double> mainControls;
vector<double> controlControls;
public: // User declarations
__fastcall TForm1(TComponent* Owner);
void __fastcall SaveData(const char *str = "data.out");
void __fastcall LoadData(const char *str = "data.in");
void __fastcall AutoMode();
void FirstProcess();
void Process();
AnsiString sOptimize;
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
Соседние файлы в папке Drawer_1