public MySimulatorModel(ISimulatorClient c) { client = c; // Make a lock object. myLock = new Object(); connected = false; firstRotate = true; TurnOffLocationFlags(); // Set the status timer to act every 5 seconds. myStatusTimer = new System.Timers.Timer { Interval = 5000, AutoReset = true, Enabled = true }; myStatusTimer.Elapsed += StatusTimerOnTimedEvent; }
public SimulatorController(IBuildingSecuritySessionStore sessionStore, ISimulatorClient simulationClient) : base(sessionStore) { _simulationClient = simulationClient; }