BreakReceiver.cs 981 B

1234567891011121314151617181920212223242526272829303132333435
  1. using UnityEngine;
  2. namespace Sensors.USB
  3. {
  4. public struct BreakSensorData
  5. {
  6. public bool isActive;
  7. public float timeActive;
  8. }
  9. public class BreakSensorReveiver: AwaitUsbDevice
  10. {
  11. private BreakSensorData sensorData;
  12. public BreakSensorData SensorData => sensorData;
  13. public override int DeviceId => throw new System.NotImplementedException();
  14. public override bool Connected => throw new System.NotImplementedException();
  15. public override void Connect(USBDevice device)
  16. {
  17. Debug.Log("Connect not implemented");
  18. }
  19. }
  20. public class BreakReceiver : AwaitUsbDevice
  21. {
  22. public override int DeviceId => throw new System.NotImplementedException();
  23. public override bool Connected => throw new System.NotImplementedException();
  24. public override void Connect(USBDevice device)
  25. {
  26. throw new System.NotImplementedException();
  27. }
  28. }
  29. }