Sets the signal's Aspect by name.

Namespace: RRAutoLib.CTC
Assembly: RRAutoLib (in RRAutoLib.dll) Version: 1.4.4504.18867

Syntax

C#
public void SetAspect(
	string strAspectName
)
Visual Basic
Public Sub SetAspect ( _
	strAspectName As String _
)

Parameters

strAspectName
Type: System..::..String
The aspect's Name.

Implements

IPkStates..::..SetState(String)

Remarks

The CtcService must be started otherwise a CtcIsStoppedException will be thrown.

See Also