public static PTRobotReturn MoveDiscBetweenLocations(UInt32 robotID, DiscLocation fromLocation, DiscLocation toLocation) { uint nValue = 0; PTRobotReturn ret = PTRobotReturn.Ok; try { nValue = PTRobot_MoveDiscBetweenLocations(robotID, Convert.ToUInt32(fromLocation), Convert.ToUInt32(toLocation)); ret = (PTRobotReturn)nValue; } catch { ret = PTRobotReturn.Internal; } return ret; }
public static PTRobotReturn UnLoadPrinter(UInt32 robotID, DiscLocation toLocation) { uint nValue = 0; PTRobotReturn ret = PTRobotReturn.Ok; try { nValue = PTRobot_UnLoadPrinter(robotID, Convert.ToUInt32(toLocation)); ret = (PTRobotReturn)nValue; } catch { ret = PTRobotReturn.Internal; } return ret; }
public static PTRobotReturn LoadDrive(UInt32 robotID, UInt32 driveID, DiscLocation fromLocation, ClearDrive clearDrive) { uint nValue = 0; PTRobotReturn ret = PTRobotReturn.Ok; try { nValue = PTRobot_LoadDrive(robotID, driveID, Convert.ToUInt32(fromLocation), Convert.ToUInt32(clearDrive)); ret = (PTRobotReturn)nValue; } catch { ret = PTRobotReturn.Internal; } return ret; }