@@ -507,6 +507,156 @@ Here an example of use of one of the controls::
507
507
ORTSScreenPage ( "2300-0" )
508
508
)
509
509
510
+ .. _cabs-eot :
511
+
512
+ EOT (End of Train device)
513
+ -------------------------
514
+
515
+ See :ref: `here <physics-eot >` for full description of EOT features.
516
+
517
+ Following EOT controls are available for EOT management:
518
+
519
+ - ORTS_EOT_BRAKE_PIPE : displays the value of the brake pipe pressure at last wagon.
520
+ The display is always enabled (even if the EOT is disarmed), because this display
521
+ could be available also in other ways; however it is possible to mask the display
522
+ using a texture driven by the EOT state.
523
+ - ORTS_EOT_STATE_DISPLAY : may have values from 0 to 5, corresponding to the states listed :ref: `here <physics-eot-states >`
524
+ - ORTS_EOT_ID : the EOT ID is generated as a 5-digit random number and can be displayed
525
+ in the cab using this control; entering the ID by the train driver is not supported,
526
+ as the .cvf files don't support as of now digital data entry
527
+ - ORTS_EOT_COMM_TEST : driver command that starts the communication test between locomotive and EOT
528
+ - ORTS_EOT_ARM_TWO_WAY : driver command passes the EOT from ArmNow to ArmedTwoWay
529
+ - ORTS_EOT_DISARM : passes the EOT to disarmed state
530
+ - ORTS_EOT_EMERGENCY_BRAKE (on-off): lets the EOT venting the brake pipe from the last train car.
531
+
532
+ These controls are available only using the mouse; only The last one can also be operated by the
533
+ ``<Ctrl+Backspace> `` key combination.
534
+
535
+ An example of implementation of the above controls can be seen
536
+ :ref: `in this picture <physics-eot-display >`
537
+
538
+ The ``ORTS_EOT_EMERGENCY_BRAKE `` control can be implemented in the cab by an ON-OFF switch.
539
+
540
+ An example of implementation of the above controls in a .cvf file follows::
541
+
542
+ TwoState (
543
+ Type ( ORTS_EOT_COMM_TEST TWO_STATE )
544
+ Position ( 474 385 16.25 10 )
545
+ Graphic ( "..\\..\\Common.Cab\\ES44v3\\softkey5trans.ace" )
546
+ NumFrames ( 2 2 1 )
547
+ Style ( WHILE_PRESSED )
548
+ MouseControl ( 1 )
549
+ ORTSDisplay ( 0 )
550
+ ORTSScreenPage ( "2100-0" )
551
+ )
552
+ TwoState (
553
+ Type ( ORTS_EOT_DISARM TWO_STATE )
554
+ Position ( 493 385 16.25 10 )
555
+ Graphic ( "..\\..\\Common.Cab\\ES44v3\\softkey5trans.ace" )
556
+ NumFrames ( 2 2 1 )
557
+ Style ( WHILE_PRESSED )
558
+ MouseControl ( 1 )
559
+ ORTSDisplay ( 0 )
560
+ ORTSScreenPage ( "2100-0" )
561
+ )
562
+ TwoState (
563
+ Type ( ORTS_EOT_ARM_TWO_WAY TWO_STATE )
564
+ Position ( 511.7 385.7 16.25 10 )
565
+ Graphic ( "..\\..\\Common.Cab\\ES44v3\\softkey7trans.ace" )
566
+ NumFrames ( 2 2 1 )
567
+ Style ( WHILE_PRESSED )
568
+ MouseControl ( 1 )
569
+ ORTSDisplay ( 0 )
570
+ ORTSScreenPage ( "2100-0" )
571
+ )
572
+ MultiStateDisplay (
573
+ Type ( ORTS_EOT_STATE_DISPLAY MULTI_STATE_DISPLAY )
574
+ Position ( 516 314.5 17 5.15 )
575
+ Graphic ( "..\\..\\Common.Cab\\ES44v3\\CommTest.ace" )
576
+ States ( 2 2 1
577
+ State (
578
+ Style ( 0 )
579
+ SwitchVal ( 0 )
580
+ )
581
+ State (
582
+ Style ( 0 )
583
+ SwitchVal ( 2 )
584
+ )
585
+ )
586
+ ORTSDisplay ( 0 )
587
+ ORTSScreenPage ( "2100-0" )
588
+ )
589
+ Digital (
590
+ Type ( ORTS_EOT_ID DIGITAL )
591
+ Position ( 421 313 22 8 )
592
+ ScaleRange ( 0 999999 )
593
+ Accuracy ( 0 )
594
+ AccuracySwitch ( 0 )
595
+ LeadingZeros ( 0 )
596
+ Justification ( 1 )
597
+ PositiveColour ( 1
598
+ ControlColour ( 255 255 255 )
599
+ )
600
+ NegativeColour ( 1
601
+ ControlColour ( 255 255 0 )
602
+ )
603
+ DecreaseColour ( 0
604
+ ControlColour ( 0 0 0 )
605
+ )
606
+ Units ( KILO_LBS )
607
+ ORTSFont ( 6 0 "Arial" )
608
+ ORTSDisplay ( 0 )
609
+ ORTSScreenPage ( "2100-0" )
610
+ )
611
+ MultiStateDisplay (
612
+ Type ( ORTS_EOT_STATE_DISPLAY MULTI_STATE_DISPLAY )
613
+ Position ( 513.5 328 22.66 5.15 )
614
+ Graphic ( "..\\..\\Common.Cab\\ES44v3\\EOTStatus2.ace" )
615
+ States ( 4 4 1
616
+ State (
617
+ Style ( 0 )
618
+ SwitchVal ( 0 )
619
+ )
620
+ State (
621
+ Style ( 0 )
622
+ SwitchVal ( 2 )
623
+ )
624
+ State (
625
+ Style ( 0 )
626
+ SwitchVal ( 4 )
627
+ )
628
+ State (
629
+ Style ( 0 )
630
+ SwitchVal ( 5 )
631
+ )
632
+ )
633
+ ORTSDisplay ( 0 )
634
+ ORTSScreenPage ( "2100-0" )
635
+ )
636
+ MultiStateDisplay (
637
+ Type ( ORTS_EOT_STATE_DISPLAY MULTI_STATE_DISPLAY )
638
+ Position ( 431.4 292.1 9 5 )
639
+ Graphic ( "..\\..\\Common.Cab\\ES44v3\\MaskEOT.ace" )
640
+ States ( 2 2 1
641
+ State (
642
+ Style ( 0 )
643
+ SwitchVal ( 0 )
644
+ )
645
+ State (
646
+ Style ( 0 )
647
+ SwitchVal ( 2 )
648
+ )
649
+ )
650
+ )
651
+ TwoState (
652
+ Type ( ORTS_EOT_EMERGENCY_BRAKE TWO_STATE )
653
+ Position ( 53.5 344.2 21.4 42.8 )
654
+ Graphic ( ..\\..\\Common.Cab\\ES44v3\\EOTEmergency.ace )
655
+ NumFrames ( 2 2 1 )
656
+ Style ( ONOFF )
657
+ MouseControl ( 1 )
658
+ )
659
+
510
660
511
661
Animated 2D Wipers
512
662
------------------
0 commit comments