SDC C-Project CF Review 프로그램
LYW
2021-08-17 9aa3a8ff940e89bb0b5c75bc8abd0864e4c85874
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
#include "StdAfx.h"
#include "CHLightControls/LightControl_Simulation.h"
 
 
CLightControl_Simulation::CLightControl_Simulation(int nIndex) : CLightControl(nIndex)
{
}
 
CLightControl_Simulation::~CLightControl_Simulation(void)
{
}
 
BOOL CLightControl_Simulation::Connect(const CLightControlInfo& controlInfo)
{
    m_ControlInfo = controlInfo;
    return TRUE;
}
 
void CLightControl_Simulation::Disconnect()
{
 
}
 
LONG CLightControl_Simulation::ConnectEx( const CLightControlInfo& controlInfo )
{
    return TRUE;
}
 
void CLightControl_Simulation::DisconnectEx()
{
 
}
 
 
BOOL CLightControl_Simulation::GetLightLevel(int &nValue, int nChannel) const
{
    return TRUE;
}
 
BOOL CLightControl_Simulation::GetLightLevel(double &dValue, int nChannel) const
{
    return TRUE;
}
 
BOOL CLightControl_Simulation::GetLightStatus(int &nValue, int nChannel) const
{
    return TRUE;
}
 
BOOL CLightControl_Simulation::SetLightLevel(int nValue, int nChannel)
{
    return TRUE;
}
 
BOOL CLightControl_Simulation::SetLightLevel(double dValue, int nChannel)
{
    return TRUE;
}
 
BOOL CLightControl_Simulation::SetLightStatus(int nValue, int nChannel)
{
    return TRUE;
}
 
BOOL CLightControl_Simulation::SetLightOn()
{
    return TRUE;
}
 
BOOL CLightControl_Simulation::SetLightOff()
{
    return TRUE;
}
 
BOOL CLightControl_Simulation::SetLightOn(int Channel)
{
    return TRUE;
}
 
BOOL CLightControl_Simulation::SetLightOff(int Channel)
{
    return TRUE;
}
 
BOOL CLightControl_Simulation::SetLightAllOn()
{
    if (!m_bConnected) return FALSE;
 
    return TRUE;
}
 
BOOL CLightControl_Simulation::SetLightAllOff()
{
    if (!m_bConnected) return FALSE;
 
    return TRUE;
}