From 02ff6a5d70f85cad3949edb53a5277625147aa2b Mon Sep 17 00:00:00 2001 From: the-paid-actor Date: Tue, 28 Nov 2023 19:26:13 -0300 Subject: [PATCH] [F15E] Added Smart Weapons page to display programming system --- dcs-dtc/Models/F15E/Displays/DisplaySystem.cs | 3 ++- dcs-dtc/Models/F15E/Upload/DisplayBuilder.cs | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/dcs-dtc/Models/F15E/Displays/DisplaySystem.cs b/dcs-dtc/Models/F15E/Displays/DisplaySystem.cs index 0c8ccbaa..cd856aec 100644 --- a/dcs-dtc/Models/F15E/Displays/DisplaySystem.cs +++ b/dcs-dtc/Models/F15E/Displays/DisplaySystem.cs @@ -14,7 +14,8 @@ public enum Display TEWS = 9, TPOD = 10, AGDLVRY = 11, - TF = 12 + TF = 12, + SMART = 13 } public enum DisplayMode diff --git a/dcs-dtc/Models/F15E/Upload/DisplayBuilder.cs b/dcs-dtc/Models/F15E/Upload/DisplayBuilder.cs index 8ade59d1..c943fd67 100644 --- a/dcs-dtc/Models/F15E/Upload/DisplayBuilder.cs +++ b/dcs-dtc/Models/F15E/Upload/DisplayBuilder.cs @@ -213,6 +213,16 @@ private void SelectDisplay(Device device, Display display, bool returnToRoot = t AppendCommand(device.GetCommand("PB11")); } } + else if (display == Display.SMART) + { + AppendCommand(device.GetCommand("PB11")); + AppendCommand(device.GetCommand("PB14")); + if (returnToRoot) + { + AppendCommand(device.GetCommand("PB11")); + AppendCommand(device.GetCommand("PB11")); + } + } } } }