定时任务现在支持操作更多功能

This commit is contained in:
Your Name
2025-03-24 00:12:57 +08:00
parent 60977f0327
commit 6598250af1
7 changed files with 922 additions and 845 deletions

View File

@@ -7,8 +7,8 @@ struct TimedTask
{
bool on_use; //正在使用
time_t prs_time; //被执行的格林尼治时间戳
int socket_idx; //要控制的插孔
int on; //开或者关
int operation; //要进行的操作
int on; //开或者关,或者其他操作
int weekday; //星期重复 0代表不重复 8代表每日重复
pTimedTask next; //下一个任务(按之间排序)
};