Example #1
0
 /// <summary>
 /// constructor
 /// </summary>
 public Engine(SpnLookup lookup, SessionParameters p)
 {
     Lookup = lookup;
     SessionParameters = p;
     Timer = new Timer(p.Frequency.TotalMilliseconds);
     Timer.Elapsed += Timer_Elapsed;
 }
 /// <summary>
 /// main method
 /// </summary>
 static void Main(string[] args)
 {
     var loookup = ReadFile();
     var sp = new SessionParameters(args);
     engine = new Engine(loookup, sp);
     RunEngine();
 }
 /// <summary>
 /// unused
 /// </summary>
 public void ResetParameters(SessionParameters p)
 {
     SessionParameters = p;
 }
Example #4
0
 /// <summary>
 /// unused
 /// </summary>
 public void ResetParameters(SessionParameters p)
 {
     SessionParameters = p;
 }