#if !defined(AFX_CLUSTERVIEW_H__05551B73_D30A_11D3_817D_00500428FE56__INCLUDED_)
#define AFX_CLUSTERVIEW_H__05551B73_D30A_11D3_817D_00500428FE56__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ClusterView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CClusterView form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
//#include "TDI.h"

class CClusterView : public CFormView
{
protected:
	CClusterView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CClusterView)

// Form Data
public:
	//{{AFX_DATA(CClusterView)
	enum { IDD = IDD_CLUSTERS };
	CDynamicLED	m_LEDyellow;
	//}}AFX_DATA

// Attributes
public:

// Operations
public:
	void OnChangeEdit(int Idx);
	BOOL ChangesAllowed();
	void DisregardChanges();
	void AcceptChanges();
	void UpdateView();
	void OnTimeNotify(NMHDR *pHdr, LRESULT *pRes);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CClusterView)
	public:
	virtual void OnInitialUpdate();
	virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
	virtual BOOL DestroyWindow();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CClusterView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CClusterView)
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnChangeCedit1();
	afx_msg void OnChangeCedit2();
	afx_msg void OnChangeCedit3();
	afx_msg void OnChangeCedit4();
	afx_msg void OnChangeCedit5();
	afx_msg void OnChangeCedit6();
	afx_msg void OnChangeCedit7();
	afx_msg void OnChangeCedit8();
	afx_msg void OnChangeCedit9();
	afx_msg void OnChangeCedit10();
	afx_msg void OnChangeCedit11();
	afx_msg void OnChangeCedit12();
	afx_msg void OnChangeCedit13();
	afx_msg void OnChangeCedit14();
	afx_msg void OnChangeCedit15();
	afx_msg void OnChangeCedit16();
	afx_msg void OnChangeCedit17();
	afx_msg void OnChangeCedit18();
	afx_msg void OnChangeCedit19();
	afx_msg void OnChangeCedit20();
	afx_msg void OnChangeCedit21();
	afx_msg void OnChangeCedit22();
	afx_msg void OnChangeCedit23();
	afx_msg void OnChangeCedit24();
	afx_msg void OnChangeCedit25();
	afx_msg void OnChangeCedit26();
	afx_msg void OnChangeCedit27();
	afx_msg void OnChangeCedit28();
	afx_msg void OnChangeCedit29();
	afx_msg void OnChangeCedit30();
	afx_msg void OnChangeCedit31();
	afx_msg void OnChangeCedit32();
	afx_msg void OnChangeCedit33();
	afx_msg void OnChangeCedit34();
	afx_msg void OnChangeCedit35();
	afx_msg void OnChangeCedit36();
	afx_msg void OnChangeCedit37();
	afx_msg void OnChangeCedit38();
	afx_msg void OnChangeCedit39();
	afx_msg void OnChangeCedit40();
	afx_msg void OnChangeCedit41();
	afx_msg void OnChangeCedit42();
	afx_msg void OnChangeCedit43();
	afx_msg void OnChangeCedit44();
	afx_msg void OnChangeCedit45();
	afx_msg void OnChangeCedit46();
	afx_msg void OnChangeCedit47();
	afx_msg void OnChangeCedit48();
	afx_msg void OnChangeCedit49();
	afx_msg void OnChangeCedit50();
	afx_msg void OnChangeCedit51();
	afx_msg void OnChangeCedit52();
	afx_msg void OnChangeCedit53();
	afx_msg void OnChangeCedit54();
	afx_msg void OnChangeCedit55();
	afx_msg void OnChangeCedit56();
	afx_msg void OnChangeCedit57();
	afx_msg void OnChangeCedit58();
	afx_msg void OnChangeCedit59();
	afx_msg void OnChangeCedit60();
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	int m_iCEdit2Index[100];
  UINT m_iTimerId;
  UINT m_iTimerRead;
	int m_iFirst;
  SIZE m_sSizeTotal;
//	CTimeEdit m_DateTime[ TDI_MAX_CLUSTER_ITEM];
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CLUSTERVIEW_H__05551B73_D30A_11D3_817D_00500428FE56__INCLUDED_)
