Class FinChallengeHHDUCSequencer

Namespace
Subsembly.FinTS
Assembly
Subsembly.FinTS.Core.dll

Helper class that provides the bit pattern visualization sequence for a FinChallengeHHDUC.

public class FinChallengeHHDUCSequencer
Inheritance
FinChallengeHHDUCSequencer
Inherited Members

Constructors

FinChallengeHHDUCSequencer(FinChallengeHHDUC)

public FinChallengeHHDUCSequencer(FinChallengeHHDUC aChallengeHHDUC)

Parameters

aChallengeHHDUC FinChallengeHHDUC

Properties

ChallengeHHDUC

public FinChallengeHHDUC ChallengeHHDUC { get; }

Property Value

FinChallengeHHDUC

Methods

GetCurrentPattern()

Gets the current bit pattern to be displayed.

public BitArray GetCurrentPattern()

Returns

BitArray

Five bits corresponding to the five blinking fields. The bit value false indicates a black field, the bit value true indicates a white field. The first bit at position zero is the CLOCK signal. The next four bits are the DATA0 through DATA3 fields.

NextPattern()

Advances the sequencer state to the next pattern. If the end of the ChallengeHHDUC is reached, it starts again with the first pattern.

public void NextPattern()

Remarks

This method should be invoked approximately every 50 milliseonds in order to switch to the next bit pattern to be displayed.