From 7febfae83ccb8c1d927a817145fc9c99d173f222 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期五, 25 十月 2024 00:03:15 +0800 Subject: [PATCH] 计划任务更新,用FluentScheduler --- Tiger.Model.Net/Entitys/TSK/TSK_TRIG.cs | 36 ++++++++++++++++++++++++++++++++++++ 1 files changed, 36 insertions(+), 0 deletions(-) diff --git a/Tiger.Model.Net/Entitys/TSK/TSK_TRIG.cs b/Tiger.Model.Net/Entitys/TSK/TSK_TRIG.cs index 8450c34..0c7a2ab 100644 --- a/Tiger.Model.Net/Entitys/TSK/TSK_TRIG.cs +++ b/Tiger.Model.Net/Entitys/TSK/TSK_TRIG.cs @@ -178,4 +178,40 @@ #endregion }//endClass + + + public class TrigArgs + { + public string ToRunNow { get; set; } + public int ToRunEvery { get; set; } + public int ToRunOnceIn { get; set; } + public string NonReentrant { get; set; } //Y涓嶉噸澶嶏紝N閲嶅 + public EveryType Type { get; set; } + public Int64 Milliseconds { get; set; } + public int Seconds { get; set; } + public int Minutes { get; set; } + public int Hours { get; set; } + public int Days { get; set; } + public int Weekday { get; set; } + + public enum EveryType + { + [Description("姣")] + Milliseconds, + [Description("绉�")] + Seconds, + [Description("鍒嗛挓")] + Minutes, + [Description("灏忔椂")] + Hours, + [Description("澶�")] + Days, + [Description("鍛�")] + Weeks, + [Description("鏄熸湡鍑�")] + Weekdays, + [Description("鏈�")] + Months, + } + } } \ No newline at end of file -- Gitblit v1.9.3