You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
438 B
20 lines
438 B
namespace Gumming.Execute
|
|
{
|
|
public class RobotHand
|
|
{
|
|
|
|
public Wafer CurrentWafer { get; set; }
|
|
public bool IsFree { get; set; } = true;
|
|
public string Name { get; set; }
|
|
|
|
public int GetRobotCode(string code)
|
|
{
|
|
if (code == "Get")
|
|
{
|
|
return Name.Equals("R") ? 0 : 2;
|
|
}
|
|
|
|
return Name.Equals("R") ? 1 : 3;
|
|
}
|
|
}
|
|
} |