Пример #1
0
        private void Regenerate(object?_, PropertyChangedEventArgs?args)
        {
            var managed = fcuAltManaged.IsManaged ? '\x1' : ' ';
            var line2   = $"{fcuAltListener.Current.fcuAlt:00000}   {managed}  {VS}";

            serial.SendLine($"fcuBR={line2}");
        }
Пример #2
0
        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}");
        }
Пример #3
0
        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}");
        }
Пример #4
0
        private void Regenerate(object?_, PropertyChangedEventArgs?args)
        {
            var line1 = "ALT \x4LVL/CH\x5 " + (fcuTrackFpa.IsHdgVS ? "V/S" : "FPA");

            serial.SendLine($"fcuTR={line1}");
        }
Пример #5
0
 private void Regenerate(object?_, PropertyChangedEventArgs?args) =>
 serial.SendLine("FcuAltManaged=" + fcuAltManaged.IsManaged);