#ifndef _MOTORINDICATOR_H
#define _MOTORINDICATOR_H
#include "afxwin.h"
#include "motor.h"

class CMotorIndicator {

	public:
	CMotorIndicator(UINT id, Motor *motor, CDialog *parent,
					UINT ledOffBitmap, UINT ledOnBitmap);

	~CMotorIndicator();

	void update();
	void repaint();

	protected:
	CBitmap _ledOn;
	CBitmap _ledOff;
	UINT _id;
	Motor *_motor;
	Boolean _jogState;
	CDialog *_parent;
};


#endif

