Exemplo n.º 1
0
 public FcuDisplayBottomLeft(IServiceProvider sp)
 {
     serial = sp.GetRequiredService <SerialPico>();
     (fcuSpeedManaged = sp.GetRequiredService <FcuSpeedManaged>()).PropertyChanged       += Regenerate;
     (fcuHeadingManaged = sp.GetRequiredService <FcuHeadingManaged>()).PropertyChanged   += Regenerate;
     (fcuSpeedSelection = sp.GetRequiredService <FcuSpeedSelection>()).PropertyChanged   += Regenerate;
     (fcuHeadingSelected = sp.GetRequiredService <FcuHeadingSelected>()).PropertyChanged += Regenerate;
     (fcuHeadingDashes = sp.GetRequiredService <FcuHeadingDashes>()).PropertyChanged     += Regenerate;
 }
Exemplo n.º 2
0
 public FcuDisplayBottomRight(IServiceProvider sp)
 {
     serial = sp.GetRequiredService <SerialPico>();
     (fcuAltListener = sp.GetRequiredService <FcuAltListener>()).PropertyChanged += Regenerate;
     (fcuVsState = sp.GetRequiredService <FcuVsState>()).PropertyChanged         += Regenerate;
     (fcuVsSelected = sp.GetRequiredService <FcuVsSelected>()).PropertyChanged   += Regenerate;
     (fcuFpaSelected = sp.GetRequiredService <FcuFpaSelected>()).PropertyChanged += Regenerate;
     (fcuTrackFpa = sp.GetRequiredService <FcuTrackFpa>()).PropertyChanged       += Regenerate;
     (fcuAltManaged = sp.GetRequiredService <FcuAltManaged>()).PropertyChanged   += Regenerate;
 }
Exemplo n.º 3
0
 public FlightDirectorListener(IServiceProvider sp)
 {
     logging = sp.GetRequiredService <ILogger <FlightDirectorListener> >();
     serial  = sp.GetRequiredService <SerialPico>();
 }
Exemplo n.º 4
0
 public FcuDisplayTopRight(IServiceProvider sp)
 {
     serial = sp.GetRequiredService <SerialPico>();
     (fcuTrackFpa = sp.GetRequiredService <FcuTrackFpa>()).PropertyChanged += Regenerate;
 }
Exemplo n.º 5
0
 public FcuAltManagedSender(IServiceProvider serviceProvider)
 {
     serial = serviceProvider.GetRequiredService <SerialPico>();
     (fcuAltManaged = serviceProvider.GetRequiredService <FcuAltManaged>()).PropertyChanged += Regenerate;
 }
Exemplo n.º 6
0
 public FcuDisplayTopLeft(IServiceProvider sp)
 {
     serial = sp.GetRequiredService <SerialPico>();
     (fcuSpeedMachListener = sp.GetRequiredService <FcuSpeedMachListener>()).PropertyChanged += Regenerate;
     (fcuTrackFpa = sp.GetRequiredService <FcuTrackFpa>()).PropertyChanged += Regenerate;
 }