#pragma once
|
|
#include "Serial.h"
|
#include "VcrControl.h"
|
|
class AFX_EXT_CLASS CVcrControl_WinforSys_CodeImage : public CVcrControl, public CSerial
|
{
|
public:
|
CVcrControl_WinforSys_CodeImage(int nIndex);
|
virtual ~CVcrControl_WinforSys_CodeImage(void);
|
|
virtual BOOL Connect(const CVcrControlInfo& controlInfo);
|
virtual void Disconnect();
|
|
virtual BOOL GetLightLevel(int &nValue, int nChannel = 0) const;
|
virtual BOOL GetLightLevel(double &dValue, int nChannel = 0) const;
|
virtual BOOL GetLightStatus(int &nValue, int nChannel = 0) const;
|
|
virtual BOOL SetLightLevel(int nValue, int nChannel = 0);
|
virtual BOOL SetLightLevel(double dValue, int nChannel = 0);
|
virtual BOOL SetLightStatus(int nValue, int nChannel = 0);
|
|
virtual BOOL SetLightOn();
|
virtual BOOL SetLightOff();
|
|
protected:
|
int m_nCurrentValue;
|
int m_nCurrentStatus;
|
};
|