import { Card, Select, InputNumber, Button, Switch, Carousel, Row, Col, Divider, Tooltip, } from 'antd'; import { DeleteOutlined, CopyOutlined, SaveOutlined, CameraOutlined, CloseOutlined, } from '@ant-design/icons'; import { patientSizes } from '@/states/patientSize'; import { WorkstationTypeLabels } from '@/states/workstation'; import { FormattedMessage } from 'react-intl'; import { useSelector, useDispatch } from 'react-redux'; import { RootState } from '@/states/store'; import { setAprConfig, setIsAECEnabled, } from '@/states/exam/aprSlice'; import ParaSettingCoordinator from '@/domain/exam/paraSettingCoordinator'; const ContentAreaSmall = ({ className }: { className?: string }) => { const dispatch = useDispatch(); const aprConfig = useSelector((state: RootState) => state.apr.aprConfig); const currentExposureMode = useSelector( (state: RootState) => state.apr.currentExposureMode ); const isAECEnabled = useSelector( (state: RootState) => state.apr.isAECEnabled ); const handleExposureModeChange = (value: string) => { ParaSettingCoordinator.setExposureMode(value); }; const handleAECChange = (checked: boolean) => { dispatch(setIsAECEnabled(checked)); }; console.log('ContentAreaSmall component rendered'); console.log('ContentAreaSmall component rendered'); return (
体位列表
体位详情
dispatch(setAprConfig({ ...aprConfig, mA: value ?? 0 })) } /> dispatch(setAprConfig({ ...aprConfig, ms: value ?? 0 })) } /> dispatch(setAprConfig({ ...aprConfig, mAs: value ?? 0 })) } />
); }; export default ContentAreaSmall;