public AlliedForcesDataExporter(FalconInterface falconInterface)
     : base(falconInterface)
 {
     AddValue("Caution", "Caution panel engine 2 fire indicator", "", "True if lit.", BindingValueUnits.Boolean);
     AddValue("General", "lock cue", "Lock light cue. (Non-F16)", "True if lit.", BindingValueUnits.Boolean);
     AddValue("General", "shoot cue", "Shoot light cue. (Non-F16)", "True if lit.", BindingValueUnits.Boolean);
 }
 public AlliedForcesDataExporter(FalconInterface falconInterface)
     : base(falconInterface)
 {
     AddValue("Caution", "Caution panel engine 2 fire indicator", "", "True if lit.", BindingValueUnits.Boolean);
     AddValue("General", "lock cue", "Lock light cue. (Non-F16)", "True if lit.", BindingValueUnits.Boolean);
     AddValue("General", "shoot cue", "Shoot light cue. (Non-F16)", "True if lit.", BindingValueUnits.Boolean);
 }
Exemple #3
0
 void Profile_ProfileStarted(object sender, EventArgs e)
 {
     if (Parent.Profile.Interfaces.ContainsKey("Falcon"))
     {
         _falconInterface = Parent.Profile.Interfaces["Falcon"] as FalconInterface;
     }
 }
        void Profile_ProfileTick(object sender, EventArgs e)
        {
            if (_textureMemory != null && _textureMemory.IsDataAvailable)
            {
                FalconInterface falconInterface = Parent.Profile.Interfaces["Falcon"] as FalconInterface;

                //If the profile was started prior to BMS running then get the texture area from shared memory
                if (_textureRectangles.Count == 0 && falconInterface.FalconType == FalconTypes.BMS)
                {
                    GetTextureArea(Texture);
                }

                OnDisplayUpdate();
            }
        }
Exemple #5
0
        void Profile_ProfileStarted(object sender, EventArgs e)
        {
            if (Parent != null && Parent.Profile != null && Parent.Profile.Interfaces.ContainsKey("Falcon"))
            {
                FalconInterface falconInterface = Parent.Profile.Interfaces["Falcon"] as FalconInterface;
                if (falconInterface != null)
                {
                    ParseDatFile(falconInterface.CockpitDatFile);
                }
            }

            _textureMemory            = new SharedMemory("FalconTexturesSharedMemoryArea");
            _textureMemory.CheckValue = 0;
            _textureMemory.Open();

            IsRunning = true;
        }
Exemple #6
0
        public BMSFalconDataExporter(FalconInterface falconInterface)
            : base(falconInterface)
        {
            AddValue("Right Eyebrow", "oxy low indicator", "OXY LOW indicator on right eyebrow", "True if lit", BindingValueUnits.Boolean);
            AddValue("Caution", "equip hot indicator", "Equip hot indicator on caution panel", "True if lit", BindingValueUnits.Boolean);
            AddValue("Test Panel", "FLCS channel lamps", "FLCS channel lamps on test panel (abcd)", "True if lit", BindingValueUnits.Boolean);
            AddValue("Right Eyebrow", "flcs indicator", "FLCS Indicator", "True if lit", BindingValueUnits.Boolean);

            AddValue("Autopilot", "on indicator", "Indicates whether the autopilot is on.", "True if on", BindingValueUnits.Boolean);

            AddValue("General", "on ground", "Indicates weight on wheels.", "True if wheight is on wheels.", BindingValueUnits.Boolean);
            AddValue("Flight Control", "run light", "Run light on the flight control panel indicating bit is running.", "True if lit", BindingValueUnits.Boolean);
            AddValue("Flight Control", "fail light", "Fail light on the flight control panel indicating bit failure.", "True if lit", BindingValueUnits.Boolean);
            AddValue("Right Eyebrow", "dbu on indicator", "DBU Warning light on the right eyebrow.", "True if lit", BindingValueUnits.Boolean);
            AddValue("General", "parking brake engaged", "Indicates if the parking brake is engaged.", "True if engaged", BindingValueUnits.Boolean);
            AddValue("Caution", "cadc indicator", "CADC indicator lamp on the caution panel.", "True if lit", BindingValueUnits.Boolean);
            AddValue("General", "speed barke", "Indicates if the speed brake is deployed.", "True if speed breake is in any other position than stowed.", BindingValueUnits.Boolean);

            AddValue("HSI", "nav mode", "Nav mode currently selected for the HSI/eHSI", "", BindingValueUnits.Numeric);
            AddValue("Tacan", "ufc tacan band", "Tacan band set with the UFC.", "1 = X, 2 = Y", BindingValueUnits.Numeric);
            AddValue("Tacan", "aux tacan band", "Tacan band set with the AUX COM panel.", "1 = X, 2 = Y", BindingValueUnits.Numeric);
            AddValue("Tacan", "ufc tacan mode", "Tacan mode set with the UFC.", "1 = TR, 2 = AA", BindingValueUnits.Numeric);
            AddValue("Tacan", "aux tacan mode", "Tacan mode set with the AUX COM panel.", "1 = TR, 2 = AA", BindingValueUnits.Numeric);
        }
        public BMSFalconDataExporter(FalconInterface falconInterface)
            : base(falconInterface)
        {
            AddValue("Right Eyebrow", "oxy low indicator", "OXY LOW indicator on right eyebrow", "True if lit", BindingValueUnits.Boolean);
            AddValue("Caution", "equip hot indicator", "Equip hot indicator on caution panel", "True if lit", BindingValueUnits.Boolean);
            AddValue("Test Panel", "FLCS channel lamps", "FLCS channel lamps on test panel (abcd)", "True if lit", BindingValueUnits.Boolean);
            AddValue("Right Eyebrow", "flcs indicator", "FLCS Indicator", "True if lit", BindingValueUnits.Boolean);

            AddValue("Autopilot", "on indicator", "Indicates whether the autopilot is on.", "True if on", BindingValueUnits.Boolean);

            AddValue("General", "on ground", "Indicates weight on wheels.", "True if wheight is on wheels.", BindingValueUnits.Boolean);
            AddValue("Flight Control", "run light", "Run light on the flight control panel indicating bit is running.", "True if lit", BindingValueUnits.Boolean);
            AddValue("Flight Control", "fail light", "Fail light on the flight control panel indicating bit failure.", "True if lit", BindingValueUnits.Boolean);
            AddValue("Right Eyebrow", "dbu on indicator", "DBU Warning light on the right eyebrow.", "True if lit", BindingValueUnits.Boolean);
            AddValue("General", "parking brake engaged", "Indicates if the parking brake is engaged.", "True if engaged", BindingValueUnits.Boolean);
            AddValue("Caution", "cadc indicator", "CADC indicator lamp on the caution panel.", "True if lit", BindingValueUnits.Boolean);
            AddValue("General", "speed barke", "Indicates if the speed brake is deployed.", "True if speed breake is in any other position than stowed.", BindingValueUnits.Boolean);

            AddValue("HSI", "nav mode", "Nav mode currently selected for the HSI/eHSI", "", BindingValueUnits.Numeric);
            AddValue("Tacan", "ufc tacan band", "Tacan band set with the UFC.", "1 = X, 2 = Y", BindingValueUnits.Numeric);
            AddValue("Tacan", "aux tacan band", "Tacan band set with the AUX COM panel.", "1 = X, 2 = Y", BindingValueUnits.Numeric);
            AddValue("Tacan", "ufc tacan mode", "Tacan mode set with the UFC.", "1 = TR, 2 = AA", BindingValueUnits.Numeric);
            AddValue("Tacan", "aux tacan mode", "Tacan mode set with the AUX COM panel.", "1 = TR, 2 = AA", BindingValueUnits.Numeric);
        }
Exemple #8
0
 void Profile_ProfileStopped(object sender, EventArgs e)
 {
     _falconInterface = null;
 }
Exemple #9
0
 void Profile_ProfileStarted(object sender, EventArgs e)
 {
     if (Parent.Profile.Interfaces.ContainsKey("Falcon"))
     {
         _falconInterface = Parent.Profile.Interfaces["Falcon"] as FalconInterface;
     }
 }
Exemple #10
0
 void Profile_ProfileStopped(object sender, EventArgs e)
 {
     _falconInterface = null;
 }
 public HeliosValueWithCorrectedDeviceName(FalconInterface falconInterface, BindingValue empty, string device, string name, string description, string valueDescription, BindingValueUnit unit, string correctedDeviceName) : base(falconInterface, empty, device, name, description, valueDescription, unit)
 {
     DeviceInUserInterface = correctedDeviceName;
 }
Exemple #12
0
        public BMSFalconDataExporter(FalconInterface falconInterface)
            : base(falconInterface)
        {
            AddValue("Right Eyebrow", "oxy low indicator", "OXY LOW indicator on right eyebrow", "True if lit", BindingValueUnits.Boolean);
            AddValue("Caution", "equip hot indicator", "Equip hot indicator on caution panel", "True if lit", BindingValueUnits.Boolean);
            AddValue("Test Panel", "FLCS channel lamps", "FLCS channel lamps on test panel (abcd)", "True if lit", BindingValueUnits.Boolean);
            AddValue("Right Eyebrow", "flcs indicator", "FLCS Indicator", "True if lit", BindingValueUnits.Boolean);

            AddValue("Autopilot", "on indicator", "Indicates whether the autopilot is on.", "True if on", BindingValueUnits.Boolean);

            AddValue("General", "on ground", "Indicates weight on wheels.", "True if wheight is on wheels.", BindingValueUnits.Boolean);
            AddValue("Flight Control", "run light", "Run light on the flight control panel indicating bit is running.", "True if lit", BindingValueUnits.Boolean);
            AddValue("Flight Control", "fail light", "Fail light on the flight control panel indicating bit failure.", "True if lit", BindingValueUnits.Boolean);
            AddValue("Right Eyebrow", "dbu on indicator", "DBU Warning light on the right eyebrow.", "True if lit", BindingValueUnits.Boolean);
            AddValue("General", "parking brake engaged", "Indicates if the parking brake is engaged.", "True if engaged", BindingValueUnits.Boolean);
            AddValue("Caution", "cadc indicator", "CADC indicator lamp on the caution panel.", "True if lit", BindingValueUnits.Boolean);
            AddValue("General", "speed barke", "Indicates if the speed brake is deployed.", "True if speed breake is in any other position than stowed.", BindingValueUnits.Boolean);

            AddValue("HSI", "Outer marker indicator", "Outer marker indicator on HSI", "True if lit", BindingValueUnits.Boolean);
            AddValue("HSI", "Middle marker indicator", "Middle marker indicator on HSI", "True if lit", BindingValueUnits.Boolean);

            AddValue("HSI", "nav mode", "Nav mode currently selected for the HSI/eHSI", "", BindingValueUnits.Numeric);
            AddValue("Tacan", "ufc tacan band", "Tacan band set with the UFC.", "1 = X, 2 = Y", BindingValueUnits.Numeric);
            AddValue("Tacan", "aux tacan band", "Tacan band set with the AUX COM panel.", "1 = X, 2 = Y", BindingValueUnits.Numeric);
            AddValue("Tacan", "ufc tacan mode", "Tacan mode set with the UFC.", "1 = TR, 2 = AA", BindingValueUnits.Numeric);
            AddValue("Tacan", "aux tacan mode", "Tacan mode set with the AUX COM panel.", "1 = TR, 2 = AA", BindingValueUnits.Numeric);

            AddValue("AVTR", "avtr indicator", "Indicates whether the acmi is recording", "True if lit", BindingValueUnits.Boolean);

            //BMS 4.33 addition
            AddValue("Threat Warning Prime", "systest indicator", "Threat warning prime systest indicator", "True if lit", BindingValueUnits.Boolean);
            AddValue("Engine", "nozzle 2 position", "Current engine nozzle2.", "Percent open (0-100)", BindingValueUnits.Numeric);
            AddValue("Engine", "rpm2", "Current engine rpm2.", "Percent (0-103)", BindingValueUnits.Numeric);
            AddValue("Engine", "ftit2", "Current forward turbine inlet temp2", "Degrees C", BindingValueUnits.Numeric);
            AddValue("Engine", "oil pressure 2", "Current oil pressure 2 in the engine.", "Percent (0-100)", BindingValueUnits.Numeric);
            AddValue("CMDS", "CMDS Mode", "Current CMDS mode", "(0 off, 1 stby, 2 Man, 3 Semi, 4 Auto, 5 BYP)", BindingValueUnits.Numeric);
            AddValue("UHF", "Backup channel", "Current Backup UHF channel", "", BindingValueUnits.Numeric);
            AddValue("UHF", "Backup frequency", "Current Backup UHF frequency", "", BindingValueUnits.Numeric);
            AddValue("UHF", "Backup frequency digit 1", "Current Backup UHF frequency digit 1", "", BindingValueUnits.Numeric);
            AddValue("UHF", "Backup frequency digit 2", "Current Backup UHF frequency digit 2", "", BindingValueUnits.Numeric);
            AddValue("UHF", "Backup frequency digit 3", "Current Backup UHF frequency digit 3", "", BindingValueUnits.Numeric);
            AddValue("UHF", "Backup frequency digit 4", "Current Backup UHF frequency digit 4", "", BindingValueUnits.Numeric);
            AddValue("UHF", "Backup frequency digit 5,6", "Current Backup UHF frequency digit 5,6", "", BindingValueUnits.Numeric);
            AddValue("Altitude", "Cabin Altitude", "Current cabin altitude", "", BindingValueUnits.Numeric);
            AddValue("HYD", "Pressure A", "Current hydraulic pressure a", "", BindingValueUnits.Numeric);
            AddValue("HYD", "Pressure B", "Current hydraulic pressure b", "", BindingValueUnits.Numeric);
            AddValue("Time", "Time", "Current tine in seconds", "(max 60 * 60 * 24)", BindingValueUnits.Numeric);
            AddValue("Engine", "fuel flow 2", "Current fuel flow to the engine 2.", "", BindingValueUnits.PoundsPerHour);

            //AltBits
            AddValue("AltBits", "altimeter calibration type", "", "True if hg otherwise hpa.", BindingValueUnits.Boolean);
            AddValue("AltBits", "altimeter pneu flag", "", "True if visible", BindingValueUnits.Boolean);

            //PowerBits
            AddValue("POWER", "bus power battery", "at least the battery bus is powered", "True if powered", BindingValueUnits.Boolean);
            AddValue("POWER", "bus power emergency", "at least the emergency bus is powered", "True if powered", BindingValueUnits.Boolean);
            AddValue("POWER", "bus power essential", "at least the essential bus is powered", "True if powered", BindingValueUnits.Boolean);
            AddValue("POWER", "bus power non essential", "at least the non-essential bus is powered", "True if powered", BindingValueUnits.Boolean);
            AddValue("POWER", "main generator", "main generator is online", "True if online", BindingValueUnits.Boolean);
            AddValue("POWER", "standby generator", "standby generator is online", "True if online", BindingValueUnits.Boolean);
            AddValue("POWER", "Jetfuel starter", "JFS is running, can be used for magswitch", "True if running", BindingValueUnits.Boolean);

            //BlinkBits
            //AddValue("Blink", "Outer marker", "slow flashing for outer marker", "True if blinking", BindingValueUnits.Boolean);
            //AddValue("Blink", "Middle marker", "fast flashing for middle marker", "True if blinking", BindingValueUnits.Boolean);
            //AddValue("Blink", "probeheat", "probeheat system is tested", "True if blinking", BindingValueUnits.Boolean);
            //AddValue("Blink", "aux search", "search function in NOT activated and a search radar is painting ownship", "True if blinking", BindingValueUnits.Boolean);
            //AddValue("Blink", "launch", "missile is fired at ownship", "True if blinking", BindingValueUnits.Boolean);
            //AddValue("Blink", "primary mode", "priority mode is enabled but more than 5 threat emitters are detected", "True if blinking", BindingValueUnits.Boolean);
            //AddValue("Blink", "unknown", "unknown is not active but EWS detects unknown radar", "True if blinking", BindingValueUnits.Boolean);
            //AddValue("Blink", "elec fault", "non-resetting fault", "True if blinking", BindingValueUnits.Boolean);
            //AddValue("Blink", "oxy brow", "monitor fault during Obogs", "True if blinking", BindingValueUnits.Boolean);
            //AddValue("Blink", "epu on", "abnormal EPU operation", "True if blinking", BindingValueUnits.Boolean);
            //AddValue("Blink", "JFS on_slow", "slow blinking: non-critical failure", "True if blinking", BindingValueUnits.Boolean);
            //AddValue("Blink", "JFS on_fast", "fast blinking: critical failure", "True if blinking", BindingValueUnits.Boolean);
        }