mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 14:42:18 +03:00
not working version
This commit is contained in:
20
src/items/InputDigitClass.cpp
Normal file
20
src/items/InputDigitClass.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#include "items/itemsGlobal.h"
|
||||
#include "items/InputClass.h"
|
||||
//==========================================Модуль ввода цифровых значений==================================
|
||||
//input-digit digit1 inputDigit Ввод Введите.цифру 4 st[60]
|
||||
//==========================================================================================================
|
||||
InputClass* myInputDigit;
|
||||
void inputDigit() {
|
||||
myInputDigit = new InputClass();
|
||||
myInputDigit->update();
|
||||
String key = myInputDigit->gkey();
|
||||
sCmd.addCommand(key.c_str(), inputDigitSet);
|
||||
myInputDigit->inputSetDefaultFloat();
|
||||
myInputDigit->clear();
|
||||
}
|
||||
|
||||
void inputDigitSet() {
|
||||
String key = sCmd.order();
|
||||
String state = sCmd.next();
|
||||
myInputDigit->inputSetFloat(key, state);
|
||||
}
|
||||
Reference in New Issue
Block a user