diff --git a/package-lock.json b/package-lock.json index 3ec7534..987454b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11752,7 +11752,7 @@ }, "node_modules/protobuf-ts": { "version": "1.0.0", - "resolved": "git+https://gitlab+deploy-token-50627:hv8mB4WkyvtjBpJKU1rN@gitlab.com/brandx/protobuf-ts.git#888ba52a4e56911ecb7df432009ecfc820c00eaf", + "resolved": "git+https://gitlab+deploy-token-50627:hv8mB4WkyvtjBpJKU1rN@gitlab.com/brandx/protobuf-ts.git#8a8ec79e9cc72bb770856c9e8e66f5294141da66", "dependencies": { "protobufjs": "^6.8.8" } diff --git a/src/bin/binModes/BinModeController.tsx b/src/bin/binModes/BinModeController.tsx index 4dd2e06..0ecd629 100644 --- a/src/bin/binModes/BinModeController.tsx +++ b/src/bin/binModes/BinModeController.tsx @@ -12,6 +12,7 @@ import { useBinAPI, useComponentAPI, useInteractionsAPI } from "providers"; import { ComponentSet } from "bin/conditioning/pickComponentSet"; import { cloneDeep } from "lodash"; import { Controller } from "models/Controller"; +import ThreePhaseFanDry from "./ThreePhaseFanDry"; export interface DeviceChangeData { /** @@ -232,6 +233,10 @@ export default function BinModeController(props: Props) { setShowProgress(true) }} /> + case pond.BinMode.BIN_MODE_THREE_PHASE_FAN_DRYING: + return default: return ([]) const [cables, setCables] = useState([]) const [currentStep, setCurrentStep] = useState(0) - const [interactionLoading,setInteractionsLoading] = useState(false) + const [interactionsLoading,setInteractionsLoading] = useState(false) // possibly all 4 of these will need to be passed up, at least the conflicting, toAdd, and sets will const [componentSets, setComponentSets] = useState([]) @@ -298,7 +298,7 @@ export default function CooldownMode(props: Props){ Select the device to condition the bin {deviceSelector()} - {interactionLoading ? : + {interactionsLoading ? : { + return ({ + stepper: { + padding: theme.spacing(0.5) + }, + }) + }); + + interface Option { + label: string; + device: Device; + icon?: string; + } + +interface Props { + deviceComponents: Map +} + +export default function ThreePhaseFanDry(props: Props){ + const {deviceComponents} = props + const classes = useStyles() + const [currentStep, setCurrentStep] = useState(0) + const [options, setOptions] = useState([]) + const [deviceOption, setDeviceOption] = useState