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

#ifndef MotorSetting_FormH
#define MotorSetting_FormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Grids.hpp>
#include "TntStdCtrls.hpp"
#include "TntForms.hpp"

//---------------------------------------------------------------------------
class TMotorSettingForm : public TTntForm
{
__published:	// IDE-managed Components
	TTntButton *Button1;
	TTntButton *CloseButton;
	TTntGroupBox *GroupBox5;
	TTntGroupBox *GroupBox2;
	TTntLabel *Label6;
	TTntLabel *Label8;
	TTntLabel *Label9;
	TTntLabel *ServoRPMLabel1;
	TTntLabel *ServoRPSLabel1;
	TTntLabel *Label5;
	TTntEdit *ServoAccEdit1;
	TTntEdit *ServoDecEdit1;
	TTntEdit *ServoSpeedEdit1;
	TTntComboBox *ServoDirectionComboBox1;
	TTntGroupBox *GroupBox1;
	TTntLabel *Label1;
	TTntLabel *Label2;
	TTntLabel *Label3;
	TTntLabel *ServoRPMLabel2;
	TTntLabel *ServoRPSLabel2;
	TTntLabel *Label13;
	TTntEdit *ServoAccEdit2;
	TTntEdit *ServoDecEdit2;
	TTntEdit *ServoSpeedEdit2;
	TTntComboBox *ServoDirectionComboBox2;
	TTntGroupBox *GroupBox3;
	TTntLabel *Label10;
	TTntLabel *Label11;
	TTntLabel *Label12;
	TTntLabel *ServoRPMLabel3;
	TTntLabel *ServoRPSLabel3;
	TTntLabel *Label15;
	TTntEdit *ServoAccEdit3;
	TTntEdit *ServoDecEdit3;
	TTntEdit *ServoSpeedEdit3;
	TTntComboBox *ServoDirectionComboBox3;
	TTntGroupBox *GroupBox4;
	TTntLabel *Label17;
	TTntLabel *Label18;
	TTntLabel *Label19;
	TTntLabel *ServoRPMLabel4;
	TTntLabel *ServoRPSLabel4;
	TTntLabel *Label4;
	TTntEdit *ServoAccEdit4;
	TTntEdit *ServoDecEdit4;
	TTntEdit *ServoSpeedEdit4;
	TTntComboBox *ServoDirectionComboBox4;
	TTntGroupBox *GroupBox6;
	TTntGroupBox *GroupBox7;
	TTntLabel *Label20;
	TTntLabel *Label21;
	TTntLabel *Label23;
	TTntLabel *Label24;
	TTntLabel *Label25;
	TTntLabel *Label26;
	TTntLabel *Label27;
	TTntEdit *Edit1;
	TTntEdit *Edit2;
	TTntEdit *Edit3;
	TTntComboBox *ComboBox1;
	TTntComboBox *ComboBox2;
	TTntGroupBox *GroupBox8;
	TTntLabel *Label28;
	TTntLabel *Label29;
	TTntLabel *Label30;
	TTntLabel *Label31;
	TTntLabel *Label32;
	TTntLabel *Label33;
	TTntLabel *Label34;
	TTntEdit *Edit4;
	TTntEdit *Edit5;
	TTntEdit *Edit6;
	TTntComboBox *ComboBox3;
	TTntComboBox *ComboBox4;
	TTntGroupBox *GroupBox9;
	TTntLabel *Label35;
	TTntLabel *Label36;
	TTntLabel *Label37;
	TTntLabel *Label38;
	TTntLabel *Label39;
	TTntLabel *Label40;
	TTntLabel *Label41;
	TTntEdit *Edit7;
	TTntEdit *Edit8;
	TTntEdit *Edit9;
	TTntComboBox *ComboBox5;
	TTntComboBox *ComboBox6;
	TTntGroupBox *GroupBox10;
	TTntLabel *Label42;
	TTntLabel *Label43;
	TTntLabel *Label44;
	TTntLabel *Label45;
	TTntLabel *Label46;
	TTntLabel *Label47;
	TTntLabel *Label48;
	TTntEdit *Edit10;
	TTntEdit *Edit11;
	TTntEdit *Edit12;
	TTntComboBox *ComboBox7;
	TTntComboBox *ComboBox8;
	TTntGroupBox *GroupBox11;
	TTntLabel *Label49;
	TTntLabel *Label50;
	TTntLabel *Label51;
	TTntLabel *Label52;
	TTntLabel *Label53;
	TTntLabel *Label54;
	TTntLabel *Label55;
	TTntEdit *Edit13;
	TTntEdit *Edit14;
	TTntEdit *Edit15;
	TTntComboBox *ComboBox9;
	TTntComboBox *ComboBox10;
	TTntGroupBox *TntGroupBox1;
	TTntLabel *TntLabel1;
	TTntLabel *TntLabel2;
	TTntLabel *TntLabel3;
	TTntLabel *ServoRPMLabel5;
	TTntLabel *ServoRPSLabel5;
	TTntLabel *TntLabel6;
	TTntEdit *ServoAccEdit5;
	TTntEdit *ServoDecEdit5;
	TTntEdit *ServoSpeedEdit5;
	TTntComboBox *ServoDirectionComboBox5;
	void __fastcall FormCreate(TObject *Sender);
	void __fastcall StepAccEditChange(TObject *Sender);
	void __fastcall StepDecEditChange(TObject *Sender);
	void __fastcall StepSpeedEditChange(TObject *Sender);
	void __fastcall FormDestroy(TObject *Sender);
    void __fastcall StepDirectionComboBoxChange(TObject *Sender);
	void __fastcall CloseButtonClick(TObject *Sender);
	void __fastcall Button1Click(TObject *Sender);
	void __fastcall NumEditClick(TObject *Sender);
private:	// User declarations
	void __fastcall ShowMotorInfo(void);
  void __fastcall GetDefaultString();
public:		// User declarations
	__fastcall TMotorSettingForm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TMotorSettingForm *MotorSettingForm;
//---------------------------------------------------------------------------
#endif
