dll加载路径错误
This commit is contained in:
30
hardware_monitor_wrapper/native/include/Control.h
Normal file
30
hardware_monitor_wrapper/native/include/Control.h
Normal file
@ -0,0 +1,30 @@
|
||||
#pragma once
|
||||
struct innerCsControl;
|
||||
class Sensor;
|
||||
#include "Identifier.h"
|
||||
#include "dll_macro.h"
|
||||
#include <memory>
|
||||
enum CsControlMode
|
||||
{
|
||||
Undefined,
|
||||
Software,
|
||||
Default,
|
||||
ObjectIsNull
|
||||
};
|
||||
class DLL_API CsControl
|
||||
{
|
||||
public:
|
||||
CsControl(std::shared_ptr<innerCsControl> inner);
|
||||
~CsControl();
|
||||
bool isNull() const;
|
||||
CsControlMode getCsControlMode();
|
||||
Identifier getIdentifier();
|
||||
float getMaxSoftwareValue();
|
||||
float getMinSoftwareValue();
|
||||
Sensor getSensor();
|
||||
float getSoftwareValue();
|
||||
void SetDefault();
|
||||
void SetSoftware(float value);
|
||||
private:
|
||||
std::shared_ptr<innerCsControl> inner;
|
||||
};
|
Reference in New Issue
Block a user