服务端的TigerApi 框架,基于.NET6 2024 版本
Ben Lin
2024-10-25 7febfae83ccb8c1d927a817145fc9c99d173f222
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,
        }
    }
}