initial commit
This commit is contained in:
20
cd_utils/cdutils_k.cpp
Normal file
20
cd_utils/cdutils_k.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#include "cdutils_k.h"
|
||||
#include "cdutils_core.h"
|
||||
|
||||
using namespace CDUtils;
|
||||
|
||||
KInterface K;
|
||||
|
||||
|
||||
KInterface::KInterface(): Interface(CDType::cdK) {
|
||||
}
|
||||
|
||||
|
||||
void KInterface::directChange(const CDType & k) {
|
||||
core->K_DirectChange(k.path(), k.value());
|
||||
}
|
||||
|
||||
|
||||
void KInterface::directChange(const CDType & k, double v) {
|
||||
core->K_DirectChange(k.path(), PIString::fromNumber(v));
|
||||
}
|
||||
Reference in New Issue
Block a user