Skip to content

Commit 09f0ad3

Browse files
committed
adds POST for /API/CABCONTROLS
1 parent 6ac96f9 commit 09f0ad3

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

Source/Documentation/Manual/software-platform.rst

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -193,18 +193,23 @@ Note: To avoid overloading the simulator, please keep API calls to once or twice
193193
- | ``Orts.Simulation.Physics .Train.TrainInfo``
194194
* - | GET
195195
- | ``/API/TIME``
196-
- | Retrieves just the simulation time in seconds since midnight.
197-
- | ``Orts.Viewer3D.WebServices .WebServer.ORTSApiController .ApiTime``
196+
- | Retrieves the simulation time in seconds since midnight.
197+
- | ``Orts.Viewer3D. WebServices.WebServer .ORTSApiController System.Double``
198198
* - | GET
199199
- | ``/API/MAP``
200200
- | Retrieves the postion and direction of the train.
201201
| Next to various Open Rails route data.
202-
- | ``Orts.Viewer3D.WebServices .WebServer.ORTSApiController .ApiMap``
202+
- | ``Orts.Common .LatLonDirection``
203203
* - | GET
204204
- | ``/API/CABCONTROLS``
205-
- | Retrieves an array of the cab controls for the player localhost
205+
- | Retrieves an array of the cab controls for the player loco
206206
| TypeName, MinValue, MaxValue, RangeFraction.
207-
- | ``Orts.Viewer3D.WebServices .WebServer.ORTSApiController .ApiCabControls``
207+
- | ``Orts.Viewer3D. WebServices.WebServer .ORTSApiController List<ControlValue>``
208+
* - | POST
209+
- | ``/API/CABCONTROLS``
210+
- | Sets value of a cab control for the player loco such as
211+
| Throttle/Regulator, Train Brake, Direction/Reverser.
212+
- | ``Orts.Viewer3D .WebServices.WebServer .ORTSApiController void``
208213
* - | GET
209214
- | ``/API/APISAMPLE``
210215
- | A test object that demonstrates the JSON serialization of various

0 commit comments

Comments
 (0)