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

#ifndef UnmanedOperation_FormH
#define UnmanedOperation_FormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <ExtCtrls.hpp>
#include "TntButtons.hpp"
#include "TntExtCtrls.hpp"
#include "TntStdCtrls.hpp"
#include "TntForms.hpp"
//---------------------------------------------------------------------------
const int OPERATION_TEXT_COUNT = 4;
//---------------------------------------------------------------------------
class TUnmanedOperationForm : public TTntForm
{
__published:	// IDE-managed Components
	TTntSpeedButton *ActivateSpeedButton;
	TTntSpeedButton *DeactivateSpeedButton;
	TTntPanel *StatusPanel;
	TTntPanel *UnmanedOperationSettingPanel;
	TTntGroupBox *GroupBox1;
	TTntCheckBox *InspectionStopBuzzerOnCheckBox;
	TTntCheckBox *InspectionStopMachinePowerOffCheckBox;
	TTntEdit *MachinePowerOffDelayEdit;
	TTntGroupBox *GroupBox2;
	TTntRadioButton *BuzzerContinuousOnRadioButton;
	TTntRadioButton *BuzzerTemporaryOnRadioButton;
	TTntEdit *BuzzerOnTimeEdit;
	TTntGroupBox *GroupBox3;
	TTntCheckBox *InspectionSuspendTimerCheckBox;
	TTntEdit *TimerHourEdit;
	TTntLabel *Label1;
	TTntEdit *TimerMinEdit;
	TTntLabel *Label2;
	TTimer *CheckTimer;
	TTntShape *Shape1;
	void __fastcall ActivateSpeedButtonClick(TObject *Sender);
	void __fastcall DeactivateSpeedButtonClick(TObject *Sender);
	void __fastcall NumEditClick(TObject *Sender);
	void __fastcall FormCreate(TObject *Sender);
	void __fastcall CheckTimerTimer(TObject *Sender);
private:	// User declarations
	int OperationTextIndex;
	bool UnmanedOperationActivated;
	WideString OperationText[OPERATION_TEXT_COUNT];
public:		// User declarations
	__fastcall TUnmanedOperationForm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TUnmanedOperationForm *UnmanedOperationForm;
//---------------------------------------------------------------------------
#endif
