From 8c044861aea55f9c1830b4defb80e82600c16c1c Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期三, 26 三月 2025 11:32:05 +0800 Subject: [PATCH] 更新实体 --- Tiger.Model.Net/Entitys/TSK/TSK_TRIG.cs | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 54 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..5b156bf 100644 --- a/Tiger.Model.Net/Entitys/TSK/TSK_TRIG.cs +++ b/Tiger.Model.Net/Entitys/TSK/TSK_TRIG.cs @@ -170,6 +170,8 @@ Unknown, [Description("鏈煡浣滀笟澶勭悊绋嬪簭锛屼綔涓氬鐞嗙▼搴忕被鍨嬭繍琛屾椂绫诲瀷涓簄ull")] Unhandled, + [Description("鍋滄")] + Stop, } #endregion @@ -178,4 +180,56 @@ #endregion }//endClass + + + public class TrigArgs + { + public DateTime ToRunOnceAtDt { get; set; } //涓婇潰瑕佽繍琛岀殑鏃堕棿 + public int NowAddMinutes { 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 RunType runType { 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 double Interval { get; set; } + public string ByInterval { get; set; } + + public enum EveryType + { + [Description("姣")] + Milliseconds, + [Description("绉�")] + Seconds, + [Description("鍒嗛挓")] + Minutes, + [Description("灏忔椂")] + Hours, + [Description("澶�")] + Days, + [Description("鍛�")] + Weeks, + [Description("鏄熸湡鍑�")] + Weekdays, + [Description("鏈�")] + Months, + } + + public enum RunType + { + [Description("椹笂杩愯")] + ToRunNow, + [Description("鍦�(T)杩愯")] + ToRunOnceAt, + [Description("闅�(T)杩愯")] + ToRunEvery, + [Description("(T)鍚庤繍琛�")] + ToRunOnceIn, + } + } } \ No newline at end of file -- Gitblit v1.9.3