+ {this.props.page === 1 && (
+
+ )}
+
+
+
+ {this.props.page === 0 && (
+
+ )}
+
+ );
+
+ public onAfterRender = (): void => {
+ this.cycleRef.instance.onclick = this.cycle;
+ this.toTopRef.instance.onclick = this.toTop;
+ this.reloadRef.instance.onclick = this.props.reload;
+ this.switchPosRef.instance.onclick = this.switchPosition;
+ };
+}
diff --git a/2024/Gauge/src/components/ofp/ofp.tsx b/2024/Gauge/src/components/ofp/ofp.tsx
new file mode 100644
index 0000000..b51e032
--- /dev/null
+++ b/2024/Gauge/src/components/ofp/ofp.tsx
@@ -0,0 +1,72 @@
+import { ComponentProps, DisplayComponent, FSComponent, Subscribable, VNode } from '@microsoft/msfs-sdk';
+import { Controls } from '../controls/controls';
+
+interface OFPProps extends ComponentProps {
+ content: Subscribable