-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDataModFr.pas
113 lines (104 loc) · 3.41 KB
/
DataModFr.pas
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
unit DataModFr;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
const
MaxTrts = 8000;
MaxYrs = 100;
MaxHead = 150;
ParVars = 9;
CodeMax = 220;
PO1 = 1;
PO2 = 2;
PO3 = 3;
PO4 = 4;
type
TDataModule2 = class(TDataModule)
private
{ Private declarations }
public
{ Public declarations }
end;
var
DataModule2: TDataModule2;
SNSFile : string;
SNERFile : string;
SNRFile : string;
PriceFile : string;
RandomSkin : boolean;
SkinFileName : string;
Editor : string;
DefaultPriceFile : string;
PriceFileDirectory : string;
Profile : string;
CropDir : string;
ProgramStarts : integer;
EMailContact : string;
AppPath : string;
DSSATPath : string;
FileLoaded : Boolean;
PricesLoaded : Boolean;
Codes : integer;
CG : string[2];
ExpCode : string[8];
ExpTitle : string[60];
MultipleFiles : boolean;
OutputFileNum : integer;
CodeAcro : array [1..CodeMax] of string[ 6];
CodeShort : array [1..CodeMax] of string[15];
CodeLong : array [1..CodeMax] of string[55];
LongDesc : array [1..CodeMax] of string[55];
ShortDesc : array [1..CodeMax] of string[15];
OutDat : array [1..MaxHead,1..MaxTrts*MaxYrs] of real;
ParDat : array [1..ParVars, 1..MaxTrts] of real;
HeaderOrd : array [1..MaxHead] of integer;
HeaderLoc : array [1..MaxHead] of integer;
HeaderAcro : array [1..MaxHead] of string[5];
HeaderMin : integer;
TreatMin : integer;
TRNo : integer;
Crno : integer;
WSTA_Pos : integer;
SOIL_Pos : integer;
WSTA : string;
IDSOIL : string;
SNSLines : integer;
NumFields : integer;
NTreat,
NRuns,
NRepS : integer;
MTR : array[1..MaxTrts] of integer;
CCode : array[1..MaxTrts] of string[2];
TNAM : array[1..MaxTrts] of string[19];
FNAM : array[1..MaxTrts] of string[10];
PARS : array[0..ParVars] of real;
XM : array[1..ParVars] of real;
TukDat : array[0..MaxYrs] of real;
IDat : array[1..MaxTrts,1..13] of integer;
PDat : array[1..MaxTrts,1..13,1..3] of real;
SorDat : array[1..MaxTrts,1..MaxYrs] of real;
Drag : array[1..MaxTrts,1..MaxYrs] of real;
x : array[1..13,1..MaxYrs] of real;
y : array[0..MaxYrs] of real;
IDis : array[1..13] of integer;
EPars : array[1..13,1..3] of real;
GM : array[0..MaxYrs,0..MaxTrts] of real;
xmu : array[1..ParVars,1..MaxTrts] of real;
Adj : array[0..MaxTrts] of real;
Effish : array[1..MaxTrts] of string[3];
GrafHead : array[1..7] of string = ('PO','P10','P25','P50','P75','P90','P100');
v35Var : array[1..13] of string[4] =
('HWAH','BWAH',' ','NICM','NI#M',
'IRCM','IR#M','DWAP','RECM','POCM','PO#M','KICM','KI#M');
v40Var : array[1..13] of string[4] =
('HWAH','BWAH',' ','NICM','NI#M',
'IRCM','IR#M','DWAP','RECM','PICM','PI#M','KICM','KI#M');
EcoLoc : array[1..13] of integer;
OffSet : real;
Company : string;
RegUser : string;
RegNo : string;
{ UseVista : Boolean;}
implementation
{$R *.DFM}
end.