LAPTOP-SNT8I5JK\Boounion
2025-07-28 bfe14e41fa5b07771d78af4511ba18d706bc23cc
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 "Context.h"
 
 
enum class EQSTATE
{
    Idle = 1,
    Run,
    Down,
    Maintenance,
    MCHG,
    E_TIME
};
 
class CEQState :
    public CContext
{
public:
    CEQState();
    CEQState(int unitId, EQSTATE state);
    ~CEQState();
 
public:
    virtual std::string& getClassName();
    virtual std::string toString();
    void setDoorState(int doorst);
    int getUnitId();
    ULONGLONG getTime();
    EQSTATE getState();
    CString& getText(CString& strOut);
    void Serialize(CArchive& ar);
 
private:
    int m_nUnitId;
    ULONG64 m_time;
    EQSTATE m_state;
    int m_nDoorState;
};