protected BaseThread(ProcessProject project, int id, string name, IIndicator indicator, LoggerStability stability) : base(null, project.Context, project.ProgressContext) { Logger = new Logger(indicator, stability); Logger.History = ItStatic.CreateHistory(Logger, project.App.Code + '\\' + project.Code + id); State = ThreadState.Stopped; Project = project; Id = id; Name = name; }
public ProxyThread(ProcessProject project, int id, string name, IIndicator indicator, QueuedProxyConnect proxy) : base(project, id, name, indicator) { _proxy = proxy; }
protected RealTimeBaseThread(ProcessProject project, int id, string name, IIndicator indicator) : base(project, id, name, indicator, LoggerStability.RealTimeFast) { }
public PeriodicThread(ProcessProject project, int id, string name, IIndicator indicator, double periodMinutes, double lateMinutes) : base(project, id, name, indicator, LoggerStability.Periodic) { PeriodMinutes = periodMinutes; LateMinutes = lateMinutes; }
public RealTimeThread(ProcessProject project, int id, string name, IIndicator indicator, double periodSeconds, double lateSeconds) : base(project, id, name, indicator) { PeriodSeconds = periodSeconds; LateSeconds = lateSeconds; }
public SingleThread(ProcessProject project, int id, string name, IIndicator indicator) : base(project, id, name, indicator, LoggerStability.Single) { }