//---------------------------------------------------------------------------

#ifndef DiskSpaceManagerSetting_FormH
#define DiskSpaceManagerSetting_FormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include "TntExtCtrls.hpp"
#include "TntStdCtrls.hpp"
#include "TntForms.hpp"
//---------------------------------------------------------------------------
class TDiskSpaceManagerSettingForm : public TTntForm
{
__published:	// IDE-managed Components
	TTntGroupBox *DSMSetupGroupBox;
	TTntGroupBox *DSMStatusGroupBox;
	TTntLabel *Label1;
	TTntLabel *Label2;
	TTntLabel *Label3;
	TTntLabel *Label4;
	TTntLabel *DSMStateLabel;
	TTntLabel *ProcessingProductLabel;
	TTntLabel *ProcessingLotLabel;
	TTimer *StatusTimer;
	TTntLabel *Label10;
	TTntLabel *FreeSpaceLabel;
	TTntButton *ApplyButton;
	TTntButton *Button2;
	TTntGroupBox *GroupBox4;
	TTntLabel *Label5;
	TTntEdit *MinDiskSpaceRatioEdit;
	TTntLabel *Label7;
	TTntGroupBox *GroupBox5;
	TTntLabel *Label8;
	TTntLabel *Label9;
	TTntEdit *PrimeLotCountEdit1;
	TTntLabel *Label11;
	TTntRadioGroup *PrimeMaxCountRadioGroup1;
	TTntEdit *PrimeLotMaxDefectCountEdit1;
	TTntLabel *Label12;
	TTntLabel *Label13;
	TTntRadioGroup *TrivialMaxCountRadioGroup1;
	TTntEdit *TrivialLotMaxDefectCountEdit1;
	TTntLabel *Label14;
	TTntEdit *PrimeLotCountEdit2;
	TTntLabel *Label15;
	TTntRadioGroup *PrimeMaxCountRadioGroup2;
	TTntEdit *PrimeLotMaxDefectCountEdit2;
	TTntLabel *Label16;
	TTntRadioGroup *TrivialMaxCountRadioGroup2;
	TTntEdit *TrivialLotMaxDefectCountEdit2;
	TTntLabel *Label17;
	TTntLabel *Label18;
	TTntEdit *PrimeLotCountEdit3;
	TTntLabel *Label19;
	TTntRadioGroup *PrimeMaxCountRadioGroup3;
	TTntEdit *PrimeLotMaxDefectCountEdit3;
	TTntLabel *Label20;
	TTntRadioGroup *TrivialMaxCountRadioGroup3;
	TTntEdit *TrivialLotMaxDefectCountEdit3;
	TTntGroupBox *DSMPeriodGroupBox;
	TTntRadioButton *DSMAlwaysOnRadioButton;
	TTntRadioButton *DSMSometimesOnRadioButton;
	TTntPanel *OptimizeTimeSettingPanel;
	TTntLabel *Label21;
	TTntLabel *Label22;
	TTntEdit *OptStartTimeHourEdit;
	TTntLabel *Label23;
	TTntEdit *OptStartTimeMinEdit;
	TTntLabel *Label24;
	TTntEdit *OptEndTimeHourEdit;
	TTntLabel *Label25;
	TTntEdit *OptEndTimeMinEdit;
	TTntLabel *Label26;
	TTntGroupBox *GroupBox7;
	TTntLabel *Label27;
	TTntRadioButton *DSMEnableRadioButton;
	TTntRadioButton *DSMDisableRadioButton;
        TTntCheckBox *Mainform_DiscSpaceViewCheckBox;
	void __fastcall StatusTimerTimer(TObject *Sender);
	void __fastcall ApplyButtonClick(TObject *Sender);
	void __fastcall FormCreate(TObject *Sender);
	void __fastcall NumEditClick(TObject *Sender);
	void __fastcall DSMAlwaysOnRadioButtonClick(TObject *Sender);
	void __fastcall DSMSometimesOnRadioButtonClick(TObject *Sender);
	void __fastcall DSMEnableRadioButtonClick(TObject *Sender);
	void __fastcall DSMDisableRadioButtonClick(TObject *Sender);
        void __fastcall Mainform_DiscSpaceViewCheckBoxClick(
          TObject *Sender);
  void __fastcall Button2Click(TObject *Sender);
private:	// User declarations
  void __fastcall GetDefaultString();
public:		// User declarations
	__fastcall TDiskSpaceManagerSettingForm(TComponent* Owner);
	  bool m_StorageLabel;
	bool m_DiscSpaceLabel;
};
//---------------------------------------------------------------------------
extern PACKAGE TDiskSpaceManagerSettingForm *DiskSpaceManagerSettingForm;
//---------------------------------------------------------------------------
#endif
