Update Flip Mode handling and introduce SetTestModeOpto7Str alias
Refactor Flip Mode parameter type in `WMeterRsltItemSpec` to `Quantity.String` for consistency. Add `SetTestModeOpto7Str` alias to improve readability and replace legacy A0 test mode reference in `iPerlCommunicationParams`.
This commit is contained in:
@@ -64,6 +64,7 @@ namespace TBF.Rig.TestMethods.iPerlCommunication
|
||||
|
||||
public const string ReadConfigurationStr = "Read configuration"; // Example: "Read configuration" or "Read configuration if enabled"
|
||||
public const string SetTestModeStr = "Set Test mode"; // Example: "Set Test mode" or "Set Test mode A0" (hexadecimal number is the required 'testModeConfig'
|
||||
public const string SetTestModeOpto7Str = "Set Test mode Optho 7"; // Descriptive alias for the legacy A0 activity used by this test method only
|
||||
public const string SetActiveModeStr = "Set Active mode";
|
||||
public const string ReadSerialNrStr = "Read SerialNr";
|
||||
public const string SetIdleModeStr = "Set Idle mode";
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace TBF.Rig.TestMethods.iPerlCommunication
|
||||
retVal.Add(iPerlCommunicationConstants.SetFlipModeConstantStr);
|
||||
retVal.Add(iPerlCommunicationConstants.SetFlipModeRandomizedStr);
|
||||
retVal.Add(iPerlCommunicationForm.ReadSerialNrStr);
|
||||
retVal.Add(string.Format("{0} A0", iPerlCommunicationForm.SetTestModeStr));
|
||||
retVal.Add(iPerlCommunicationForm.SetTestModeOpto7Str);
|
||||
retVal.Add(string.Format("{0} A4", iPerlCommunicationForm.SetTestModeStr));
|
||||
retVal.Add(iPerlCommunicationForm.ReadCalibrationStr);
|
||||
retVal.Add(iPerlCommunicationForm.ReadCalibrationV4Str);
|
||||
|
||||
Reference in New Issue
Block a user