private void Regenerate(object?_, PropertyChangedEventArgs?args) { var managed = fcuAltManaged.IsManaged ? '\x1' : ' '; var line2 = $"{fcuAltListener.Current.fcuAlt:00000} {managed} {VS}"; serial.SendLine($"fcuBR={line2}"); }
private void Regenerate(object?_, PropertyChangedEventArgs?args) { var speedMachLabel = fcuSpeedMachListener.IsMach ? " MACH" : "SPD "; var hdgTrkLabel = fcuTrackFpa.IsHdgVS ? "HDG " : " TRK"; var line1 = $"{speedMachLabel} {hdgTrkLabel} LAT"; serial.SendLine($"fcuTL={line1}"); }
private void Regenerate(object?_, PropertyChangedEventArgs?args) { var speedDot = fcuSpeedManaged.IsManaged ? '\x1' : ' '; var heading = fcuHeadingDashes.IsDashes || fcuHeadingSelected == -1 ? "---" : $"{(double)fcuHeadingSelected!:000}"; var headingDot = fcuHeadingManaged.IsManaged ? '\x1' : ' '; var line2 = $"{Speed} {speedDot} {heading} {headingDot} "; serial.SendLine($"fcuBL={line2}"); }
private void Regenerate(object?_, PropertyChangedEventArgs?args) { var line1 = "ALT \x4LVL/CH\x5 " + (fcuTrackFpa.IsHdgVS ? "V/S" : "FPA"); serial.SendLine($"fcuTR={line1}"); }
private void Regenerate(object?_, PropertyChangedEventArgs?args) => serial.SendLine("FcuAltManaged=" + fcuAltManaged.IsManaged);