Skip to content

Commit 2baeb10

Browse files
author
Chris Jakeman
committed
extended Manual
1 parent 6399647 commit 2baeb10

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
1.63 MB
Loading

Source/Documentation/Manual/software-platform.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ Some of these sample pages repeat data from the in-game panels to provide a more
128128

129129
.. image:: images/web-page-both.png
130130

131+
- The time page shows the simulation time as a digital clock and links to 3 versions of an analogue clock.
132+
133+
.. image:: images/web-page-clock.png
134+
135+
131136
The sample pages can be found in the ``Content\Web`` subfolder of the OR
132137
program folder and the web server defaults to ``Content\Web\index.html``.
133138

@@ -170,6 +175,10 @@ Note: To avoid overloading the simulator, please keep API calls to once or twice
170175
- | Retrieves information rendered on the Track Monitor, such as speed,
171176
| acceleration, grade, and upcoming hazards.
172177
- | ``Orts.Simulation.Physics .Train.TrainInfo``
178+
* - | GET
179+
- | ``/API/TIME``
180+
- | Retrieves just the simulation time in seconds since midnight.
181+
- | ``Orts.Viewer3D.WebServices .WebServer.ORTSApiController .ApiTime``
173182
* - | GET
174183
- | ``/API/CABCONTROLS``
175184
- | Retrieves an array of the cab controls for the player localhost

0 commit comments

Comments
 (0)