#pragma once
|
|
#include "Serial.h"
|
#include "LensChangeControl.h"
|
|
class AFX_EXT_CLASS CLensChangeControl_Nikon : public CSerial, public CLensChangeControl
|
{
|
public:
|
CLensChangeControl_Nikon(int nIndex);
|
virtual ~CLensChangeControl_Nikon(void);
|
|
virtual BOOL Connect(const CLensChangeControlInfo& controlInfo);
|
virtual void Disconnect();
|
|
virtual BOOL GetPosition(int& nPos);
|
virtual BOOL SetPosition(int nPos);
|
virtual BOOL Backward();
|
virtual BOOL Forward();
|
BOOL GoHoming();
|
protected:
|
int m_nCurrentValue;
|
|
};
|