Esempio n. 1
0
 protected void ProcessPowerBits(PowerBits bits)
 {
     SetValue("POWER", "bus power battery", new BindingValue(bits.HasFlag(PowerBits.BusPowerBattery)));
     SetValue("POWER", "bus power emergency", new BindingValue(bits.HasFlag(PowerBits.BusPowerEmergency)));
     SetValue("POWER", "bus power essential", new BindingValue(bits.HasFlag(PowerBits.BusPowerEssential)));
     SetValue("POWER", "bus power non essential", new BindingValue(bits.HasFlag(PowerBits.BusPowerNonEssential)));
     SetValue("POWER", "main generator", new BindingValue(bits.HasFlag(PowerBits.MainGenerator)));
     SetValue("POWER", "standby generator", new BindingValue(bits.HasFlag(PowerBits.StandbyGenerator)));
     SetValue("POWER", "Jetfuel starter", new BindingValue(bits.HasFlag(PowerBits.JetFuelStarter)));
 }
Esempio n. 2
0
 public FalconPowerBits(string group, string label, PowerBits bit)
     : base(group, label, (int)bit)
 {
 }