mrDarker
2025-07-09 8364edfb293e9e31e0fa7899bedcef9cd393e130
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
#pragma once
 
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
 
#include "ExternLightControl.h"
 
class CExternLightControlLCP : public CExternLightControl
{
public:
    CExternLightControlLCP();
    virtual ~CExternLightControlLCP();
 
    virtual BOOL                OpenControl(int nPort);
    virtual BOOL                CloseControl();
    virtual BOOL                SetLightControlValue(int nChannel, int nValue);
    virtual BOOL                IsOpened()                        { return m_hLightControl ? TRUE : FALSE; }
    virtual BOOL                IsTurnOnLamp(int iIdxChannel);
    virtual BOOL                TurnOnOffLamp(int nChannel,BOOL bOn);
};