Esempio n. 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;
 }
Esempio n. 2
0
 /// <summary>
 /// main method
 /// </summary>
 static void Main(string[] args)
 {
     var loookup = ReadFile();
     var sp = new SessionParameters(args);
     engine = new Engine(loookup, sp);
     RunEngine();
 }
Esempio n. 3
0
 /// <summary>
 /// unused
 /// </summary>
 public void ResetParameters(SessionParameters p)
 {
     SessionParameters = p;
 }
Esempio n. 4
0
 /// <summary>
 /// unused
 /// </summary>
 public void ResetParameters(SessionParameters p)
 {
     SessionParameters = p;
 }