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
64 lines
1.3 KiB
import { defineStore } from 'pinia'
|
|
|
|
export const useDebugStore = defineStore('debug', {
|
|
state: (): Debug.DebugStore => ({
|
|
formData: {
|
|
// 加液机械臂
|
|
liquidArmData: {
|
|
largeArmAngle: undefined,
|
|
smallArmAngle: undefined,
|
|
largeArmRotationRate: undefined,
|
|
smallArmRotationRate: undefined,
|
|
},
|
|
// 加液泵
|
|
liquidPumpData: {
|
|
index: undefined,
|
|
rate: undefined,
|
|
},
|
|
// 摇匀速度
|
|
shakeSpeed: {
|
|
rate: undefined,
|
|
},
|
|
// 加热区
|
|
heatArea: {
|
|
index: 1,
|
|
heatMotorData: {
|
|
distance: undefined,
|
|
rate: undefined,
|
|
},
|
|
heatTemperature: {
|
|
temperature: undefined,
|
|
},
|
|
},
|
|
// 转运模组
|
|
transferModule: {
|
|
// X轴
|
|
xMotorData: {
|
|
xDimDistance: undefined,
|
|
xDimRate: undefined,
|
|
},
|
|
// y轴
|
|
yMotorData: {
|
|
yDimDistance: undefined,
|
|
yDimRate: undefined,
|
|
},
|
|
// z轴
|
|
zMotorData: {
|
|
zDimDistance: undefined,
|
|
zDimRate: undefined,
|
|
},
|
|
// 夹爪
|
|
JawData: {
|
|
rate: undefined,
|
|
},
|
|
},
|
|
// 拍子模组
|
|
lidData: {
|
|
rate: undefined,
|
|
distance: undefined,
|
|
},
|
|
},
|
|
}),
|
|
actions: {
|
|
},
|
|
})
|