private void SetupFan(StateMachine stateMachine, HSREL5 hsrel5)
{
var fanPort0 = hsrel5.GetOutput(4);
var fanPort1 = hsrel5.GetOutput(5);
stateMachine.AddOffState().WithOutput(fanPort0, BinaryState.Low).WithOutput(fanPort1, BinaryState.Low);
stateMachine.AddState(new ComponentState("1")).WithOutput(fanPort0, BinaryState.High).WithOutput(fanPort1, BinaryState.Low);
stateMachine.AddState(new ComponentState("2")).WithOutput(fanPort0, BinaryState.High).WithOutput(fanPort1, BinaryState.High);
stateMachine.TryTurnOff();
}