Skip to content

Commit

Permalink
Class 319 support
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrkilczuk committed Jun 11, 2016
1 parent 73de51d commit d83a439
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Supported traction
* Class 156
* Class 220 (JustTrains version)
* Class 221 (JustTrains version)
* Class 319
* Class 360
* Class 377 (Southern version)
* Class 378
Expand Down
1 change: 1 addition & 0 deletions dsd/machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
'RSC.Class47Pack01': models.Class43JT_47_DSDModel,
'RSC.Class66Pack02': models.Class66APDSDModel,
'RSC.Class70Pack01': models.GenericDSDModel,
'RSC.Class319Pack01': models.Class319DSDModel,
'RSC.Class421Pack01': models.GenericDSDModel,
'RSC.Class421Pack02': models.GenericDSDModel,
'RSC.Class422Pack01': models.GenericDSDModel,
Expand Down
6 changes: 6 additions & 0 deletions dsd/machine_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,12 @@ class Class220_221DSDModel(BuiltinDSDIsolationMixin, BaseDSDModel):
]


class Class319DSDModel(BuiltinDSDIsolationMixin, BaseDSDModel):

dsd_controller_name = 'DSDIsolate'
dsd_controller_value = 1


class Class360DSDModel(FauxControllerMovementMixin, BaseDSDModel):

important_controls = [
Expand Down

0 comments on commit d83a439

Please sign in to comment.