using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IOB_UT_NEXT { /// /// Classe di gestione info Timer per esecuzione ordinata processi secondo priorità /// public class TimerMan { #region Public Constructors /// /// Init classe timer /// /// public TimerMan(ContextType contesto) { Contesto = contesto; } #endregion Public Constructors #region Public Enums /// /// Tipologia contesto timer /// public enum ContextType { Machine = 0, Server } #endregion Public Enums #region Public Properties /// /// Contesto del timer /// public ContextType Contesto { get; private set; } = ContextType.Machine; /// /// Contatore chiamate timers x debug timing /// public Dictionary CycleCount { get; set; } = new Dictionary(); /// /// Contatore durata exec x debug timing /// public Dictionary CycleElaps { get; set; } = new Dictionary(); /// /// Dizionario scadenza timers interni x esecuzione dei vari task a differente frequenza di chiamata /// public Dictionary Veto { get; set; } = new Dictionary(); #endregion Public Properties } }