mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
исправление веба. стабильная версия
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
//Версия прошивки
|
||||
#define FIRMWARE_VERSION 422
|
||||
#define FIRMWARE_VERSION 423
|
||||
|
||||
#ifdef esp8266_4mb
|
||||
#define FIRMWARE_NAME "esp8266_4mb"
|
||||
|
||||
@@ -11,7 +11,7 @@ extern void synchTime();
|
||||
extern const String getTimeLocal_hhmm();
|
||||
extern const String getTimeLocal_hhmmss();
|
||||
extern const String getDateTimeDotFormated();
|
||||
extern const String getDateDotFormated();
|
||||
extern const String getTodayDateDotFormated();
|
||||
extern unsigned long strDateToUnix(String date);
|
||||
extern const String getDateTimeDotFormatedFromUnix(unsigned long unixTime);
|
||||
extern unsigned long gmtTimeToLocal(unsigned long gmtTimestamp);
|
||||
|
||||
@@ -28,6 +28,7 @@ class IoTItem {
|
||||
virtual void cleanChart();
|
||||
virtual void setPublishType(int type, int num);
|
||||
virtual void cleanData();
|
||||
virtual void setTodayDate();
|
||||
|
||||
String getID();
|
||||
virtual String getValue();
|
||||
|
||||
@@ -8,10 +8,11 @@ extern File seekFile(const String& filename, size_t position = 0);
|
||||
extern const String writeFile(const String& filename, const String& str);
|
||||
const String writeEmptyFile(const String& filename);
|
||||
extern const String addFileLn(const String& filename, const String& str);
|
||||
extern const String addFile(const String& filename, const String& str);
|
||||
extern const String readFile(const String& filename, size_t max_size);
|
||||
extern const String filepath(const String& filename);
|
||||
extern bool cutFile(const String& src, const String& dst);
|
||||
extern size_t countLines(const String filename);
|
||||
extern size_t countJsonObj(const String filename, size_t& size);
|
||||
void removeFile(const String& filename);
|
||||
void removeDirectory(const String& dir);
|
||||
void cleanDirectory(String path);
|
||||
|
||||
Reference in New Issue
Block a user