unit Unit1;
interface
uses
Winapi.Windows,
Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.ExtCtrls,
Vcl.StdCtrls,
System.Actions,
Vcl.ActnList,
Vcl.Grids;
type
TForm1 =
class(TForm)
GroupBox1: TGroupBox;
GroupBox2: TGroupBox;
Button1: TButton;
GroupBox3: TGroupBox;
Memo1: TMemo;
Memo2: TMemo;
Memo3: TMemo;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
Label5: TLabel;
Panel1: TPanel;
GroupBox4: TGroupBox;
GroupBox5: TGroupBox;
ComboBox1: TComboBox;
CheckBox1: TCheckBox;
Memo4: TMemo;
Memo5: TMemo;
Memo6: TMemo;
Label6: TLabel;
Label7: TLabel;
Label8: TLabel;
Label9: TLabel;
Label10: TLabel;
Label11: TLabel;
Label12: TLabel;
Label13: TLabel;
Label14: TLabel;
Label15: TLabel;
GroupBox6: TGroupBox;
Memo7: TMemo;
Memo8: TMemo;
Label16: TLabel;
Button2: TButton;
ComboBox2: TComboBox;
Label17: TLabel;
Label18: TLabel;
Panel2: TPanel;
Label19: TLabel;
Button4: TButton;
Button5: TButton;
Button8: TButton;
Button9: TButton;
ScrollBox1: TScrollBox;
Button3: TButton;
procedure FormCreate(Sender: TObject);
procedure ComboBox1Change(Sender: TObject);
procedure CheckBox1Click(Sender: TObject);
procedure Button1Click(Sender: TObject);
procedure Button2Click(Sender: TObject);
procedure ComboBox2Change(Sender: TObject);
procedure Button4Click(Sender: TObject);
procedure Button5Click(Sender: TObject);
procedure Button6Click(Sender: TObject);
procedure Button9Click(Sender: TObject);
procedure Button8Click(Sender: TObject);
procedure ButtonlistClick(Sender: TObject);
procedure Button2listClick(Sender: TObject);
procedure PanellistClick(Sender: TObject);
procedure Panel2listClick(Sender: TObject);
procedure Button3Click(Sender: TObject);
private
{ Private-Deklarationen }
public
{ Public-Deklarationen }
Groupbox4list:
array of TGroupbox;
Groupbox5list:
array of TGroupbox;
Button3list :
array of TButton;
panel2list :
array of TPanel;
Scrollboxlist :
array of TScrollbox;
function Spitzendurchfluss (x, y, z, VR: real) : real;
var x, y, z, VR, VS :real;
i,p :integer;
Memozahl : Integer;
end;
type
TGebäudetyp =
record
Bezeichnung :
string;
consta : real;
constb : real;
constc : real;
end;
TEntnahmestelle =
record
Bezeichnung:
string;
Nennweite: integer;
Mindestfließdruck: real;
Berechnungsdurchfluss: real;
PWH : boolean;
end;
var
Form1: TForm1;
Gebäudeliste : TGebäudeliste;
Gebäudetyp : TGebäudetyp;
Entnahmeliste : TEntnahmeliste;
Entnahmestelle : TEntnahmestelle;
j :integer;
implementation
uses Math, Unit2, Unit3, Unit4, Unit5, Unit6, Unit7;
{$R *.dfm}