refactoring...

This commit is contained in:
2020-09-05 01:22:09 +03:00
parent 5a49104273
commit 23b275d17d
65 changed files with 193 additions and 214 deletions

20
libs/core/cdutils_k.cpp Normal file
View 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));
}