NetOceanDirect  3.1.1
OceanDirect .NET API
Lamp.h
1 #pragma once
2 #include "ManagedObject.h"
3 #include "api/advanced/LampAPI.h"
4 using oceandirect::api::LampAPI;
5 
6 namespace NetOceanDirect {
7 
8  public ref class Lamp : public ManagedObject<LampAPI>
9  {
10  protected:
11  Lamp();
12  public:
13  Lamp(LampAPI* instance);
14 
15  virtual ~Lamp() {};
16  static Lamp^ getInstance();
17 
28  void setEnable(long deviceID, int% errorCode, bool enable);
29 
40  bool isEnable(long deviceID, int% errorCode);
41 
42  protected:
43  static Lamp^ strobe;
44 
45  };
46 }
Definition: Lamp.h:9
bool isEnable(long deviceID, int% errorCode)
Definition: Lamp.cpp:26
void setEnable(long deviceID, int% errorCode, bool enable)
Definition: Lamp.cpp:21
Definition: ManagedObject.h:16