Refactor FlipMode enum and update references: rename DisabledConstant to Constant and EnabledRandomized to Randomized across codebase, including unit tests and integration tests, for improved readability and consistency.

This commit is contained in:
2026-08-19 10:47:45 +02:00
parent a4ef208233
commit a4acf30771
5 changed files with 20 additions and 20 deletions
@@ -154,7 +154,7 @@ namespace TBF.Rig.TestMethods.iPerlCommunication.iPerlHead
break;
}
bool successful = iPerlHead.OptoHeadTest.SetFlipMode(FlipMode.DisabledConstant);
bool successful = iPerlHead.OptoHeadTest.SetFlipMode(FlipMode.Constant);
rfidListItem.Text = successful
? "Set Flip Mode Constant (0x00) - OK"
: "Set Flip Mode Constant (0x00) - FAILED";
@@ -168,7 +168,7 @@ namespace TBF.Rig.TestMethods.iPerlCommunication.iPerlHead
break;
}
bool successful = iPerlHead.OptoHeadTest.SetFlipMode(FlipMode.EnabledRandomized);
bool successful = iPerlHead.OptoHeadTest.SetFlipMode(FlipMode.Randomized);
rfidListItem.Text = successful
? "Set Flip Mode Randomized (0x01) - OK"
: "Set Flip Mode Randomized (0x01) - FAILED";