NetOceanDirectLighthouse  3.1.1
OceanDirect Lighthouse .NET API
Public Member Functions | Static Public Member Functions | Static Protected Attributes | List of all members
NetLighthouse::NetLighthouseShutter Class Reference

Inherits ManagedObject.

Public Member Functions

virtual net_lh_open_state_t getShutterState (unsigned int deviceID, int %errorCode)
 
virtual void setShutterState (unsigned int deviceID, int %errorCode, net_lh_open_state_t state)
 

Static Public Member Functions

static NetLighthouseShutter getInstance ()
 

Static Protected Attributes

static NetLighthouseShutter shutter
 

Member Function Documentation

◆ getShutterState()

net_lh_open_state_t NetLighthouseShutter::getShutterState ( unsigned int  deviceID,
int %  errorCode 
)
virtual

.getShutterState Determine the current shutter state.

See also
setShutterState()
Parameters
deviceIDthe identifier of the device as returned by getDeviceIDs.
errorCodesee LHErrorCode.
Returns
"open" if the shutter is open, "closed" if the shutter is closed, or on error.

◆ setShutterState()

void NetLighthouseShutter::setShutterState ( unsigned int  deviceID,
int %  errorCode,
net_lh_open_state_t  state 
)
virtual

.setShutterState Set the shutter state to open or closed.

See also
getShutterState()
Parameters
deviceIDthe identifier of the device as returned by getDeviceIDs.
errorCodesee LHErrorCode.
state"open" to open the shutter, "closed" to close the shutter.

The documentation for this class was generated from the following files: