ModeData.java 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. package at.acdp.urweb.sclient.data;
  2. import at.acdp.urweb.CountDataInputStream;
  3. import java.io.IOException;
  4. public class ModeData implements IRead{
  5. public boolean realRobotConnected;
  6. public boolean realRobotEnabled;
  7. public boolean robotPoweredOn;
  8. public boolean emergencyStopped;
  9. public boolean protectiveStopped;
  10. public boolean isProgramRunning;
  11. public boolean isProgramPaused;
  12. public byte robotMode;
  13. public byte controlMode;
  14. public double targetSpeedFraction;
  15. public double speedScaling;
  16. public double targetSpeedFractionLimit;
  17. public int internal;
  18. @Override
  19. public void read(CountDataInputStream di, int size) throws IOException {
  20. }
  21. @Override
  22. public String toString() {
  23. return "ModeData{" +
  24. "realRobotConnected=" + realRobotConnected +
  25. ", realRobotEnabled=" + realRobotEnabled +
  26. ", robotPoweredOn=" + robotPoweredOn +
  27. ", emergencyStopped=" + emergencyStopped +
  28. ", protectiveStopped=" + protectiveStopped +
  29. ", isProgramRunning=" + isProgramRunning +
  30. ", isProgramPaused=" + isProgramPaused +
  31. ", robotMode=" + robotMode +
  32. ", controlMode=" + controlMode +
  33. ", targetSpeedFraction=" + targetSpeedFraction +
  34. ", speedScaling=" + speedScaling +
  35. ", targetSpeedFractionLimit=" + targetSpeedFractionLimit +
  36. ", internal=" + internal +
  37. '}';
  38. }
  39. }