|
@@ -25,6 +25,7 @@ type
|
|
FIsLog: Boolean;
|
|
FIsLog: Boolean;
|
|
FBatchInsertFrmHeight: Integer;
|
|
FBatchInsertFrmHeight: Integer;
|
|
FBatchInsertFrmWidth: Integer;
|
|
FBatchInsertFrmWidth: Integer;
|
|
|
|
+ FOverRangePercent: Integer;
|
|
|
|
|
|
procedure LoadSectionOfCustomize;
|
|
procedure LoadSectionOfCustomize;
|
|
procedure LoadSectionOfUnitList;
|
|
procedure LoadSectionOfUnitList;
|
|
@@ -64,6 +65,7 @@ type
|
|
property AutoSave: Boolean read FAutoSave write FAutoSave;
|
|
property AutoSave: Boolean read FAutoSave write FAutoSave;
|
|
property AutoSaveInterval: Integer read FAutoSaveInterval write FAutoSaveInterval;
|
|
property AutoSaveInterval: Integer read FAutoSaveInterval write FAutoSaveInterval;
|
|
property OverRangeType: Integer read FOverRangeType write FOverRangeType;
|
|
property OverRangeType: Integer read FOverRangeType write FOverRangeType;
|
|
|
|
+ property OverRangePercent: Integer read FOverRangePercent write FOverRangePercent;
|
|
property ExcelWithMis: Boolean read FExcelWithMis write FExcelWithMis;
|
|
property ExcelWithMis: Boolean read FExcelWithMis write FExcelWithMis;
|
|
|
|
|
|
// Customize
|
|
// Customize
|
|
@@ -133,6 +135,7 @@ begin
|
|
FAutoSave := FIniFile.ReadBool('Options', 'AutoSave', True);
|
|
FAutoSave := FIniFile.ReadBool('Options', 'AutoSave', True);
|
|
FAutoSaveInterval := FIniFile.ReadInteger('Options', 'AutoSaveInterval', 15);
|
|
FAutoSaveInterval := FIniFile.ReadInteger('Options', 'AutoSaveInterval', 15);
|
|
FOverRangeType := FIniFile.ReadInteger('Options', 'OverRangeType', 0);
|
|
FOverRangeType := FIniFile.ReadInteger('Options', 'OverRangeType', 0);
|
|
|
|
+ FOverRangePercent := FIniFile.ReadInteger('Options', 'OverRangePercent', 100);
|
|
FExcelWithMis := FIniFile.ReadBool('Options', 'ExcelWithMis', False);
|
|
FExcelWithMis := FIniFile.ReadBool('Options', 'ExcelWithMis', False);
|
|
end;
|
|
end;
|
|
|
|
|
|
@@ -179,6 +182,7 @@ begin
|
|
FIniFile.WriteBool('Options', 'AutoSave', FAutoSave);
|
|
FIniFile.WriteBool('Options', 'AutoSave', FAutoSave);
|
|
FIniFile.WriteInteger('Options', 'AutoSaveInterval', FAutoSaveInterval);
|
|
FIniFile.WriteInteger('Options', 'AutoSaveInterval', FAutoSaveInterval);
|
|
FIniFile.WriteInteger('Options', 'OverRangeType', FOverRangeType);
|
|
FIniFile.WriteInteger('Options', 'OverRangeType', FOverRangeType);
|
|
|
|
+ FIniFile.WriteInteger('Options', 'OverRangePercent', FOverRangePercent);
|
|
FIniFile.WriteBool('Options', 'ExcelWithMis', FExcelWithMis);
|
|
FIniFile.WriteBool('Options', 'ExcelWithMis', FExcelWithMis);
|
|
end;
|
|
end;
|
|
|
|
|