Студопедия.Орг Главная | Случайная страница | Контакты | Мы поможем в написании вашей работы!  
 

Unit1.h



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

#ifndef Unit1H

#define Unit1H

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

#include <Classes.hpp>

#include <Controls.hpp>

#include <StdCtrls.hpp>

#include <Forms.hpp>

#include <ComCtrls.hpp>

#include "CGAUGES.h"

#include <Chart.hpp>

#include <ExtCtrls.hpp>

#include <Series.hpp>

#include <TeEngine.hpp>

#include <TeeProcs.hpp>

#include <Menus.hpp>

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

class TForm1: public TForm

{

__published: // IDE-managed Components

TButton *Button1;

TCGauge *CGauge1;

TGroupBox *GroupBox1;

TLabel *Label1;

TLabel *Label2;

TLabel *Label3;

TLabel *Label4;

TEdit *edGen_time;

TEdit *edLng_time;

TEdit *edGen_task;

TEdit *edLng_task;

TEdit *edProc_speed;

TEdit *edProc_time;

TGroupBox *GroupBox2;

TLabel *Label5;

TLabel *Label6;

TLabel *Label7;

TLabel *Label8;

TLabel *Label9;

TLabel *Label11;

TEdit *Edit3;

TEdit *Edit4;

TEdit *Edit5;

TEdit *Edit6;

TEdit *Edit8;

TEdit *Edit9;

TChart *Chart1;

TLineSeries *Series1;

TEdit *edTime;

TLabel *Label12;

TChart *Chart2;

TPointSeries *Series2;

TLabel *Label10;

TEdit *Edit1;

TMainMenu *MainMenu1;

TMenuItem *N1;

TMenuItem *Q1;

TMenuItem *N2;

void __fastcall Button1Click(TObject *Sender);

void __fastcall Q1Click(TObject *Sender);

void __fastcall N2Click(TObject *Sender);

private: // User declarations

struct src {

int ntime;

int task;

};

struct str {

int task;

};

struct proc {

int end_proc;

int terminal;

};

int gen_time;

int lng_time;

int gen_task;

int lng_task;

int proc_speed;

int proc_time;

int End_time;

int count_err;

int count_task;

int count_task_first;

int cycle;

int GenTask(int,int);

int GenTime(int,int,int);

int GetTask(src*,int);

int Processing(str*,proc*);

int IncTerminal(int);

void BeginParam(src*,str*,proc*);

void OutParam(str*);

public: // User declarations

__fastcall TForm1(TComponent* Owner);

int t;

};

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

extern PACKAGE TForm1 *Form1;

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

#endif





Дата публикования: 2015-10-09; Прочитано: 511 | Нарушение авторского права страницы | Мы поможем в написании вашей работы!



studopedia.org - Студопедия.Орг - 2014-2024 год. Студопедия не является автором материалов, которые размещены. Но предоставляет возможность бесплатного использования (0.007 с)...