Occurs when the required plate interactions change.
This sample shows how to handle the
RequiredPlateInteractionsChanged event.
// Subscribe to RequiredPlateInteractionsChanged events.
pixl.RequiredPlateInteractionsChanged += (sender, requiredPlateInteractions) =>
{
// Check that there is at least one interaction required.
if (requiredPlateInteractions.Length == 0)
{
// Publish an update to the Console.
Console.WriteLine("There is no required plate interactions.");
}
else
{
// Iterate all interactions.
foreach (var interaction in requiredPlateInteractions)
{
// Publish an update to the Console displaying the requests.
Console.WriteLine($"Please {interaction.Action} {interaction.Plate.ID} ({interaction.Plate.Type}, {interaction.Plate.Role}) into the {interaction.Bay} bay.");
}
}
};
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2