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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user