SDC C-Project CF Review 프로그램
LYW
2021-07-08 630eb072cca33a7c633f6429a0b5a531d1b83268
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
// ServerRecipe.h: interface for the CServerRecipe class.
//
//////////////////////////////////////////////////////////////////////
 
#if !defined(AFX_SERVERRECIPE_H__80A07C8A_A529_4231_BF4E_B59A0FA9AD9E__INCLUDED_)
#define AFX_SERVERRECIPE_H__80A07C8A_A529_4231_BF4E_B59A0FA9AD9E__INCLUDED_
 
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
 
#include "EquipmentRecipe.h"
#include "UtilityRecipe.h"
#include "SystemRecipe.h"
#include "GlassRecipe.h"
 
// °Ë»ç ½Ã½ºÅÛ + °Ë»ç ¹æ¹ý, °Ë»ç¿µ¿ª + ÆÐŶ.
class AFX_EXT_CLASS CServerRecipe
{
protected:
    int                    m_SystemRecipeCnt;
    int                    m_ModelCnt;
protected:
    CEquipmentRecipe    m_EquipmentRecipe;
    CUtilityRecipe        m_UtilityRecipe;
 
    CGlassRecipe        m_GlassRecipe;
    CSystemRecipeHive    m_SystemRecipeHive;        // °Ë»ç ½Ã½ºÅÛ, Åõ°ú, ¹Ý»ç, À̸éµî....
 
    CMosisPacket        m_WritePacket;
 
public:
    BOOL                SetSystemRecipeCnt(int nSys, BOOL bAppend)            {return m_SystemRecipeHive.SetSize(nSys, bAppend);}
    int                    GetSystemRecipeCnt()                                {return m_SystemRecipeHive.GetSize();}
    CSystemRecipe        *GetSystemRecipe(int iSystem)                        {return m_SystemRecipeHive.GetData(iSystem);};
 
public:
    CMosisPacket        *GetPacketHive()                                    {return &m_WritePacket;}
    BOOL                WriteInspectorRecipe(int iSystem, int iCamera);
};
 
#endif // !defined(AFX_SERVERRECIPE_H__80A07C8A_A529_4231_BF4E_B59A0FA9AD9E__INCLUDED_)