It will be times when it will be vital to check the following conditions:
It can be determined if a bay is occupied by calling the IsBayOccupied method on the PIXLClient.
Checking if the red bay is occupied |
Copy Code
|
---|---|
// Determine if the red bay is occupied. var isOccupied = pixl.IsBayOccupied(Bays.Red); |
The plate loaded in a bay can be determined by calling the GetPlateLoadedInBay method on the PIXLClient.
Determining the plate that is loaded in the red bay and display it on the Console |
Copy Code
|
---|---|
// Get the plate that is loaded in the red bay. var plate = pixl.GetPlateLoadedInBay(Bays.Red); // Display the plate on the Console. Console.WriteLine(plate); |