Update AssemblyVersion to 3.9.2200.1 and fix incorrect references to OpticalHeadTest in iPerl communication logic.

This commit is contained in:
Michal Buzik 2026-02-13 09:39:25 +01:00
parent 8ca235e456
commit 2b1406b05f
2 changed files with 4 additions and 3 deletions

View File

@ -3,6 +3,7 @@ using System.Threading;
using System.Web.UI.WebControls;
using System.Windows.Forms;
using TBF.Rig.Sequences;
using TBF.Rig.TestMethods.iPerlCommunication.communication;
namespace TBF.Rig.TestMethods.iPerlCommunication.iPerlHead
{
@ -81,10 +82,10 @@ namespace TBF.Rig.TestMethods.iPerlCommunication.iPerlHead
switch (rfidCommandComboBox.SelectedValue)
{
case "ReadPCB":
rfidListItem.Text = $"PCB: {OpticalHeadTest.ReadRequest_PCB(iPerlHead)}";
rfidListItem.Text = $"PCB: {OptoHeadTest.ReadRequest_PCB(iPerlHead)}";
break;
case "SetTestMode":
rfidListItem.Text = OpticalHeadTest.SetTestMode(iPerlHead);
rfidListItem.Text = OptoHeadTest.SetTestMode(iPerlHead);
optoListBox.Items.Clear();
stopWorkerThread = false;
optoThread = new Thread(OptoWorker);
@ -95,7 +96,7 @@ namespace TBF.Rig.TestMethods.iPerlCommunication.iPerlHead
}
break;
case "SetActiveMode":
rfidListItem.Text = OpticalHeadTest.SetActiveMode(iPerlHead);
rfidListItem.Text = OptoHeadTest.SetActiveMode(iPerlHead);
stopWorkerThread = true;
iPerlHead.StopDataStreamProcessing(); // close opto port
break;