mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-27 18:59:26 +08:00
新增http、mqtt运行库,实现mqtt功能, 新增spdlog
This commit is contained in:
@@ -90,9 +90,9 @@ class TimeTick
|
||||
public:
|
||||
int64_t tickMS_ = 0;
|
||||
|
||||
TimeTick()
|
||||
TimeTick(int t=0)
|
||||
{
|
||||
tickMS_ = Utils::time();
|
||||
if (t !=0) { tickMS_ = Utils::time(); }
|
||||
}
|
||||
|
||||
bool elapse(int64_t ms, bool reset = true)
|
||||
|
||||
Reference in New Issue
Block a user