Skip to content

Commit

Permalink
[F15E] Added Smart Weapons page to display programming system
Browse files Browse the repository at this point in the history
  • Loading branch information
the-paid-actor committed Nov 28, 2023
1 parent 4e2b0d9 commit 02ff6a5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dcs-dtc/Models/F15E/Displays/DisplaySystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ public enum Display
TEWS = 9,
TPOD = 10,
AGDLVRY = 11,
TF = 12
TF = 12,
SMART = 13
}

public enum DisplayMode
Expand Down
10 changes: 10 additions & 0 deletions dcs-dtc/Models/F15E/Upload/DisplayBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
}
}
}
}
}

0 comments on commit 02ff6a5

Please sign in to comment.