Beispiel #1
0
 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;
 }
Beispiel #2
0
 public ProxyThread(ProcessProject project, int id, string name, IIndicator indicator, QueuedProxyConnect proxy)
     : base(project, id, name, indicator)
 {
     _proxy = proxy;
 }
Beispiel #3
0
 protected RealTimeBaseThread(ProcessProject project, int id, string name, IIndicator indicator)
     : base(project, id, name, indicator, LoggerStability.RealTimeFast)
 {
 }
Beispiel #4
0
 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;
 }
Beispiel #5
0
 public RealTimeThread(ProcessProject project, int id, string name, IIndicator indicator, double periodSeconds, double lateSeconds)
     : base(project, id, name, indicator)
 {
     PeriodSeconds = periodSeconds;
     LateSeconds   = lateSeconds;
 }
Beispiel #6
0
 public SingleThread(ProcessProject project, int id, string name, IIndicator indicator)
     : base(project, id, name, indicator, LoggerStability.Single)
 {
 }