Changeset 13 for trunk/UDriveScan.pas
- Timestamp:
- Apr 2, 2016, 1:06:34 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UDriveScan.pas
r12 r13 39 39 Lock: TCriticalSection; 40 40 BlockMap: TBlockMap; 41 SectorSize: Integer;42 41 TimeStart: TDateTime; 43 42 TimeEnd: TDateTime; … … 46 45 Mode: TRunMode; 47 46 WritePattern: Byte; 47 SectorSize: Integer; 48 48 SectorStart: Integer; 49 49 SectorEnd: Integer; … … 257 257 WriteDateTime(Node, 'TimeStart', TimeStart); 258 258 WriteDateTime(Node, 'TimeEnd', TimeEnd); 259 WriteInteger(Node, 'SectorSize', SectorSize); 260 WriteInteger(Node, 'SectorCount', SectorCount); 259 261 WriteInteger(Node, 'SectorStart', SectorStart); 260 262 WriteInteger(Node, 'SectorEnd', SectorEnd); … … 277 279 TimeStart := ReadDateTime(Node, 'TimeStart', 0); 278 280 TimeEnd := ReadDateTime(Node, 'TimeEnd', 0); 279 FSectorCurrent := ReadInteger(Node, 'SectorCurrent', 0); 281 SectorSize := ReadInteger(Node, 'SectorSize', 512); 282 SectorCount := ReadInteger(Node, 'SectorCount', 0); 280 283 SectorStart := ReadInteger(Node, 'SectorStart', 0); 281 284 SectorEnd := ReadInteger(Node, 'SectorEnd', SectorCount - 1); 285 FSectorCurrent := ReadInteger(Node, 'SectorCurrent', 0); 282 286 283 287 NewNode := FindNode('SectorMap');
Note:
See TracChangeset
for help on using the changeset viewer.