SDC C-Project CF Review 프로그램
LYW
2021-09-23 c08b701c90c8998b241c82638d5c488e03238214
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#pragma once
 
#include "Serial.h"
#include "VcrControl.h"
 
 
#define RETURNCODE_R1    0x11    // (R)(0x11)(0x00)(CR)
#define RETURNCODE_R2    0x00    // (R)(0x00)(0x00)(CR)
#define RETURNCODE_R3    0x20    // (R)(0x20)(0x00)(32Byte)(Check sum)(CR)
 
 
class AFX_EXT_CLASS CVcrControl_CodeImageV5111N : public CVcrControl, public CSerial
{
public:
    CVcrControl_CodeImageV5111N(int nIndex);
    virtual ~CVcrControl_CodeImageV5111N(void);
 
    // ¼ø¼ö °¡»óÇÔ¼ö ¿À¹ö¶óÀ̵ù
    virtual BOOL Connect(const CVcrControlInfo& controlInfo);
    virtual void Disconnect();
 
    virtual BOOL GetDecodeStatus(BOOL &bValue);
    virtual BOOL GetDecodeData(CString &strValue);
    virtual BOOL GetReadSize(int &readSize);
 
    virtual BOOL DecodeTriggerSignal();
 
protected:
    int m_nCurrentValue;
    int    m_nCurrentStatus;
 
    BOOL m_bDecode;
    CString m_strDecodeData;
    int m_nReadSize;
 
    int m_nSWVer;
    BOOL m_bOnlyData;            // ÄÁÆ®·Ñ·¯ÀÇ °á°ú ¹æ½Ä (Decode Data ¸¸ ¼ö½Å)
};