Click or drag to resize

Engine Properties

The Engine type exposes the following members.

Properties
  NameDescription
Public propertyAddress
Gets or sets the DCC address of the engine.
Public propertyAutoBindInOpr
Gets or sets whether the engine should automatically bind to a slot when starting the CTC service.
Public propertyDefaultName
Gets the default identifiable name assigned to this CTC object.
(Inherited from CtcObjectBase.)
Public propertyDirection
Gets or sets the engine's direction of travel.
Public propertyFunctions
Gets the engine's function states.
Public propertyFunctionsByte
Gets or sets the engine's function states.
Public propertyID
Gets the CTC object's globaly unique static identifier.
(Inherited from CtcObjectBase.)
Public propertyIsBound
Gets a value indicating whether the engine has been bound to a command station slot.
Public propertyIsDeleted
Gets an indication whether this CTC object has been flaged for deletion by DeleteSelf.
(Inherited from CtcObjectBase.)
Public propertyLength
Gets or sets the engine's length over buffers.
Public propertyName
Gets or sets the identifiable name assigned to this CTC object.
(Inherited from CtcObjectBase.)
Public propertyParent
Gets the parent list that contains this CTC object.
(Inherited from CtcObjectBase.)
Public propertyPersistedTag
Gets or sets the binary representation of an arbitrary object that provides additional data to be stored with the layout data.
(Inherited from CtcObjectBase.)
Public propertyReqCatenary
Gets or sets whether the engine is electric and requires overhead catenary.
Public propertyScriptEventBinder
Public propertySlot
Gets the slot number assigned to the Engine by the command station.
Public propertySpeed
Gets or sets the speed of the engine.
Public propertySpeedStepMax
Gets the maximum speed value that can be assigned to the engine.
Public propertySpeedSteps
Gets or sets the speed step type of the engine.
Public propertyTag
Gets or sets an arbitrary object that provides additional data but is disposed between sessions.
(Inherited from CtcObjectBase.)
Top
See Also