Rev | Line | |
---|
[215] | 1 | unit ONSK;
|
---|
| 2 |
|
---|
| 3 | interface
|
---|
| 4 |
|
---|
| 5 | uses
|
---|
| 6 | _FileTypes;
|
---|
| 7 |
|
---|
| 8 | type
|
---|
| 9 | TFile_ONSK = class(TFile)
|
---|
| 10 | public
|
---|
| 11 | procedure InitDataFields; override;
|
---|
| 12 | end;
|
---|
| 13 |
|
---|
| 14 | implementation
|
---|
| 15 |
|
---|
| 16 | uses
|
---|
| 17 | ConnectionManager, Math, Classes, TypeDefs, _DataTypes, Forms, StdCtrls;
|
---|
| 18 |
|
---|
| 19 | procedure TFile_ONSK.InitDataFields;
|
---|
| 20 | var
|
---|
| 21 | tempi: Integer;
|
---|
| 22 | begin
|
---|
| 23 | inherited;
|
---|
| 24 | FDataFields := TBlock.Create(Self, nil, 0, 'Base', '', nil);
|
---|
| 25 | with FDataFields do
|
---|
| 26 | begin
|
---|
| 27 | AddField(TFileID, $00, 'FileID', '', nil);
|
---|
| 28 | AddField(TLevelID, $04, 'LevelID', '', nil);
|
---|
| 29 | end;
|
---|
[233] | 30 | FFileStream.Free;
|
---|
| 31 | FFileStream := nil;
|
---|
[215] | 32 | end;
|
---|
| 33 |
|
---|
| 34 |
|
---|
| 35 | end.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.