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

#ifndef CameraMapping_FormH
#define CameraMapping_FormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>

#include "common.h"
#include "TntExtCtrls.hpp"
#include "TntStdCtrls.hpp"
#include "TntForms.hpp"
//---------------------------------------------------------------------------
class TCameraMappingForm : public TTntForm
{
__published:	// IDE-managed Components
  TTntLabel *HWLabel1;
	TTntComboBox *SPBComboBox1;
	TTntComboBox *CameraComboBox1;
  TTntLabel *HWLabel2;
	TTntComboBox *SPBComboBox2;
	TTntComboBox *CameraComboBox2;
  TTntLabel *HWLabel3;
	TTntComboBox *SPBComboBox3;
	TTntComboBox *CameraComboBox3;
  TTntLabel *HWLabel4;
	TTntComboBox *SPBComboBox4;
	TTntComboBox *CameraComboBox4;
  TTntLabel *HWLabel5;
	TTntComboBox *SPBComboBox5;
	TTntComboBox *CameraComboBox5;
  TTntLabel *HWLabel6;
	TTntComboBox *SPBComboBox6;
	TTntComboBox *CameraComboBox6;
  TTntLabel *HWLabel7;
	TTntComboBox *SPBComboBox7;
	TTntComboBox *CameraComboBox7;
  TTntLabel *HWLabel8;
	TTntComboBox *SPBComboBox8;
	TTntComboBox *CameraComboBox8;
	TTntComboBox *CameraLinkComboBox1;
	TTntPanel *Panel1;
	TTntPanel *Panel2;
	TTntButton *SetupButton;
	TTntButton *ExitButton;
  TTntLabel *HWLabel9;
	TTntComboBox *CameraComboBox9;
	TTntComboBox *SPBComboBox9;
  TTntLabel *HWLabel10;
	TTntComboBox *CameraComboBox10;
	TTntComboBox *SPBComboBox10;
	TTntComboBox *CameraTypeComboBox1;
	TTntComboBox *CameraTypeComboBox2;
	TTntComboBox *CameraTypeComboBox3;
	TTntComboBox *CameraTypeComboBox4;
	TTntComboBox *CameraTypeComboBox5;
	TTntComboBox *CameraTypeComboBox6;
	TTntComboBox *CameraTypeComboBox7;
	TTntComboBox *CameraTypeComboBox8;
	TTntComboBox *CameraTypeComboBox9;
	TTntComboBox *CameraTypeComboBox10;
  TTntLabel *TntLabel1;
  TTntLabel *TntLabel2;
  TTntLabel *TntLabel3;
  TTntLabel *TntLabel4;
  TTntLabel *TntLabel5;
  TBevel *Bevel1;
  TBevel *Bevel2;
  TTntLabel *HWLabel11;
  TTntLabel *HWLabel12;
  TTntLabel *HWLabel13;
  TTntLabel *HWLabel14;
  TTntLabel *HWLabel15;
  TTntLabel *HWLabel16;
  TTntComboBox *SPBComboBox11;
  TTntComboBox *SPBComboBox12;
  TTntComboBox *SPBComboBox13;
  TTntComboBox *SPBComboBox14;
  TTntComboBox *SPBComboBox15;
  TBevel *Bevel3;
  TTntComboBox *CameraComboBox11;
  TTntComboBox *CameraComboBox12;
  TTntComboBox *CameraComboBox13;
  TTntComboBox *CameraComboBox14;
  TTntComboBox *CameraComboBox15;
  TBevel *Bevel4;
  TTntComboBox *SPBComboBox16;
  TTntComboBox *CameraComboBox16;
  TTntComboBox *CameraLinkComboBox2;
  TTntComboBox *CameraLinkComboBox3;
  TTntComboBox *CameraLinkComboBox4;
  TTntComboBox *CameraLinkComboBox5;
  TTntComboBox *CameraLinkComboBox6;
  TTntComboBox *CameraLinkComboBox7;
  TTntComboBox *CameraLinkComboBox8;
  TTntComboBox *CameraLinkComboBox9;
  TTntComboBox *CameraLinkComboBox10;
  TTntComboBox *CameraLinkComboBox11;
  TTntComboBox *CameraLinkComboBox12;
  TTntComboBox *CameraLinkComboBox13;
  TTntComboBox *CameraLinkComboBox14;
  TTntComboBox *CameraLinkComboBox15;
  TTntComboBox *CameraLinkComboBox16;
  TBevel *Bevel5;
  TTntComboBox *CameraTypeComboBox11;
  TTntComboBox *CameraTypeComboBox12;
  TTntComboBox *CameraTypeComboBox13;
  TTntComboBox *CameraTypeComboBox14;
  TTntComboBox *CameraTypeComboBox15;
  TTntComboBox *CameraTypeComboBox16;
  TBevel *Bevel6;
  TBevel *Bevel7;
  TBevel *Bevel8;
  TBevel *Bevel9;
  TBevel *Bevel10;
  TBevel *Bevel11;
  TBevel *Bevel12;
  TBevel *Bevel13;
  TBevel *Bevel14;
  TBevel *Bevel15;
  TBevel *Bevel16;
  TBevel *Bevel17;
  TBevel *Bevel18;
  TBevel *Bevel19;
  TBevel *Bevel20;
  TBevel *Bevel21;
  TTntLabel *TntLabel12;
  TTntLabel *CameraNameLabel1;
  TTntLabel *CameraNameLabel2;
  TTntLabel *CameraNameLabel3;
  TTntLabel *CameraNameLabel4;
  TTntLabel *CameraNameLabel5;
  TTntLabel *CameraNameLabel6;
  TTntLabel *CameraNameLabel7;
  TTntLabel *CameraNameLabel8;
  TTntLabel *CameraNameLabel9;
  TTntLabel *CameraNameLabel10;
  TTntLabel *CameraNameLabel11;
  TTntLabel *CameraNameLabel12;
  TTntLabel *CameraNameLabel13;
  TTntLabel *CameraNameLabel14;
  TTntLabel *CameraNameLabel15;
  TTntLabel *CameraNameLabel16;
	void __fastcall FormCreate(TObject *Sender);
	void __fastcall SPBComboBoxChange(TObject *Sender);
	void __fastcall CameraComboBoxChange(TObject *Sender);
	void __fastcall CameraLinkComboBox2Change(TObject *Sender);
	void __fastcall SetupButtonClick(TObject *Sender);
	void __fastcall CameraTypeComboBoxChange(TObject *Sender);
private:	// User declarations
	TCameraMapInfo TempCameraMapInfo[SYSTEM_TOTAL_CAMERA_COUNT];
	int TempCameraHardwarePosition[SYSTEM_SPB_MAX_COUNT][SYSTEM_SPB_CAMERA_COUNT];
	void __fastcall ShowCameraMappingInfo(void);
public:		// User declarations
	__fastcall TCameraMappingForm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TCameraMappingForm *CameraMappingForm;
//---------------------------------------------------------------------------
#endif
