|
|
@ -23,7 +23,7 @@ const receiveMessage = (data: Socket.NotificationData) => { |
|
|
|
|
|
|
|
const pallet_elevator_lift_up = async () => { |
|
|
|
const params = { |
|
|
|
command: 'pallet_elevator_lift_up', |
|
|
|
command: 'debug_pallet_elevator_lift_up', |
|
|
|
params: { |
|
|
|
index: debugStore.formData.heatArea.index, |
|
|
|
...debugStore.formData.heatArea.heatMotorData, |
|
|
@ -34,7 +34,7 @@ const pallet_elevator_lift_up = async () => { |
|
|
|
|
|
|
|
const pallet_elevator_lift_down = async () => { |
|
|
|
const params = { |
|
|
|
command: 'pallet_elevator_lift_down', |
|
|
|
command: 'debug_pallet_elevator_lift_down', |
|
|
|
params: { |
|
|
|
index: debugStore.formData.heatArea.index, |
|
|
|
...debugStore.formData.heatArea.heatMotorData, |
|
|
@ -45,7 +45,7 @@ const pallet_elevator_lift_down = async () => { |
|
|
|
|
|
|
|
const pallet_elevator_stop = async () => { |
|
|
|
const params = { |
|
|
|
command: 'pallet_elevator_stop', |
|
|
|
command: 'debug_pallet_elevator_stop', |
|
|
|
params: { |
|
|
|
index: debugStore.formData.heatArea.index, |
|
|
|
}, |
|
|
@ -55,7 +55,7 @@ const pallet_elevator_stop = async () => { |
|
|
|
|
|
|
|
const heater_start = async () => { |
|
|
|
const params = { |
|
|
|
command: 'heater_start', |
|
|
|
command: 'debug_heater_start', |
|
|
|
params: { |
|
|
|
index: debugStore.formData.heatArea.index, |
|
|
|
...debugStore.formData.heatArea.heatTemperature, |
|
|
@ -65,7 +65,7 @@ const heater_start = async () => { |
|
|
|
} |
|
|
|
const heater_stop = async () => { |
|
|
|
const params = { |
|
|
|
command: 'heater_stop', |
|
|
|
command: 'debug_heater_stop', |
|
|
|
params: { |
|
|
|
index: debugStore.formData.heatArea.index, |
|
|
|
}, |
|
|
@ -152,7 +152,7 @@ const debug_cover_elvator_stop = async () => { |
|
|
|
|
|
|
|
const liquid_arm_reset = async () => { |
|
|
|
const params = { |
|
|
|
command: 'liquid_arm_reset', |
|
|
|
command: 'debug_liquid_arm_reset', |
|
|
|
params: { |
|
|
|
target: ['largeArm', 'smallArm'], |
|
|
|
}, |
|
|
@ -162,7 +162,7 @@ const liquid_arm_reset = async () => { |
|
|
|
|
|
|
|
const liquid_arm_rotation = async () => { |
|
|
|
const params = { |
|
|
|
command: 'liquid_arm_rotation', |
|
|
|
command: 'debug_liquid_arm_rotation', |
|
|
|
params: { |
|
|
|
...debugStore.formData.liquidArmData, |
|
|
|
}, |
|
|
@ -172,7 +172,7 @@ const liquid_arm_rotation = async () => { |
|
|
|
|
|
|
|
const liquid_arm_stop = async () => { |
|
|
|
const params = { |
|
|
|
command: 'liquid_arm_stop', |
|
|
|
command: 'debug_liquid_arm_stop', |
|
|
|
params: { |
|
|
|
target: ['largeArm', 'smallArm'], |
|
|
|
}, |
|
|
@ -182,7 +182,7 @@ const liquid_arm_stop = async () => { |
|
|
|
|
|
|
|
const liquid_pump_pre_filling = async () => { |
|
|
|
const params = { |
|
|
|
command: 'liquid_pump_pre_filling', |
|
|
|
command: 'debug_liquid_pump_pre_filling', |
|
|
|
params: { |
|
|
|
index: debugStore.formData.liquidPumpData.index, |
|
|
|
}, |
|
|
@ -192,7 +192,7 @@ const liquid_pump_pre_filling = async () => { |
|
|
|
|
|
|
|
const liquid_pump_pre_evacuation = async () => { |
|
|
|
const params = { |
|
|
|
command: 'liquid_pump_pre_evacuation', |
|
|
|
command: 'debug_liquid_pump_pre_evacuation', |
|
|
|
params: { |
|
|
|
index: debugStore.formData.liquidPumpData.index, |
|
|
|
}, |
|
|
@ -202,7 +202,7 @@ const liquid_pump_pre_evacuation = async () => { |
|
|
|
|
|
|
|
const liquid_pump_start = async () => { |
|
|
|
const params = { |
|
|
|
command: 'liquid_pump_start', |
|
|
|
command: 'debug_liquid_pump_start', |
|
|
|
params: { |
|
|
|
...debugStore.formData.liquidPumpData, |
|
|
|
}, |
|
|
@ -212,7 +212,7 @@ const liquid_pump_start = async () => { |
|
|
|
|
|
|
|
const liquid_pump_stop = async () => { |
|
|
|
const params = { |
|
|
|
command: 'liquid_pump_stop', |
|
|
|
command: 'debug_liquid_pump_stop', |
|
|
|
params: { |
|
|
|
index: debugStore.formData.liquidPumpData.index, |
|
|
|
}, |
|
|
@ -222,7 +222,7 @@ const liquid_pump_stop = async () => { |
|
|
|
|
|
|
|
const shaker_start = async () => { |
|
|
|
const params = { |
|
|
|
command: 'shaker_start', |
|
|
|
command: 'debug_shaker_start', |
|
|
|
params: { |
|
|
|
...debugStore.formData.shakeSpeed, |
|
|
|
}, |
|
|
@ -232,7 +232,7 @@ const shaker_start = async () => { |
|
|
|
|
|
|
|
const shaker_stop = async () => { |
|
|
|
const params = { |
|
|
|
command: 'shaker_stop', |
|
|
|
command: 'debug_shaker_stop', |
|
|
|
params: {}, |
|
|
|
} |
|
|
|
await sendControl(params, 'debug') |
|
|
@ -298,7 +298,7 @@ const debug_holding_jaw_pause = async () => { |
|
|
|
|
|
|
|
const door_open = async () => { |
|
|
|
const params = { |
|
|
|
command: 'door_open', |
|
|
|
command: 'debug_door_open', |
|
|
|
params: {}, |
|
|
|
} |
|
|
|
await sendControl(params, 'debug') |
|
|
@ -306,7 +306,7 @@ const door_open = async () => { |
|
|
|
|
|
|
|
const door_close = async () => { |
|
|
|
const params = { |
|
|
|
command: 'door_close', |
|
|
|
command: 'debug_door_close', |
|
|
|
params: {}, |
|
|
|
} |
|
|
|
await sendControl(params, 'debug') |
|
|
@ -314,7 +314,7 @@ const door_close = async () => { |
|
|
|
|
|
|
|
const door_stop = async () => { |
|
|
|
const params = { |
|
|
|
command: 'door_stop', |
|
|
|
command: 'debug_door_stop', |
|
|
|
params: {}, |
|
|
|
} |
|
|
|
await sendControl(params, 'debug') |
|
|
|