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.

64 lines
1.3 KiB

  1. import { defineStore } from 'pinia'
  2. export const useDebugStore = defineStore('debug', {
  3. state: (): Debug.DebugStore => ({
  4. formData: {
  5. // 加液机械臂
  6. liquidArmData: {
  7. largeArmAngle: undefined,
  8. smallArmAngle: undefined,
  9. largeArmRotationRate: undefined,
  10. smallArmRotationRate: undefined,
  11. },
  12. // 加液泵
  13. liquidPumpData: {
  14. index: undefined,
  15. rate: undefined,
  16. },
  17. // 摇匀速度
  18. shakeSpeed: {
  19. rate: undefined,
  20. },
  21. // 加热区
  22. heatArea: {
  23. index: 1,
  24. heatMotorData: {
  25. distance: undefined,
  26. rate: undefined,
  27. },
  28. heatTemperature: {
  29. temperature: undefined,
  30. },
  31. },
  32. // 转运模组
  33. transferModule: {
  34. // X轴
  35. xMotorData: {
  36. xDimDistance: undefined,
  37. xDimRate: undefined,
  38. },
  39. // y轴
  40. yMotorData: {
  41. yDimDistance: undefined,
  42. yDimRate: undefined,
  43. },
  44. // z轴
  45. zMotorData: {
  46. zDimDistance: undefined,
  47. zDimRate: undefined,
  48. },
  49. // 夹爪
  50. JawData: {
  51. rate: undefined,
  52. },
  53. },
  54. // 拍子模组
  55. lidData: {
  56. rate: undefined,
  57. distance: undefined,
  58. },
  59. },
  60. }),
  61. actions: {
  62. },
  63. })