可用性改进

This commit is contained in:
2025-07-23 23:43:17 +08:00
parent d8feb829b1
commit c679704e56
9 changed files with 54 additions and 14 deletions

View File

@@ -1,11 +1,7 @@
import pathlib
import toml
import time
class Aux():
@staticmethod
def get_daystamp():
return (time.time() // (24*3600))
import auxiliary as aux
class Electron():
"""电子: 记忆分析元数据及算法"""
@@ -69,7 +65,7 @@ class Electron():
else:
self.interval = round(self.interval * self.efactor)
self.last_date = Aux.get_daystamp()
self.last_date = aux.get_daystamp()
self.next_date = self.last_date + self.interval
def __str__(self):