import { sharedCalCommands } from '../common-calibration/constants' ; export const CHECK_STEP_SESSION_STARTED = 'sessionStarted' ; export const CHECK_STEP_LABWARE_LOADED = 'labwareLoaded' ; export const CHECK_STEP_COMPARING_NOZZLE = 'comparingNozzle' ; export const CHECK_STEP_PREPARING_PIPETTE = 'preparingPipette' ; export const CHECK_STEP_INSPECTING_TIP = 'inspectingTip' ; export const CHECK_STEP_COMPARING_HEIGHT = 'comparingHeight' ; export const CHECK_STEP_COMPARING_TIP = 'comparingTip' ; export const CHECK_STEP_COMPARING_POINT_ONE = 'comparingPointOne' ; export const CHECK_STEP_COMPARING_POINT_TWO = 'comparingPointTwo' ; export const CHECK_STEP_COMPARING_POINT_THREE = 'comparingPointThree' ; export const CHECK_STEP_CHECK_COMPLETE = 'calibrationComplete' ; export const CHECK_STEP_SESSION_EXITED = 'sessionExited' ; export const CHECK_STEP_RETURNING_TIP = 'returningTip' ; export const CHECK_STEP_RESULTS_SUMMARY = 'resultsSummary' ; const CHECK_SWITCH_PIPETTE = 'calibration.check.switchPipette' ; const COMPARE_POINT = 'calibration.check.comparePoint' ; const RETURN_TIP = 'calibration.check.returnTip' ; const TRANSITION = 'calibration.check.transition' ; const EXIT = 'calibration.exitSession' ; export const checkCommands = { ... sharedCalCommands , CHECK_SWITCH_PIPETTE , COMPARE_POINT , TRANSITION , RETURN_TIP , EXIT , } ; export const CHECK_PIPETTE_RANK_FIRST = 'first' ; export const CHECK_PIPETTE_RANK_SECOND = 'second' ; export const FIRST_PIPETTE_COMPARISON_STEPS = [ CHECK_STEP_COMPARING_HEIGHT , CHECK_STEP_COMPARING_POINT_ONE , CHECK_STEP_COMPARING_POINT_TWO , CHECK_STEP_COMPARING_POINT_THREE , ] ; export const SECOND_PIPETTE_COMPARISON_STEPS = [ CHECK_STEP_COMPARING_HEIGHT , CHECK_STEP_COMPARING_POINT_ONE , ] ; export const DECK_COMPARISON_STEPS = [ CHECK_STEP_COMPARING_POINT_ONE , CHECK_STEP_COMPARING_POINT_TWO , CHECK_STEP_COMPARING_POINT_THREE , ] ; export const PIPETTE_OFFSET_COMPARING_STEPS = [ CHECK_STEP_COMPARING_HEIGHT , CHECK_STEP_COMPARING_POINT_ONE , ] ; export const TIP_COMPARING_STEPS = [ CHECK_STEP_COMPARING_TIP ] ; export const CHECK_STATUS_IN_THRESHOLD = 'IN_THRESHOLD' ; export const CHECK_STATUS_OUTSIDE_THRESHOLD = 'OUTSIDE_THRESHOLD' ;