protected void ProcessLightBits(BMSLightBits bits) { SetValue("Left Eyebrow", "master caution indicator", new BindingValue(bits.HasFlag(BMSLightBits.MasterCaution))); SetValue("Left Eyebrow", "tf-fail indicator", new BindingValue(bits.HasFlag(BMSLightBits.TF))); SetValue("Right Eyebrow", "oxy low indicator", new BindingValue(bits.HasFlag(BMSLightBits.OXY_BROW))); SetValue("Right Eyebrow", "engine fire indicator", new BindingValue(bits.HasFlag(BMSLightBits.ENG_FIRE))); SetValue("Right Eyebrow", "hydraulic/oil indicator", new BindingValue(bits.HasFlag(BMSLightBits.HYD))); SetValue("Right Eyebrow", "canopy indicator", new BindingValue(bits.HasFlag(BMSLightBits.CAN))); SetValue("Right Eyebrow", "takeoff landing config indicator", new BindingValue(bits.HasFlag(BMSLightBits.T_L_CFG))); SetValue("Right Eyebrow", "flcs indicator", new BindingValue(bits.HasFlag(BMSLightBits.FLCS))); SetValue("Caution", "stores config indicator", new BindingValue(bits.HasFlag(BMSLightBits.CONFIG))); SetValue("AOA Indexer", "above indicator", new BindingValue(bits.HasFlag(BMSLightBits.AOAAbove))); SetValue("AOA Indexer", "on indicator", new BindingValue(bits.HasFlag(BMSLightBits.AOAOn))); SetValue("AOA Indexer", "below indicator", new BindingValue(bits.HasFlag(BMSLightBits.AOABelow))); SetValue("Refuel Indexer", "ready indicator", new BindingValue(bits.HasFlag(BMSLightBits.RefuelRDY))); SetValue("Refuel Indexer", "air/nws indicator", new BindingValue(bits.HasFlag(BMSLightBits.RefuelAR))); SetValue("Refuel Indexer", "disconnect indicator", new BindingValue(bits.HasFlag(BMSLightBits.RefuelDSC))); SetValue("Caution", "flight control system indicator", new BindingValue(bits.HasFlag(BMSLightBits.FltControlSys))); SetValue("Caution", "leading edge flaps indicator", new BindingValue(bits.HasFlag(BMSLightBits.LEFlaps))); SetValue("Caution", "engine fault indticator", new BindingValue(bits.HasFlag(BMSLightBits.EngineFault))); SetValue("Caution", "equip hot indicator", new BindingValue(bits.HasFlag(BMSLightBits.EQUIP_HOT))); SetValue("Caution", "overheat indicator", new BindingValue(bits.HasFlag(BMSLightBits.Overheat))); SetValue("Caution", "low fuel indicator", new BindingValue(bits.HasFlag(BMSLightBits.FuelLow))); SetValue("Caution", "avionics indicator", new BindingValue(bits.HasFlag(BMSLightBits.Avionics))); SetValue("Caution", "radar altimeter indicator", new BindingValue(bits.HasFlag(BMSLightBits.RadarAlt))); SetValue("Caution", "iff indicator", new BindingValue(bits.HasFlag(BMSLightBits.IFF))); SetValue("Caution", "ecm indicator", new BindingValue(bits.HasFlag(BMSLightBits.ECM))); SetValue("Caution", "hook indicator", new BindingValue(bits.HasFlag(BMSLightBits.Hook))); SetValue("Caution", "nws fail indicator", new BindingValue(bits.HasFlag(BMSLightBits.NWSFail))); SetValue("Caution", "cabin pressure indicator", new BindingValue(bits.HasFlag(BMSLightBits.CabinPress))); SetValue("Autopilot", "on indicator", new BindingValue(bits.HasFlag(BMSLightBits.AutoPilotOn))); SetValue("Misc", "tfs stanby indicator", new BindingValue(bits.HasFlag(BMSLightBits.TFR_STBY))); SetValue("Test Panel", "FLCS channel lamps", new BindingValue(bits.HasFlag(BMSLightBits.Flcs_ABCD))); }