SDC C-Project CF Review 프로그램
LYW
2022-07-05 63439977901d54a01924ed76290931aeddbce66c
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
39
40
41
42
43
44
45
46
47
48
// SystemRecipe.h: interface for the CSystemRecipe class.
//
//////////////////////////////////////////////////////////////////////
 
#if !defined(AFX_SYSTEMRECIPE_H__45412082_78E1_431A_85D2_7458A8265E70__INCLUDED_)
#define AFX_SYSTEMRECIPE_H__45412082_78E1_431A_85D2_7458A8265E70__INCLUDED_
 
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
 
#include "SystemData.h"
 
 
// °Ë»ç ½Ã½ºÅÛ [Åõ°ú, ¹Ý»ç, À̸éµî..]
// Ä«¸Þ¶ó Á¤º¸, ½ºÄµ Á¤º¸, Á¶¸í Á¤º¸.
class AFX_EXT_CLASS CSystemRecipe
{
protected:
    stSystemData        m_SystemData;
    CScanDataHive2        m_ScanDataHive2;// m_nCamera * m_nScan
 
public:
    CSystemRecipe();
    virtual ~CSystemRecipe();
 
public:
    stSystemData    *GetSystemData()                            {return &m_SystemData;}
public:
    BOOL            SetScanDataCnt(int nCam, int nScan)            {return m_ScanDataHive2.SetSize(nCam, nScan);}
    int                GetCameraCnt()                                {return m_ScanDataHive2.GetWidth();}
    int                GetScanCnt()                                {return m_ScanDataHive2.GetHeight();}
    stScanData        *GetScanData(int iCam, int iScan)            {return m_ScanDataHive2.GetData(iCam, iScan);}
 
 
public:
    BOOL            ReadSystemRecipe(CMosisPacket *pPacket, int iCamera);
    BOOL            WriteSystemRecipe(CMosisPacket *pPacket, int iCamera);
 
    void            Test_FillSystemRecipe();
 
friend                class IInspectorRecipe;
};
typedef                CMosisHive1<CSystemRecipe>        CSystemRecipeHive;
 
 
 
#endif // !defined(AFX_SYSTEMRECIPE_H__45412082_78E1_431A_85D2_7458A8265E70__INCLUDED_)