Exemplo n.º 1
0
 public VideoHandler(Eth ethInst, Monitor monitorInst)
 {
     _enable                = false;
     _ethernet              = ethInst;
     _frameBuffer           = new Framebuffer();
     _acc                   = new Acc();
     _splashScreen          = new SplashScreen(monitorInst);
     _dashScreen            = new DashScreen(_acc);
     _updateTimer           = new System.Timers.Timer(16.666);
     _updateTimer.Elapsed  += TimerElapsed;
     _updateTimer.AutoReset = true;
     _updateTimer.Enabled   = true;
 }
Exemplo n.º 2
0
 public DashScreen(Acc acc)
 {
     _acc = acc;
 }