-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUnit1.~h
125 lines (122 loc) · 3.91 KB
/
Unit1.~h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
//---------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Dialogs.hpp>
#include "CGAUGES.h"
#include "CGRID.h"
#include <ExtCtrls.hpp>
#include <Menus.hpp>
#include <ComCtrls.hpp>
#include <vector>
#include <map>
#include <iterator>
#include <set>
#include "Funkcje.h"
#include "Funkcje.cpp"
#include "Unit2.h"
#include "Unit3.h"
#include "Unit4.h"
#include "Unit5.h"
#include "Unit6.h"
#include "Unit7.h"
#include "Unit8.h"
#include "Unit9.h"
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TOpenDialog *OpenDialog1;
TShape *Shape2;
TLabel *Label33;
TMainMenu *MainMenu1;
TMenuItem *L1;
TMenuItem *ZaladujLinie1;
TMenuItem *EdytujLinie1;
TMenuItem *W1;
TMenuItem *NowaLinia1;
TMenuItem *Pojazd1;
TMenuItem *ZaladujPojazd1;
TMenuItem *E1;
TOpenDialog *OpenDialog2;
TLabel *Label1;
TMenuItem *Nowy1;
TGroupBox *GroupBox1;
TComboBox *ComboBox1;
TLabel *Label2;
TEdit *Edit2;
TLabel *Label3;
TLabel *Label4;
TLabel *Label5;
TEdit *Edit4;
TEdit *Edit3;
TLabel *Label6;
TEdit *Edit5;
TLabel *Label14;
TLabel *Label15;
TEdit *Edit6;
TEdit *Edit7;
TLabel *Label7;
TEdit *Edit8;
TLabel *Label8;
TEdit *Edit9;
TLabel *Label9;
TEdit *Edit10;
TLabel *Label10;
TEdit *Edit11;
TLabel *Label11;
TEdit *Edit12;
TLabel *Label12;
TEdit *Edit13;
TButton *Button1;
TButton *Button2;
TButton *Button3;
TMenuItem *PL1;
TMenuItem *Oprogramie1;
TMenuItem *Oprogramie2;
TMenuItem *Pomoc1;
TMenuItem *Zakocz1;
TStatusBar *StatusBar1;
void __fastcall ZaladujLinie1Click(TObject *Sender);
void __fastcall EdytujLinie1Click(TObject *Sender);
void __fastcall W1Click(TObject *Sender);
void __fastcall NowaLinia1Click(TObject *Sender);
void __fastcall ZaladujPojazd1Click(TObject *Sender);
void __fastcall E1Click(TObject *Sender);
void __fastcall Nowy1Click(TObject *Sender);
void __fastcall GroupBox1Click(TObject *Sender);
void __fastcall FormCreate(TObject *Sender);
void __fastcall Button2Click(TObject *Sender);
void __fastcall ComboBox1Change(TObject *Sender);
void __fastcall Button1Click(TObject *Sender);
void __fastcall Edit13Change(TObject *Sender);
void __fastcall Edit7Change(TObject *Sender);
void __fastcall Edit4Change(TObject *Sender);
void __fastcall Edit8Change(TObject *Sender);
void __fastcall Edit11Change(TObject *Sender);
void __fastcall Zakocz1Click(TObject *Sender);
void __fastcall Oprogramie2Click(TObject *Sender);
void __fastcall Zaadujodcinek1Click(TObject *Sender);
void __fastcall Zaadujpojazd1Click(TObject *Sender);
void __fastcall Button3Click(TObject *Sender);
private: // User declarations
public: // User declarations
Route *Linia;
Vehicle *Pojazd;
Train *Pociag;
Brake *Hamulec;
TStringList *hamulce;
int locomotives;
std::map<int,int> jazda;
std::map<int,int> profilstatyczny;
TimeTable *Rozklad;
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif