FIX UNI Data Entry - corrensponded with iPerlCommunicationForm.cs
Add debug logging and UI enhancements for data entry processes: Improve register reader handling in sequences and forms, add detailed data entry debug logs, integrate serial number and volume watermarking, and update localized strings in multiple languages.
This commit is contained in:
@@ -641,6 +641,14 @@ namespace TBF.Rig.TestMethods.iPerlCommunication
|
||||
}
|
||||
|
||||
long checkboxStates = GetCheckBoxStates();
|
||||
log.WarnFormat(
|
||||
"IPERL_SELECTION_CLOSE Previous=0x{0:X12}, Current=0x{1:X12}, " +
|
||||
"DisplayedPositions=[{2}], SelectedDisplayedPositions=[{3}]",
|
||||
Program.LocalSettings.OptoHeadsEnabled, checkboxStates,
|
||||
string.Join(",", displayedHeadPositions0.Select(position => position + 1)),
|
||||
string.Join(",", displayedHeadPositions0
|
||||
.Where(position => (checkboxStates & (1L << position)) != 0)
|
||||
.Select(position => position + 1)));
|
||||
if (Program.LocalSettings.iPerlCommunicationsFormLeft != Location.X ||
|
||||
Program.LocalSettings.iPerlCommunicationsFormTop != Location.Y ||
|
||||
Program.LocalSettings.OptoHeadsEnabled != checkboxStates)
|
||||
@@ -3116,7 +3124,18 @@ namespace TBF.Rig.TestMethods.iPerlCommunication
|
||||
|
||||
private void saveButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
Program.LocalSettings.OptoHeadsEnabled = GetCheckBoxStates();
|
||||
long previousStates = Program.LocalSettings.OptoHeadsEnabled;
|
||||
long checkboxStates = GetCheckBoxStates();
|
||||
log.WarnFormat(
|
||||
"IPERL_SELECTION_SAVE Previous=0x{0:X12}, Current=0x{1:X12}, " +
|
||||
"DisplayedPositions=[{2}], SelectedDisplayedPositions=[{3}]",
|
||||
previousStates, checkboxStates,
|
||||
string.Join(",", displayedHeadPositions0.Select(position => position + 1)),
|
||||
string.Join(",", displayedHeadPositions0
|
||||
.Where(position => (checkboxStates & (1L << position)) != 0)
|
||||
.Select(position => position + 1)));
|
||||
|
||||
Program.LocalSettings.OptoHeadsEnabled = checkboxStates;
|
||||
Program.LocalSettings.Save();
|
||||
DialogResult = DialogResult.OK;
|
||||
Close();
|
||||
|
||||
Reference in New Issue
Block a user