mirror of
https://gitee.com/ThingsGateway/ThingsGateway.git
synced 2025-11-05 10:03:58 +08:00
16 lines
293 B
C#
16 lines
293 B
C#
namespace ThingsGateway.Gateway.Application
|
|
{
|
|
public interface IScheduledTask
|
|
{
|
|
bool Change(int dueTime, int period);
|
|
void SetNext(int interval);
|
|
void Start();
|
|
void Stop();
|
|
public Int32 Period { get; }
|
|
bool Enable { get; }
|
|
}
|
|
|
|
|
|
|
|
|
|
} |